Control: tags -1 + moreinfo unreproducible

Hi,

On Wed, 20 Apr 2016 18:49:21 +0200 Markus Grunwald <mar...@the-grue.de> wrote:
> Package: systemd
> Version: 229-4
> Severity: normal
> 
> --- Please enter the report below this line. ---
> 
> I have an automount configured so that it should unmount after 300s, but it is
> not unmounted:
> 
> From man systemd.automount:
> TimeoutIdleSec=
>            Configures an idle timeout. Once the mount has been idle for the
>            specified time, systemd will attempt to unmount.
> 
>  % cat /etc/systemd/system/mnt-vdr.automount
> [Unit]
> Description=VDR recordings
> ConditionPathExists=/mnt/vdr
> Wants=network.target
> After=network.target
> 
> [Automount]
> Where=/mnt/vdr
> TimeoutIdleSec=300
> 
> [Install]
> WantedBy=multi-user.target
           ^
           remote-fs.target would probably be more suitable.


Can you also attach the corresponding mount unit or fstab entry?

Fwiw, I've tried (with systemd 232-7) both a local and remote 
(auto)mount. 

This is the /etc/fstab I used

# local
LABEL=test  /mnt/local  ext4 
noauto,x-systemd.automount,x-systemd.idle-timeout=30 0 0
# remote
10.20.30.40 /mnt/remote nfs  
noauto,x-systemd.automount,x-systemd.idle-timeout=30 0 0

In both cases, the idle timeout worked properly 
and the file systems were unmounted after 30 seconds.

Regards,
Michael

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to