Control: tags -1 + pending On Mon, 2021-12-20 at 21:07 +0100, Thomas Fargeix wrote: > /var/lib/dpkg/info/nslcd.postinst chocked on a randomly generated > password during my dist-upgrade from Buster to Bullseye, interrupting > and blocking the dist-upgrade and leaving the system in an unstable > state (for that reason, I propose to raise the severity to a > release-critical one).
Thanks for pointing this out, the detailed report and the testing you did. > I don't understand why the postinst script needs to rewrite the > existing configuration file with sed, so I let you decide what can > be the best fix, however I would suggest avoiding to try to escape a > random password string and put it in a regex. The reason nslcd.conf is modified during postinst is because most of the options are managed through debconf. The nslcd.conf is parsed and fed into the debconf database and the postinst loads the new values into the config. There was also an additional bug in that single-character passwords were accidentally removed. That shouldn't be that big of an issue but a fix for unstable is incoming anyway. Kind regards, -- -- arthur - adej...@debian.org - https://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part