Package: systemd Version: 252.6-1 Package: initscripts Version: 3.06-4
Hi, We have several CIFS drives specified in our /etc/fstab Until Debian 11 (with isc-dhcp-client), they got automatically mounted all right after boot. No longer in Debian 12 (with dhcpcd-base) Even adding _netdev to the drives' options in /etc/fstab didn't help. Some investigation showed that /etc/network/if-up.d/mountnfs (part of initscripts: this is the script responsible for mounting network drives when new connections are brought up) sources /lib/lsb/init-functions, which itself sources parts in /lib/lsb/init-functions.d /lib/lsb/init-functions.d/40-systemd (part of systemd package) checks whether mountnfs.service is "masked", and if so, exits before mounting any drives. => which means that networked drives other than NFS are not mounted! Manually "unmasking" mountnfs.service fixes the issue, however I have a feeling that on a future Debian upgrade, mountnfs.service might get masked again. Thanks for looking into this, -- Alain Knaff Ingénieur Informaticien LE GOUVERNEMENT DU GRAND-DUCHÉ DE LUXEMBOURG Ministère de l'Environnement, du Climat et du Développement durable Administration de l'environnement 1, avenue du Rock'n'Roll . L-4361 Esch-sur-Alzette Tél. (+352) 40 56 56-309 E-Mail: alain.kn...@aev.etat.lu www.emwelt.lu . www.environnement.public.lu . www.luxembourg.lu