elementary os-release ID crashes snapcraft
Bug #1719336 reported by
Cody Garver
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari | ||
elementary OS |
New
|
Undecided
|
Unassigned |
Bug Description
The ID in the content of /etc/os-release crashes snapcraft:
NAME="elementary OS"
VERSION="0.4.1 Loki"
ID="elementary"
ID_LIKE=ubuntu
PRETTY_
VERSION_ID="0.4.1"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="https:/
VERSION_
UBUNTU_
summary: |
- elementary ID crashes snapcraft + elementary os-release ID crashes snapcraft |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.35 |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The ID is invalid according to the specification in os-release(5)
To quote the manual page:
ID=
A lower-case string (no spaces or other characters outside of 0–9,
a–z, ".", "_" and "-") identifying the operating system, excluding
any version information and suitable for processing by scripts or
usage in generated filenames. If not set, defaults to "ID=linux".
Example: "ID=fedora" or "ID=debian".
You cannot use spaces in this field.