[Bug 1820604] Re: curtin fails to find itself in subiquity snap, when running on serial-subiquity at .service
Viktor Tadijanovic
1820604 at bugs.launchpad.net
Thu Jul 11 22:26:43 UTC 2019
I am having a same issue as reported by Jake and Jim. Trying to install
on Lanner hardware using USB stick with "ubuntu-18.04.2-live-server-
amd64.iso" image. I used serial console output by enabling
console=ttyS0,115200n8 in Grub config. The installer fails once install
attempts to format a hard drive. I get the following error:
Full installer output ───────────────────────────┐
│Traceback (most recent call last): │
│ File "/snap/subiquity/664/usr/lib/python3.6/runpy.py", line 193, in │
│_run_module_as_main │
│ "__main__", mod_spec) │
│ File "/snap/subiquity/664/usr/lib/python3.6/runpy.py", line 85, in _run_code│
│ exec(code, run_globals) │
│ File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/__main__.py", │
│line 4, in <module> │
│ sys.exit(main()) │
│ File │
│"/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/main.py", │
│line 177, in main │
│ raise OSError("Unable to find helpers or 'curtin' exe to add to path") │
│OSError: Unable to find helpers or 'curtin' exe to add to path │
│
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1820604
Title:
curtin fails to find itself in subiquity snap, when running on serial-
subiquity at .service
Status in curtin:
Invalid
Status in subiquity:
Fix Released
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Bionic:
Triaged
Bug description:
serial-subiquity at .service runs very differently to the tty1 subiquity.
In seiral-subiquity@ case, it doesn't block starting on snapd as it
doesn't use /usr/bin/snap run.
Also, it doesn't execute subiquity.subiquity-service script, meaning
that PATH setting there is not exported, causing troubles for curtin
to reexec itself, or to find the right python in $PATH.
Fix that in both livecd-rootfs & subiquity.
https://github.com/CanonicalLtd/subiquity/pull/428
https://code.launchpad.net/~xnox/livecd-rootfs/+git/livecd-rootfs/+merge/364888
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1820604/+subscriptions
More information about the foundations-bugs
mailing list