[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.7.6+dfsg~ubuntu-0ubuntu2.24 --- samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.24) bionic; urgency=medium * samba.postinst: do not populate sambashare from the Ubuntu admin group (LP: #1942195) -- Paride Legovini Wed, 10 Nov 2021 15:29:48

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.13.14+dfsg-0ubuntu0.20.04.2 --- samba (2:4.13.14+dfsg-0ubuntu0.20.04.2) focal; urgency=medium * samba.postinst: do not populate sambashare from the Ubuntu admin group (LP: #1942195) -- Paride Legovini Fri, 12 Nov 2021 14:42:02

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.13.14+dfsg-0ubuntu0.21.04.2 --- samba (2:4.13.14+dfsg-0ubuntu0.21.04.2) hirsute; urgency=medium * samba.postinst: do not populate sambashare from the Ubuntu admin group (LP: #1942195) -- Paride Legovini Fri, 12 Nov 2021 14:44:50

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.13.14+dfsg-0ubuntu0.21.10.2 --- samba (2:4.13.14+dfsg-0ubuntu0.21.10.2) impish; urgency=medium * samba.postinst: do not populate sambashare from the Ubuntu admin group (LP: #1942195) -- Paride Legovini Fri, 12 Nov 2021 11:17:14

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Łukasz Zemczak
Oh, and for the future: please always state which exact versions of packages for each series have been tested when performing verification, as other wise - in some cases - the verification can be rejected because of that. -- You received this bug notification because you are a member of Ubuntu

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-25 Thread Łukasz Zemczak
It indeed looks to be a bit unreliable, the failure that is. As it has been discussed with adsys upstream, let me hint it before releasing. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-22 Thread Paride Legovini
Per team discussion we leave the decision whether adding a hint or triggering a migration-reference/0 autopkgtest run to the SRU team. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title:

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-19 Thread Paride Legovini
Verification done per [Test Case]. Note: the adsys autopkgtest failure on impish/arm64 is unrelated to the samba upload: 1. The part of the test that exercises samba passes. The failure is in an unrelated test. 2. The autopkgtest run fails even with adsys from impish-release; the test failure

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-19 Thread Paride Legovini
** Tags removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-hirsute verification-needed-impish ** Tags added: verification-done verification-done-bionic verification-done-focal verification-done-hirsute verification-done-impish -- You received

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-18 Thread Paride Legovini
It failed again (total 3 times) in the same way: https://autopkgtest.ubuntu.com/results/autopkgtest- impish/impish/arm64/a/adsys/2028_112720_82d83@/log.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-18 Thread Paride Legovini
The failed adsys/0.7.1 autopkgtest is due to a timeout: *** Test killed with quit: ran too long (11m0s). FAILgithub.com/ubuntu/adsys/internal/policies/ad660.011s I'm trying with a simple retrigger for now. I'll do the verification once all the tests pass. -- You received this bug

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-16 Thread Chris Halse Rogers
Hello Richard, or anyone else affected, Accepted samba into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.7.6+dfsg~ubuntu-0ubuntu2.24 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-16 Thread Chris Halse Rogers
Hello Richard, or anyone else affected, Accepted samba into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.13.14+dfsg-0ubuntu0.20.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-16 Thread Chris Halse Rogers
Hello Richard, or anyone else affected, Accepted samba into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.13.14+dfsg-0ubuntu0.21.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-16 Thread Chris Halse Rogers
Hello Richard, or anyone else affected, Accepted samba into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/samba/2:4.13.14+dfsg-0ubuntu0.21.10.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-15 Thread Paride Legovini
SRUs to fix this got uploaded to all the supported releases (thanks Sergio!): bionic focal hirsute impish Now it's up to the SRU team to review the change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-11 Thread Paride Legovini
Hi Richard, very interesting, you are right. The Bionic lxd.preinst script has: # Add each admin user to the lxd group - for systems installed # before precise for u in $(getent group admin | sed -e "s/^.*://" -e "s/,/ /g"); do adduser "$u" lxd >/dev/null || true done I tried to install

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-11 Thread Richard Earnshaw
Paride, firstly thanks for picking this up. Looking at another machine I have I notice that the lxd group may have a similar issue. This suggests the problem may affect other packages as well. Is there a way to trigger an audit for other packages that might be affected? -- You received this

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Paride Legovini
** Merge proposal linked: https://code.launchpad.net/~paride/ubuntu/+source/samba/+git/samba/+merge/411694 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paride/ubuntu/+source/samba/+git/samba/+merge/411691 ** Merge proposal linked: https://code.launchpad.net/~paride/ubuntu/+source/samba/+git/samba/+merge/411692 ** Merge proposal linked:

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Paride Legovini
** Changed in: samba (Ubuntu Bionic) Status: Triaged => In Progress ** Changed in: samba (Ubuntu Focal) Status: Triaged => In Progress ** Changed in: samba (Ubuntu Hirsute) Status: Triaged => In Progress ** Changed in: samba (Ubuntu Impish) Status: Triaged => In

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Paride Legovini
** Description changed: [Impact] Up until Ubuntu 11.10, administrator access using the sudo tool was granted via the "admin" Unix group. The samba postinst script has some logic that automatically adds users in the "admin" group to the sambashare group. In Ubuntu >= 12.04,

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Paride Legovini
** Description changed: + [Impact] + + Up until Ubuntu 11.10, administrator access using the sudo tool was + granted via the "admin" Unix group. The samba postinst script has some + logic that automatically adds users in the "admin" group to the + sambashare group. + + In Ubuntu >= 12.04,

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-11-10 Thread Paride Legovini
** Changed in: samba (Ubuntu Impish) Assignee: (unassigned) => Paride Legovini (paride) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-10-19 Thread Paride Legovini
** Changed in: samba (Ubuntu Impish) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown local users to

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-10-18 Thread Paride Legovini
The upload to the devel release targeted impish, but actually landed in jammy. Added an Impish task for the SRU. ** Also affects: samba (Ubuntu Impish) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-10-17 Thread Launchpad Bug Tracker
This bug was fixed in the package samba - 2:4.13.5+dfsg-2ubuntu3 --- samba (2:4.13.5+dfsg-2ubuntu3) impish; urgency=medium * d/samba.postinst: do not populate sambashare from the admin group (Debian packaging cherry-pick. LP: #1942195) -- Paride Legovini Wed, 06 Oct 2021

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-10-06 Thread Paride Legovini
** Changed in: samba (Ubuntu) Status: Confirmed => In Progress ** Also affects: samba (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: samba (Ubuntu Focal) Importance:

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-10-06 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paride/ubuntu/+source/samba/+git/samba/+merge/409731 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-29 Thread Paride Legovini
Here it is: https://salsa.debian.org/samba- team/samba/-/merge_requests/54 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown local users

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-29 Thread Paride Legovini
Thanks for reviewing Sergio. I did the same archeology and indeed the first line of that commit message is "This reverts commit fe5cef50." :-) I don't foresee any problem with the approach that commit implements: it just feels strange to fix a bug by dropping functionality, even if broken and

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-28 Thread Sergio Durigan Junior
Thanks for the commit, Paride. I left a comment there, but I'm also going to copy it over here: First of all, thank you for taking the time to investigate and write an insightful commit message explaining the situation. My first thought when reviewing this was: "where did this excerpt of code

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-24 Thread Paride Legovini
** Tags removed: server-triage-discuss -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown local users to sambashare group To manage

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-24 Thread Paride Legovini
This is what I propose, see the commit message for the rationale: https://salsa.debian.org/paride/samba/-/commit/4385c3920afa81e2c30a74d80f2ee0eb04753bb9 I didn't open a MR yet, let's agree on the approach first. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-23 Thread Paride Legovini
** Changed in: samba (Ubuntu) Assignee: (unassigned) => Paride Legovini (paride) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-02 Thread Paride Legovini
** Tags added: server-triage-discuss -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown local users to sambashare group To manage

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-02 Thread Paride Legovini
Hello Richard and thanks for this bug report. You are right: the samba.postinst script adds all the users in the 'admin' group to the 'sambashare' group: for USER in `getent group admin | cut -f4 -d:`; do adduser "$USER" sambashare \ || ! getent passwd "$USER" >/dev/null done The

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-09-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title:

[Bug 1942195] Re: Installing Samba unexpectedly adds many unknown local users to sambashare group

2021-08-31 Thread Richard Earnshaw
** Description changed: I'm running Ubuntu 20.04 in an enterprise environment. I recently - installed the samba package on my my machine which is configured to get + installed the samba package on my machine which is configured to get most account details from a central ldap server. I was