On 2011-12-20 14:45:49 (+0000), Andreas Stieger <andreas.stieger@gmx.de> wrote:
On Thursday 15 Dec 2011 08:30:56 Ludwig Nussel wrote:
There's a request to add a system user 'tor': https://build.opensuse.org/request/show/96531
There is no name space separation between system users and actual logins. So especially for short names like the above there is a chance that it could collide with an already existing user name on some system. Having a system service running with the uid of an actual user isn't desirable. So what about mandating an extra prefix or suffix to (new) system user names like 'daemon' or 'service'? Ie in the above example the user name would be 'tor-daemon' or 'tor-service' instead of 'tor'. Other thoughts? [...] I don't see an immediate packaging issue, but as this is a new package to
Well, except the annoyance of %post %if 0%{?suse_version} >= 1220 useradd ... tord %else useradd ... tor %endif And that is probably going to bite us because (at least from my experience, or impression) most packages in openSUSE:Factory are only tailored to factory and probably won't be bothered to include backwards compatibility. And there are still quite a few packages that are maintained in openSUSE:Factory and then linked to other OBS projects.
factory I am willing to update if there is consensus in -factory as to rules for the naming of daemon users for new packages, or at least regarding this particular package.
cheers -- -o) Pascal Bleser /\\ http://opensuse.org -- we haz green _\_v http://fosdem.org -- we haz conf