linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* systemd 183, boot problem
@ 2012-05-27 19:01 Allin Cottrell
  2012-05-27 20:17 ` Kay Sievers
  2012-05-27 21:04 ` Allin Cottrell
  0 siblings, 2 replies; 3+ messages in thread
From: Allin Cottrell @ 2012-05-27 19:01 UTC (permalink / raw)
  To: linux-hotplug

I just tried updating from systemd 44 + udev 182. On booting I 
saw:

"Could not find module by name='<binary-garbage>'"
(That is, no readable module name)

"Failed to insert ipv6"

"Cannot create mount unit for API file system 
/sys/kernel/security. Refusing."

I was then dumped into emergency mode. Grubbing through the 
source I saw that /sys/kernel/security is needed by IMA, so I 
reconfigured systemd-183 with --disable-ima, rebuilt, 
reinstalled and rebooted. That didn't help; I landed in 
emergency mode again. So I ended up reinstalling 44 + 182; 
fortunately that gave me back a usable system.

I think the new securityfs requirement ought to be mentioned 
in NEWS, and made conditional on enabling IMA.

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: systemd 183, boot problem
  2012-05-27 19:01 systemd 183, boot problem Allin Cottrell
@ 2012-05-27 20:17 ` Kay Sievers
  2012-05-27 21:04 ` Allin Cottrell
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2012-05-27 20:17 UTC (permalink / raw)
  To: linux-hotplug

On Sun, May 27, 2012 at 9:01 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
> I just tried updating from systemd 44 + udev 182. On booting I saw:
>
> "Could not find module by name='<binary-garbage>'"
> (That is, no readable module name)
>
> "Failed to insert ipv6"
>
> "Cannot create mount unit for API file system /sys/kernel/security.
> Refusing."
>
> I was then dumped into emergency mode. Grubbing through the source I saw
> that /sys/kernel/security is needed by IMA, so I reconfigured systemd-183
> with --disable-ima, rebuilt, reinstalled and rebooted. That didn't help; I
> landed in emergency mode again. So I ended up reinstalling 44 + 182;
> fortunately that gave me back a usable system.
>
> I think the new securityfs requirement ought to be mentioned in NEWS, and
> made conditional on enabling IMA.

I don't have securityfs enabled in the kernel and it works fine here.

The message should only be debug log, I see that too, if I enable
debugging. It should not be an error and the cause of the failure you
see.

Kay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: systemd 183, boot problem
  2012-05-27 19:01 systemd 183, boot problem Allin Cottrell
  2012-05-27 20:17 ` Kay Sievers
@ 2012-05-27 21:04 ` Allin Cottrell
  1 sibling, 0 replies; 3+ messages in thread
From: Allin Cottrell @ 2012-05-27 21:04 UTC (permalink / raw)
  To: linux-hotplug

On Sun, 27 May 2012, Kay Sievers wrote:

> On Sun, May 27, 2012 at 9:01 PM, Allin Cottrell <cottrell@wfu.edu> wrote:
>> I just tried updating from systemd 44 + udev 182. On booting I saw:
>>
>> "Could not find module by name='<binary-garbage>'"
>> (That is, no readable module name)
>>
>> "Failed to insert ipv6"
>>
>> "Cannot create mount unit for API file system /sys/kernel/security.
>> Refusing."
>>
>> I was then dumped into emergency mode. Grubbing through the source I saw
>> that /sys/kernel/security is needed by IMA, so I reconfigured systemd-183
>> with --disable-ima, rebuilt, reinstalled and rebooted. That didn't help; I
>> landed in emergency mode again. So I ended up reinstalling 44 + 182;
>> fortunately that gave me back a usable system.
>>
>> I think the new securityfs requirement ought to be mentioned in NEWS, and
>> made conditional on enabling IMA.
>
> I don't have securityfs enabled in the kernel and it works fine here.

Before seeing your mail I tried commenting out the securityfs 
requirement in the source, rebuilding and rebooting. That didn't fix 
the issue (still got emergency mode) so, yes, absence of securityfs 
is not the blocker. Then is absence of ipv6 the issue? (Or why isn't 
systemd 183 telling me why it's refusing to start normally?)

One thing I noted was that the broken "could not find module by 
name" message comes from libkmod (kmod8). Apparently when it has 
received a request from systemd for the (non-existent) ipv6 module.

Allin Cottrell

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-27 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-27 19:01 systemd 183, boot problem Allin Cottrell
2012-05-27 20:17 ` Kay Sievers
2012-05-27 21:04 ` Allin Cottrell

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 NNTP newsgroup(s).