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

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 1df48cd3dd644584b1e73655386061cca9f1121f
Merged at revision: 1df48cd3dd644584b1e73655386061cca9f1121f
Proposed branch: ~paelzer/ubuntu/+source/open-iscsi:lp-1922976-finalrd-logout-HIRSUTE
Merge into: ubuntu/+source/open-iscsi:ubuntu/hirsute-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
Dimitri John Ledkov (community) cheering on from the sideline Approve
Utkarsh Gupta (community) Approve
Canonical Server packageset reviewers Pending
git-ubuntu developers Pending
Review via email: mp+401086@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 :

Same comment as https://code.launchpad.net/~paelzer/ubuntu/+source/open-iscsi/+git/open-iscsi/+merge/401087/comments/1056194

Still an explicit note, I am just marking "Needs Information" to wait until Michael can confirm that this works.

review: Needs Information
Revision history for this message
Paride Legovini (paride) :
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/

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

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/open-iscsi
 * [new tag] upload/2.1.3-1ubuntu6 -> upload/2.1.3-1ubuntu6

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading open-iscsi_2.1.3-1ubuntu6.dsc: done.
  Uploading open-iscsi_2.1.3-1ubuntu6.debian.tar.xz: done.
  Uploading open-iscsi_2.1.3-1ubuntu6_source.buildinfo: done.
  Uploading open-iscsi_2.1.3-1ubuntu6_source.changes: done.
Successfully uploaded packages.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Nicely done!

review: Approve (cheering on from the sideline)

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 28b2934..f49a451 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1open-iscsi (2.1.3-1ubuntu6) hirsute; 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.1.3-1ubuntu5) hirsute; urgency=medium8open-iscsi (2.1.3-1ubuntu5) hirsute; urgency=medium
29
3 * make d/t/testuite python3 compatible (LP: #1919461)10 * make d/t/testuite python3 compatible (LP: #1919461)
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