[Pkg-samba-maint] Bug#886897: samba: samba cannot export LUKs encrypted disks mounted manually after systemd boot

Michael Biebl biebl at debian.org
Sun Jan 21 02:51:45 UTC 2018


On Thu, 11 Jan 2018 13:58:56 +1100 David Maslen <dmm_au at yahoo.com> wrote:
> Package: samba
> Version: 2:4.7.3+dfsg-1
> Severity: important
> 
> Dear Maintainer,
> 
> I recently added a LUKS encrypted data disk to my system working system.
> I have samba configured to share some of the directories from that disk,
> mounted at /mnt/crypt.
> 
> By default, when my system boots I am prompted to enter my LUKs
> password. When I do, the systemd boots and samba serves the /mnt/crypt
> directories. My encrypted disks is mounted via the fstab, via the cryptab.
> 
> However the server is generally headless, so it suited me better to boot
> the machine remotely, then ssh in and mount the encypted data disk
> manually.
> 
> To achieve this I added "noauto" to the relevant line in /etc/crypttab
> and /etc/fstab.
> 
> Once logged in I could run
> # cryptdisks_start mydisk
> 
> followed by
> 
> # mount /mnt/crypt

This is most likely a duplicate of #885325

Please make sure that systemd is updated to 236-3 and test again.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20180121/a1b4a0e8/attachment.sig>


More information about the Pkg-samba-maint mailing list