Public bug reported:

Binary package hint: buildbot

The buildbot package automatically creates a user called "buildbot".
I've found various issues with this:

1. Package installation fails if the buildbot user or group already
exists.

The package will fail to install if a user "buildbot" already exists.
Various systems centrally manage their user accounts (e.g, in LDAP) and
don't want this to occur.  The package postinstall script could
autodetect if the user exists already (e.g, "getent passwd buildbot")
and not perform this step if the user exists.  Unfortunately, there
doesn't seem to be a documented policy in the Debian Policy Manual how
to handle this consistently.

2.  Package removal doesn't cleanup the automatically created buildbot
user or group.

Partially related to point 1 above.  If this is resolved, the package
should NOT remove the user or group if the package didn't automatically
create it.

3. The home directory of the automatically created buildbot user is set
to "/var/run/buildbot".

/var/run on Ubuntu 6.06 is a memory file system, so after a reboot
/var/run/buildbot does not exist.

This behaviour of /var/run is acceptable according to hier(7):
       /var/run
              Run-time  variable files, like files holding process identifiers
              (PIDs) and logged user information (utmp).  Files in this direc-
              tory are usually cleared when the system boots.

I recommend using a location other than /var/run for the home directory
because of this.

** Affects: buildbot (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
buildbot user creation issues
https://launchpad.net/bugs/55971

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to