Public bug reported:

The last lines of /usr/share/initramfs-tools/scripts/init-premount/mandos are
elif [ -x /usr/bin/cryptroot-unlock ]; then
    setsid /lib/mandos/mandos-to-cryptroot-unlock &
fi

As setsid is not present in the initramfs this premount script fails.

Tested on a fresh install of 20.04.

Workaround to solve this problem was to create a hook in 
/etc/initramfs-tools/hooks/
which simply does
cp -a /usr/bin/setsid $DESTDIR/bin/setsid

PS: Package was mandos-client not mandos (server), but form states -
"mandos-client" does not exist in Ubuntu

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mandos-client 1.8.9-2
ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
Uname: Linux 5.4.0-74-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jun  8 18:53:16 2021
SourcePackage: mandos
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.mandos.plugin-runner.conf: [modified]
mtime.conffile..etc.mandos.plugin-runner.conf: 2021-06-08T18:19:25.887512

** Affects: mandos (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931287

Title:
  mandos premount script needs setsid which is not in initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mandos/+bug/1931287/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to