[Bug 1791691] Re: PATH broken in systemd units

2019-09-17 Thread Marc Deslauriers
** Information type changed from Public Security to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notifications about this bug go to: ht

[Bug 1791691] Re: PATH broken in systemd units

2019-06-26 Thread Dimitri John Ledkov
** Also affects: initramfs-tools (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notificatio

[Bug 1791691] Re: PATH broken in systemd units

2019-04-02 Thread Colin Watson
** Project changed: arduino-debug => cloud-images ** Changed in: cloud-images Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in sy

[Bug 1791691] Re: PATH broken in systemd units

2019-03-18 Thread gerardo roman
** Changed in: cloud-images Status: Confirmed => In Progress ** Changed in: cloud-images Status: In Progress => Incomplete ** Changed in: cloud-images Status: Incomplete => Fix Committed ** Changed in: cloud-images Status: Fix Committed => New ** Changed in: cloud-im

[Bug 1791691] Re: PATH broken in systemd units

2018-09-24 Thread Michael Vogt
** Changed in: snapd (Ubuntu Cosmic) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notifications abo

[Bug 1791691] Re: PATH broken in systemd units

2018-09-13 Thread Michael Vogt
Removing block-promote tag as this is fixed in 2.35.2+18.10 now (well, "fixed" it will do nothing if there is no PATH). ** Tags removed: block-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/17

[Bug 1791691] Re: PATH broken in systemd units

2018-09-12 Thread Scott Moser
This is reported fixed under bug 1786438 in snapd 2.35.2+18.10 which is currently in cosmic-proposed. snapd (2.35.2+18.10) cosmic; urgency=medium * New upstream release, LP: #1786438 - cmd,overlord/snapstate: go 1.11 format fixes - ifacestate: fix hang when retrying content providers

[Bug 1791691] Re: PATH broken in systemd units

2018-09-11 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/ubuntu/+source/snapd/+git/snapd/+merge/354728 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd uni

[Bug 1791691] Re: PATH broken in systemd units

2018-09-11 Thread Scott Moser
Summary: environment-generators inherit environment that /sbin/init started with, but no other systemd defaults. Therefore, there is no easy way to append to an environment variable that is not set as snapd was hoping to do. The only solution currently is to copy the expected "default path" into

[Bug 1791691] Re: PATH broken in systemd units

2018-09-11 Thread Scott Moser
** Attachment added: "Example python generator for debugging." https://bugs.launchpad.net/cloud-images/+bug/1791691/+attachment/5187696/+files/mytest-env-generator.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 1791691] Re: PATH broken in systemd units

2018-09-11 Thread Scott Moser
https://github.com/snapcore/snapd/pull/5808 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notifications about this bug go to: https://bugs.laun

[Bug 1791691] Re: PATH broken in systemd units

2018-09-10 Thread Michael Vogt
** Changed in: snapd (Ubuntu Bionic) Status: New => In Progress ** Changed in: snapd (Ubuntu Cosmic) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Tit

[Bug 1791691] Re: PATH broken in systemd units

2018-09-10 Thread Dimitri John Ledkov
This is a security issue too. ** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notific

[Bug 1791691] Re: PATH broken in systemd units

2018-09-10 Thread Dimitri John Ledkov
#!/bin/sh if [ -z "$PATH" ] then echo PATH=/snap/bin else echo PATH=$PATH:/snap/bin fi is the more correct minimal implementation. Note that for the case of no-path set (initrmafs-less boot, lxd boot) the PATH environment variable is not set yet; but can be prepended or expanded.

[Bug 1791691] Re: PATH broken in systemd units

2018-09-10 Thread Dimitri John Ledkov
** Changed in: snapd (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791691 Title: PATH broken in systemd units To manage notifications about this bug g

[Bug 1791691] Re: PATH broken in systemd units

2018-09-10 Thread Dan Watkins
http://cloud-images.ubuntu.com/cosmic/20180906/unpacked/cosmic- daily.changelog outlines the changed packages between the two images. I strongly suspect that the root cause of this is the systemd environment generator added in the latest version of snapd, so I've added snapd to this bug. The chan