Red Hat Bugzilla – Bug 201382
crypttab incompatibility to debian
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
to quote the manpage of crypttab included in initscripts:
"The /etc/crypptab file format is based on the Debian cryptsetup package, and
is intended to be compatible."
However crypttab in ubuntu (and i'd bet in debian, too) there's a swap option,
which has the corresponding script run mke2fs after setting up the crypt-device.
This option is currently not present in development-sources. It should be done
in file /etc/rc.d/rc.sysinit and would just take a couple of lines.
Created attachment 133653 [details]
adds option tmp to crypttab
adds option "tmp" to crypttab - still the manpage needs to be updated
Created attachment 133655 [details]
Thanks for the patch!
I have modified it to change the mode of the root directory of the newly
created filesystem to 01777 for better compatibility with Debian, and applied
it in CVS.