Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

strech cryptdisks force-start

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
salatiel
Posts: 1
Joined: 2017-07-21 23:24

strech cryptdisks force-start

#1 Post by salatiel »

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 ?

Post Reply