Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603964 - net-fs/samba-4.2.14 bad defaults ( references /usr/local in /etc/samba/smb.conf.default )
Summary: net-fs/samba-4.2.14 bad defaults ( references /usr/local in /etc/samba/
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
Depends on:
Reported: 2016-12-28 18:43 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2016-12-28 18:43 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-28 18:43:30 UTC
grep -n 'local'  /etc/samba/smb.conf.default 

55:   log file = /usr/local/samba/var/log.%m
73:;   include = /usr/local/samba/lib/smb.conf.%m
121:;   path = /usr/local/samba/lib/netlogon
130:;    path = /usr/local/samba/profiles

This is a regression from previous versions and I discovered this with dispatch-conf due to that path being config-protected.

This was different in 4.1.17 ( my previous installation, which was installed a lifetime ago, March 11 2015 )

These lines were all respectively:

  log file = /var/log/samba/log.%m
  include = /etc/samba/smb.conf.%m
  path = /var/lib/samba/netlogon
  path = /var/lib/samba/profiles

Also, possibly related in the printer defaults:

- path = /var/spool/samba
+ path = /usr/spool/samba