help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix unmounted my /home, while -i hello


From: Louis
Subject: Re: Guix unmounted my /home, while -i hello
Date: Wed, 9 Mar 2016 18:01:15 +0100

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:
> address@hidden 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]