You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not an expert on postfix... do you know how the lib files get into /var/spool/postfix/lib ? They seem to be not part of a package (just verified on a jessie box):
$ dpkg -S /var/spool/postfix/lib/x86_64-linux-gnu/libresolv-2.13.so dpkg-query: no path found matching pattern /var/spool/postfix/lib/x86_64-linux-gnu/libresolv-2.13.so
Although needrestart did check if a library exists within the root of the process (/proc/$PID/root/$path) or the root of needrestart (just /$path), it has failed if both paths exist. If /proc/$PID/root/$path exist it was always preferred while comparing the device and inode values.
The code has been improved to check both paths if both does exist.
I noticed something odd with chroot detection for libraries.
Apparently postfix has the libresolv library already opened, and hands that off to its childs.
Therefore the opened inode is not the one in the chroot.
Debian: stretch
needrestart: 85b172f (master)
The text was updated successfully, but these errors were encountered: