From mboxrd@z Thu Jan 1 00:00:00 1970 From: Louis Subject: Re: Guix unmounted my /home, while -i hello Date: Wed, 9 Mar 2016 18:01:15 +0100 Message-ID: <20160309170115.GA28070@protected.rcdrun.com> References: <20160307102103.GA18288@protected.rcdrun.com> <20160307194402.GA25490@solar> <20160307223914.GA10916@protected.rcdrun.com> <20160308182704.GA13187@protected.rcdrun.com> <87oaanbqw3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adhVO-0001y3-AP for help-guix@gnu.org; Wed, 09 Mar 2016 12:02:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adhVJ-0005sD-Gx for help-guix@gnu.org; Wed, 09 Mar 2016 12:02:38 -0500 Content-Disposition: inline In-Reply-To: <87oaanbqw3.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: help-guix@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=3Dordered) 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=3Dordered) By order it is like this: /dev/sda7 on /home type ext4 (rw,relatime,data=3Dordered) /dev/sda5 on /tmp type ext4 (rw,relatime,data=3Dordered) 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=3D395376= k,mode=3D700,uid=3D118,gid=3D126) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=3D395376k,= mode=3D700) /dev/mapper/protected on /home type ext4 (rw,relatime,data=3Dordered) 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=20 [pid 10712] umount("real-root", MNT_DETACH) =3D 0 [pid 10721] open("/proc/self/mountinfo", O_RDONLY) =3D 17 [pid 10721] mount(NULL, "/", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/dev", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/dev/pts", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/dev/shm", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/dev/mqueue", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/dev/hugepages", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/run", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/run/lock", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/run/user/118", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/run/user/0", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/run/user/1001", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/sys", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/sys/kernel/security", NULL, MS_PRIVATE, NULL) =3D = 0 [pid 10721] mount(NULL, "/sys/fs/cgroup", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/systemd", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/cpuset", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/cpu,cpuacct", NULL, MS_PRIVATE, N= ULL) =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/blkio", NULL, MS_PRIVATE, NULL) =3D = 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/memory", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/devices", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/freezer", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/net_cls,net_prio", NULL, MS_PRIVA= TE, NULL) =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/perf_event", NULL, MS_PRIVATE, NU= LL) =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/hugetlb", NULL, MS_PRIVATE, NULL) = =3D 0 [pid 10721] mount(NULL, "/sys/fs/cgroup/pids", NULL, MS_PRIVATE, NULL) =3D = 0 [pid 10721] mount(NULL, "/sys/fs/pstore", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/sys/fs/fuse/connections", NULL, MS_PRIVATE, NUL= L) =3D 0 [pid 10721] mount(NULL, "/sys/kernel/debug", NULL, MS_PRIVATE, NULL) =3D = 0 [pid 10721] mount(NULL, "/proc", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/proc/sys/fs/binfmt_misc", NULL, MS_PRIVATE, NUL= L) =3D 0 [pid 10721] mount(NULL, "/etc/machine-id", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/home", NULL, MS_PRIVATE, NULL) =3D 0 [pid 10721] mount(NULL, "/tmp", NULL, MS_PRIVATE, NULL) =3D 0 On Wed, Mar 09, 2016 at 04:41:16PM +0100, Ludovic Court=C3=A8s wrote: > guix@rcdrun.com skribis: >=20 > > Here is strace from daemon and dmesg: >=20 > Could you send them as attachments (compressed files), or, if they=E2=80= =99re > too big, post them on a web site that does not require running non-free > JavaScript and is more likely to respect user privacy? >=20 > Thanks in advance! > Ludo=E2=80=99.