[Bug 1579597] Re: "/etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1" when samba.service is disabled
Launchpad Bug Tracker
1579597 at bugs.launchpad.net
Tue Jun 20 13:41:11 UTC 2017
This bug was fixed in the package samba - 2:4.5.8+dfsg-2ubuntu2
---------------
samba (2:4.5.8+dfsg-2ubuntu2) artful; urgency=medium
* Add extra DEP8 tests to samba (LP: #1696823):
- d/t/control: enable the new DEP8 tests
- d/t/smbclient-anonymous-share-list: list available shares anonymously
- d/t/smbclient-authenticated-share-list: list available shares using
an authenticated connection
- d/t/smbclient-share-access: create a share and download a file from it
- d/t/cifs-share-access: access a file in a share using cifs
* Ask the user if we can run testparm against the config file. If yes,
include its stderr and exit status in the bug report. Otherwise, only
include the exit status. (LP: #1694334)
* If systemctl is available, use it to query the status of the smbd
service before trying to reload it. Otherwise, keep the same check
as before and reload the service based on the existence of the
initscript. (LP: #1579597)
* Remove d/p/fix-1584485.patch as it builds a broken pam_winbind
module. There is a fixed version of that patch attached to
#1677329 but it has not been vetted yet, so for now it's best
to revert (again) so that pam_winbind can be used.
(LP: #1677329, LP: #1644428)
-- Andreas Hasenack <andreas at canonical.com> Mon, 19 Jun 2017 10:49:29
-0700
** Changed in: samba (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1579597
Title:
"/etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status
1" when samba.service is disabled
Status in samba package in Ubuntu:
Fix Released
Bug description:
/etc/dhcp/dhclient-enter-hooks.d/samba should check that smbd.service
is enabled and running || exit without continuing.
May 9 01:26:46 foo1 dhclient[911]: DHCPACK of 10.10.1.47 from 10.10.1.33
May 9 01:26:46 foo1 systemd[1]: smbd.service: Unit cannot be reloaded because it is inactive.
May 9 01:26:46 foo1 root: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
May 9 01:26:46 foo1 dhclient[911]: bound to 10.10.1.47 -- renewal in 1547 seconds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1579597/+subscriptions
More information about the foundations-bugs
mailing list