[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-04-29 Thread brian mullan
I just installed 11.04 released version and Synaptic won't accept passwords if launched with gksu from the menu but will if synaptic is launched with sudo from the command line Are you sure this bug ever fixed for the release? -- You received this bug notification because you are a member of

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-04-15 Thread Ori Avtalion
Loïc Minier wrote on 2010-12-16:#6 The sudoers.d/README claims that sudoers isn't a conffile, but it is; also, this README is actually parsed by sudo. This claim has been removed from the debian package:

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-25 Thread Launchpad Bug Tracker
This bug was fixed in the package sudo - 1.7.4p4-5ubuntu5 --- sudo (1.7.4p4-5ubuntu5) natty; urgency=low * debian/sudo.preinst: - avoid conffile prompt by checking for known default /etc/sudoers and if found installing the correct default /etc/sudoers file (LP:

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
I'm looking at this currently. The default sudoers from the package does not contain the %admin line and has the following md5sum: 360f70ce177a30037cf5b4f61b84 /etc/sudoers Because our default sudoers now has %admin in it we trigger the conffile prompt on upgrade. This is the first case

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Marc Deslauriers
The only sane way to handle this, IMHO, is to revert the change in (1.7.4p4-5) that made sudoers a conffile. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
Here is my approach for a fix. It takes the known default /etc/sudoers and if one of them is found overwrites with the new default. This ensures we don't get a prompt (and also that we will not get one in the future unless the user really modifies the conffile). If the file is modified then the

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
The patch is a outline of the fix currently it needs: - removal of the echo output (this is just for me) - more md5sums of older releases to ensure we have a reasonable coverage -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Marc Deslauriers
Ah, that's a nice fix...better than reverting the change! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and potentially removes

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
Colin suggested to strip whitespace and comments. I added code for this now to reduce the number of md5sums to check. Please note that just removing ^# is not good enough, #include and #includedir have special meanings, same for # in username context. I decided to therefore go with a very

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
Here is the proposed final version. I do a quick check against dappers sudoers file still, but the approach should be good now. ** Patch added: proposed final version https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/690873/+attachment/1936923/+files/sudo_1.7.4p4-5ubuntu5.debdiff --

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers --

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
** Changed in: sudo (Ubuntu Natty) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
** Patch added: Really final version, avoid touching sudoers for people who had the conffile prompt already (e.g. most natty users) https://bugs.edge.launchpad.net/ubuntu/+source/sudo/+bug/690873/+attachment/1937856/+files/sudo_1.7.4p4-5ubuntu5.debdiff -- You received this bug notification

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-03-24 Thread Michael Vogt
I tested the final version and it seems to be fine. Feedback welcome, if I don't hear anything, I will upload tomorrow early morning (in +9h). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-02-10 Thread Kate Stewart
** Changed in: sudo (Ubuntu Natty) Assignee: (unassigned) = Canonical Foundations Team (canonical-foundations) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-02-03 Thread Michael Vogt
** Tags added: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers --

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-02-02 Thread Ubuntu QA Website
** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers --

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2011-01-07 Thread Michael Vogt
** Changed in: sudo (Ubuntu Natty) Milestone: None = ubuntu-11.04-beta -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2010-12-21 Thread Lorenzo De Liso
Now that sudo in Debian has a conffile, can't we let sudo adding that line? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update and

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2010-12-17 Thread Loïc Minier
I'm lowering severity a bit as a workaround as been uploaded in natty already, so it doesn't break upgrades anymore, it's just a prompt we need to get rid of ** Changed in: sudo (Ubuntu Natty) Importance: Critical = High -- You received this bug notification because you are a member of

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2010-12-16 Thread Loïc Minier
The sudoers.d/README claims that sudoers isn't a conffile, but it is; also, this README is actually parsed by sudo. (I recall sudoers being both a conffile AND updated in postinst in the past, but that appears to no longer be the case) If we move to a sudoers.d file for Ubuntu's %admin entry,

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2010-12-16 Thread Brian Murray
** Also affects: sudo (Ubuntu Natty) Importance: Critical Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/690873 Title: latest natty sudo upgrade prompts for conffile update

[Bug 690873] Re: latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers

2010-12-15 Thread Kees Cook
** Summary changed: - latest natty sudo upgrade removes admin from /etc/sudoers + latest natty sudo upgrade prompts for conffile update and potentially removes %admin from /etc/sudoers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.