Merge lp:~jm-leddy/ubuntu/quantal/trousers/reloadusers into lp:ubuntu/quantal/trousers

Proposed by James M. Leddy
Status: Merged
Merge reported by: Brian Murray
Merged at revision: not available
Proposed branch: lp:~jm-leddy/ubuntu/quantal/trousers/reloadusers
Merge into: lp:ubuntu/quantal/trousers
Diff against target: 24 lines (+7/-0)
2 files modified
debian/changelog (+6/-0)
debian/trousers.postinst (+1/-0)
To merge this branch: bzr merge lp:~jm-leddy/ubuntu/quantal/trousers/reloadusers
Reviewer Review Type Date Requested Status
Brian Murray Approve
Ubuntu branches Pending
Review via email: mp+117560@code.launchpad.net

Description of the change

Reload udev, which causes it to re-read /etc/passwd and /etc/groups and add the newly created "tss" user/groups. Otherwise you find this in syslog:

Jul 31 21:21:46 neptune udevd[409]: specified user 'tss' unknown
Jul 31 21:21:46 neptune udevd[409]: specified group 'tss' unknown
Jul 31 21:21:46 neptune TCSD TDDL[12097]: TrouSerS ERROR: Could not find a device to open!

and the initscript fails to start, resulting in a failure to install the package

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

This looks good and I've upload the change to quantal. I also found an issue with the prerm script that should be fixed in Precise too if you are preparing an SRU there - see bug 1038302.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-07-04 21:57:22 +0000
3+++ debian/changelog 2012-08-01 01:42:20 +0000
4@@ -1,3 +1,9 @@
5+trousers (0.3.9-2ubuntu1) quantal; urgency=low
6+
7+ * Reload udev rules to reload new users and groups. (LP: #959795)
8+
9+ -- James M Leddy <james.leddy@ubuntu.com> Tue, 31 Jul 2012 21:34:49 -0400
10+
11 trousers (0.3.9-2) unstable; urgency=low
12
13 * Add workaround for upgrade failure for versions before 0.3.8-3
14
15=== modified file 'debian/trousers.postinst'
16--- debian/trousers.postinst 2012-07-04 21:57:22 +0000
17+++ debian/trousers.postinst 2012-08-01 01:42:20 +0000
18@@ -17,6 +17,7 @@
19
20 # ask udev to check for new udev rules (and fix device permissions)
21 [ -x /etc/init.d/udev ] && pidof udevd > /dev/null \
22+ && udevadm control --reload-rules \
23 && udevadm trigger --sysname-match="tpm[0-9]*"
24 ;;
25

Subscribers

People subscribed via source and target branches