Ubunutu 19.10 (setsid not found)

Teddy Hogeborn teddy at recompile.se
Sat Jul 4 15:34:08 CEST 2020


Henning Reich <mandos at qupfer.de> writes:

> maybe someone can help for a "elegant" solution ;-)
>
> I'm trying to get an unattended boot of a fresh installed Ubuntu
> 19.10.  The basic setup works. I mean:
>
> /usr/lib/x86_64-linux-gnu/mandos/plugins.d/mandos-client
> --pubkey=/etc/keys/mandos/pubkey.txt
> --seckey=/etc/keys/mandos/seckey.txt -t
> /etc/keys/mandos/tls-privkey.pem -T /etc/keys/mandos/tls-pubkey.pem
> --connect=10.0.0.173:9601;echo
> returns my test password.
>
> But if I boot it, I got an error:
> /scripts/init-premount/mandos: line 180: setsid: not found
>
> Quick & Dirty solution is to remove "setsid" from the mandos script,
> but I think there was/is a reason setsid is used. Maybe I have to add
> setsid manual to the initramfs? But how? Or how did you solve this
> issue?

Mandos 1.8.12 has been changed to only use setsid if it is available.
This should be better than failing completely, at least.

/Teddy Hogeborn

-- 
The Mandos Project
https://www.recompile.se/mandos

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://mail.recompile.se/pipermail/mandos-dev/attachments/20200704/a3256a53/attachment.sig>


More information about the Mandos-Dev mailing list