[Voyage-linux] remountro Problem: "mount: / is busy"
Mirco Schmidt
(spam-protected)
Wed May 25 18:52:40 HKT 2011
To track the problem further down I've setup a new system. I did the
following steps between each step I did a "remountro / remountrw":
apt-get update
apt-get install aptitude ssh lm-sensors nano bc locales openvpn psmisc
htop iftop nmap tcpdump
dpkg-reconfigure locales
aptitude purge madwifi-tools madwifi-modules-2.6.32-voyage hostap-utils
hostapd lilo pptpd
wget http://www.freescada.com/public-dist/libmbus1_0.4-1_i386.deb
dpkg -i libmbus
aptitude -f install
aptitude safe-upgrade
Here's a paste of the last step after which remountro stopped to work:
##################################################################################
Setting up libmbus1 (0.4-1) ...
Current status: 0 broken [-1].
root at voyage:~# remountro
root at voyage:~# remountrw
root at voyage:~# aptitude clean
root at voyage:~# aptitude safe-upgrade
The following packages will be upgraded:
base-files dhcp3-client isc-dhcp-client isc-dhcp-common libssl0.9.8
login passwd
tzdata
8 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6315 kB of archives. After unpacking 930 kB will be used.
Do you want to continue? [Y/n/?]
Get:1 http://security.debian.org/ squeeze/updates/main isc-dhcp-client
i386 4.1.1-P1-15+squeeze2 [255 kB]
Get:2 http://ftp.tw.debian.org/debian/ squeeze/main base-files i386
6.0squeeze1 [67.4 kB]
Get:3 http://security.debian.org/ squeeze/updates/main isc-dhcp-common
i386 4.1.1-P1-15+squeeze2 [316 kB]
Get:4 http://ftp.tw.debian.org/debian/ squeeze/main login i386
1:4.1.4.2+svn3283-2+squeeze1 [782 kB]
Get:5 http://security.debian.org/ squeeze/updates/main dhcp3-client all
4.1.1-P1-15+squeeze2 [25.4 kB]
Get:6 http://ftp.tw.debian.org/debian/ squeeze/main passwd i386
1:4.1.4.2+svn3283-2+squeeze1 [1033 kB]
Get:7 http://ftp.tw.debian.org/debian/ squeeze/main tzdata all
2011c-0squeeze1 [770 kB]
Get:8 http://ftp.tw.debian.org/debian/ squeeze/main libssl0.9.8 i386
0.9.8o-4squeeze1 [3067 kB]
Fetched 6315 kB in 34s (181 kB/s)
Preconfiguring packages ...
(Reading database ... 14750 files and directories currently installed.)
Preparing to replace base-files 6.0 (using
.../base-files_6.0squeeze1_i386.deb) ...
Unpacking replacement base-files ...
Processing triggers for install-info ...
Setting up base-files (6.0squeeze1) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 14750 files and directories currently installed.)
Preparing to replace login 1:4.1.4.2+svn3283-2 (using
.../login_1%3a4.1.4.2+svn3283-2+squeeze1_i386.deb) ...
Unpacking replacement login ...
Setting up login (1:4.1.4.2+svn3283-2+squeeze1) ...
(Reading database ... 14750 files and directories currently installed.)
Preparing to replace passwd 1:4.1.4.2+svn3283-2 (using
.../passwd_1%3a4.1.4.2+svn3283-2+squeeze1_i386.deb) ...
Unpacking replacement passwd ...
Setting up passwd (1:4.1.4.2+svn3283-2+squeeze1) ...
(Reading database ... 14750 files and directories currently installed.)
Preparing to replace tzdata 2010o-1 (using
.../tzdata_2011c-0squeeze1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2011c-0squeeze1) ...
Current default time zone: 'Etc/GMT'
Local time is now: Wed May 25 10:43:52 GMT 2011.
Universal Time is now: Wed May 25 10:43:52 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
(Reading database ... 14759 files and directories currently installed.)
Preparing to replace isc-dhcp-client 4.1.1-P1-15 (using
.../isc-dhcp-client_4.1.1-P1-15+squeeze2_i386.deb) ...
Unpacking replacement isc-dhcp-client ...
Preparing to replace isc-dhcp-common 4.1.1-P1-15 (using
.../isc-dhcp-common_4.1.1-P1-15+squeeze2_i386.deb) ...
Unpacking replacement isc-dhcp-common ...
Preparing to replace libssl0.9.8 0.9.8o-4 (using
.../libssl0.9.8_0.9.8o-4squeeze1_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace dhcp3-client 4.1.1-P1-15 (using
.../dhcp3-client_4.1.1-P1-15+squeeze2_all.deb) ...
Unpacking replacement dhcp3-client ...
Setting up isc-dhcp-common (4.1.1-P1-15+squeeze2) ...
Setting up isc-dhcp-client (4.1.1-P1-15+squeeze2) ...
Setting up libssl0.9.8 (0.9.8o-4squeeze1) ...
Setting up dhcp3-client (4.1.1-P1-15+squeeze2) ...
Current status: 0 updates [-8].
root at voyage:~# aptitude clean
root at voyage:~# remountrw
root at voyage:~# remountro
mount: / is busy
################################################################
So my guessing is that with that last upgrade one of the packages added
a file which broke something. I'ld expect dhcpclient to be responsible...
Am 25.05.2011 08:55, schrieb Mirco Schmidt:
> Hey Johan,
>
> good question, sorry must have been to late last night!
>
> To make it clear:
>
> If your first question would be the case I could have done this in
> /etc/fstab... ;-)
>
> Prob is it doesn't remount RO after boot and I can't run the script
> later to do it manually!!!
>
> I've never used fuser before, the reason why I put it in my post was
> that I read the hint in another post on the list-archive! So it tells
> me nothin...
>
> Greetz
> Mirco
>
> Am 25.05.2011 07:08, schrieb Johan Adler:
>> Mirco,
>>
>> Maybe I am not reading your post right, but I do not really
>> understand the nature of your problem.
>>
>> What exactly is the problem?
>>
>> * Is the root directory remounted RO after boot, and you do not
>> want it to be?
>> * Is the root directory not remounted RO after boot, and you want
>> it to be?
>> * Do you have a problem running the /usr/local/sbin/remountro script?
>>
>> I have not used the fuser command much. What does the output tell you
>> in this case?
>>
>> Regards,
>> Johan Adler
>>
>>
>>
>>
>> /Johan Adler/
>>
>>
>>
>> 2011/5/25 Mirco Schmidt <mirco.schmidt at mac.com
>> <mailto:mirco.schmidt at mac.com>>
>>
>> Hi all,
>>
>> I've setup three WRAP's with the 0.7 base version... Only prob
>> I've is the ro remount after booting!
>>
>> Here's a the output from fuser:
>>
>> ############################
>> fuser -v -m /
>> BEN. PID ZUGR. BEFEHL
>> /: root kernel mount /
>> root 1 .rce. init
>> root 2 .rc.. kthreadd
>> root 3 .rc.. ksoftirqd/0
>> root 4 .rc.. events/0
>> root 5 .rc.. khelper
>> root 8 .rc.. async/mgr
>> root 90 .rc.. sync_supers
>> root 92 .rc.. bdi-default
>> root 94 .rc.. kblockd/0
>> root 103 .rc.. kseriod
>> root 132 .rc.. rpciod/0
>> root 148 .rc.. kswapd0
>> root 149 .rc.. aio/0
>> root 150 .rc.. nfsiod
>> root 151 .rc.. crypto/0
>> root 803 .rc.. kpsmoused
>> root 889 .rc.. ata/0
>> root 890 .rc.. ata_aux
>> root 967 .rce. udevd
>> root 1030 .rce. udevd
>> root 1031 .rce. udevd
>> root 1475 Frce. dhclient
>> daemon 1655 .rce. portmap
>> root 1733 .rce. syslogd
>> dnsmasq 1757 .rce. dnsmasq
>> root 1770 .rce. klogd
>> root 1837 .rce. cron
>> root 1846 .rce. sshd
>> root 1892 .rce. watchdog
>> root 1899 .r.e. getty
>> root 1914 .rce. sshd
>> root 1916 .rce. bash
>> root 1958 .rc.. flush-3:0
>> ############################
>>
>> I've removed some apps and added some:
>> apt-get install aptitude ssh lm-sensors nano bc locales openvpn
>> psmisc htop iftop nmap tcpdump dialog
>>
>> dpkg-reconfigure locales
>>
>> aptitude purge madwifi-tools madwifi-modules-2.6.32-voyage
>> hostap-utils hostapd lilo pptpd
>>
>> Till now OpenVPN is not setup, only additional process running is SSH
>>
>> This is my modified dnsmasq.conf:
>> ########################################
>> interface=br0
>> except-interface=eth0
>>
>> dhcp-range=br0,10.12.2.240,10.12.2.250,24h
>> dhcp-leasefile=/var/tmp/dnsmasq.leases
>>
>> dhcp-host=34:15:9e:03:22:b8,macbook-pro,10.12.2.33,45m
>> dhcp-host=00:1c:23:98:e0:9c,d830,10.12.2.34,45m
>> dhcp-host=00:21:85:df:71:9f,lg,10.12.2.35,45m
>>
>> resolv-file=/var/run/dnsmasq/resolv.conf
>> local=/edm.wse-xxx.de/ <http://edm.wse-xxx.de/>
>>
>> expand-hosts
>>
>> domain=edm.wse-xxx.de <http://edm.wse-xxx.de>
>>
>> conf-file=/etc/dnsmasq.more.conf
>> ########################################
>>
>> changed some more files:
>> /etc/network/interfaces
>> /etc/rc.local
>> /etc/sysctl.conf
>> /etc/hostname
>> /etc/udev/rules.d/70-persistent-net.rules
>> /lib/udev/rules.d/75-persistent-net-generator.rules
>>
>> But none of these should be responsible for the remountro prob...
>>
>>
>> Hope you can help!
>>
>> --
>> Greetz
>> Mirco
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
MfG
Mirco Schmidt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110525/7ec0f96a/attachment.html>
More information about the Voyage-linux
mailing list