Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631012 - net-fs/samba-4.6.7 doesn’t start from /etc/init.d service, doesn’t write logs
Summary: net-fs/samba-4.6.7 doesn’t start from /etc/init.d service, doesn’t write logs
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 20:47 UTC by dtr
Modified: 2017-09-18 07:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/samba (samba,1.83 KB, text/plain)
2017-09-14 20:47 UTC, dtr
Details
emerge --info samba (eminfo,8.68 KB, text/plain)
2017-09-14 20:48 UTC, dtr
Details
About opentmpfiles (tmpfiles,291 bytes, text/plain)
2017-09-14 20:50 UTC, dtr
Details
syslog (syslog,906 bytes, text/plain)
2017-09-14 20:52 UTC, dtr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dtr 2017-09-14 20:47:34 UTC
Created attachment 494554 [details]
/etc/conf.d/samba

# /etc/init.d/samba start
samba                  | * samba -> start: smbd ...
samba                  | * start-stop-daemon: failed to start `/usr/sbin/smbd'                                        [ !! ]                 |
samba                  | * samba -> start: nmbd ...
samba                  | * start-stop-daemon: failed to start `/usr/sbin/nmbd'                                        [ !! ]                 |
samba                  | * Error: starting services (see system logs)
samba                  | * samba -> stop: smbd ...
samba                  | * start-stop-daemon: no matching processes found                                             [ ok ]                 |
samba                  | * samba -> stop: nmbd ...
samba                  | * start-stop-daemon: no matching processes found                                             [ ok ]                 |
samba                  | * ERROR: samba failed to start


# ls -lsh /var/log/samba/**
   0 -rw-rw-rw- 1 root root    0 Sep  9 23:58 /var/log/samba/log.nmbd
   0 -rw-rw-rw- 1 root root    0 Sep  9 23:58 /var/log/samba/log.smbd

/var/log/samba/:
total 1.0K
1.0K drwxrwxrwx 4 root root 1.0K Sep  9 23:58 cores
   0 -rw-rw-rw- 1 root root    0 Sep  9 23:58 log.nmbd
   0 -rw-rw-rw- 1 root root    0 Sep  9 23:58 log.smbd

/var/log/samba/cores:
total 2.0K
1.0K drwxrwxrwx 2 root root 1.0K Sep  9 23:58 nmbd
1.0K drwxrwxrwx 2 root root 1.0K Sep  9 23:58 smbd

/var/log/samba/cores/nmbd:
total 0

/var/log/samba/cores/smbd:
total 0
Comment 1 dtr 2017-09-14 20:48:19 UTC
Created attachment 494556 [details]
emerge --info samba
Comment 2 dtr 2017-09-14 20:50:22 UTC
Created attachment 494558 [details]
About opentmpfiles
Comment 3 dtr 2017-09-14 20:52:50 UTC
Created attachment 494560 [details]
syslog
Comment 4 dtr 2017-09-18 07:04:35 UTC
There is no security=share option in the [global] section any more. I’ve changed it to ‘user’ and samba starts. Now it only requires to alternate guest settings to work.
Comment 5 dtr 2017-09-18 07:05:06 UTC
(In reply to dtr from comment #4)
> There is no security=share option in the [global] section any more. I’ve
> changed it to ‘user’ and samba starts. Now it only requires to alternate
> guest settings to work.

Section of /etc/samba/smb.conf, indeed.