[Bug 1829823] Re: libvirt-bin: during shutdown libvirt-bin is stopped before libvirt-guests causing hang

2019-05-28 Thread Corey Bryant
** Also affects: cloud-archive/mitaka
   Importance: Undecided
   Status: New

** Changed in: cloud-archive/mitaka
   Status: New => In Progress

** Changed in: cloud-archive/mitaka
 Assignee: (unassigned) => Matthew Ruffell (mruffell)

** Changed in: cloud-archive
 Assignee: Matthew Ruffell (mruffell) => (unassigned)

** Changed in: cloud-archive
   Status: In Progress => Invalid

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

Title:
  libvirt-bin: during shutdown libvirt-bin is stopped before libvirt-
  guests causing hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1829823/+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 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

2019-05-28 Thread Andreas Hasenack
** Description changed:

- [Impact] 
+ [Impact]
  The libsss-sudo package insists on inserting a "sudoers: files sss" 
configuration line into /etc/nsswitch.conf at install time and every upgrade 
after that. If the line already exists and has no "sss" component, the postinst 
adds that.
  
  This behavior ignores changes the user might have done. For example,
  some users remove "sss", like seen in bug #1249777. At the next upgrade,
  libsss-sudo will just add it back again.
  
  The proposed fix here is already applied in debian and later ubuntu
  releases, and only triggers the nsswitch.conf check on first install.
  
  [Test Case]
  
-  * detailed instructions how to reproduce the bug
+ * Install libsss-sudo:
+ $ sudo apt install libsss-sudo
  
-  * these should allow someone who is not familiar with the affected
-package to reproduce the bug and verify that the updated package fixes
-the problem.
+ * Verify the sudoers line with sss was added to /etc/nsswitch.conf:
+ $ grep ^sudoers /etc/nsswitch.conf
+ sudoers:files sss
+ 
+ * Remove sss from that line, so it becomes:
+ $ grep ^sudoers /etc/nsswitch.conf
+ sudoers:files
+ 
+ * Reinstall the package (or upgrade to a package without the fix):
+ sudo apt install --reinstall libsss-sudo
+ 
+ * Without the fix, sss will be back:
+ $ grep ^sudoers /etc/nsswitch.conf
+ sudoers:files sss
+ 
+ * With the fixed package, the line will remain as you left it before, without 
sss:
+ $ grep ^sudoers /etc/nsswitch.conf
+ sudoers:files
  
  [Regression Potential]
- 
-  * discussion of how regressions are most likely to manifest as a result
- of this change.
- 
-  * It is assumed that any SRU candidate patch is well-tested before
-upload and has a low overall risk of regression, but it's important
-to make the effort to think about what ''could'' happen in the
-event of a regression.
- 
-  * This both shows the SRU team that the risks have been considered,
-and provides guidance to testers in regression-testing the SRU.
+ Someone could perhaps be surprised that reinstalling the package won't make 
it "work again", in the case they removed "sss" from the sudoers line in 
/etc/nsswitch.conf and expected a reinstallation to fix it.
  
  [Other Info]
-  
-  * Anything else you think is useful to include
-  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
-  * and address these questions in advance
+ One could argue that if the user doesn't want to use sudo with sss, then why 
install libsss-sudo?

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

Title:
  libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+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 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

2019-05-28 Thread Andreas Hasenack
** Description changed:

- I have reported this bug to Debian, but this applies equally to Ubuntu.
- Please see the Debian bug report for details.
+ [Impact] 
+ The libsss-sudo package insists on inserting a "sudoers: files sss" 
configuration line into /etc/nsswitch.conf at install time and every upgrade 
after that. If the line already exists and has no "sss" component, the postinst 
adds that.
+ 
+ This behavior ignores changes the user might have done. For example,
+ some users remove "sss", like seen in bug #1249777. At the next upgrade,
+ libsss-sudo will just add it back again.
+ 
+ The proposed fix here is already applied in debian and later ubuntu
+ releases, and only triggers the nsswitch.conf check on first install.
+ 
+ [Test Case]
+ 
+  * detailed instructions how to reproduce the bug
+ 
+  * these should allow someone who is not familiar with the affected
+package to reproduce the bug and verify that the updated package fixes
+the problem.
+ 
+ [Regression Potential]
+ 
+  * discussion of how regressions are most likely to manifest as a result
+ of this change.
+ 
+  * It is assumed that any SRU candidate patch is well-tested before
+upload and has a low overall risk of regression, but it's important
+to make the effort to think about what ''could'' happen in the
+event of a regression.
+ 
+  * This both shows the SRU team that the risks have been considered,
+and provides guidance to testers in regression-testing the SRU.
+ 
+ [Other Info]
+  
+  * Anything else you think is useful to include
+  * Anticipate questions from users, SRU, +1 maintenance, security teams and 
the Technical Board
+  * and address these questions in advance

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

Title:
  libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+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 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

2019-05-28 Thread Andreas Hasenack
https://salsa.debian.org/sssd-
team/sssd/commit/9d3189a1730672e532773f41cdb55c367b62bbaf direct link to
the debian fix

** Changed in: sssd (Ubuntu Xenial)
 Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: sssd (Ubuntu Bionic)
 Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: sssd (Ubuntu Xenial)
   Status: Confirmed => In Progress

** Changed in: sssd (Ubuntu Bionic)
   Status: Confirmed => In Progress

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

Title:
  libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+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 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

2019-05-28 Thread Andreas Hasenack
This is the fix from debian:
diff --git a/debian/libsss-sudo.postinst b/debian/libsss-sudo.postinst
index a9c061ede..272e68f1e 100644
--- a/debian/libsss-sudo.postinst
+++ b/debian/libsss-sudo.postinst
@@ -33,7 +33,8 @@ insert_nss_entry() {
 fi
 }
 
-insert_nss_entry
-
+if [ "$1" = configure ] && [ -z "$2" ]; then
+insert_nss_entry
+fi

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

Title:
  libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+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 1781991] Re: libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

2019-05-28 Thread Andreas Hasenack
Fixed in cosmic and later.

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

Title:
  libsss-sudo.postinst clobbers local change to /etc/nsswitch.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1781991/+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 1830608] Re: postgresql plugin broken on bionic for pg10+

2019-05-28 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu.

I believe we need these commits (untested):

commit 2c6ef84d0b85688e8ef6a470d4c8d3431b0e708d
Author: Vincas Dargis 
Date:   Tue Mar 12 07:19:42 2019 +

Remove stray comment in postgresql_connections_

Commit 07794c560f1a40b57109ca73a91ae811bc560708 introduced stray comment 
that produces problems while checking connections for individual databases.

Uncomment filter to fix querying connections for individual databases.

Closes #1168

commit 314adef05fa7d285f45d7cbd585bed98acc45042
Author: Lars Kruse 
Date:   Thu Feb 28 03:31:07 2019 +0100

Unify whitespace formatting

commit 07794c560f1a40b57109ca73a91ae811bc560708
Author: lonepsycho 
Date:   Tue Feb 26 13:36:09 2019 +0200

fix idle connections showing as waiting for lock

in postgresql v10 and v11 current version shows idle connections as waiting 
for lock. with these changes idle connections are being showed as idle, and 
only connections that are holding locks are shown as waiting



** Tags added: bitesize

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

Title:
  postgresql plugin broken on bionic for pg10+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1830608/+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 1830608] Re: postgresql plugin broken on bionic for pg10+

2019-05-28 Thread Andreas Hasenack
** Changed in: munin (Ubuntu)
   Status: New => Triaged

** Changed in: munin (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  postgresql plugin broken on bionic for pg10+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1830608/+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