Summary: | nmbd doesn't start if /var/run is link to /run | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Konstantin A Lepikhov (L.A. Kostis) <lakostis> |
Component: | samba | Assignee: | Evgeny Sinelnikov <sin> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | major | ||
Priority: | P3 | CC: | iv, lav, sin |
Version: | unstable | Keywords: | relnote |
Hardware: | all | ||
OS: | Linux | ||
URL: | https://bugs.archlinux.org/task/62262 |
Description
Konstantin A Lepikhov (L.A. Kostis)
2019-04-21 12:03:20 MSK
ping I don't know how to reproduce it. clw0 ~ # service nmb status inactive clw0 ~ # ls /var/log/samba/ old clw0 ~ # service nmb start clw0 ~ # ls /var/log/samba/ log.nmbd old clw0 ~ # tail /var/log/samba/log.nmbd [2021/02/11 23:24:37.413691, 0] ../../source3/nmbd/nmbd.c:960(main) nmbd version 4.12.11 started. Copyright Andrew Tridgell and the Samba Team 1992-2020 [2021/02/11 23:24:37.433781, 0] ../../lib/util/become_daemon.c:136(daemon_ready) daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections clw0 ~ # ps auxf | grep nmb root 81794 0.0 0.0 4404 708 pts/1 S+ 23:24 0:00 \_ grep --color=auto nmb root 81788 0.0 0.5 69352 5904 ? S 23:24 0:00 /usr/sbin/nmbd --no-process-group clw0 ~ # rpm -q samba samba-4.12.11-alt1.x86_64 clw0 ~ # cat /etc/samba/smb.conf [global] security = ads realm = DOMAIN.ALT workgroup = DOMAIN netbios name = CLW0 template shell = /bin/bash kerberos method = system keytab wins support = no idmap config * : range = 10000-20000000 idmap config * : backend = tdb ; encrypt passwords = true ; dns proxy = no ; socket options = TCP_NODELAY ; domain master = no ; local master = no ; preferred master = no ; os level = 0 ; domain logons = no ; load printers = no ; show add printer wizard = no ; printcap name = /dev/null ; disable spoolss = yes [homes] comment = Home Directories browseable = no writable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = yes Yes, I have same /var/run: clw0 ~ # ll /var/run lrwxrwxrwx 1 root root 6 дек 27 2019 /var/run -> ../run/ (Ответ для Evgeny Sinelnikov на комментарий #3) > Yes, I have same /var/run: > > clw0 ~ # ll /var/run > lrwxrwxrwx 1 root root 6 дек 27 2019 /var/run -> ../run/ Sorry, try to set /var/run as relative link. It is default in my installation stack based on updated ALT Workstation 9.1. (In reply to Evgeny Sinelnikov from comment #4) > (Ответ для Evgeny Sinelnikov на комментарий #3) > > Yes, I have same /var/run: > > > > clw0 ~ # ll /var/run > > lrwxrwxrwx 1 root root 6 дек 27 2019 /var/run -> ../run/ > > Sorry, try to set /var/run as relative link. It is default in my > installation stack based on updated ALT Workstation 9.1. Maybe provide a workaround for non-ALT Workstation 9.1 systems? I'm using system based on my own livecd based on Sisyphus :) samba-4.14.4-alt1 -> sisyphus: Fri Apr 30 2021 Evgeny Sinelnikov <sin@altlinux> 4.14.4-alt1 - Fix buffer overrun in sids_to_unixids() (Fixes: CVE-2021-20254) - Final migration to /run directory (Closes: 35891, 36652, 39992) - Avoid build problems on e2k |