On Thu, 13 Feb 2014 11:57:03 -0800
Tom Eastep <teas...@shorewall.net> wrote:

> I've done some more checking and now understand what is happening.
> 
> The shorewall.spec file uses the %ghost directive for files that have
> been superceded. That way, if the file exists, it will not be removed
> in the next upgrade. There is a problem, however, that some versions
> of rpm (notably the version in RHEL5 and derivatives) insist that
> %ghost files exist! To work around this problem, shorewall.spec's
> %install section touches superceded files. Apparently, your root
> default security is 600 which is why you see those files secured the
> way they are.

That's a bug in rpm used then. When file is marked as %ghost the empty
file is not included in package even when it is touched by %install.
Later versions of rpm still require you to touch the file if you don't
specify exact mode on %files section.



-- 
Tuomo Soini <t...@foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to