Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573864 - dev-dotnet/pe-format does not install openrc configs
Summary: dev-dotnet/pe-format does not install openrc configs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 22:22 UTC by Wojciech Myrda
Modified: 2016-02-09 17:49 UTC (History)
2 users (show)

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 Wojciech Myrda 2016-02-04 22:22:52 UTC
pe-format ebuild is systemd specific only and does not install nor has an use flag to install openrc init scripts. Init scripts themselves are located in the portage directory of the program, but e-build does not make use of them

Pleas add systemd useflag where not using that flag would result in installing openrc scripts
Comment 1 Robert R. Richter 2016-02-09 16:35:56 UTC
Yes, please fix it soon. I also need it on system with openrc, cause systemd sucks! ;-)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-09 17:49:42 UTC
Thanks for noticing the stale OpenRC scripts but they do not serve the purpose you assume they to serve. They're purely remnants of pe-format1 and they are replaced by pe-exec now.

The only systemd unit installed is the one to automatically compile configs when pe-format2.conf is changed. This can't be done with OpenRC since it does not support inotify triggers, and its design makes it impossible to do so.

In other words, with OpenRC you have to run pe-format2-setup manually after editing the file. The comment on top of the file reminds you about that.

The binfmt.d files installed by pe-format2 are supported by systemd and openrc likewise. For openrc, you have to have /etc/init.d/binfmt enabled. I don't recall if it's on by default.