Created attachment 514203 [details]
Don't confuse uid and gid
Description of problem:
When starting a service with User= specified but no Group= specified, systemd uses the uid of the specified user as the gid to use when starting the service. When the user's default gid is not the same as the user's uid, this is the wrong thing to do.
Version-Release number of selected component (if applicable):
I discovered this issue whilst writing a unit file for spamass-milter, and the attached patch fixes the problem for me. I checked upstream git and the affected code hasn't been changed.
Ouch! fixed in git. Thanks!
Will prep an update for F15.
systemd-26-9.fc15 has been submitted as an update for Fedora 15.
*** Bug 733149 has been marked as a duplicate of this bug. ***
Yep, systemd-26-9.fc15 fixes this. Thanks!
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-26-9.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
systemd-26-9.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.