[pkg-cryptsetup-devel] Bug#704007: cryptsetup: make mountpoint used by passdev configurable
schaarsc at gmx.de
schaarsc at gmx.de
Tue Mar 26 19:18:12 UTC 2013
Package: cryptsetup
Version: 2:1.4.3-4
Severity: normal
passdev has hard coded the mount point (/tmp/passdev.XXXXXX). To cope with
the following scenario the mount point should be configurable:
- / is on encrypted deviceA
- var is on encrypted deviceB
- /tmp is a symlink to /var/tmp
mount operation for / works, I suspect because initram is still using a
tmpfs at this point in time.
mount operation for /var fails because passdev is trying to create
mount point /tmp/passdev.XXXX, but /tmp/->/var/tmp does not exist, yet.
workaround: replace /tmp with /run (my /run is a tmpfs) in
/lib/cryptsetup/scripts/passdev
More information about the pkg-cryptsetup-devel
mailing list