Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313675 - app-admin/syslog-ng-3.1.0 fails to install configuration on hardened.
Summary: app-admin/syslog-ng-3.1.0 fails to install configuration on hardened.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 12:28 UTC by Xake
Modified: 2010-04-07 22:26 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 Xake 2010-04-07 12:28:51 UTC
This bug is also true for at least app-admin/syslog-ng-3.0.5-r1

mr_bones_ did "updated files/ to be generic for 3.x" but since he did forgot to cp/rename the files/*hardened.3.0 to files/*hardened.3 the ebuild fails to install, but dues to missing "|| die" statements the ebuild does not ebort when it hits the missing files, and creates and unusable syslog-ng for hardened target.

Solution:

add '|| dies "file not found"' in the ebuild after newinst so if/when this happen again the users will not find themselves with a broken install and
"cp files/syslog-ng.conf.gentoo.hardened.3.0 files/syslog-ng.conf.gentoo.hardened.3" in the CVS tree.
Comment 1 Magnus Granberg gentoo-dev 2010-04-07 22:26:45 UTC
Fixed in CVS