debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #01935
[Bug 2112085] Re: Merge user-setup from Debian Unstable for questing
** Merge proposal linked:
https://code.launchpad.net/~pushkarnk/ubuntu/+source/user-setup/+git/user-setup/+merge/486892
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to user-setup in Ubuntu.
https://bugs.launchpad.net/bugs/2112085
Title:
Merge user-setup from Debian Unstable for questing
Status in user-setup package in Ubuntu:
New
Bug description:
Scheduled-For: ubuntu-25.06
Ubuntu: 1.102ubuntu1
Debian Unstable: 1.105
A new release of user-setup is available for merging from Debian
Unstable.
If it turns out this needs a sync rather than a merge, please change
the tag 'dcr-merge' to 'dcr-sync', and (optionally) update the title
as desired.
If this merge pulls in a new upstream version, also consider adding an
entry to the questing Release Notes:
https://discourse.ubuntu.com/t/questing-quokka-release-notes/
### New Debian Changes ###
user-setup (1.105) unstable; urgency=medium
[ Pascal Hambourg ]
* Replace --gecos with --comment in adduser invocation, as suggested by
the documentation (deprecation notice).
* Set the full name with chfn instead of adduser:
- adduser 3.152 relaxes checks on what's getting passed via --comment
(see #1101678).
- To be safe, with an older adduser or with further versions that
would refine the checks, pass the username through --comment as
a first step, then use chfn to try and set the fullname.
- This should ensure that d-i can create users (instead of silently
failing, see #1101196, #1101196, and #1104550). If chfn fails for
some reason, d-i continues, and the username stays in the comment
field instead of the specified fullname.
* Stop setting LANG=C:
- C.UTF-8 is used in d-i, is available in the installed system, so
using C instead doesn't seem needed.
- Worse, it can be counterproductive and trigger an indefinite hang
in some conditions (see #1104726).
* Sanitize fullname, which should ensure chfn can be used to perform the
username/fullname substitution mentioned above:
- Replace colon, comma, equal sign, ampersand, and control characters
with spaces.
- Squeeze repeated spaces.
- Remove leading and trailing spaces.
-- Cyril Brulebois <kibi@xxxxxxxxxx> Wed, 14 May 2025 14:34:16 +0200
user-setup (1.104) unstable; urgency=medium
* Team upload
[ Updated translations ]
* Galician (gl.po) by Parodper
* Croatian (hr.po) by Valentin Vidic
* Hungarian (hu.po) by Szia Tomi
* Italian (it.po) by Milo Casagrande
* Lithuanian (lt.po) by Rimas Kudelis
* Marathi (mr.po) by Kalyani Kenekar
* Serbian (sr.po) by Мирослав Николић
* Vietnamese (vi.po) by Dagon Vn
-- Holger Wansing <hwansing@xxxxxxxxxxx> Wed, 02 Apr 2025 23:17:03
+0200
user-setup (1.103) unstable; urgency=medium
* Team upload
[ Updated translations ]
* Czech (cs.po) by Miroslav Kure
* Finnish (fi.po) by Ricky Tigg
* Hungarian (hu.po) by Szia Tomi
* Italian (it.po) by Milo Casagrande
* Polish (pl.po) by Matthaiks
-- Holger Wansing <hwansing@xxxxxxxxxxx> Thu, 06 Feb 2025 21:35:48
+0100
### Old Ubuntu Delta ###
user-setup (1.102ubuntu1) plucky; urgency=medium
* Merge 1.102 from Debian unstable. Remaining old changes:
- Add preseedable passwd/auto-login question; if set to true, configure
gdm, kdm, lxdm, sddm, and lightdm for automatic login. Add
passwd/auto-login-backup question which backs up the previous contents
of the files as well.
- Ask whether the user wants to encrypt their home directory.
- Allow forcing the encrypted home option.
- If a user requests an encrypted-home, we must have their login
passphrase, in order to wrap their mount passphrase; it's
fundamentally incompatible to preseed encrypted-home AND a crypted
password; if this happens, send the user back to password selection.
- Zero out swap devices at the end of install when encryption is
enabled.
- Provide a progress message for wiping swap space.
- If user-setup/allow-password-empty is preseeded to true, allow empty
passwords.
- Add weak password detection (purely length-based for now, matching
partman-crypto).
- Don't restrict guest login from login screen if autologin was
configured, just restrict autologin for guest specifically.
- If OVERRIDE_ALREADY_ENCRYPTED_SWAP is set in the environment, assume
that encrypted swap has already been set up rather than re-creating
and re-zeroing swap.
- reserved-usernames: Add maas to reserved-usernames
- user-setup-apply: user-setup-udeb.templates: Update initial user groups
- d/user-setup-udeb.templates: Default passwd/root-login to false
- functions.sh: Make is_system_user always return false if
OVERRIDE_SYSTEM_USER is set
- functions.sh: Consider a password of '!' in shadow for root to be unset
- user-setup-apply: Create the spu group on powerpc/ps3 and powerpc/cell
- user-setup-apply: Fix paths for GDM configs which are now in /etc/gdm3
- user-setup-apply: Fix sddm.conf paths when replacing PLACEHOLDER
- user-setup-ask: Lower priority of the encrypt home question
- user-setup-apply: Mount /proc before calling adduser --encrypt-home
- debian/po: keep translations as part of the package
- Add sgx group to reserved-usernames; udev.postinst (src:systemd) adds it
as a system group (LP: #1990488).
- remove 'lxd' from user-default-groups and add 'users' instead,
it will let lxd default to unprivileged containers which is better
see https://discourse.ubuntu.com/t/easy-multi-user-lxd-setup for details
(LP: #1949115)
-- Pushkar Kulkarni <pushkar.kulkarni@xxxxxxxxxxxxx> Mon, 13 Jan
2025 12:41:46 +0530
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/user-setup/+bug/2112085/+subscriptions
References