Dario Lesca
2017-04-26 13:47:32 UTC
Like subject say, after install via "yum install shorewall" on Centos7,
the file '/etc/shorewall/masq' (and some other) are missing.
I have investigate and I have discovered that in the spec file masq are
marked %ghost:
$ grep masq rpmbuild/SPECS/shorewall.spec
%ghost %attr(0644,root,root) /etc/shorewall/masq
[***@s-virt shorewall]# rpm -qlp shorewall-5.0.14.1-2.el7.noarch.rpm|grep masq
/etc/shorewall/masq
/usr/share/man/man5/shorewall-masq.5.gz
[***@s-virt shorewall]# rpm2cpio shorewall-5.0.14.1-2.el7.noarch.rpm |cpio -ivt|grep masq
-rw-r--r-- 1 root root 6687 Dec 21 22:15 ./usr/share/man/man5/shorewall-masq.5.gz
5464 blocks
In this way, the file masq is not installed into /etc/shorewall, only the man page is installed
How to I can resolve this issue?
Many thanks
the file '/etc/shorewall/masq' (and some other) are missing.
I have investigate and I have discovered that in the spec file masq are
marked %ghost:
$ grep masq rpmbuild/SPECS/shorewall.spec
%ghost %attr(0644,root,root) /etc/shorewall/masq
[***@s-virt shorewall]# rpm -qlp shorewall-5.0.14.1-2.el7.noarch.rpm|grep masq
/etc/shorewall/masq
/usr/share/man/man5/shorewall-masq.5.gz
[***@s-virt shorewall]# rpm2cpio shorewall-5.0.14.1-2.el7.noarch.rpm |cpio -ivt|grep masq
-rw-r--r-- 1 root root 6687 Dec 21 22:15 ./usr/share/man/man5/shorewall-masq.5.gz
5464 blocks
In this way, the file masq is not installed into /etc/shorewall, only the man page is installed
How to I can resolve this issue?
Many thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 25 Workstation)
Dario Lesca
(inviato dal mio Linux Fedora 25 Workstation)