[aur-general] list for reserverd UIDs for special system users
Hello again, I must apologize for asking so many questions but I don't want dma to get in the way with an other daemon or service. Today I want to know if a list of reserved UIDs (and GIDs) for Arch Linux is available. I figured out that commonly the first 100 UIDs are used for system users like mail, ftp, hal and so on. So I want to use one of these numbers for dma but don't won't to interfere with an other system user in Arch Linux. Is there something similar to reserved port numbers in TCP? Kind Regards, Michael Krauss
2008/5/18 Michael Krauss <hippodriver@gmx.net>:
Hello again,
I must apologize for asking so many questions but I don't want dma to get in the way with an other daemon or service.
Today I want to know if a list of reserved UIDs (and GIDs) for Arch Linux is available. I figured out that commonly the first 100 UIDs are used for system users like mail, ftp, hal and so on. So I want to use one of these numbers for dma but don't won't to interfere with an other system user in Arch Linux.
http://wiki.archlinux.org/index.php/UID_and_GID_list -- Roman Kyrylych (Роман Кирилич)
On 18/05/08, Roman Kyrylych wrote:
2008/5/18 Michael Krauss <hippodriver@gmx.net>:
Today I want to know if a list of reserved UIDs (and GIDs) for Arch Linux is available.
Thank you Roman, this is exactly what I need. I had searched for UID and GID in the wiki though but didn't found it. dma now occupies 74:74. Kind Regards, Michael Krauss
On Mon, May 19, 2008 at 12:40 AM, Michael Krauss <hippodriver@gmx.net> wrote:
On 18/05/08, Roman Kyrylych wrote:
Thank you Roman, this is exactly what I need. I had searched for UID and GID in the wiki though but didn't found it. dma now occupies 74:74.
I don't think you're meant to actually edit this list are you? It's just for reference. -- Callan Barrett
On 19/05/08, Callan Barrett wrote:
On Mon, May 19, 2008 at 12:40 AM, Michael Krauss <hippodriver@gmx.net> wrote:
On 18/05/08, Roman Kyrylych wrote:
dma now occupies 74:74.
I don't think you're meant to actually edit this list are you? It's just for reference.
Maybe you are right, I don't know. There were two points why I supposed editing is ok: i) The page isn't write protected. ii) If I am not allowed to add ids that I use, others aren't allowed too. That implies there may be packages out there that use unlisted ids. So using an unlisted id for my package to not interfere with other programs is useless. Finally this means the list isn't that important and could be ignored. But if it's not important, why not editing it myself ;-) However, if you want my entries to be removed, simply delete them. I promise to not adding them again in this case. Instead I would add some voodoo to the dma.install script to make sure that the ids are not used when installing the package. Unfortunately this won't prevent an other subsequently installed package from reusing the ids. Kind Regards, Michael Krauss
2008/5/19 Michael Krauss <hippodriver@gmx.net>:
On 19/05/08, Callan Barrett wrote:
On Mon, May 19, 2008 at 12:40 AM, Michael Krauss <hippodriver@gmx.net> wrote:
On 18/05/08, Roman Kyrylych wrote:
dma now occupies 74:74.
I don't think you're meant to actually edit this list are you? It's just for reference.
Maybe you are right, I don't know. There were two points why I supposed editing is ok: i) The page isn't write protected. ii) If I am not allowed to add ids that I use, others aren't allowed too. That implies there may be packages out there that use unlisted ids. So using an unlisted id for my package to not interfere with other programs is useless. Finally this means the list isn't that important and could be ignored. But if it's not important, why not editing it myself ;-)
However, if you want my entries to be removed, simply delete them. I promise to not adding them again in this case. Instead I would add some voodoo to the dma.install script to make sure that the ids are not used when installing the package. Unfortunately this won't prevent an other subsequently installed package from reusing the ids.
I'd say the best way for handling this situation is: * user posts a list of his/her packages that need uid/gid, * dev/tu decides which uid/gid number it should be and adds them * user modifies his/her packages to use the hardcoded uids/gids Note that it is not recommended to add new uids/gids below 100, unless it is some standard system package or a very popular one with the same uid/gid in every distro (something like that, you've got the idea, I guess). -- Roman Kyrylych (Роман Кирилич)
On Mon, 19 May 2008, Roman Kyrylych wrote:
2008/5/19 Michael Krauss <hippodriver@gmx.net>:
On 19/05/08, Callan Barrett wrote:
On Mon, May 19, 2008 at 12:40 AM, Michael Krauss <hippodriver@gmx.net> wrote:
On 18/05/08, Roman Kyrylych wrote:
dma now occupies 74:74.
I don't think you're meant to actually edit this list are you? It's just for reference.
Maybe you are right, I don't know. There were two points why I supposed editing is ok: i) The page isn't write protected. ii) If I am not allowed to add ids that I use, others aren't allowed too. That implies there may be packages out there that use unlisted ids. So using an unlisted id for my package to not interfere with other programs is useless. Finally this means the list isn't that important and could be ignored. But if it's not important, why not editing it myself ;-)
However, if you want my entries to be removed, simply delete them. I promise to not adding them again in this case. Instead I would add some voodoo to the dma.install script to make sure that the ids are not used when installing the package. Unfortunately this won't prevent an other subsequently installed package from reusing the ids.
I'd say the best way for handling this situation is: * user posts a list of his/her packages that need uid/gid, * dev/tu decides which uid/gid number it should be and adds them * user modifies his/her packages to use the hardcoded uids/gids Note that it is not recommended to add new uids/gids below 100, unless it is some standard system package or a very popular one with the same uid/gid in every distro (something like that, you've got the idea, I guess).
I had forgotten to protect the page. I've reverted the changes that you made. Probably Roman's suggestion is the best way to get new uid/gid numbers added to the page. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Sun, May 18, 2008 at 3:49 PM, Roman Kyrylych <roman.kyrylych@gmail.com> wrote:
While we are at it, discussion is welcome there : http://wiki.archlinux.org/index.php/Talk:DeveloperWiki:UID_/_GID_Database
participants (5)
-
Callan Barrett
-
Eric Belanger
-
Michael Krauss
-
Roman Kyrylych
-
Xavier