| 1 |
Q: The user name Debian-$PACKAGE is too long: it misalignes ls |
| 2 |
output and is truncated by ps and atop. And it's ugly! |
| 3 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 |
Answer: |
| 5 |
The user name Debian-$PACKAGE was chosen in late 2003 when we, the |
| 6 |
maintainers of the Debian exim4 package found it necessary to create |
| 7 |
an account for exim to run under during package installation. To avoid |
| 8 |
accidentylly zapping a locally used account, we intended to use a |
| 9 |
name from a name space with low potential for name conflicts. |
| 10 |
|
| 11 |
About the same time, Fabio Massimo Di Nitto started the same |
| 12 |
discussion on debian devel (thread starting with |
| 13 |
http://lists.debian.org/debian-devel/2003/11/msg02231.html). |
| 14 |
|
| 15 |
In this thread, many things were said: |
| 16 |
|
| 17 |
- This should be decided by the LSB. |
| 18 |
- However, to my knowledge, that step has not yet happened. |
| 19 |
- It needs to be in policy. |
| 20 |
- However, policy has not been amended, and there is no bug filed |
| 21 |
against policy. |
| 22 |
- Purging a package should remove the account as well. |
| 23 |
- Special care needs to be taken to avoid removing an account that |
| 24 |
doesn't belong to us. |
| 25 |
- numeric UID shouldn't be re-used. |
| 26 |
|
| 27 |
For the namespaces, we have the following suggestions: |
| 28 |
|
| 29 |
- Prepend/Append "Debian" or "debian" |
| 30 |
- Prepend/Append a capital letter (http://cr.yp.to/unixaccount.html) |
| 31 |
- Prepend/Append an underscore |
| 32 |
|
| 33 |
Unfortunately, the way to get a LSB solution will take way too long. |
| 34 |
Additionally, the LSB likes to have pre-existing use as example before |
| 35 |
they change the standard. |
| 36 |
|
| 37 |
So, it was our job to decide which account name to use. Andreas |
| 38 |
Metzler and me chose Debian-$PACKAGE, while Peter Palfrader started using |
| 39 |
debian-$PACKAGE. So we currently have Debian-exim, Debian-console-log, |
| 40 |
debian-tor, debian-mixminion and debian-sks. |
| 41 |
|
| 42 |
Again, the goal was to create accounts that don't conflict with other, |
| 43 |
or with manually created accounts, and to get pre-existing use before |
| 44 |
trying to change the LSB and even Debian policy. |
| 45 |
|
| 46 |
Migrating from one account name to another is extremely painful and |
| 47 |
error-pronce since one needs to meddle with the local account |
| 48 |
database and has to optionally chown files. Additionally, it is |
| 49 |
necessary to change every script that accesses the account. To put it |
| 50 |
short: It's something you want to avoid. |
| 51 |
|
| 52 |
This is also the reason while the account names used by these packages |
| 53 |
will not likely change before a namespace is dedicated and allocated |
| 54 |
either in the LSB or in Debian policy. The maintainers reserve the |
| 55 |
right of hurling this FAQ in the direction of everybody filing bugs |
| 56 |
about the "ugly" account names, and to close the bugs in the process. |
| 57 |
|
| 58 |
We would appreciate, however, if people would aid in getting the |
| 59 |
standardization process under way as soon as possible. This needs to |
| 60 |
be in policy, the sooner the better. |
| 61 |
|
| 62 |
Marc Haber, 2004-05-11 |
| 63 |
|