[Mageia-dev] Failed to boot after /usr move
Colin Guthrie
mageia at colin.guthr.ie
Tue Jul 24 10:28:38 CEST 2012
'Twas brillig, and Olivier Thauvin at 24/07/12 08:06 did gyre and gimble:
> * Colin Guthrie (mageia at colin.guthr.ie) wrote:
>> 'Twas brillig, and Olivier Thauvin at 23/07/12 22:27 did gyre and gimble:
>>> So I did the switch on my latptop, everything was fine until I reboot...
>>>
>>> The problem is again my encrypted /home.
>>
>> What happens? Does the system boot OK generally but fail to allow you to
>> login? Anything in logs? "systemctl status /home/$USER" tell you
>> anything (assuming it's a regular mount, but I guess this is
>> unlikely...) Anything else we can use to debug with?
>
> It don't ask the passphrase during boot, systemctl status /home show
> nothing but systemctl status cryptsetup report only "No such file or
> directory".
Do you mean "systemctl status cryptsetup.target"? If so I get the same
results here:
[colin at jimmy spec-helper]$ systemctl status cryptsetup.target
cryptsetup.target
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
This generally happens when a unit refers to a target as a dep but the
target itself is not defined.
This target itself does seem to be AWOL in the systemd-units package.
Seems like an unintended (or at least unannounced) change in systemd
187, so separate from the whole usr move thing, just related to a new
systemd version.
I'll investigate ASAP.
>>
>>> BTW: /var/run and /var/lock were not migrated and I had to do it by
>>> hand.
>>
>> This happens if /var is on a separate partition. Is this the case with
>> you? I'll have to think about how to handle that more gracefully.
>
> It's the case.
Cool. Will have to work that one out then :s
Col
--
Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the Mageia-dev
mailing list