Package should own adduser.conf

Bug #1873519 reported by Chris Carlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
adduser (Debian)
Fix Released
Unknown
adduser (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

/etc/adduser.conf isn't recorded as belonging to the package, but this is addressed easily by adding adduser.conf to the debian/install file.

adduser.conf is generated by a postinst script, so it isn't covered by the normal install stuff. Regardless, it seems to become registered by just adding it to the install file on the same line as deluser.conf, which is already there.

I often customize deployments using the config-package-dev extension to Debhelper, but this relies on package ownership to manage config files.

Hopefully this is a trivial suggestion.

Chris Carlin (crcarlin)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.0 KiB)

This bug was fixed in the package adduser - 3.129ubuntu1

---------------
adduser (3.129ubuntu1) lunar; urgency=medium

  * Merge from Debian unstable (LP: #1873519, #1977710). Remaining changes:
    - Add support for encrypting home directories:
      + adduser: Add --encrypt-home option, which calls ecryptfs-setup-private
        for the hard work.
      + doc/adduser.8: document the --encrypt-home option
      + debian/control: suggest ecryptfs-utils >= 67-1
      + deluser: remove all of /var/lib/ecryptfs/$user with --remove-home
    - extrausers support for adduser and gpasswd (LP: #1323732)
    - Add support for ZFS home directories (LP: #1873263)
    - Enable private home directories by default (LP: #48734)
      + Set DIR_MODE=0750 and SYS_DIR_MODE=0750 in the default adduser.conf
   * Rename NAME_REGEX_SYSTEM to SYS_NAME_REGEX
     - AdduserCommon.pm, adduser.conf: Change default SYS_NAME_REGEX to allow
       uppercase letters in the names of system users.
   * Removed changes (superseded by Debian):
    - AdduserCommon.pm, adduser, adduser.8, adduser.conf.5: Allow uppercase
      letters in the names of system users. This is done by having a separate
      NAME_REGEX_SYSTEM configuration setting which applies when --system is
      specified.

adduser (3.129) unstable; urgency=medium

  * improve parameter interpretation for adduser.
    Thanks to Boris Kolpackov (Closes: #1018861)

adduser (3.128) unstable; urgency=medium

  [ Marc Haber ]
  * increase timeouts, reduce number of tests for delgroup_perf.t
    they have timed out in Debian infrastructure
  * even the legacy testsuite needs cron
  * Write defaults explicitly in configuration file templates.
    Thanks to Christoph Anton Mitterer (Closes: #1017888)
  * skip most of the version checks in preinst
    Thanks to Vincent Lefevre (Closes: #1017912)
  * document that the --ingroup group must exist
  * fix handling of explicitly set --uid and --gid.
    Thanks to Samuel Thibault (Closes: #1017952)

  [ Benjamin Drung ]
  * Document parameter for checkname function

adduser (3.127) unstable; urgency=low

  [ Jason Franklin ]
  * Document the intent of the --no-create-home option (Closes: #152195)

  [ Marc Haber ]
  * create home directory with primary group of the user (Closes: #1017694)
  * update and extend README

adduser (3.126) experimental; urgency=medium

  * more clear conffile handling in debian/preinst.
    Thanks to Simon McVittie (Closes: #1016574)
  * add postrm script cleaning up better after purge
  * add a Debian README, move too long DIR_MODE explanation from
    NEWS.Debian to README.

adduser (3.125) experimental; urgency=medium

  [ Marc Haber ]
  * remove debconf. (Closes: #57280, #398802)
  * install (add|del)user.conf as examples.
  * install adduser.conf as dpkg-conffile directly to /etc.
    (Closes: #541620)
  * remove postinst/postrm. (Closes: #1012492)

  [ Jason Franklin ]
  * Remove the unused "get_users_groups" subroutine. (Closes: #1015907)

  [ Matt Barry ]
  * Do not check for group being empty on 'delgroup'. (Closes: #682156)

adduser (3.124) experimental; urgency=medium

  * experimental upload
  * implement new USERS_GROUP semantics
    * ...

Read more...

Changed in adduser (Ubuntu):
status: New → Fix Released
Changed in adduser (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.