Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] permissions on /etc/maddash/maddash-server

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] permissions on /etc/maddash/maddash-server


Chronological Thread 
  • From: Andrew Lake <>
  • To: Pete LG <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] permissions on /etc/maddash/maddash-server
  • Date: Thu, 31 Jan 2019 18:29:08 -0500
  • Ironport-phdr: 9a23:2SGK+RL0lTOlB5CRgNmcpTZWNBhigK39O0sv0rFitYgeL/vxwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicFOD43/27ZhM9+gr9Frh29vBFw2ZLYbZuPOfZiYq/Qf9UXTndBUMZLUCxBB5uxYpcJD+UcJ+ZXsYf8rEYIoxSkBgmjGv7kxzhSiX/wwKI70/8sHh/d3AA6GdIBrmjUoczzOawPX+61y6zIwi/Cb/NQwTr98JLIchc9ofGLW7JwdNDeyUgrFw/fklqQronlMyuU1uQLr2iU8fBgVeSxhG47tQ19uCagydoxioXRnoIa1ErE9StiwIYyI923UlR7bcSiEJROqyGXMZZ9TMA6Q2xwpSo3xKAKtYSlcCUFxpkr3QDTZ+KEfoSS4h/vSv6dLSlkiH9hYr6yhBa//VK+xuHhSsW4ylRHojRDn9LRrH4CzQbT5dKCSvZl/keuxzKP1wfL5+FKP085m7DXK5o6zb40jJYTvkPDHjHulEX3iq+ZaFkk9/C15+npf7nqvIGQOoB6hw3kLKgihM+yDf44PwQQR2Sb/P6z1Lzn/U33WrVKifg2n7HDv5DcOMsaprW0DBFO0oo57RawESum3MwCnXYbNFJFZA6Hj4/xNlHWPv/4F/m/g0+rkDdt3f/GJKTtAojWLnfdirfsZrJ9609HyAov1tBT/ZNUCrcdIP3tQE/xssLXDgMnPwCu3enoFch9hcsjX3mSCPqZLL/Kqg3PoeYuOPWXIo4TpDvnLfU5vbjjgWJ+gk4YZaDuxpoYbne2ELN+Ll+Xen3qi81EDHwHpFkCS7nShUGPGRp8LyKpVKsm4zA4BYaOFZ3EWoerhbWA2GGwGZgANU5cDVXZOHHkbYibE9MFay/adsZnni0sWKPnTYI9g0L9/DTmwqZqe7KHshYTsojugYB4

Hi,

I have had some time to play with this today and so far haven’t been able to recreate. No matter what I do I get a file owned by the “maddash” group and user as I’d expect. I’ll share the steps I followed so you can compare to the steps you followed and see if we differ:

1. I did a fresh Minimal install of CentOS 7

2. I ran the commands from the docs (http://docs.perfsonar.net/maddash_install.html#installing-maddash-on-centos):
    yum clean all
    yum install maddash

3. I installed the psconfig maddash agent with “yum install perfsonar-psconfig-maddash"

I also tried various combinations of removing the file before I installed a package but no luck. It might be something subtle that triggers it, so any insight in how you are able to get the behavior would be appreciated.

Thanks,
Andy

On January 29, 2019 at 6:13:12 PM, Pete LG () wrote:

Hey Andrew, It's on a vanilla CentOS7.  I appreciate you looking into this. 
Thanks!

Pete LG

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, January 29, 2019 7:44 PM, Andrew Lake <> wrote:

Hi,

Thanks for the report, that is not expected behavior. A quick look at the .spec file indicates that it *should* be getting set to the maddash user on install. It is possible something else is creating that file first and not setting the permission correctly...though it is not immediately obvious to me what that would be. I’ve created an issue for it here to track: https://github.com/perfsonar/maddash/issues/76. We will investigate and have a closer look. Due to travel schedules it may not be until next week sometime, so apologies in advance for any delay.

Also, on what operating system are you seeing this behavior?


Thanks,
Andy

On January 29, 2019 at 12:03:22 PM, Pete Carmichael () wrote:


Hi, Are we supposed to need to "chown -R maddash:maddash /etc/maddash"?
It was the only way I could get the grid to populate.  On new setups, the perms are 'root:root', but I was having issues generating a new maddash grid, and I noticed this in the logs:
/var/log/maddash/psconfig-maddash-agent.log

2019/01/29 13:12:17 ERROR pid=5911 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_save_maddash_yaml line=984 guid=A3651200-23F9-11E9-BF77-FFA92F96E832 maddas
h_yaml_file=/etc/maddash/maddash-server/maddash.yaml msg=Can't open /etc/maddash/maddash-server/maddash.yaml: Permission denied at /usr/lib/perfsonar/bin/..
/lib/perfSONAR_PS/PSConfig/MaDDash/Agent.pm line 979. 

Any ideas on what's going on?

Thanks

--




Archive powered by MHonArc 2.6.19.

Top of Page