<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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":<br>
<br>
apt-get update<br>
<br>
apt-get install aptitude ssh lm-sensors nano bc locales openvpn
psmisc htop iftop nmap tcpdump<br>
<br>
dpkg-reconfigure locales<br>
<br>
aptitude purge madwifi-tools madwifi-modules-2.6.32-voyage
hostap-utils hostapd lilo pptpd<br>
<br>
wget <a class="moz-txt-link-freetext" href="http://www.freescada.com/public-dist/libmbus1_0.4-1_i386.deb">http://www.freescada.com/public-dist/libmbus1_0.4-1_i386.deb</a><br>
<br>
dpkg -i libmbus<br>
<br>
aptitude -f install<br>
<br>
aptitude safe-upgrade<br>
<br>
Here's a paste of the last step after which remountro stopped to
work:<br>
<br>
##################################################################################<br>
Setting up libmbus1 (0.4-1) ...<br>
<br>
Current status: 0 broken [-1].<br>
root@voyage:~# remountro<br>
root@voyage:~# remountrw<br>
root@voyage:~# aptitude clean<br>
root@voyage:~# aptitude safe-upgrade <br>
The following packages will be upgraded: <br>
base-files dhcp3-client isc-dhcp-client isc-dhcp-common
libssl0.9.8 login passwd <br>
tzdata <br>
8 packages upgraded, 0 newly installed, 0 to remove and 0 not
upgraded.<br>
Need to get 6315 kB of archives. After unpacking 930 kB will be
used.<br>
Do you want to continue? [Y/n/?] <br>
Get:1 <a class="moz-txt-link-freetext" href="http://security.debian.org/">http://security.debian.org/</a> squeeze/updates/main
isc-dhcp-client i386 4.1.1-P1-15+squeeze2 [255 kB]<br>
Get:2 <a class="moz-txt-link-freetext" href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze/main base-files i386
6.0squeeze1 [67.4 kB]<br>
Get:3 <a class="moz-txt-link-freetext" href="http://security.debian.org/">http://security.debian.org/</a> squeeze/updates/main
isc-dhcp-common i386 4.1.1-P1-15+squeeze2 [316 kB]<br>
Get:4 <a class="moz-txt-link-freetext" href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze/main login i386
1:4.1.4.2+svn3283-2+squeeze1 [782 kB]<br>
Get:5 <a class="moz-txt-link-freetext" href="http://security.debian.org/">http://security.debian.org/</a> squeeze/updates/main dhcp3-client
all 4.1.1-P1-15+squeeze2 [25.4 kB]<br>
Get:6 <a class="moz-txt-link-freetext" href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze/main passwd i386
1:4.1.4.2+svn3283-2+squeeze1 [1033 kB]<br>
Get:7 <a class="moz-txt-link-freetext" href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze/main tzdata all
2011c-0squeeze1 [770 kB] <br>
Get:8 <a class="moz-txt-link-freetext" href="http://ftp.tw.debian.org/debian/">http://ftp.tw.debian.org/debian/</a> squeeze/main libssl0.9.8 i386
0.9.8o-4squeeze1 [3067 kB]<br>
Fetched 6315 kB in 34s (181
kB/s) <br>
Preconfiguring packages ...<br>
(Reading database ... 14750 files and directories currently
installed.)<br>
Preparing to replace base-files 6.0 (using
.../base-files_6.0squeeze1_i386.deb) ...<br>
Unpacking replacement base-files ...<br>
Processing triggers for install-info ...<br>
Setting up base-files (6.0squeeze1) ...<br>
Installing new version of config file /etc/debian_version ...<br>
(Reading database ... 14750 files and directories currently
installed.)<br>
Preparing to replace login 1:4.1.4.2+svn3283-2 (using
.../login_1%3a4.1.4.2+svn3283-2+squeeze1_i386.deb) ...<br>
Unpacking replacement login ...<br>
Setting up login (1:4.1.4.2+svn3283-2+squeeze1) ...<br>
(Reading database ... 14750 files and directories currently
installed.)<br>
Preparing to replace passwd 1:4.1.4.2+svn3283-2 (using
.../passwd_1%3a4.1.4.2+svn3283-2+squeeze1_i386.deb) ...<br>
Unpacking replacement passwd ...<br>
Setting up passwd (1:4.1.4.2+svn3283-2+squeeze1) ...<br>
(Reading database ... 14750 files and directories currently
installed.)<br>
Preparing to replace tzdata 2010o-1 (using
.../tzdata_2011c-0squeeze1_all.deb) ...<br>
Unpacking replacement tzdata ...<br>
Setting up tzdata (2011c-0squeeze1) ...<br>
<br>
Current default time zone: 'Etc/GMT'<br>
Local time is now: Wed May 25 10:43:52 GMT 2011.<br>
Universal Time is now: Wed May 25 10:43:52 UTC 2011.<br>
Run 'dpkg-reconfigure tzdata' if you wish to change it.<br>
<br>
(Reading database ... 14759 files and directories currently
installed.)<br>
Preparing to replace isc-dhcp-client 4.1.1-P1-15 (using
.../isc-dhcp-client_4.1.1-P1-15+squeeze2_i386.deb) ...<br>
Unpacking replacement isc-dhcp-client ...<br>
Preparing to replace isc-dhcp-common 4.1.1-P1-15 (using
.../isc-dhcp-common_4.1.1-P1-15+squeeze2_i386.deb) ...<br>
Unpacking replacement isc-dhcp-common ...<br>
Preparing to replace libssl0.9.8 0.9.8o-4 (using
.../libssl0.9.8_0.9.8o-4squeeze1_i386.deb) ...<br>
Unpacking replacement libssl0.9.8 ...<br>
Preparing to replace dhcp3-client 4.1.1-P1-15 (using
.../dhcp3-client_4.1.1-P1-15+squeeze2_all.deb) ...<br>
Unpacking replacement dhcp3-client ...<br>
Setting up isc-dhcp-common (4.1.1-P1-15+squeeze2) ...<br>
Setting up isc-dhcp-client (4.1.1-P1-15+squeeze2) ...<br>
Setting up libssl0.9.8 (0.9.8o-4squeeze1) ...<br>
Setting up dhcp3-client (4.1.1-P1-15+squeeze2) ...<br>
<br>
Current status: 0 updates [-8].<br>
root@voyage:~# aptitude clean<br>
root@voyage:~# remountrw <br>
root@voyage:~# remountro<br>
mount: / is busy<br>
################################################################<br>
<br>
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...<br>
<br>
<br>
Am 25.05.2011 08:55, schrieb Mirco Schmidt:
<blockquote cite="mid:4DDCA7D9.1030408@mac.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hey Johan,<br>
<br>
good question, sorry must have been to late last night!<br>
<br>
To make it clear:<br>
<br>
If your first question would be the case I could have done this in
/etc/fstab... ;-)<br>
<br>
Prob is it doesn't remount RO after boot and I can't run the
script later to do it manually!!!<br>
<br>
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...<br>
<br>
<pre class="moz-signature" cols="72">Greetz
Mirco</pre>
<br>
Am 25.05.2011 07:08, schrieb Johan Adler:
<blockquote
cite="mid:BANLkTinjha2pz_B4FCHvt-TSE2CS_CKWuA@mail.gmail.com"
type="cite">Mirco,
<div><br>
</div>
<div>Maybe I am not reading your post right, but I do not really
understand the nature of your problem.</div>
<div><br>
</div>
<div>What exactly is the problem?</div>
<div>
<ul>
<li>Is the root directory remounted RO after boot, and you
do not want it to be?</li>
<li>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Is the root directory
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
not remounted RO after boot, and you want it to be?</li>
<li>Do you have a problem running the
/usr/local/sbin/remountro script?</li>
</ul>
<div>I have not used the fuser command much. What does the
output tell you in this case?</div>
<div><br>
</div>
Regards,</div>
<div>Johan Adler</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br clear="all">
<div style="text-align: center;"> <img moz-do-not-send="true"
src="https://lh3.googleusercontent.com/_b-IGKDHEVWw/TaWhfQWMrII/AAAAAAAADsc/264AZ2BJtVk/R0011581-3-new-bw-3-256px.png"
height="93" width="96"></div>
<div style="text-align: center;"><i><font face="'times new
roman', serif"><span style="font-size: large;">Johan
Adler</span></font></i></div>
<br>
<br>
<br>
<div class="gmail_quote">2011/5/25 Mirco Schmidt <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mirco.schmidt@mac.com">mirco.schmidt@mac.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Hi all,<br>
<br>
I've setup three WRAP's with the 0.7 base version... Only
prob I've is the ro remount after booting!<br>
<br>
Here's a the output from fuser:<br>
<br>
############################<br>
fuser -v -m /<br>
BEN. PID ZUGR. BEFEHL<br>
/: root kernel mount /<br>
root 1 .rce. init<br>
root 2 .rc.. kthreadd<br>
root 3 .rc.. ksoftirqd/0<br>
root 4 .rc.. events/0<br>
root 5 .rc.. khelper<br>
root 8 .rc.. async/mgr<br>
root 90 .rc.. sync_supers<br>
root 92 .rc.. bdi-default<br>
root 94 .rc.. kblockd/0<br>
root 103 .rc.. kseriod<br>
root 132 .rc.. rpciod/0<br>
root 148 .rc.. kswapd0<br>
root 149 .rc.. aio/0<br>
root 150 .rc.. nfsiod<br>
root 151 .rc.. crypto/0<br>
root 803 .rc.. kpsmoused<br>
root 889 .rc.. ata/0<br>
root 890 .rc.. ata_aux<br>
root 967 .rce. udevd<br>
root 1030 .rce. udevd<br>
root 1031 .rce. udevd<br>
root 1475 Frce. dhclient<br>
daemon 1655 .rce. portmap<br>
root 1733 .rce. syslogd<br>
dnsmasq 1757 .rce. dnsmasq<br>
root 1770 .rce. klogd<br>
root 1837 .rce. cron<br>
root 1846 .rce. sshd<br>
root 1892 .rce. watchdog<br>
root 1899 .r.e. getty<br>
root 1914 .rce. sshd<br>
root 1916 .rce. bash<br>
root 1958 .rc.. flush-3:0<br>
############################<br>
<br>
I've removed some apps and added some:<br>
apt-get install aptitude ssh lm-sensors nano bc locales
openvpn psmisc htop iftop nmap tcpdump dialog<br>
<br>
dpkg-reconfigure locales<br>
<br>
aptitude purge madwifi-tools madwifi-modules-2.6.32-voyage
hostap-utils hostapd lilo pptpd<br>
<br>
Till now OpenVPN is not setup, only additional process
running is SSH<br>
<br>
This is my modified dnsmasq.conf:<br>
########################################<br>
interface=br0<br>
except-interface=eth0<br>
<br>
dhcp-range=br0,10.12.2.240,10.12.2.250,24h<br>
dhcp-leasefile=/var/tmp/dnsmasq.leases<br>
<br>
dhcp-host=34:15:9e:03:22:b8,macbook-pro,10.12.2.33,45m<br>
dhcp-host=00:1c:23:98:e0:9c,d830,10.12.2.34,45m<br>
dhcp-host=00:21:85:df:71:9f,lg,10.12.2.35,45m<br>
<br>
resolv-file=/var/run/dnsmasq/resolv.conf<br>
local=/<a moz-do-not-send="true"
href="http://edm.wse-xxx.de/" target="_blank">edm.wse-xxx.de/</a><br>
<br>
expand-hosts<br>
<br>
domain=<a moz-do-not-send="true"
href="http://edm.wse-xxx.de" target="_blank">edm.wse-xxx.de</a><br>
<br>
conf-file=/etc/dnsmasq.more.conf<br>
########################################<br>
<br>
changed some more files:<br>
/etc/network/interfaces<br>
/etc/rc.local<br>
/etc/sysctl.conf<br>
/etc/hostname<br>
/etc/udev/rules.d/70-persistent-net.rules<br>
/lib/udev/rules.d/75-persistent-net-generator.rules<br>
<br>
But none of these should be responsible for the remountro
prob...<br>
<br>
<br>
Hope you can help!<br>
<br>
-- <br>
Greetz<br>
Mirco<br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a moz-do-not-send="true"
href="mailto:Voyage-linux@list.voyage.hk"
target="_blank">Voyage-linux@list.voyage.hk</a><br>
<a moz-do-not-send="true"
href="http://list.voyage.hk/mailman/listinfo/voyage-linux"
target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
MfG
Mirco Schmidt</pre>
</body>
</html>