Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453028 - =sys-apps/systemd-197 ebuild post-install fails
Summary: =sys-apps/systemd-197 ebuild post-install fails
Status: RESOLVED DUPLICATE of bug 451386
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 19:47 UTC by kipplasterjoe
Modified: 2013-01-20 17:12 UTC (History)
3 users (show)

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


Attachments
post-install phase log file (log_snippet.log,3.81 KB, text/plain)
2013-01-19 19:47 UTC, kipplasterjoe
Details
emerge --info '=sys-apps/systemd-197' (emergeinfo.txt,4.67 KB, text/plain)
2013-01-19 20:21 UTC, kipplasterjoe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kipplasterjoe 2013-01-19 19:47:43 UTC
Created attachment 336156 [details]
post-install phase log file

the new systemd ebuild bumped today fails during post install with the following error:

 * ERROR: sys-apps/systemd-197 failed:
 *   The init.d file has syntax errors: /var/tmp/portage/sys-apps/systemd-197/image///etc/init.d/README

I think the problem is that this README file should not be treated as an init script.
Comment 1 kipplasterjoe 2013-01-19 20:04:29 UTC
Update: Happens only with "audit" USE-flag ON, also happens with sys-apps/systemd-196 and +audit
Comment 2 kipplasterjoe 2013-01-19 20:10:16 UTC
Correction:

Happens with +audit on =sys-apps/systemd-196

Happens with +audit and -audit on =sys-apps/systemd-197

I am able to reproduce both scenarios every time.
Comment 3 kipplasterjoe 2013-01-19 20:21:58 UTC
Created attachment 336158 [details]
emerge --info '=sys-apps/systemd-197'
Comment 4 KOVACS Tamas 2013-01-20 02:32:50 UTC
(In reply to comment #2)
> Correction:
> 
> Happens with +audit on =sys-apps/systemd-196
> 
> Happens with +audit and -audit on =sys-apps/systemd-197
> 
> I am able to reproduce both scenarios every time.

Seems to be the case, I never used audit, 196 installed correctly, 197 failed.

Removing the etc/init.d/README file allows 197 to be installed.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-20 17:12:09 UTC
It was caused by USE=vanilla earlier but the distro-specific stuff has been removed by upstream AFAIK. In the meantime, Zac has fixed portage to ignore non-executable /etc/init.d-files.

However, those files are plain stupid so I'll just remove them.

*** This bug has been marked as a duplicate of bug 451386 ***