Merge ~raharper/ubuntu/+source/open-iscsi:fix-iscsi-udev-systemd-wants-rule into ubuntu/+source/open-iscsi:ubuntu/disco

Proposed by Ryan Harper
Status: Rejected
Rejected by: Scott Moser
Proposed branch: ~raharper/ubuntu/+source/open-iscsi:fix-iscsi-udev-systemd-wants-rule
Merge into: ubuntu/+source/open-iscsi:ubuntu/disco
Diff against target: 25 lines (+9/-1)
2 files modified
debian/changelog (+8/-0)
debian/iscsi-disk.rules (+1/-1)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
Review via email: mp+360760@code.launchpad.net

Commit message

iscsi-disk.rules: append to SYSTEMD_WANTS to avoid clobbering other rules

When testing with LVM over iscsi block devices, it was found that
the iscsi-disk.rules file rule clobbers additional SYSTEMD_WANTS values
that may already have been set by other disk rules. Fix by appending
our rules to the the environment variable.

LP: #1807978

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve
Revision history for this message
Scott Moser (smoser) wrote :

Sorry for duplicate work.

[ubuntu/disco-proposed] open-iscsi 2.0.874-5ubuntu14 (Accepted)

I uploaded that with the same change.

Also uploaded to cosmic and disco.

Unmerged commits

f23f8f6... by Ryan Harper

update debian/chagelog

cc93f03... by Ryan Harper

iscsi-disk.rules: append to SYSTEMD_WANTS to avoid clobbering other rules

When testing with LVM over iscsi block devices, it was found that
the iscsi-disk.rules file rule clobbers additional SYSTEMD_WANTS values
that may already have been set by other disk rules. Fix by appending
our rules to the the environment variable.

LP: #1807978

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 07eb0d0..39788c1 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+open-iscsi (2.0.874-5ubuntu14) disco; urgency=medium
7+
8+ [Steve Langasek]
9+ * d/iscsi-disk.rules: Append to SYSTEMD_WANTS variable to avoid clobbering
10+ other values that may be present. LP: #1807978
11+
12+ -- Ryan Harper <ryan.harper@canonical.com> Tue, 11 Dec 2018 17:07:07 -0600
13+
14 open-iscsi (2.0.874-5ubuntu13) disco; urgency=medium
15
16 [ Robert C Jennings & Dimitri John Ledkov ]
17diff --git a/debian/iscsi-disk.rules b/debian/iscsi-disk.rules
18index e0ef836..784072b 100644
19--- a/debian/iscsi-disk.rules
20+++ b/debian/iscsi-disk.rules
21@@ -1,3 +1,3 @@
22 # When iscsi disks are present, iscsid.service should be running. LP: #1802354
23 # ID_PATH looks like ip-<ipv4-dotted-quad>:<port>-iscsi-<target>-lun-<lun>
24-SUBSYSTEM=="block", ACTION=="add", ENV{ID_PATH}=="*-iscsi-*", ENV{SYSTEMD_WANTS}="iscsid.service"
25+SUBSYSTEM=="block", ACTION=="add", ENV{ID_PATH}=="*-iscsi-*", ENV{SYSTEMD_WANTS}+="iscsid.service"

Subscribers

People subscribed via source and target branches