Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lts-team/packages/samba
  • thctlo/samba-lintianfix
  • arnaudr/samba
  • jrwren/samba
  • paride/samba
  • athos/samba
  • henrich/samba
  • cnotin/samba
  • mimi89999/samba
  • samba-team/samba
  • ahasenack/samba
  • jrtc27/samba
  • noel/samba
13 results
Show changes
Commits on Source (2)
......@@ -181,7 +181,7 @@ override_dh_installchangelogs:
override_dh_installinit:
ifneq (,$(filter samba, $(shell dh_listpackages)))
dh_installinit -psamba --name smbd
dh_installinit -psamba --name nmbd
dh_installinit -psamba --name nmbd --error-handler nmbd_error_handler
dh_installinit -psamba --name samba-ad-dc
endif
ifneq (,$(filter winbind, $(shell dh_listpackages)))
......
......@@ -2,6 +2,17 @@
set -e
nmbd_error_handler() {
if [ -d /sys/class/net/lo ] && ls /sys/class/net/lo | grep -qv ^lo$; then
# https://bugs.debian.org/893762
echo 'WARNING: nmbd failed to start as there is no non-loopback interface.'
echo 'Either add an interface or set "disable netbios = yes" in smb.conf and run "systemctl mask nmbd"'
return 0
else
return 1 # caught by set -e
fi
}
mask_services() {
local reason="$1"
shift
......
# winbind talks over a unix domain socket, so non-arch specific dependencies are fine.
samba source: dependency-is-not-multi-archified libnss-winbind depends on winbind (multi-arch: no)
samba source: dependency-is-not-multi-archified libpam-winbind depends on winbind (multi-arch: no)