start job samba nmb daemon

Ответить
ejvwaasdijk
Сообщения: 43
Зарегистрирован: 30 май 2012, 17:55

start job samba nmb daemon

Сообщение ejvwaasdijk » 20 апр 2017, 13:30

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.

keleg
Сообщения: 5251
Зарегистрирован: 15 сен 2011, 00:58

Re: start job samba nmb daemon

Сообщение keleg » 21 апр 2017, 06:13

systemctl disable nmb.service

ejvwaasdijk
Сообщения: 43
Зарегистрирован: 30 май 2012, 17:55

Re: start job samba nmb daemon

Сообщение ejvwaasdijk » 21 апр 2017, 13:45

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

keleg
Сообщения: 5251
Зарегистрирован: 15 сен 2011, 00:58

Re: start job samba nmb daemon

Сообщение keleg » 21 апр 2017, 14:02

better way for mounting net shares - use pam_mount or systemd mount.

Ответить