jaa writes ("[Bug 139635] Re: [cryptsetup] library dependency in
/sbin/cryptsetup"):
> IIRC, the swap is set up by boot scripts and cryptsetup/crypttab,
> which, I think, are standard parts of debian/ubuntu. The "recipe"
> came from man pages:
>
> man crypttab
> man cryptsetup
Hmm.
> In any case, IMHO, it is not acceptable to link to under /usr from
> /sbin.
Yes, I agree in general. Unfortunately the situation is rather
complicated here and there isn't an easy fix.
I think that for gutsy I'm just going to have to advise you to adopt a
workaround: I suggest you reconfigure your init scripts so that the
swap setup takes place later.
I hope that in hardy we'll have a cooked answer for encrypted swap,
which will have to involve some kind of `solution' to this problem
(although we can't guarantee that it will support your particular
setup).
Thanks anyway for your bug report and sorry not to be more helpful.
Regards,
Ian.
** Changed in: cryptsetup (Ubuntu)
Importance: Critical => Medium
Target: ubuntu-7.10-rc => None
** Description changed:
- Binary package hint: cryptsetup
-
- On the latest Gutsy the /sbin/cryptsetup has library dependencies in
- /usr/lib. If /usr is a separate partition the cryptdisks-early startup
- fails as the cryptsetup binary cannot find the necessary libraries (/usr
- has not been mounted yet). Temporarily moving the dynamic libraries to
- /lib fixes this problem.
+ /sbin/cryptsetup has library dependencies in /usr/lib. If /usr is a
+ separate partition the cryptdisks-early startup fails as the cryptsetup
+ binary cannot find the necessary libraries (/usr has not been mounted
+ yet). This breaks encrypted swap on systems with separate /usr.
--
[cryptsetup] library dependency in /sbin/cryptsetup
https://bugs.launchpad.net/bugs/139635
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs