Package: autofs
Version: 5.1.7-1
Followup-For: Bug #960676

The current upstream version of autofs provides a sample service file that for
Debian would look like this

> [Unit]
> Description=Automounts filesystems on demand
> After=network.target ypbind.service sssd.service network-online.target 
> remote-fs.target rpc-statd.service rpcbind.service
> Wants=network-online.target rpc-statd.service rpcbind.service
>
> [Service]
> Type=notify
> EnvironmentFile=-/etc/default/autofs
> ExecStart=/usr/sbin/automount $OPTIONS --systemd-service --dont-check-daemon
> ExecReload=/usr/bin/kill -HUP $MAINPID
> KillMode=process
> TimeoutSec=180
>
> [Install]
> WantedBy=multi-user.targe

It would be great if you could change the service file to this. While those
options are not documented in the man page, they are visible in the help output
of the automount command.

Changing the service file would make the service more robust.

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-5-amd64 (SMP w/6 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.60
ii  libc6                2.31-12
ii  libnsl2              1.3.0-2
ii  libtirpc3            1.3.1-1
ii  libxml2              2.9.10+dfsg-6.7
ii  ucf                  3.0043

Versions of packages autofs recommends:
ii  e2fsprogs   1.46.2-1
ii  kmod        28-1
ii  nfs-common  1:1.3.4-5

autofs suggests no packages.

-- no debconf information

Reply via email to