[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#244179: marked as done (lslk: does not know about inerited flock locks)



Your message dated Sun, 27 Feb 2011 10:44:58 +0000
with message-id <[🔎] E1Pte7W-0005b8-NE@franck.debian.org>
and subject line Bug#461242: Removed package(s) from unstable
has caused the Debian Bug report #244179,
regarding lslk: does not know about inerited flock locks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
244179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=244179
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lslk
Version: 1.29-2
Severity: minor

on my system cron will flock crond.pid and then continue to run in a chid
process. This results in the owner of the flock beeing unrecognizeable by
lslk (to be fair, /proc/locks reports the same wrong pid)

I am not sure if lslk can work around this or if the linux kernel needs to
be fixed here:

# lslk
SRC        PID   DEV    INUM SZ TY M ST WH END LEN NAME
...
(unknown) 1976 254,4 5544847     w 0  0  0   0   0 /var (/dev/vg0/var_lv)

# ls -il /var/run/crond.pid ; cat /var/run/crond.pid
5544847 -rw-r--r--    1 root     root            5 Apr 17 08:48 /var/run/crond.pid
1977
# lsof /var/run/crond.pid
COMMAND  PID USER   FD   TYPE DEVICE SIZE    NODE NAME
cron    1977 root    3u   REG  254,4    5 5544847 /var/run/crond.pid
# cat /proc/locks
1: FLOCK  ADVISORY  WRITE 1976 fe:04:5544847 0 EOF
...

as you can see it is now owned by 1977 and there is no process with pid 1976
anymore. stracing cron reveals that its parent had this pid before.

Greetings
Bernd

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15

Versions of packages lslk depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1.29-6+rm

Dear submitter,

as the package lslk has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/461242

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@debian.org.

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)


--- End Message ---

Reply to: