Package: lsof
Version: 4.81.dfsg.1-1
Severity: normal

After the upgrade of libcurl, my read-only system (using a flash
card instead of a disk) cannot be remounted read-only anymore.

wall:/# mount -o remount,ro /
mount: / is busy

lsof -n | grep curl shows no matches, so it does not seem like some
process is still holding the library files open from before they
were replaced.

All open files are either pipes or rest on separate tmpfs. lsof does
not show why the root filesystem cannot be remounted:

wall:/# lsof -n | egrep '[0-9]w|DEL'
udevd       646    root    7w     FIFO        0,6               1249 pipe
rsyslogd   1885    root    1w      REG       0,20  319941   12495655 
/var/log/auth.log
rsyslogd   1885    root    2w      REG       0,20   52162   14130106 
/var/log/syslog
rsyslogd   1885    root    3w      REG       0,20 4233406   12495568 
/var/log/daemon.log
rsyslogd   1885    root    4w      REG       0,20  869126   12495649 
/var/log/kern.log
rsyslogd   1885    root    5w      REG       0,20       0       3645 
/var/log/lpr.log
rsyslogd   1885    root    6w      REG       0,20  535697   12495552 
/var/log/mail.log
rsyslogd   1885    root    7w      REG       0,20       0       3647 
/var/log/user.log
rsyslogd   1885    root    8w      REG       0,20  535697   12495548 
/var/log/mail.info
rsyslogd   1885    root    9w      REG       0,20       0       3649 
/var/log/mail.warn
rsyslogd   1885    root   10w      REG       0,20       0       3650 
/var/log/mail.err
rsyslogd   1885    root   11w      REG       0,20       0       3652 
/var/log/news/news.crit
rsyslogd   1885    root   12w      REG       0,20       0       3653 
/var/log/news/news.err
rsyslogd   1885    root   13w      REG       0,20       0       3654 
/var/log/news/news.notice
rsyslogd   1885    root   14w      REG       0,20    1680   12495658 
/var/log/debug
rsyslogd   1885    root   15w      REG       0,20  958547   12495743 
/var/log/messages
master     2143    root  104w     FIFO        0,6               4250 pipe
master     2143    root  106w     FIFO        0,6               4251 pipe
xinetd     2487    root    4w     FIFO        0,6               4559 pipe
cron       2616    root    1w      CHR        1,3                219 /dev/null
cron       2616    root    2w      CHR        1,3                219 /dev/null
watchdog   2632    root    1w      CHR     10,130               3617 
/dev/watchdog
fail2ban-  3011    root    6w      REG       0,20    2894   12495201 
/var/log/fail2ban.log
sshd       5760    root  DEL       REG        0,8           14153140 /dev/zero
sshd       5760    root  DEL       REG        0,8           14153128 /dev/zero
sshd       5760    root    4w     unix 0xd96bf0a0           14153141 socket
sshd       5762 madduck  DEL       REG        0,8           14153140 /dev/zero
sshd       5762 madduck  DEL       REG        0,8           14153128 /dev/zero
sshd       5762 madduck    7w     FIFO        0,6           14153144 pipe
puppetd    9811    root    1w      CHR        1,3                219 /dev/null
puppetd    9811    root    2w      CHR        1,3                219 /dev/null
puppetd    9811    root    4w     FIFO        0,6              13319 pipe
lsof      10563    root    1w     FIFO        0,6           14159611 pipe
lsof      10563    root    5w     FIFO        0,6           14159617 pipe
lsof      10565    root    7w     FIFO        0,6           14159618 pipe
dhclient3 10732    root    4w      REG       0,23    2838     567454 
/var/lib/dhcp3/dhclient.leases
aiccu     10933    root    1w      CHR        1,3                219 /dev/null
aiccu     10933    root    2w      CHR        1,3                219 /dev/null
dhcpd3    14054    root    8w      REG       0,23    1152    9532099 
/var/lib/dhcp3/dhcpd.leases
screen    23726    root    1w      CHR        1,3                219 /dev/null
screen    23726    root    2w      CHR        1,3                219 /dev/null
radvd     25197   radvd    6w     FIFO        0,6            2709576 pipe
dhclient3 25677    root    4w      REG       0,23    8987       2771 
/var/lib/dhcp3/dhclient.wan.leases
qmgr      25713 postfix    4w     FIFO        0,6               4251 pipe
openvpn   25754  nobody    4w      REG       0,15     308   13091445 
/var/run/openvpn.madduck.status
openvpn   25760  nobody    4w      REG       0,15     267   13091458 
/var/run/openvpn.reloc.status
tlsmgr    25769 postfix    4w     FIFO        0,6               4251 pipe
pickup    28994 postfix    4w     FIFO        0,6               4251 pipe

wall:/# df -T /dev /var/lib/dhcp3 /var/log /var/run
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
udev         tmpfs       10240        24     10216   1% /dev
dhcp3-lib    tmpfs          64        24        40  38% /var/lib/dhcp3
varlog       tmpfs       32768     17308     15460  53% /var/log
varrun       tmpfs      258268        88    258180   1% /var/run

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lsof depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries

lsof recommends no packages.

lsof suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to