Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420683 - [systemd overlay] sys-apps/baselayout-systemd-0: /etc/os-release: line 4: 32: command not found
Summary: [systemd overlay] sys-apps/baselayout-systemd-0: /etc/os-release: line 4: 32:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henry Gebhardt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 12:24 UTC by Dennis Schridde
Modified: 2012-06-19 23:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-06-11 12:24:24 UTC
/etc/os-release is a file installed by sys-apps/baselayout-systemd-0. When running dracut (sys-kernel/dracut-019) I get this error:

I: *** Including module: base ***
/etc/os-release: line 4: 32: command not found

The content of /etc/os-release is this:
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR=1;32

Reproducible: Always
Comment 1 Dennis Schridde 2012-06-11 12:35:40 UTC
Quoting ANSI_COLOR as ANSI_COLOR='1;32' fixes this issue.
Comment 2 Henry Gebhardt 2012-06-19 23:21:44 UTC
(In reply to comment #1)
> Quoting ANSI_COLOR as ANSI_COLOR='1;32' fixes this issue.

It should also be fixed by using double quotes "1;32" as that is what the os-release man page uses in the example.

So, hopefully fixed now.