Talk:DeveloperWiki:UID / GID Database

From ArchWiki
Jump to: navigation, search
Note: Moderation: AUR packages are unsupported content. This page is about packages in the official repositories. If you wish to reserve groups, or otherwise request features, use the bugtracker: https://bugs.archlinux.org/. -- Alad (talk) 17:11, 17 March 2016 (UTC)

Create users at build time

Why should user and group be created at build time? This sounds really weird to me. Arch packages aren't supposed to be shared? You can very well build a package and not install it immediately.

In any cases, I think this task definitively needs to be made at install time. That is why it is always done in scriptlets. Now what you might want to do is somehow unifying this task inside the scriptlets. If that's the case, please add your proposal with the two functions there : FS#10375 and maybe edit the wiki accordingly. --shining 04:42, 19 May 2008 (EDT)

Add svn user and group

Just a suggestion: create/reserve UID 44 and GID 44 for snv user (subversion server)

mailman

Can we have UID and GID 97 set aside for mailman? http://www.list.org

EDIT: 91 is used for video apparently, changed to 97

kodi

Before the xbmc package just created a system user and in the install script it always did a chown to make sure the /var/lib/xbmc folder was owned by xbmc.

Now the folder is owned by uid 420 and gid 420, the chown is only needed when updating from a previous state.

Could someone add the xbmc uid and gid to the list?

Now kodi. -- Alad (talk) 15:13, 23 October 2015 (UTC)

lightdm

The lightdm package uses 620 for it's UID/GUID:

post_install() {
    getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm
    getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm
    passwd -l lightdm > /dev/null
    systemd-tmpfiles --create /usr/lib/tmpfiles.d/lightdm.conf
}