From: Louis <guix@rcdrun.com>
To: help-guix@gnu.org
Subject: Re: Guix unmounted my /home, while -i hello
Date: Wed, 9 Mar 2016 18:01:15 +0100 [thread overview]
Message-ID: <20160309170115.GA28070@protected.rcdrun.com> (raw)
In-Reply-To: <87oaanbqw3.fsf@gnu.org>
Hello Ludovic,
You are right, sure, it was the only option on chat, to
quickly place it somewhere, as the /home was unmounted, so I
have lost all operation, passwords, etc. temporarily, and
did not replace it with better download option.
So here it is:
This is the daemon process initially, it has nothing inside:
https://rcdrun.com/files/depository/guix/guixLOG/9992.log.gz
This is the actual daemon strace, it has 39M:
https://rcdrun.com/files/depository/guix/guixLOG/9993.log.gz
This is dmesg, 72K:
https://rcdrun.com/files/depository/guix/guixLOG/dmesg.log.gz
I am just guessing that problem is here below on the before
the last line: /home: my guess is that guix somehow
re-mounts all partitions that it finds in the system.
And my encrypted (cryptsetup, not LUKS) partition is on
/dev/sda8 which is not specified in /etc anywhere. I am
mounting it by hand, as root, first. I don't want for
privacy that partition is specified in /etc or automatically
mounted by asking me for password.
What is specified in /etc/fstab is this:
https://rcdrun.com/files/depository/guix/guixLOG/fstab
And my /home is initially simply on /dev/sda7 I guess. It is
mounted basically as such, because I see it in the output of
mount:
$ mount|grep sda7
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
however, when I enter root, I am mounting then:
/dev/mapper/protected -> /home on top of it, so that is also
visible in mount command:
mount|grep mapper
/dev/mapper/protected on /home type ext4 (rw,relatime,data=ordered)
By order it is like this:
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /tmp type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/118 type tmpfs (rw,nosuid,nodev,relatime,size=395376k,mode=700,uid=118,gid=126)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=395376k,mode=700)
/dev/mapper/protected on /home type ext4 (rw,relatime,data=ordered)
maybe that is the catch, it finds /home and maybe it
re-mounts? and forgets about the other /home?
I will try again by first unmounting the /home from sda7,
mounting it on /dev/mapper/protected and re-run it.
However, I think, this should never happen, that my actual
/home is unmounted by guix daemon.
Maybe that is the catch? It recognizes
[pid 10712] umount("real-root", MNT_DETACH) = 0
[pid 10721] open("/proc/self/mountinfo", O_RDONLY) = 17
[pid 10721] mount(NULL, "/", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/dev", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/dev/pts", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/dev/shm", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/dev/mqueue", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/dev/hugepages", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/run", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/run/lock", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/run/user/118", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/run/user/0", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/run/user/1001", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/kernel/security", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/systemd", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/cpuset", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/cpu,cpuacct", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/blkio", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/memory", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/devices", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/freezer", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/net_cls,net_prio", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/perf_event", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/hugetlb", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/cgroup/pids", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/pstore", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/fs/fuse/connections", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/sys/kernel/debug", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/proc", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/proc/sys/fs/binfmt_misc", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/etc/machine-id", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/home", NULL, MS_PRIVATE, NULL) = 0
[pid 10721] mount(NULL, "/tmp", NULL, MS_PRIVATE, NULL) = 0
On Wed, Mar 09, 2016 at 04:41:16PM +0100, Ludovic Courtès wrote:
> guix@rcdrun.com skribis:
>
> > Here is strace from daemon and dmesg:
>
> Could you send them as attachments (compressed files), or, if they’re
> too big, post them on a web site that does not require running non-free
> JavaScript and is more likely to respect user privacy?
>
> Thanks in advance!
> Ludo’.
next prev parent reply other threads:[~2016-03-09 17:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 10:21 Guix unmounted my /home, while -i hello guix
2016-03-07 19:44 ` Andreas Enge
2016-03-07 22:39 ` Louis
2016-03-08 1:59 ` Mark H Weaver
2016-03-08 7:10 ` Louis
2016-03-08 18:27 ` guix
2016-03-09 15:41 ` Ludovic Courtès
2016-03-09 17:01 ` Louis [this message]
2016-03-09 18:13 ` guix
2016-03-10 16:29 ` Ludovic Courtès
2016-03-10 16:36 ` Jean Louis
2016-03-11 13:34 ` Ludovic Courtès
2019-10-09 6:26 ` Andreas, here is kind question to provide facts on your statements about RMS Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160309170115.GA28070@protected.rcdrun.com \
--to=guix@rcdrun.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.