[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2021-01-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

--- Comment #7 from Victor Sudakov  ---
This autofs thing is unusable for any practical purpose. Use sysutils/automount
from ports for removable media, it works out of the box. This is probably the
reason why noone is willing to fix autofs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2020-01-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

--- Comment #6 from Victor Sudakov  ---
(In reply to Jason W. Bacon from comment #5)
autofs is most certainly not ready for production use. When it becomes all
stale and stops detecting new media (which happens regularly), I restart the
whole thing with the following script:

service automountd stop
service autounmountd stop
umount -Aft autofs
service automountd start
service autounmountd start
automount

No need to reboot.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2020-01-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

Jason W. Bacon  changed:

   What|Removed |Added

 CC||j...@freebsd.org

--- Comment #5 from Jason W. Bacon  ---
I'm not sure if this is the same issue, but when inserting a media with the
same device name as but a different filesystem than a previously mounted FS, it
will not be detected.

E.g. I have two USB sticks, one with FAT32 and volume ID "SONY8" and another
with exFAT, both identified as /dev/da1s1.

After accessing the FAT32 FS, the /media/SONY8 directory remains indefinitely
and inserting the exFAT stick does not trigger creation of /media/da0s1.

It seems a reboot is necessary to clear this condition.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2019-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

--- Comment #4 from Victor Sudakov  ---
(In reply to Edward Tomasz Napierala from comment #3)
It is good news at least that this is a known issue :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2019-11-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

Edward Tomasz Napierala  changed:

   What|Removed |Added

 CC||tr...@freebsd.org

--- Comment #3 from Edward Tomasz Napierala  ---
It's a known issue, I'm afraid, and requires some kernel hacking in autofs(5)
to fix.  I can provide guidance, but I don't have enough time right now to fix
it myself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2019-11-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

--- Comment #2 from Victor Sudakov  ---
Really, why does it accumulate all that stale stuff?

root@vas:~ # automount -cv |& grep flush
automount: flushing autofs caches
automount: flushing /media
root@vas:~ # /etc/autofs/special_media
HAIRCLIPPER
root@vas:~ # ls /media
da0 da0p2   da0s1   HAIRCLIPPER
root@vas:~ #

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 241531] autofs: stale entries remain in /media, "automount -c" does not remove them

2019-10-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241531

--- Comment #1 from Victor Sudakov  ---
root@vas:~ # automount -cv |& grep -v autofs
automount: flushing /media1
root@vas:~ # /etc/autofs/special_media
TESTPEN
root@vas:~ # ls /media1
Linux Mint 19 Cinnamon 64-bit   TESTPEN
root@vas:~ #

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"