[pkg-cryptsetup-devel] Bug#981405: man crypttab file conflict with systemd

Michael Biebl biebl at debian.org
Sat Jan 30 17:05:23 GMT 2021


Package: cryptsetup
Version: 2:2.3.4-2
Severity: normal

Hi,

both systemd and cryptsetup provide a man page for /etc/crypttab (man 5
crypttab).

The systemd version version can be found at
https://www.freedesktop.org/software/systemd/man/crypttab.html#

Atm, we remove that man page in Debian:
https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/rules#L254
to avoid a file conflict, when cryptsetup is installed.

This is unfortunate though. Since systemd is our default init system,
the man page for /etc/crypttab should reflect what's supported.

Do you have a suggestion, how we can resolve this?
I notice, that the crypttab man page in src:cryptsetup is a Debian
specific addition (debian/doc/crypttab.xml).

Would it be possible, to rename that man page (say crypttab_debian) and
add a paragraph, that the information there is mainly relevant for
non-systemd systems (and initramfs-tools)?

Regards,
Michael


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:2.3.4-2
ii  debconf [debconf-2.0]  1.5.74
ii  dmsetup                2:1.02.175-2
ii  libc6                  2.31-9

Versions of packages cryptsetup recommends:
pn  cryptsetup-initramfs  <none>
pn  cryptsetup-run        <none>

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-2
ii  keyutils                1.6.1-2
ii  liblocale-gettext-perl  1.07-4+b1



More information about the pkg-cryptsetup-devel mailing list