Skip to content

create-normal-user: restore compatibility with Bookworm/Jammy

Luca Boccassi requested to merge bluca/autopkgtest:fix_adduser_bookworm into master

--logmsglevel was added in adduser 3.135, which is available in Trixie and Noble, so compatibility with Bookworm, Jammy and other older releases is broken:

debian/adduser@2f25cb4f

Check the version before using it. Unfortunately it was not added to --help so we can't check for the actual option, and we have to check for the package version instead.

Follow-up for 9c033b3d

Merge request reports

Loading