Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 453028

Summary: =sys-apps/systemd-197 ebuild post-install fails
Product: Gentoo Linux Reporter: kipplasterjoe
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pq, systemd, tranzig+gentoobugzilla
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: post-install phase log file
emerge --info '=sys-apps/systemd-197'

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 ***