-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permission problems: used to work #35
Comments
The The first error ( The second error ( On Ubuntu, munged should be running as the non-privileged "munge" user, and these directories (and files within) should be owned by that user. Please verify the following:
On Ubuntu 14.04, you'll need to run munged with either the Original comment by
|
Original comment by
|
I am still running into this:
But no luck:
I tried Ubuntu 15.04, same munge packages as before (ie 0.5.11-1). |
Ubuntu 15.04 switched to systemd. It doesn't use You'll need to do the following:
With these steps, I'm able to start munge-0.5.11-1.1build1 on Ubuntu 15.04. |
I'll try that tomorrow. For now I made do via What about skipping the test though? If I'd love to see this squared up. I maintained slurm for a while inside Debian before handing it off to Gennaro. |
If a directory is writable by a particular user/group, that user/group is able to rename/replace directories and files residing within it. The permission check is perhaps overkill here for I'm thinking the best path forward at this point is to make Are you aware of any distros besides Ubuntu 14.04+ that set |
I am not. I am still quite involved with Debian (and even maintained slurm and openmpi for a bit a looooong while ago before Gennaro took over) but I can't speak to other distros. We use Ubuntu at work, |
No luck editing the systemd file:
Can you share more details as to what you edited? Do I need need quotes, or Python-style |
I think the problem you're having is that you didn't reload the systemd manager configuration ( But my directions above apparently aren't best practice. You shouldn't be editing service files in You don't need quotes or Python-style
Afterwards, you'll need to invoke |
Thanks for the systemd tutorial. (I don;t think I need to enable the service at boot. It seems to carry things over from the init.d-based setup.) |
And I guess we should report all this to the Debian maintainer too... |
|
Noted, thanks for the clarification. That may make it harder to get the required fix in. I know (at least a few of) my fellow Debian co-maintainers but it is a little less clear there as they don't have the 'person (or team) to package' mapping. |
I copied your I think I may just bail and (locally) patch the sources and disable the test. |
Have you tried starting it from the command-line with either |
Yes, that does indeed work. And I then got very confused about why adding to |
It looks like you're not getting systemd to pass the modified command-line options to the invocation of munged. The steps I listed above worked for me on a pristine 15.04 VM. Very strange. |
Indeed. And I have a pristine new machine with 15.04. I may just do an |
Good news, and I stand corrected. I must have been sloppy earlier when testing the |
Good to hear! Thanks for following-up. I don't believe
|
Yes, I edited by hand (old habits die hard). I like separate logs, hence my preference for |
And I now patched/modified munged and built a local package for our cluster. That was easier. |
We typically use cfengine for distributing configuration files on our clusters. |
Sure and understood -- but I really wanted different behaviour of not checking /var/log, rather than turning an error into a warning. |
This was very usefull, thank you very much guys! |
@Kuchiriel You're welcome. Glad you found it helpful. |
I tried ExecStart=/usr/sbin/munged --force and it worked on Centos 7.3 |
I had munge working, basic tests across my machines worked. For some reason, it doesn't work any more and complains on ownership issues of the log file. Specifically,
/var/log/munge
is owned by munge and gives the following errorif I change ownership to root, I get the following ,,,
I am surprised as this used to work ... who should own
/var/log/munge
?What version of the software are you using? On what operating system?
0.5.11 on ubuntu 14.04
Original issue reported on code.google.com by
hsundar
on 16 Oct 2014 at 10:13The text was updated successfully, but these errors were encountered: