Merge lp:~fougner/ubuntu/oneiric/base-files/fix-for-790050 into lp:ubuntu/oneiric/base-files

Proposed by Alexander Fougner
Status: Merged
Merged at revision: 76
Proposed branch: lp:~fougner/ubuntu/oneiric/base-files/fix-for-790050
Merge into: lp:ubuntu/oneiric/base-files
Diff against target: 57 lines (+8/-13)
4 files modified
debian/changelog (+7/-0)
debian/directory-list (+0/-1)
share/profile (+0/-12)
share/profile.md5sums (+1/-0)
To merge this branch: bzr merge lp:~fougner/ubuntu/oneiric/base-files/fix-for-790050
Reviewer Review Type Date Requested Status
Barry Warsaw (community) Approve
Ubuntu branches Pending
Review via email: mp+65070@code.launchpad.net
To post a comment you must log in.
76. By Alexander Fougner

changed release name in debian/changelog, natty->oneiric

Revision history for this message
Anders Kaseorg (andersk) wrote :

In the interest of reducing the delta from Debian <http://patches.ubuntu.com/b/base-files/base-files_6.3ubuntu2.patch>:
• There also are two copies of ‘etc/profile.d’ in debian/directory-list. The second was added by Ubuntu and should be removed.
• The comment about the default umask isn’t in Debian at all and might as well be removed now too.

When modifying share/profile, you also need to update share/profile.md5sums (by running ‘debian/rules clean’), so that old copies of /etc/profile will be automatically updated by the postinst.

77. By Alexander Fougner

deleted duplicate entries in debian/directory-list
removed unneeded comment from share/profile

Revision history for this message
Barry Warsaw (barry) wrote :

Hi Alexander, thanks for your contribution to Ubuntu.

It looks to me like your patch removes too much from share/profile. While your commit message specifically says that you're removing an unneeded comment from share/profile, you're actually also removing the sourcing of /etc/profile.d/*.sh. That clearly can't be right, e.g. it would stop the sourcing of bash_completion.sh on my Oneiric machine.

Can you please push an update to your branch? I'll be happy to re-review and sponsor it when you do.

review: Needs Fixing
Revision history for this message
Barry Warsaw (barry) wrote :

Oh wait, never mind. I see what's going on now.

Revision history for this message
Barry Warsaw (barry) :
review: Approve
Revision history for this message
Barry Warsaw (barry) wrote :

Uploaded. Thanks again for your contribution!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-05-04 23:20:17 +0000
+++ debian/changelog 2011-06-22 08:29:35 +0000
@@ -1,3 +1,10 @@
1base-files (6.3ubuntu3) oneiric; urgency=low
2
3 * Removed duplicate code in share/profile, causing /etc/profile.d/*
4 scripts to be executed twice (LP: #790050)
5
6 -- Alexander Fougner <fougner89@gmail.com> Sat, 18 Jun 2011 00:23:05 +0200
7
1base-files (6.3ubuntu2) oneiric; urgency=low8base-files (6.3ubuntu2) oneiric; urgency=low
29
3 * Restore /usr/share/base-files/networks.10 * Restore /usr/share/base-files/networks.
411
=== modified file 'debian/directory-list'
--- debian/directory-list 2011-05-04 10:31:43 +0000
+++ debian/directory-list 2011-06-22 08:29:35 +0000
@@ -3,7 +3,6 @@
3dev3dev
4etc4etc
5etc/default5etc/default
6etc/profile.d
7etc/skel6etc/skel
8etc/profile.d7etc/profile.d
9etc/update-motd.d8etc/update-motd.d
109
=== modified file 'share/profile'
--- share/profile 2011-05-04 10:31:43 +0000
+++ share/profile 2011-06-22 08:29:35 +0000
@@ -25,15 +25,3 @@
25 fi25 fi
26 fi26 fi
27fi27fi
28
29# The default umask is now handled by pam_umask.
30# See pam_umask(8) and /etc/login.defs.
31
32if [ -d /etc/profile.d ]; then
33 for i in /etc/profile.d/*.sh; do
34 if [ -r $i ]; then
35 . $i
36 fi
37 done
38 unset i
39fi
4028
=== modified file 'share/profile.md5sums'
--- share/profile.md5sums 2011-05-04 10:31:43 +0000
+++ share/profile.md5sums 2011-06-22 08:29:35 +0000
@@ -1,5 +1,6 @@
14a409a5f2242928822658b14918b2ee114a409a5f2242928822658b14918b2ee1
261a3f85a2dc30f4e920f615109137be5261a3f85a2dc30f4e920f615109137be5
3863ed3bf8041b035234cce25d4792fdd
39519666d98e08940df6f25dcf4598bef49519666d98e08940df6f25dcf4598bef
49a279ae6bdd1251f64b7e70e960ef00d59a279ae6bdd1251f64b7e70e960ef00d
5b59ea6ac3a1ad8c0527ec94f73bafca06b59ea6ac3a1ad8c0527ec94f73bafca0

Subscribers

People subscribed via source and target branches