Re: checkrestart and dovecot
Hi,
On 18/11/2011 1:41 PM, Bob Proulx wrote:
Andrew McGlashan wrote:
They are back, after the reboot, but not right away... looks like
I'll have to report a bug. Now, how to tell which "old files" are
the problem????
How is your python scripting? The checkrestart script is simply a
python script. If you have favorite methods of debugging python
scripts then you could tear into it. If nothing else make a copy and
start putting in print statements at opportune points.
Bob
Okay, well I haven't had time to look into the code, but see the
following now:
This was after a reboot!!!!
[not the machine running dovecot]
# checkrestart
Found 1 processes using old versions of upgraded files
(1 distinct program)
(1 distinct packages)
Of these, 1 seem to contain init scripts which can be used to restart them:
The following packages seem to have init scripts that could be used
to restart them:
memlockd:
1016 /usr/sbin/memlockd
These are the init scripts:
/etc/init.d/memlockd restart
# /etc/init.d/memlockd restart
Starting memlockd: Restarting memlockd: memlockd.
# checkrestart
Found 0 processes using old versions of upgraded files
# uname -a
Linux gx520 2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC 2011 x86_64
GNU/Linux
# grep memlock /root/dpkg.wrk/dpkg-query-l-20111126-17.20.25
ii memlockd 0.05
daemon to lock files into RAM
# cat /etc/debian_version
6.0.3
Cheers
--
Kind Regards
AndrewM
Andrew McGlashan
Reply to: