[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#134658: ITP: lsb -- Linux Standard Base 1.1 core support package



On Feb 19, Wichert Akkerman wrote:
> Previously Chris Lawrence wrote:
> > Will do.  The uid/gid 1 issue is definitely an issue; Debian probably
> > can't make that change, and I suspect many other LSB implementations
> > would trip over it too if they have any POSIX already.
> 
> We can just drop most of the standard accounts and become compatible
> by simply not having an optional account. Most of bin/daemon/sync/etc.
> aren't used anyway it seems.

Unfortunately, the following accounts are required (per
http://www.linuxbase.org/spec/refspecs/LSB_1.1.0/gLSB/usernames.html):

USER    GROUP   UID   GID
root    root     0     0
bin     bin      1     1
daemon  daemon   X     X

X = unspecified

On Debian:

USER    GROUP   UID   GID
root    root     0     0
bin     bin      2     2
daemon  daemon   1     1

So, either we need to figure out how to get bin and daemon to swap (or
at least move daemon somewhere else and move bin from 2 to 1), or the
spec needs to change.

Frankly, I can't see any reason why uid/gid 1 should be assumed to be
bin, especially since no other UIDs and GIDs are static (except 0,
which is embedded in the kernel design...).  After all, that's why we
have getpwuid()...


Chris
-- 
Chris Lawrence <lawrencc@debian.org> - http://www.lordsutch.com/chris/



Reply to: