strech cryptdisks force-start

If none of the more specific forums is the right place to ask

strech cryptdisks force-start

Postby salatiel » 2017-07-21 23:28

Hi, guys , in debian 8 , after add a new line in /etc/crypttab i could just execute /etc/init.d/cryptdisks force-start and it would reread the /etc/crypttab and do its magic =)
Now in strech, if i try /etc/init.d/cryptdisks force-start it will do nothing.
so i tried:
bash -x /etc/init.d/cryptdisks force-start
Code: Select all
bash -x /etc/init.d/cryptdisks force-start
+ set -e
+ '[' -r /lib/cryptsetup/cryptdisks.functions ']'
+ . /lib/cryptsetup/cryptdisks.functions
++ PATH=/usr/sbin:/usr/bin:/sbin:/bin
++ TABFILE=/etc/crypttab
++ CRYPTDISKS_ENABLE=Yes
++ '[' -x /sbin/cryptsetup ']'
++ . /lib/lsb/init-functions
++++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
+++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)
+++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
+++ . /lib/lsb/init-functions.d/20-left-info-blocks
+++ for hook in $(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)
+++ '[' -r /lib/lsb/init-functions.d/40-systemd ']'
+++ . /lib/lsb/init-functions.d/40-systemd
++++ _use_systemctl=0
++++ '[' -d /run/systemd/system ']'
++++ prog=cryptdisks
++++ service=cryptdisks.service
+++++ systemctl -p LoadState --value show cryptdisks.service
++++ state=masked
++++ '[' masked = masked ']'
++++ exit 0



So i tried to unmask cryptdisks,service with systemctl unmask cryptdisks.service
but it keeps masked.

How can i replicate the behaviour of debian 8 in debian 9 to reread /etc/crypttab ?
salatiel
 
Posts: 1
Joined: 2017-07-21 23:24

Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable