[Bug 1579597] Re: "/etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1" when samba.service is disabled

2017-06-09 Thread Andreas Hasenack
Quick test:

# reload the samba server
# We don't necessarily have the samba package installed. #414841
if systemctl is-enabled smbd.service --quiet; then
systemctl reload smbd.service
fi

I just have to understand if we can use systemctl all the way here, or
if I have to check for sysv, upstart and systemd, and choose one.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1579597/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1579597] Re: "/etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1" when samba.service is disabled

2017-06-09 Thread Andreas Hasenack
We can use systemctl is-enabled smbd.service for this.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1579597/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1579597] Re: "/etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1" when samba.service is disabled

2017-06-09 Thread Andreas Hasenack
That debian fix doesn't address this issue unfortunately.

** Tags added: server-next

** Tags added: bite-size

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1579597/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1451322] Re: upgrade 10.04 to 14.04 failed - package samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7 failed to install/upgrade: subprocess installed post-installation script returned error exit status

2017-06-09 Thread Andreas Hasenack
Hello,

sorry for the lack of responses in this bug.

The postinst code in samba-common still doesn't check if the directory
exists before attempting to remove it, so the bug is still there, but it
only kicks in if upgrading from a package older than 4.1.4.

I tried reproducing the problem with a precise-to-trusty do-release-
upgrade, with samba installed, but it didn't happen. Maybe coming from
Lucid something else triggers the bug, but Lucid is EOL. Technically
Precise is EOL too, but there is the possibility of using precise-esm
(https://ubuntu.com/esm), so if this happens when upgrading Precise to
Trusty, we can probably fix it.

I will mark this bug as incomplete pending a confirmation that it
happens when upgrading Precise to Trusty.


** Changed in: samba (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1451322

Title:
  upgrade 10.04 to 14.04 failed - package samba-common 2:4.1.6+dfsg-
  1ubuntu2.14.04.7 failed to install/upgrade: subprocess installed post-
  installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1451322/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1695638] Re: package krb5-locales 1.15-1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

2017-06-09 Thread Andreas Hasenack
Hello,

could you please try reinstalling the package:

sudo apt install --reinstall krb5-locales


If that doesn't help, then remove it and install it again:

sudo dpkg --remove --force-remove-reinstreq krb5-locales

sudo apt-get install krb5-locales

** Changed in: krb5 (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1695638

Title:
  package krb5-locales 1.15-1 failed to install/upgrade: package is in a
  very bad inconsistent state; you should  reinstall it before
  attempting configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1695638/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1695814] Re: package samba-vfs-modules 2:4.5.8+dfsg-0ubuntu0.17.04.2 failed to install/upgrade: проблемы зависимостей — оставляем не настроенным

2017-06-09 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu.

Could you please try the following to resolve it:

sudo apt update

sudo apt -f install


And post the results back here please.

Thanks!


** Changed in: samba (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1695814

Title:
  package samba-vfs-modules 2:4.5.8+dfsg-0ubuntu0.17.04.2 failed to
  install/upgrade: проблемы зависимостей — оставляем не настроенным

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1695814/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1696735] Re: package libgssapi-krb5-2:i386 1.13.2+dfsg-5ubuntu2 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

2017-06-09 Thread Andreas Hasenack
You can try:

sudo apt install --reinstall libgssapi-krb5-2:i386

(I suspect the above won't work either, but it's worth a try)


If that doesn't fix it, then, from that askubuntu question/answer:

sudo dpkg --remove --force-remove-reinstreq libgssapi-krb5-2:i386

sudo apt install libgssapi-krb5-2:i386

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1696735

Title:
  package libgssapi-krb5-2:i386 1.13.2+dfsg-5ubuntu2 failed to
  install/upgrade: package is in a very bad inconsistent state; you
  should  reinstall it before attempting configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1696735/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1597858] Re: Samba package version 2:4.3.9+dfsg-0ubuntu0.14.04.3 is not compile with CTDB support

2017-06-09 Thread Andreas Hasenack
> If I use these ./configure options to 4.3.1:

I meant 4.3.11, sorry.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1597858

Title:
  Samba package version 2:4.3.9+dfsg-0ubuntu0.14.04.3 is not compile
  with CTDB support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1597858/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1597858] Re: Samba package version 2:4.3.9+dfsg-0ubuntu0.14.04.3 is not compile with CTDB support

2017-06-09 Thread Andreas Hasenack
I can see evidence that clustering is not enabled in the update, but I
cannot see that evidence in the original trusty version. The smbd -b
output in that older samba version doesn't mention clustering
capabilities.

If I use these ./configure options to 4.3.1:

--builtin-libraries=replace,ccan,samba-cluster-support \
--with-cluster-support \

Then the build produces extra cluster related files, like usr/bin/onnode
and usr/share/man/man7/ctdb.7, but these come from the ctdb package in
ubuntu.

Do you have ctdb installed, configured and running on both SAN1 and
SAN2, and the same version?

In trusty it is:
  Version table:
 2.5.1+debian0-1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages


It will take me some time to setup ctdb to verify this behavior.

At least, I can verify that smbd does NOT start with the updated package
4.3.11 if clustering is set to "yes" in smb.conf.

** Changed in: samba (Ubuntu)
   Status: Confirmed => Triaged

** Tags added: server-next

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1597858

Title:
  Samba package version 2:4.3.9+dfsg-0ubuntu0.14.04.3 is not compile
  with CTDB support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1597858/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs