Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487232 - sys-apps/systemd-204-r1 fails to build unless rebooted
Summary: sys-apps/systemd-204-r1 fails to build unless rebooted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL: http://wiki.gentoo.org/wiki/Systemd/u...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-07 19:54 UTC by Łukasz Stelmach
Modified: 2013-10-18 19:07 UTC (History)
1 user (show)

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


Attachments
Allow users to override the check (systemd-204-r1.diff,661 bytes, patch)
2013-10-07 20:01 UTC, Łukasz Stelmach
Details | Diff
Allow users to override the check (fixed operator) (systemd-204-r1.diff,661 bytes, patch)
2013-10-07 20:02 UTC, Łukasz Stelmach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2013-10-07 19:54:06 UTC
systemd-204-r1 fails to build saying

 * You are using a compatibility symlink to run systemd. The symlink
 * has been removed. Please update your bootloader to use:
 * 
 *      init=/usr/lib/systemd/systemd
 * 
 * and reboot your system. We are sorry for the inconvenience.
 * ERROR: sys-apps/systemd-204-r1::gentoo failed (pretend phase):
 *   Compatibility symlink used to boot systemd.

There is currently no way to override the check that leads to this error. The the attached patch introduces a way for users to confirm their intentions to build the package. The build process is not going to die if user removes the symlink manually.

Reproducible: Always
Comment 1 Łukasz Stelmach 2013-10-07 20:01:40 UTC
Created attachment 360342 [details, diff]
Allow users to override the check
Comment 2 Łukasz Stelmach 2013-10-07 20:02:34 UTC
Created attachment 360344 [details, diff]
Allow users to override the check (fixed operator)
Comment 3 Mike Gilbert gentoo-dev 2013-10-07 21:40:05 UTC
Seems sane to me. Or possibly we could abuse the old I_KNOW_WHAT_I_AM_DOING flag.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-18 18:34:37 UTC
I'd prefer the '-e' hack since people may be thoughtlessly setting I_KNOW... globally and with the compatibility symlink removed people wouldn't be able to reboot anyway :).
Comment 5 Mike Gilbert gentoo-dev 2013-10-18 19:07:40 UTC
+  18 Oct 2013; Mike Gilbert <floppym@gentoo.org> systemd-204-r1.ebuild,
+  systemd-204-r2.ebuild:
+  Don't die in pkg_pretend if the user has manually removed the systemd
+  compatibility symlink. Patch by Łukasz Stelmach. Bug 487232.