[Bug 1977710] Re: /etc/adduser.conf.dpkg-save created by postinst since 3.121ubuntu1
Alex Murray
1977710 at bugs.launchpad.net
Wed Jun 8 02:41:34 UTC 2022
>From what I can see of this postinst this looks to be a bug from adduser
in debian itself - and would appear to come from
https://salsa.debian.org/debian/adduser/-/blob/master/debian/postinst#L33
- ie. if the default value is unchanged then an /etc/adduser.conf.dpkg-
save is always generated when the value of DIR_MODE is appended to
/etc/adduser.conf.
Can you confirm if this also occurs when debootstrapping a system from
debian?
** Changed in: adduser (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
Incomplete
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
More information about the foundations-bugs
mailing list