Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bind stole my /
Date: Mon, 09 Nov 2015 19:36:41
Message-Id: 5640F5AD.70705@gmail.com
In Reply to: Re: [gentoo-user] Bind stole my / by Mike Gilbert
1 On 08-Nov-15 17:58, Mike Gilbert wrote:
2 > On Fri, Nov 6, 2015 at 12:19 PM, Jarry <mr.jarry@×××××.com> wrote:
3 >> Hi Gentoo-users,
4 >>
5 >> I noted one strange thing today: It seems one of my servers lost "/"!
6 >>
7 >> vs5-dns ~ # df
8 >> Filesystem 1K-blocks Used Available Use% Mounted on
9 >> /var/log/named 10138552 2223148 7377344 24% /chroot/dns/var/log/named
10 >> tmpfs 308196 420 307776 1% /run
11 >> dev 10240 0 10240 0% /dev
12 >> shm 1540968 0 1540968 0% /dev/shm
13 >> cgroup_root 10240 0 10240 0% /sys/fs/cgroup
14 >> none 1048576 0 1048576 0% /var/tmp/portage
15 >
16 > Is your /etc/mtab a regular file, or is it a symlink to
17 > /proc/self/mounts? The latter is recommended.
18
19 It is regular file. I never changed it...
20
21 vs5-dns ~ # ls -l /etc/mtab
22 -rw-r--r-- 1 root root 908 Nov 9 19:14 /etc/mtab
23
24 > Anyway, please have a look at the contents of /etc/mtab,
25 > /proc/self/mounts, and proc/self/mountinfo while named is running and
26 > when it is stopped. If you pastebin them we can take a look for key
27 > differences.
28
29 With bind running:
30 http://pastebin.com/wkTW6xAY
31
32 without bind:
33 http://pastebin.com/JG5FPNDW
34
35 While I can see some differences there, I still do not understand
36 why is "/" missing in "df" output. BTW I can not proove it, but this
37 was not the case all the time. At least when I was tuning monitoring
38 software, I'm pretty sure "/" was there...
39
40 Jarry
41
42 --
43 _______________________________________________________________
44 This mailbox accepts e-mails only from selected mailing-lists!
45 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
[gentoo-user] Re: Bind stole my / "Jörg Schaible" <joerg.schaible@×××.de>
Re: [gentoo-user] Bind stole my / Mike Gilbert <floppym@g.o>