* X server crashes during 'guix system reconfigure' on mips64el
[not found] ` <20160821223011.7BBD9220179@vcs.savannah.gnu.org>
@ 2016-08-22 5:28 ` Mark H Weaver
2016-08-22 6:44 ` Leo Famulari
2016-08-28 15:07 ` Ludovic Courtès
0 siblings, 2 replies; 7+ messages in thread
From: Mark H Weaver @ 2016-08-22 5:28 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hi Ludovic,
ludo@gnu.org (Ludovic Courtès) writes:
> civodul pushed a commit to branch master
> in repository guix.
>
> commit 3cf319a3f8e23831960a0f1320122cc514188a37
> Author: Ludovic Courtès <ludo@gnu.org>
> Date: Sun Aug 21 19:03:29 2016 +0200
>
> services: elogind: Provide '%elogind-file-systems' by extension.
>
> * gnu/system/file-systems.scm (%base-file-systems): Remove
> %ELOGIND-FILE-SYSTEMS.
> * gnu/services/desktop.scm (elogind-service-type): Extend
> FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
This commit causes a major problem on my Lemote YeeLoong (mips64el)
machine running GuixSD. I don't know whether it might affect others.
When I run 'guix system reconfigure' to update to a system with this
commit, it unloads the older %elogind-file-system services, which causes
my X server to crash and leave me in text mode with my keyboard in the
wrong mode, so I have to hard reset the machine.
In addition, the 'guix system reconfigure' gets stuck. (I can see this
because I always run it in a text terminal; I do all my 'root' work
there.)
I've tried it twice, and transcribed (by hand) the last few lines of the
output from 'guix system reconfigure':
First time:
making '/gnu/store/f0z88r...-system' the current system...
guix system: unloading service 'file-system-/sys/fs/cgroup/elogind'...
wlp0s14f5u3: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
Second time:
making '/gnu/store/f0z88r...-system' the current system...
guix system: unloading service 'file-system-/run/systemd'...
I'm not sure if it's relevant, but I don't have 'elogin-service' on my
YeeLoong. I can't run it there because it depends on 'mozjs' which
fails to build on mips64el.
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-22 5:28 ` X server crashes during 'guix system reconfigure' on mips64el Mark H Weaver
@ 2016-08-22 6:44 ` Leo Famulari
2016-08-22 12:19 ` Mark H Weaver
2016-08-28 15:07 ` Ludovic Courtès
1 sibling, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2016-08-22 6:44 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
On Mon, Aug 22, 2016 at 01:28:39AM -0400, Mark H Weaver wrote:
> Hi Ludovic,
>
> ludo@gnu.org (Ludovic Courtès) writes:
>
> > civodul pushed a commit to branch master
> > in repository guix.
> >
> > commit 3cf319a3f8e23831960a0f1320122cc514188a37
> > Author: Ludovic Courtès <ludo@gnu.org>
> > Date: Sun Aug 21 19:03:29 2016 +0200
> >
> > services: elogind: Provide '%elogind-file-systems' by extension.
> >
> > * gnu/system/file-systems.scm (%base-file-systems): Remove
> > %ELOGIND-FILE-SYSTEMS.
> > * gnu/services/desktop.scm (elogind-service-type): Extend
> > FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
>
> This commit causes a major problem on my Lemote YeeLoong (mips64el)
> machine running GuixSD. I don't know whether it might affect others.
>
> When I run 'guix system reconfigure' to update to a system with this
> commit, it unloads the older %elogind-file-system services, which causes
> my X server to crash and leave me in text mode with my keyboard in the
> wrong mode, so I have to hard reset the machine.
>
> In addition, the 'guix system reconfigure' gets stuck. (I can see this
> because I always run it in a text terminal; I do all my 'root' work
> there.)
I have the same experience on x86_64.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-22 6:44 ` Leo Famulari
@ 2016-08-22 12:19 ` Mark H Weaver
0 siblings, 0 replies; 7+ messages in thread
From: Mark H Weaver @ 2016-08-22 12:19 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> writes:
> On Mon, Aug 22, 2016 at 01:28:39AM -0400, Mark H Weaver wrote:
>> Hi Ludovic,
>>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>> > civodul pushed a commit to branch master
>> > in repository guix.
>> >
>> > commit 3cf319a3f8e23831960a0f1320122cc514188a37
>> > Author: Ludovic Courtès <ludo@gnu.org>
>> > Date: Sun Aug 21 19:03:29 2016 +0200
>> >
>> > services: elogind: Provide '%elogind-file-systems' by extension.
>> >
>> > * gnu/system/file-systems.scm (%base-file-systems): Remove
>> > %ELOGIND-FILE-SYSTEMS.
>> > * gnu/services/desktop.scm (elogind-service-type): Extend
>> > FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
>>
>> This commit causes a major problem on my Lemote YeeLoong (mips64el)
>> machine running GuixSD. I don't know whether it might affect others.
>>
>> When I run 'guix system reconfigure' to update to a system with this
>> commit, it unloads the older %elogind-file-system services, which causes
>> my X server to crash and leave me in text mode with my keyboard in the
>> wrong mode, so I have to hard reset the machine.
>>
>> In addition, the 'guix system reconfigure' gets stuck. (I can see this
>> because I always run it in a text terminal; I do all my 'root' work
>> there.)
>
> I have the same experience on x86_64.
Okay, I reverted commit 3cf319a3f8, pending a solution to this issue.
Thanks,
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-22 5:28 ` X server crashes during 'guix system reconfigure' on mips64el Mark H Weaver
2016-08-22 6:44 ` Leo Famulari
@ 2016-08-28 15:07 ` Ludovic Courtès
2016-08-31 14:17 ` Ludovic Courtès
1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-08-28 15:07 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
Hi Mark,
Mark H Weaver <mhw@netris.org> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> civodul pushed a commit to branch master
>> in repository guix.
>>
>> commit 3cf319a3f8e23831960a0f1320122cc514188a37
>> Author: Ludovic Courtès <ludo@gnu.org>
>> Date: Sun Aug 21 19:03:29 2016 +0200
>>
>> services: elogind: Provide '%elogind-file-systems' by extension.
>>
>> * gnu/system/file-systems.scm (%base-file-systems): Remove
>> %ELOGIND-FILE-SYSTEMS.
>> * gnu/services/desktop.scm (elogind-service-type): Extend
>> FILE-SYSTEM-SERVICE-TYPE to provide %ELOGIND-FILE-SYSTEMS.
>
> This commit causes a major problem on my Lemote YeeLoong (mips64el)
> machine running GuixSD. I don't know whether it might affect others.
Apologies, I didn’t expect this. :-/
> When I run 'guix system reconfigure' to update to a system with this
> commit, it unloads the older %elogind-file-system services, which causes
> my X server to crash and leave me in text mode with my keyboard in the
> wrong mode, so I have to hard reset the machine.
>
> In addition, the 'guix system reconfigure' gets stuck. (I can see this
> because I always run it in a text terminal; I do all my 'root' work
> there.)
>
> I've tried it twice, and transcribed (by hand) the last few lines of the
> output from 'guix system reconfigure':
>
> First time:
>
> making '/gnu/store/f0z88r...-system' the current system...
> guix system: unloading service 'file-system-/sys/fs/cgroup/elogind'...
> wlp0s14f5u3: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
>
> Second time:
>
> making '/gnu/store/f0z88r...-system' the current system...
> guix system: unloading service 'file-system-/run/systemd'...
>
> I'm not sure if it's relevant, but I don't have 'elogin-service' on my
> YeeLoong. I can't run it there because it depends on 'mozjs' which
> fails to build on mips64el.
The problem here is that stopping a ‘file-system-xxx’ Shepherd service
amounts to stopping the ‘user-processes’—i.e., kill all the user
processes. This can be seen in the service dependency graph:
guix system shepherd-graph the-config.scm | dot -Tps > t.ps
So ‘guix system reconfigure’ should detect this case and keep the
service up and running instead of stopping it. Namely,
‘call-with-service-upgrade-info’ in (guix scripts system) should check
whether a given Shepherd service has running dependent services.
To be continued…
Thanks for reporting the issue and reverting the faulty commit!
Ludo’.
PS: On my machine (where elogind runs), Xorg.0.log reads:
(II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
… which suggests we’re doing things wrong here.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-28 15:07 ` Ludovic Courtès
@ 2016-08-31 14:17 ` Ludovic Courtès
2016-08-31 17:06 ` Leo Famulari
0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-08-31 14:17 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
Hi!
ludo@gnu.org (Ludovic Courtès) skribis:
> Mark H Weaver <mhw@netris.org> skribis:
[...]
>> When I run 'guix system reconfigure' to update to a system with this
>> commit, it unloads the older %elogind-file-system services, which causes
>> my X server to crash and leave me in text mode with my keyboard in the
>> wrong mode, so I have to hard reset the machine.
>>
>> In addition, the 'guix system reconfigure' gets stuck. (I can see this
>> because I always run it in a text terminal; I do all my 'root' work
>> there.)
>>
>> I've tried it twice, and transcribed (by hand) the last few lines of the
>> output from 'guix system reconfigure':
>>
>> First time:
>>
>> making '/gnu/store/f0z88r...-system' the current system...
>> guix system: unloading service 'file-system-/sys/fs/cgroup/elogind'...
>> wlp0s14f5u3: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
>>
>> Second time:
>>
>> making '/gnu/store/f0z88r...-system' the current system...
>> guix system: unloading service 'file-system-/run/systemd'...
>>
>> I'm not sure if it's relevant, but I don't have 'elogin-service' on my
>> YeeLoong. I can't run it there because it depends on 'mozjs' which
>> fails to build on mips64el.
>
> The problem here is that stopping a ‘file-system-xxx’ Shepherd service
> amounts to stopping the ‘user-processes’—i.e., kill all the user
> processes. This can be seen in the service dependency graph:
>
> guix system shepherd-graph the-config.scm | dot -Tps > t.ps
>
> So ‘guix system reconfigure’ should detect this case and keep the
> service up and running instead of stopping it. Namely,
> ‘call-with-service-upgrade-info’ in (guix scripts system) should check
> whether a given Shepherd service has running dependent services.
>
> To be continued…
I believe this is fixed by commit
d4f8884fdb897e648fd7f4262b2142d8c363ac76 (and now we have proper
tests!).
Could you or Leo retry the previous scenario (you need to revert the
revert) and report back?
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-31 14:17 ` Ludovic Courtès
@ 2016-08-31 17:06 ` Leo Famulari
2016-09-01 12:02 ` Ludovic Courtès
0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2016-08-31 17:06 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Wed, Aug 31, 2016 at 04:17:29PM +0200, Ludovic Courtès wrote:
> I believe this is fixed by commit
> d4f8884fdb897e648fd7f4262b2142d8c363ac76 (and now we have proper
> tests!).
>
> Could you or Leo retry the previous scenario (you need to revert the
> revert) and report back?
It works for me on x86_64. Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: X server crashes during 'guix system reconfigure' on mips64el
2016-08-31 17:06 ` Leo Famulari
@ 2016-09-01 12:02 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-09-01 12:02 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari <leo@famulari.name> skribis:
> On Wed, Aug 31, 2016 at 04:17:29PM +0200, Ludovic Courtès wrote:
>> I believe this is fixed by commit
>> d4f8884fdb897e648fd7f4262b2142d8c363ac76 (and now we have proper
>> tests!).
>>
>> Could you or Leo retry the previous scenario (you need to revert the
>> revert) and report back?
>
> It works for me on x86_64. Thanks!
Good, I’ve committed the revert of the revert. Thanks for testing!
Ludo’.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-09-01 12:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20160821223010.6271.25223@vcs.savannah.gnu.org>
[not found] ` <20160821223011.7BBD9220179@vcs.savannah.gnu.org>
2016-08-22 5:28 ` X server crashes during 'guix system reconfigure' on mips64el Mark H Weaver
2016-08-22 6:44 ` Leo Famulari
2016-08-22 12:19 ` Mark H Weaver
2016-08-28 15:07 ` Ludovic Courtès
2016-08-31 14:17 ` Ludovic Courtès
2016-08-31 17:06 ` Leo Famulari
2016-09-01 12:02 ` Ludovic Courtès
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.