Merge ~paelzer/ubuntu/+source/open-iscsi:lp-1922976-finalrd-logout-FOCAL into ubuntu/+source/open-iscsi:ubuntu/focal-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 8ee97236e22815354da286e11adbc8706d0d02cf
Merged at revision: 8ee97236e22815354da286e11adbc8706d0d02cf
Proposed branch: ~paelzer/ubuntu/+source/open-iscsi:lp-1922976-finalrd-logout-FOCAL
Merge into: ubuntu/+source/open-iscsi:ubuntu/focal-devel
Diff against target: 36 lines (+14/-0)
2 files modified
debian/changelog (+7/-0)
debian/open-iscsi.finalrd (+7/-0)
Reviewer Review Type Date Requested Status
Utkarsh Gupta (community) Approve
Canonical Server packageset reviewers Pending
git-ubuntu developers Pending
Review via email: mp+401087@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hello,

Whilst the changes look good, I'd like to wait for Michael to confirm back that this fix indeed fixes the issue for them. I hope there's no rush in this MP and can wait until they can confirm the same.

Hence marking "Needs Information" for the time being.

Besides, a trivial question in the diff below:

review: Needs Information
Revision history for this message
Paride Legovini (paride) :
Revision history for this message
Utkarsh Gupta (utkarsh) :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Fixed the comment paride made, thanks for the other discussions - but following the outcome no changes due to those.

Yes I'm waiting for Michael to test before upload, but that should (IMHO) not block the review.

If all here looks good, then it should be up to me to wait for everything else to be complete as well :-) That way I can control the potential extra delay instead of waiting for a re-review then.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hi Christian,

> If all here looks good, then it should be up to me to wait for
> everything else to be complete as well :-) That way I can
> control the potential extra delay instead of waiting for a
> re-review then.

Of course. I did mention that the changes look good in the very first sentence of the initial review and wrote about the other concerns/questions/curiosities, heh :)

That said, here's the more official review:

* Changelog:
  - [✔] changelog entry correct version and targeted codename
  - [✔] changelog entries correct
  - [✔] update-maintainer has been run

* Actual changes:
  - [✔] no upstream changes to consider
  - [✔] no further upstream version to consider
  - [✔] debian changes look safe

* New Delta:
  - [✔] no new patches added

* Build/Test:
  - [✔] build is ok
  - [✔] verified PPA package installs/uninstalls
  - [✔] sanity checks test fine

Thanks to Michael Brown for testing this fix! \o/

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hirsute complete - for this SRU Tag pushed and .changes uploaded

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 4dc56b9..779a72d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1open-iscsi (2.0.874-7.1ubuntu6.2) focal; urgency=medium
2
3 * d/open-iscsi.finalrd: fix UID resolution issues in logout (LP: #1922976)
4 Thanks to Michael Brown
5
6 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Thu, 18 Mar 2021 09:44:07 +0100
7
1open-iscsi (2.0.874-7.1ubuntu6.1) focal; urgency=medium8open-iscsi (2.0.874-7.1ubuntu6.1) focal; urgency=medium
29
3 [ Ben Swartzlander ]10 [ Ben Swartzlander ]
diff --git a/debian/open-iscsi.finalrd b/debian/open-iscsi.finalrd
index d8c8a21..d0f4352 100755
--- a/debian/open-iscsi.finalrd
+++ b/debian/open-iscsi.finalrd
@@ -14,9 +14,16 @@ then
14 copy_exec /usr/bin/expr14 copy_exec /usr/bin/expr
15 copy_file config /etc/iscsi/iscsid.conf15 copy_file config /etc/iscsi/iscsid.conf
16 copy_file config /etc/iscsi/initiatorname.iscsi16 copy_file config /etc/iscsi/initiatorname.iscsi
17 # needed to resolve UIDs (LP: #1922976)
18 copy_exec /usr/lib/*/libnss_files.so.*
17 exit 019 exit 0
18fi20fi
1921
22# if not present in the environment, then fake a trivial passwd file (LP: #1922976)
23if [ ! -e /etc/passwd ] ; then
24 echo "root:x:0:0:root:/:/bin/sh" > /etc/passwd
25fi
26
20# re-establish connection and logout during shutdown27# re-establish connection and logout during shutdown
21# if initramfs did bring up open-iscsi on boot28# if initramfs did bring up open-iscsi on boot
22[ -f /open-iscsi.interface ] || exit 029[ -f /open-iscsi.interface ] || exit 0

Subscribers

People subscribed via source and target branches