* guix-daemon might be unmounting filesystems
@ 2017-02-14 10:49 Myles English
2017-02-14 16:45 ` Leo Famulari
2017-02-15 11:17 ` Alex Kost
0 siblings, 2 replies; 6+ messages in thread
From: Myles English @ 2017-02-14 10:49 UTC (permalink / raw)
To: help-guix
Hello,
About one time out of ten when I use a guix command my filesystems,
including /home, become unmounted and I have to manually remount them.
I am not sure this is because of guix-daemon or systemd or even my zsh
config but in the logs I get something like this:
Feb 14 09:57:39 bill guix-daemon[11909]: accepted connection from pid 4342, user myles
Feb 14 09:57:39 bill guix-daemon[11909]: spurious SIGPOLL
Feb 14 09:57:40 bill guix-daemon[11909]: spurious SIGPOLL
[...about 18 SIGPOLLs per second...]
Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
Feb 14 09:58:40 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
Feb 14 09:58:40 bill systemd[1]: Mounting /gnu...
Feb 14 09:58:41 bill systemd[1]: Mounted /gnu.
Feb 14 09:58:41 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
Feb 14 09:58:41 bill systemd[1]: Mounting /home...
Feb 14 09:58:41 bill systemd[1]: Mounted /home.
Feb 14 09:58:42 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
Feb 14 09:58:42 bill systemd[1]: Mounting /gnu...
Feb 14 09:58:42 bill systemd[1]: Mounted /gnu.
Feb 14 09:58:42 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
Feb 14 09:58:42 bill systemd[1]: Mounting /home...
Feb 14 09:58:42 bill systemd[1]: Mounted /home.
Feb 14 09:58:43 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
Feb 14 09:58:43 bill systemd[1]: Mounting /gnu...
Feb 14 09:58:43 bill systemd[1]: Mounted /gnu.
Feb 14 09:58:43 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
Feb 14 09:58:43 bill systemd[1]: Mounting /home...
Feb 14 09:58:43 bill systemd[1]: Mounted /home.
Feb 14 09:58:44 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
Feb 14 09:58:44 bill systemd[1]: Mounting /gnu...
Feb 14 09:58:44 bill systemd[1]: Mounted /gnu.
Feb 14 09:58:44 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
Feb 14 09:58:44 bill systemd[1]: Mounting /home...
Feb 14 09:58:45 bill systemd[1]: Mounted /home.
Feb 14 09:58:45 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
Feb 14 09:58:45 bill systemd[1]: Mounting /gnu...
Feb 14 09:58:45 bill systemd[1]: Mounted /gnu.
Feb 14 09:58:45 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
Feb 14 09:58:45 bill systemd[1]: Mounting /home...
Feb 14 09:58:45 bill systemd[1]: Mounted /home.
Feb 14 09:58:52 bill systemd[1]: home.automount: Got automount request for /home, triggered by 9958 (conky)
Feb 14 09:58:52 bill systemd[1]: Mounting /home...
Feb 14 09:58:52 bill systemd[1]: Mounted /home.
Feb 14 09:58:53 bill systemd[1]: opt.automount: Got automount request for /opt, triggered by 1855 (firefox)
Feb 14 09:58:53 bill systemd[1]: Mounting /opt...
Feb 14 09:58:53 bill systemd[1]: Mounted /opt.
Feb 14 09:59:12 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4522 (zsh)
Feb 14 09:59:12 bill systemd[1]: Mounting /gnu...
Feb 14 09:59:13 bill systemd[1]: Mounted /gnu.
Feb 14 10:00:01 bill systemd[1]: home.automount: Got automount request for /home, triggered by 1879 (Cache2 I/O)
Feb 14 10:00:01 bill systemd[1]: Mounting /home...
Feb 14 10:00:01 bill systemd[1]: Mounted /home.
Feb 14 10:00:02 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 24942 (emacs)
Feb 14 10:00:02 bill systemd[1]: Mounting /gnu...
Feb 14 10:00:02 bill systemd[1]: Mounted /gnu.
Feb 14 10:00:02 bill systemd[1]: opt.automount: Got automount request for /opt, triggered by 24942 (emacs)
Feb 14 10:00:02 bill systemd[1]: Mounting /opt...
Feb 14 10:00:02 bill systemd[1]: Mounted /opt.
Any ideas why this is happening and how it can be fixed?
I did a guix pull recently but I think it has done this every version
between here and 0.10.
Thanks,
Myles
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: guix-daemon might be unmounting filesystems
2017-02-14 10:49 guix-daemon might be unmounting filesystems Myles English
@ 2017-02-14 16:45 ` Leo Famulari
2017-02-15 21:49 ` Myles English
2017-02-15 11:17 ` Alex Kost
1 sibling, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2017-02-14 16:45 UTC (permalink / raw)
To: Myles English; +Cc: help-guix
On Tue, Feb 14, 2017 at 10:49:54AM +0000, Myles English wrote:
> Hello,
>
> About one time out of ten when I use a guix command my filesystems,
> including /home, become unmounted and I have to manually remount them.
>
> I am not sure this is because of guix-daemon or systemd or even my zsh
> config but in the logs I get something like this:
>
> Feb 14 09:57:39 bill guix-daemon[11909]: accepted connection from pid 4342, user myles
> Feb 14 09:57:39 bill guix-daemon[11909]: spurious SIGPOLL
> Feb 14 09:57:40 bill guix-daemon[11909]: spurious SIGPOLL
> [...about 18 SIGPOLLs per second...]
> Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
> Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
> Feb 14 09:58:40 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
> Feb 14 09:58:40 bill systemd[1]: Mounting /gnu...
> Feb 14 09:58:41 bill systemd[1]: Mounted /gnu.
> Feb 14 09:58:41 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
That's strange!
I'm using Guix on Debian Sid (systemd 232), and my user's default shell
is Zsh. I haven't experienced this problem.
With a frequency of one out of ten, it should be only mildly annoying to
reproduce while strace-ing the guix-daemon to see if it's involved.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: guix-daemon might be unmounting filesystems
2017-02-14 16:45 ` Leo Famulari
@ 2017-02-15 21:49 ` Myles English
2017-02-15 22:43 ` Leo Famulari
0 siblings, 1 reply; 6+ messages in thread
From: Myles English @ 2017-02-15 21:49 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
on [2017-02-14] at 16:45 Leo Famulari writes:
> On Tue, Feb 14, 2017 at 10:49:54AM +0000, Myles English wrote:
>>
>> About one time out of ten when I use a guix command my filesystems,
>> including /home, become unmounted and I have to manually remount them.
>>
>> I am not sure this is because of guix-daemon or systemd or even my zsh
>> config but in the logs I get something like this:
>>
>> Feb 14 09:57:39 bill guix-daemon[11909]: accepted connection from pid 4342, user myles
>> Feb 14 09:57:39 bill guix-daemon[11909]: spurious SIGPOLL
>> Feb 14 09:57:40 bill guix-daemon[11909]: spurious SIGPOLL
>> [...about 18 SIGPOLLs per second...]
>> Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
>> Feb 14 09:58:22 bill guix-daemon[11909]: spurious SIGPOLL
>> Feb 14 09:58:40 bill systemd[1]: gnu.automount: Got automount request for /gnu, triggered by 4345 (guix-daemon)
>> Feb 14 09:58:40 bill systemd[1]: Mounting /gnu...
>> Feb 14 09:58:41 bill systemd[1]: Mounted /gnu.
>> Feb 14 09:58:41 bill systemd[1]: home.automount: Got automount request for /home, triggered by 835 (systemd)
>
> That's strange!
>
> I'm using Guix on Debian Sid (systemd 232), and my user's default shell
> is Zsh. I haven't experienced this problem.
Thanks for your data! I am using the same version of systemd. I only
suspected zsh because my shell prompt would often look strange but with
hindsight it was because my /home had been dropped.
> With a frequency of one out of ten, it should be only mildly annoying to
> reproduce while strace-ing the guix-daemon to see if it's involved.
I tried strace and there is nothing obvious that say guix is involved in
the unmounting, other than a lot of disk IO. Based on internet search
results, and the fact that it has been happening more frequently, I am
beginning to suspect my hard drive plus or minus btrfs (not wanting to
cast aspersions because btrfs has otherwise been very well behaved).
Myles
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: guix-daemon might be unmounting filesystems
2017-02-15 21:49 ` Myles English
@ 2017-02-15 22:43 ` Leo Famulari
0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2017-02-15 22:43 UTC (permalink / raw)
To: Myles English; +Cc: help-guix
On Wed, Feb 15, 2017 at 09:49:34PM +0000, Myles English wrote:
> I tried strace and there is nothing obvious that say guix is involved in
> the unmounting, other than a lot of disk IO. Based on internet search
> results, and the fact that it has been happening more frequently, I am
> beginning to suspect my hard drive plus or minus btrfs (not wanting to
> cast aspersions because btrfs has otherwise been very well behaved).
I'm also using btrfs on /home.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: guix-daemon might be unmounting filesystems
2017-02-14 10:49 guix-daemon might be unmounting filesystems Myles English
2017-02-14 16:45 ` Leo Famulari
@ 2017-02-15 11:17 ` Alex Kost
2017-02-15 21:52 ` Myles English
1 sibling, 1 reply; 6+ messages in thread
From: Alex Kost @ 2017-02-15 11:17 UTC (permalink / raw)
To: Myles English; +Cc: help-guix
Myles English (2017-02-14 10:49 +0000) wrote:
> Hello,
>
> About one time out of ten when I use a guix command my filesystems,
> including /home, become unmounted and I have to manually remount them.
Hm, maybe you added your user to 'guixbuild' group? (check /etc/group)
If so, you shouldn't (!); this group is only for "build users"
(guixbuilder01, etc.).
--
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: guix-daemon might be unmounting filesystems
2017-02-15 11:17 ` Alex Kost
@ 2017-02-15 21:52 ` Myles English
0 siblings, 0 replies; 6+ messages in thread
From: Myles English @ 2017-02-15 21:52 UTC (permalink / raw)
To: Alex Kost; +Cc: help-guix
on [2017-02-15] at 11:17 Alex Kost writes:
> Myles English (2017-02-14 10:49 +0000) wrote:
>
>> About one time out of ten when I use a guix command my filesystems,
>> including /home, become unmounted and I have to manually remount them.
>
> Hm, maybe you added your user to 'guixbuild' group? (check /etc/group)
> If so, you shouldn't (!); this group is only for "build users"
> (guixbuilder01, etc.).
Thanks for the idea, I checked but the groups are okay. I'd really like
a new hard drive so I am hoping that is the problem.
Myles
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-02-15 22:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14 10:49 guix-daemon might be unmounting filesystems Myles English
2017-02-14 16:45 ` Leo Famulari
2017-02-15 21:49 ` Myles English
2017-02-15 22:43 ` Leo Famulari
2017-02-15 11:17 ` Alex Kost
2017-02-15 21:52 ` Myles English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).