You are not logged in.
I have a home server and want my laptop to mount the shares on it when i am at home. In order to get this working properly on my laptop without needing a command everytime i used autofs. this seems to be working without issue. unfortunately when I reboot the system these shares that are mounted at the time don't seem to be unmounted. it takes 1m30s before i believe the system just forces the issue. it says something about a stop job on the shares and something about automounting filesystems. What can I do to fix this. if you need anymore specific information I will be happy to provide it but will likely need to be told what you need and how to get it as I am rather new at this despite having a CS degree but I am eager to learn.
Offline
Yes, as you said the problem with systemd service that hangs on stop. Start with checking systemd journal
journalctl -p err -b
find what service hangs, check its StopExec and try to understand why the command misbehaves.
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
when I run that command i get a one line file that just says when the log started and when it ends. Is there another way I can find what is hanging.
Offline
when I run that command i get a one line file that just says when the log started and when it ends. Is there another way I can find what is hanging.
That's probably because your user not in systemd-journal group. Run the command as root then. Then try to run without '-p err' to see all logs.
I also highly recommend you to read through 'man journalctl'.
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
running with sudo command was actually the second thing i tried after running it once as standard user. it still had nothing. without the -p err it was well over 1000 lines is there something i should be looking for in particular in there? i looked through the manpage and while admittedly some terms were unclear i think i generally understood what the options did even if i don't understand why some are useful
Offline
The -b switch limits output to last boot. Why don't you omit that and look through the errors listed? Use the -r switch to reverse the output so you get the latest errors first.
Offline
Well it seemed it was the networkmanager causing the trouble so i tried uninstalling it and used sysctl to enable netctl to connect to known networks and the problem has dissapeared. i prefer a gui network manager though. any suggestions on how to get it working without messing up autofs?
Offline
Don't use it myself but https://bbs.archlinux.org/viewtopic.php?id=176673 ?
Offline