On Sun, Mar 08, 2020 at 01:00:34AM +0100, Adam Borowski wrote: > On Sat, Mar 07, 2020 at 10:26:05AM +0100, HÃ¥vard Flaget Aasen wrote: > > * Change path from /var/run/ to /run/ in postinst and postrm scripts > > Hi! > I don't understand the /var/run/ -> /run/ change -- it looks grossly > incomplete. You change it only for the newly created user, but: > * systems which ever had a previous version of c-icap will have the > user's home in /var/run/c-icap
Incidentally, ssh itself did this, and indeed in my system: % getent passwd sshd sshd:x:107:65534::/var/run/sshd:/usr/sbin/nologin % inside a chroot: # getent passwd sshd sshd:x:101:65534::/run/sshd:/usr/sbin/nologin # After seeing that ssh didn't really care about transitioning between the directories I also sponsored another package changing directories without bothering about it. > * postrm will remove only the new location (on most systems /var/run/ is a > symlink to /run/, though) Consider that /run is a tmpfs in a standard system, so this is not *that* important. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature