Mailinglist Archive: opensuse-factory (564 mails)

< Previous Next >
[opensuse-factory] namespace for system users - tor
Hello,

I would put Ludwig Nussel's points from -packaging up for discussion.

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?

The request mentioned above has been merged manually to
devel:openSUSE:Factrory:rpmlint / rpmlint by dirkmueller and the change is now
pending to be added to openSUSE:Factory - #97074

The packages indirectly involved are network / tor and openSUSE:Factory / tor.

Debian uses "debian-tor". The upstream sources specify: "_tor" in a sample
spec file, other online examples use tor_d / daemon for the uid/gid.

I agree in general that there is potential for conflicts. This, however, is
not a new problem with "tor", but also with "amanda" and "jonas" which were
already registered and are obviously far more popular. These are legacy and
Ludwig proposed guidelines for new packages only.

I don't see an immediate packaging issue, but as this is a new package to
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.

With kind regards,
Andreas Stieger

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages