lib32 biarch support and libnss-extrausers

Oliver Grawert ogra at ubuntu.com
Wed Mar 23 16:18:10 UTC 2016


hi,
Am Montag, den 21.03.2016, 17:17 +0100 schrieb Loïc Minier:
> Hi,
> 
> 
> in our images, the ubuntu user is not in the shipped /etc/passwd NSS
> database, but in /var/lib/extrausers/passwd. (This is to make sure
> that OS usernames and locally created users dont clash, e.g. if an OS
> update adds a system user id such as dbus or systemd and ships file
> owned by that system user, it should not collide with a locally
> created user id.)

no, it is actually to make sure we can create users at all ;) 

/etc/passwd and friends are readonly (and do atomic backups, so bind
mounting isnt an option), you would have to make the system writable
(impossible with all-snaps) to actually add a user there... 

the system user handling you describe is actually just a side effect
(and causes a lot of extra work since we need to maintain a hardcoded
list of system users in the build system)...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160323/22bffee9/attachment.pgp>


More information about the snappy-devel mailing list