Hello,
As part of /var/run preparations, I rewrote my package (syslog-ng) to use %ghost for the /var/run/syslog-ng directory. It works nicely with factory, but fails badly for openSUSE 11.2.
The spec file is at: https://build.opensuse.org/package/view_file?file=syslog-ng.spec&package...
And the build logs for 11.2 are available at: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=sy...
Are there any suggestions how to work around this problem? I'd also like to provide packages for 11.2 later on...
Bye, CzP
2010/6/8 Peter Czanik pczanik@fang.fa.gau.hu:
Hello,
As part of /var/run preparations, I rewrote my package (syslog-ng) to use %ghost for the /var/run/syslog-ng directory. It works nicely with factory, but fails badly for openSUSE 11.2.
The spec file is at: https://build.opensuse.org/package/view_file?file=syslog-ng.spec&package...
And the build logs for 11.2 are available at: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=sy...
Are there any suggestions how to work around this problem? I'd also like to provide packages for 11.2 later on...
It's because in pre-4.8.0 versions of rpm ghost files needed to exist. You can just touch it (http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html) Not sure about how https://bugzilla.redhat.com/show_bug.cgi?id=495040#c2 was solved. I suppose that requirement was there because of a good reason.
On Tue, Jun 08, 2010 at 10:24:20PM +0200, Cristian Morales Vega wrote:
2010/6/8 Peter Czanik pczanik@fang.fa.gau.hu:
Hello,
As part of /var/run preparations, I rewrote my package (syslog-ng) to use %ghost for the /var/run/syslog-ng directory. It works nicely with factory, but fails badly for openSUSE 11.2.
The spec file is at: https://build.opensuse.org/package/view_file?file=syslog-ng.spec&package...
And the build logs for 11.2 are available at: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=sy...
Are there any suggestions how to work around this problem? I'd also like to provide packages for 11.2 later on...
It's because in pre-4.8.0 versions of rpm ghost files needed to exist. You can just touch it (http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html)
If it's supposed to be a directory, do not touch a file but create a directory.
M.