checkrestart is still broken; it never outputs anything.  I don't know
if this is due to a bug in checkrestart or lsof, or changes in Linux;
presumably any such exposed changes are intentional.

It is my understanding that the useful output would be:

  old versions of files included in some [installed] package, which
  are opened by some process

And it might be interesting to allow restricting that output to
processes the executable pathname of which are also included in some
[installed] package.

lsof 4.76.dfsg.1-1 under Linux 2.6.15 doesn't show any shared libs in
its sudo +L1 output, even though it shows up in sudo lsof with an
"inode" thingy:

  xterm     29554     pryzbyj  mem       REG        3,1 208206 
/usr/lib/libfreetype.so.6.3.8 (path inode=206383)

No link count is shown count for that process for that library ("not
shown", not "0".)

Also, this check seems to defeat all output:

    def needsRestart(self):
        for f in self.files:
            if f.endswith('.dpkg-new'):
                return 1
        return 0

Perhaps dpkg behaviour changed?  This check seems to imply that files
being replaced are (not intuitively) renamed to .dpkg-new, before
being removed.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to