[Mageia-dev] Failed to boot after /usr move

Olivier Thauvin nanardon at nanardon.zarb.org
Tue Jul 24 10:44:04 CEST 2012


* Colin Guthrie (mageia at colin.guthr.ie) wrote:
> 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)
> 

Exactly.
 
> 
> 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.

Thanks, at time I workaround with "noauto" in my fstab and I mount it
manually after boot.

> >>> 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

Can't the switch be done online a perl/python/c programme, eg once the
programme is loaded everything can be done. Or by providing static
binaries of mv/rm/ln ?

My 2 cents.

> 
> 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/

-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120724/9bb14e41/attachment.asc>


More information about the Mageia-dev mailing list