[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
This bug was fixed in the package curtin - 0.1.0~bzr195-0ubuntu1~14.04.1 --- curtin (0.1.0~bzr195-0ubuntu1~14.04.1) trusty-proposed; urgency=medium * New upstream snapshot. - hardware enablement: ppc64 support (LP: #1386394) - hardware enablement: know kernel mapping for utopic (hwe-u = 3.16) (LP: #1386394) - feature: support installing disk images including windows. (LP: #1386394) - feature: support creating swap file (LP: #1386394) - feature: support reporting logs back to MAAS (LP: #1386394) - feature: enable logging of installation to /var/log/curtin/install.log (LP: #1378910) - bug fix: extract tar files with xattr support when available (LP: #1313550) - bug fix: fix broken use of os.path.join for curtin hooks (LP: #1328521) - bug fix: util.subp to decode command output as utf-8 (LP: #1370249). - bug fix: call update-grub to ensure that /boot/grub/grub.cfg is created (LP: #1373137) - bug fix: do not use '--acl' when extracting tar files (LP: #1382632) as it inadvertently writes default directory acls. - bug fix: invoke lsblk with '--output' rather than '--out' to avoid ambiguity in newer versions of lsblk (LP: #1386275) - internal: part2bd helper added in helpers/common - internal: helpers: inherit curtin_verbosity (make the helper tools verbose if curtin invoked with verbose flags) -- Scott Moser smo...@ubuntu.com Mon, 27 Oct 2014 20:58:43 -0400 ** Changed in: curtin (Ubuntu Trusty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
We have tested this and confirm it works as expected, marking verification-done ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
Hello Scott, or anyone else affected, Accepted curtin into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/curtin/0.1.0~bzr195-0ubuntu1~14.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: curtin (Ubuntu Trusty) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Branch linked: lp:ubuntu/trusty-proposed/curtin -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Description changed: As reported by Gabriel (and Blake) - There is a small [but crippling] bug in: - - http://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/hook.py#L41 - - that particular join will not have the desired effect. The second parameter must not contain a leading /. or it will become the root path. - - import os - - root_p = /root - os.path.join(root_p, '/opt/curtin') - '/opt/curtin' - os.path.join(root_p, 'opt/curtin') + There is a small [but crippling] bug in: + + http://bazaar.launchpad.net/~curtin- + dev/curtin/trunk/view/head:/curtin/commands/hook.py#L41 + + that particular join will not have the desired effect. The second + parameter must not contain a leading /. or it will become the root path. + + import os + + root_p = /root + os.path.join(root_p, '/opt/curtin') + '/opt/curtin' + os.path.join(root_p, 'opt/curtin') '/root/opt/curtin' + + + SRU curtin + == + + [Impact] + + This bug doesn't allow curtin to execute /opt/curtin/finalize which is + needed for finalizing the provided directory for the default target + mount point during a curtin installation. + + This fix needs to be backported to the stable release so that program + can have the originally intended functionality. + + This upload fixes the bug by enabling the finalize script to execute as + originally intended. + + + [Test Case] + + To reproduce the bug, follow the original bug report description. This + can be verified by using a Python interpreter and the code changes that + the patch supplies. + + + [Regression Potential] + + Since the script was not executing as originally intended there would + only be regressions in the event that other band-aid fixes were + committed upstream to circumvent the undesirable effect that this had. + This isn't the case so we believe the probability of this causing a + regression is low. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Branch linked: lp:~smoser/ubuntu/trusty/curtin/sru-utopic-level -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Also affects: curtin (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: curtin (Ubuntu Trusty) Status: New = Confirmed ** Changed in: curtin (Ubuntu Trusty) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Branch linked: lp:~ubuntu-branches/ubuntu/utopic/curtin/utopic- proposed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
This bug was fixed in the package curtin - 0.1.0~bzr142-0ubuntu1 --- curtin (0.1.0~bzr142-0ubuntu1) utopic; urgency=medium * New upstream snapshot. * add utility for parsing /etc/network/interfaces * aarm64 support [Newell Jensen] * run update-initramfs in aarm64 * create boot partition when necessary (LP: #1338851 LP: #1340942) * know kernel mapping for utopic (3.16) * properly write fstype into /etc/fstab per provided fstype * add support for disk images as type 'dd-tgz' * correctly call finalize in target (LP: #1328521) * support invoking tar with --xattrs if available (LP: #1307636) * increase size of uefi partition to 512M (LP: #1306164) -- Scott Moser smo...@ubuntu.com Tue, 22 Jul 2014 18:53:38 -0400 ** Changed in: curtin (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
** Branch linked: lp:curtin -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1328521] Re: curtin hook does not execute /opt/curtin/finalize
fix-comitted in revno 130. ** Changed in: curtin Importance: Undecided = High ** Changed in: curtin Status: New = Fix Committed ** Changed in: curtin Assignee: (unassigned) = Scott Moser (smoser) ** Changed in: curtin (Ubuntu) Status: New = Triaged ** Changed in: curtin (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1328521 Title: curtin hook does not execute /opt/curtin/finalize To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1328521/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs