Страница 1 из 1

start job samba nmb daemon

Добавлено: 20 апр 2017, 13:30
ejvwaasdijk
I made a NFS link to my main computer on this laptop via a line in fstab. This works fine. But now the boot process is very slow, because a start job is running for almost two minutes trying to start samba nmb daemon. This fails, because there is no Windows computer anywhere on the LAN. If I try to uninstall all samba related rpm's, about everything is uninstalled. Everything seems dependent of samba!! How do I prevent the boot process from trying to make a samba connection to a non-existing windows computer?

Greetings,

Erik Jan.

Re: start job samba nmb daemon

Добавлено: 21 апр 2017, 06:13
keleg
systemctl disable nmb.service

Re: start job samba nmb daemon

Добавлено: 21 апр 2017, 13:45
ejvwaasdijk
Thank you, Keleg, for your advice. I followed it and the starting job disappeared. Another one however went on. Via the log files I discovered that the mounting of the NFS share did not succeed. The time-out took 1 minute 55 seconds. So I changed the "auto" in fstab to "noauto". After this I was rid of the delay at boot. I wonder why the share could not mount. The share is easily clickable in Dolphin and starts at once. Is mounting at boot forbidden in policykit?

Thank you for your help.

Erik Jan

Re: start job samba nmb daemon

Добавлено: 21 апр 2017, 14:02
keleg
better way for mounting net shares - use pam_mount or systemd mount.