[Bug 221395] Re: sudo resets HOME envar

2008-05-22 Thread Martin Pitt
Copied to hardy-updates.

** Changed in: sudo (Ubuntu Hardy)
   Status: Fix Committed => Fix Released

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-20 Thread Martin Pitt
Works for me with the .debs from hardy-proposed, too.

** Tags added: verification-done

** Tags removed: verification-needed

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-20 Thread Tushar T
Verified. HOME envar is not reset anymore.

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-14 Thread Steve Langasek
Accepted into -proposed, please test and give feedback here

** Changed in: sudo (Ubuntu Hardy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-14 Thread Martin Pitt
Steve, can you please process this? I don't want to ack my own upload.
Thanks!

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-14 Thread Martin Pitt
Attaching SRU debdiff for Hardy. I uploaded this, awaiting Steve's
moderation from the queue.

** Attachment added: "Hardy debdiff"
   http://launchpadlibrarian.net/14514775/sudo.sru.debdiff

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-14 Thread Martin Pitt
** Description changed:

  Binary package hint: sudo
  
  See the upstream bug that I had reported and was fixed:
 http://www.gratisoft.us/bugzilla/show_bug.cgi?id=282
  
  As root, when I execute the command:
 HOME= sudo -u 
  HOME is set to /root (root's home dir) not . As per the 
documentation, sudo should not mess with the HOME envar unless -H or -i is 
specified.
  
  This is on hardy. It worked on gutsy.
+ 
+ TEST CASE:
+ broken Hardy final version:
+$ HOME=/tmp sudo -u nobody sh -c 'echo $HOME'
+/home/martin
+ with hardy-proposed fixed version:
+   $ HOME=/tmp sudo -u nobody sh -c 'echo $HOME'
+   /tmp

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-05 Thread Launchpad Bug Tracker
This bug was fixed in the package sudo - 1.6.9p12-1ubuntu1

---
sudo (1.6.9p12-1ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
   - debian/rules: Disable lecture, enable tty_tickets by default. (Ubuntu
 specific)
   - Add debian/sudo_root.8: Explanation of root handling through sudo.
 Install it in debian/rules. (Ubuntu specific)
   - sudo.c: If the user successfully authenticated and he is in the 'admin'
 group, then create a stamp ~/.sudo_as_admin_successful. Our default bash
 profile checks for this and displays a short intro about sudo if the
 flag is not present. (Ubuntu specific)
   - env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
 for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
 some point)
  * logging.c: Ignore SIGPIPE when creating an error email, so that non-fatal
error messages (like "unable to resolve local host name") do not lead to
being killed with SIGPIPE if /usr/bin/sendmail does not exist or crashes.
Forwarded upstream to http://www.gratisoft.us/bugzilla/show_bug.cgi?id=285
(LP: #32906)
  * env.c: Do not clobber $HOME when not specifying -H or -s. Patch taken from
upstream CVS. (LP: #221395)
  * debian/postinst: put "NOPASSWD" example at the bottom, so that
uncommenting it will actually work (later entries override former ones).
(LP: #131399)

sudo (1.6.9p12-1) unstable; urgency=low

  * new upstream version, closes: #464890

sudo (1.6.9p11-3) unstable; urgency=low

  * patch for configure to fix FTBFS on GNU/kFreeBSD, closes: #465956

sudo (1.6.9p11-2) unstable; urgency=low

  * update version compared in preinst when removing obsolete init.d,
closes: #459681
  * implement pam session config suggestions from Elizabeth Fong,
closes: #452457, #402329

sudo (1.6.9p11-1) unstable; urgency=low

  * new upstream version

 -- Martin Pitt <[EMAIL PROTECTED]>   Mon, 05 May 2008 20:31:58
+0200

** Changed in: sudo (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-05-05 Thread Martin Pitt
Nominating for Hardy, since it is a regression from Gutsy.

** Changed in: sudo (Ubuntu)
   Status: In Progress => Fix Committed

** Changed in: sudo (Ubuntu Hardy)
 Assignee: (unassigned) => Martin Pitt (pitti)
   Status: New => In Progress

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 221395] Re: sudo resets HOME envar

2008-04-28 Thread Martin Pitt
http://www.sudo.ws/cgi-
bin/cvsweb/sudo/env.c.diff?r1=1.39.2.17&r2=1.39.2.18

** Changed in: sudo (Ubuntu)
 Assignee: (unassigned) => Martin Pitt (pitti)
   Status: New => In Progress

-- 
sudo resets HOME envar
https://bugs.launchpad.net/bugs/221395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs