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
    * adapt documentation
    * implement testcases
    * re-work adduser logic to support USERGROUPS mechanics.
      This also kind of drive-by implements --firstgid and --lastgid
      (Closes: #609114, #678615, #440801)
    * rework adduser.conf
  * improve test infrastructure
    * implement new test for non membership in group
    * implement new group_has_gid test
    * implement new apply_config_hash function.
  * fix bugs and docs in --add-extra-groups
  * update debian/copyright
  * Update of German program translation.
    Thanks to Dr. Tobias Quathamer (Closes: #1015283)

adduser (3.123) unstable; urgency=medium

  [ Marc Haber ]
  * flip default for DIR_MODE to 0700 again.
    Thanks to Josh Triplett (Closes: #1014901)
  * add debian.NEWS entry to document the DIR_MODE change
  * remove superficial examples/adduser.local.conf.examples/adduser.conf

  [ Matt Barry ]
  * Check explicitly for <= 32 byte names. (Closes: #1014450)

adduser (3.122) unstable; urgency=low

  [ Marc Haber ]
  * improve package description.
  * Standards-Version: 4.6.1 (no changes necessary)
  * clean out EXTRA_GROUPS to only contain users.
    Thanks to Daniel Keast. (Closes: #849265)
  * add SECURITY section to manual pages.
  * add test for backups of home directory.
  * improve and update lintian overrides.
  * Formatting changes to manual pages.
    Thanks to Markus Hiereth. (Closes: #874560)
  * fix some typos in manual pages.
  * set VERBOSE and DEBUG envvars in deluser as well. (Closes: #1006897)
  * add documentation about adduser being a policy layer. (Closes: #1007785)
  * try to clarify system account terminology (policy vs system).
    (Closes: #1006975)
  * Document that only adduser --system is idempotent. (Closes: #723572)
  * error out for two-argument addgroup.
    Thanks to Mike Dornberger. (Closes: #664869)
  * make --add_extra_groups into --add-extra-groups. (Closes: #1014395)
  * --force-badname is now --allow-badname. (Closes: #1014448)
  * update turkish debconf translation.
    Thanks to Atila KOÇ. (Closes: #908997)
  * Update Russian debconf translation.
    Thanks to Lev Lamberov. (Closes: #920739)
  * Update Danish debconf translation (Closes: #923059)
  * Update Italian debconf translation.
    Thanks to Luca Monducci. (Closes: #969217)
  * Update German man page translation.
    Thanks to Helge Kreutzmann. (Closes: #977678)
  * Update European Portuguese translation of man page.
    Thanks to Américo Monteiro. (Closes: #925511)
  * disable translated manpages, none left for the time being.
  * deprecate planned directory service support.
  * Add docs about adduser.local being the place to interact with DS,
  * Some improvements to autopkgtests.

  [ Matt Barry ]
  * System account home dir defaults to /nonexistent. (Closes: #679746)
  * do not accept all-numeric user names. (Closes: #891748)
  * prompts need y/n/empty(default).
  * Implement SYS_DIR_MODE. (Closes: #1008081, #202943, #398793)
  * Implement SYS_NAME_REGEX. (Closes: #521883, #432562)
  * Deprecate SETGID_HOME.
    Add NEWS/TODO items. (Closes: #643559, #979385, #1008091, #643559)
  * Fix ignored files for --remove-all-files.
    (Closes: #1001863, #588872, #926262, #992163)
  * Redefines the default NO_DEL_PATHS to avoid unnecessary
    scanning.
  * Change deluser_files test to use gzip.
  * Fix deletion of sockets/pipes. (Closes: #685532)
  * Simplify checkname sub.  (Closes: #1006941)
  * Adds support for lock files. (Closes: #983405)
  * Username validity testing framework.
  * Add --allow-all-names to bypass --force-badname.
    (Closes: #520037, #774046)
  * use warnf instead of printf in some places. (Closes: #675804)
  * Support tar --auto-compress for backups. (Closes: #896916)
  * Many improvements to autopkgtests. (Closes: 239825)

  [ Jason Franklin ]
  * Allow for cloned-UID users in group member lists.
    Thanks to Daniel Heimann. (Closes: #701110)

 -- Benjamin Drung <bdr...@ubuntu.com>  Mon, 28 Nov 2022 15:34:26 +0100

** Changed in: adduser (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to adduser in Ubuntu.
https://bugs.launchpad.net/bugs/1977710

Title:
  /etc/adduser.conf.dpkg-save created by postinst since 3.121ubuntu1

Status in adduser package in Ubuntu:
  Fix Released
Status in adduser package in Debian:
  Fix Released

Bug description:
  Since version 3.121ubuntu1 adduser's postinst script creates
  /etc/adduser.conf.dpkg-save file on debootstrap's root filesystem,
  that is, even when /etc/adduser.conf doesn't exist prior to package
  installation.

  Because of the change below the postinst script changes packaged
  /etc/adduser.conf and creates /etc/adduser.conf.dpkg-save as a backup:

    - Enable private home directories by default (LP: #48734)
      + Set DIR_MODE=0750 in the default adduser.conf
      + Change the description and default value to select private home
        directories by default in debconf template
      + Change the DIR_MODE when private home directories is configured via
        debconf from 0751 to 0750 to ensure files are truly private

  The .dpkg-save file shouldn't be present on debootstrapped system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/1977710/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to