-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/26/2017 06:47 AM, Dario Lesca wrote:
> 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
> 
> [root@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 [root@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?

- From the 5.0.14 release notes:

1)  /etc/shorewall[6]/masq has been superseded by
    /etc/shorewall[6]/snat. The new 'snat' file is similar to most of
    the other configuration files in that the first column specifies
    the ACTION to be performed, the second contains the SOURCE and so
    on.

    The 'shorewall[6] update' command will convert an existing masq
    file into the equivalent 'snat' file and will rename masq to
    masq.bak.

    See shorewall[6]-snat(5) for details.

- -Tom
- -- 
Tom Eastep        \   Q: What do you get when you cross a mobster with
Shoreline,         \     an international standard?
Washington, USA     \ A: Someone who makes you an offer you can't
http://shorewall.net \________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJZAL2QAAoJEJbms/JCOk0QJcAP/j1dE2ximrU0gskJna6+MxPr
24r1u+7y75+OM00BUFNRamYepZhHQd00iuMjPLSPebysClNzTR4MhMCZiHL0WR6q
/w4nK+gC8v9hc4s2CHDFD7dj27VsCodH+Izsy8tvSDBTlCLA+NbEtHXl5aj8gF7t
WB+aGK97PpgygoJ7xjpG5rpAEjopJY9LnQ8ZQk7NFOWarHbCAYsngdeXABdEkq4b
xXVzO51q0VZoB0g0b1NkeL5E17/VL8rVXQ83sdpZRhNExcIfESmMQI3OIvTV9ry8
lT0IIX4h8O+t+ZYGAIsqp9zKwv26n9LZnqKTG3HJRqXsbpb2cSHz363H27YjrM9y
7QdBdVf3mxOosvaLrdEZediFDlh85Inq+EkBXNpSv/hmnLsR8EmvAFY+zmfwnLKH
7M616La6gF8llz1aQGN2ADQT1MBTlGNQ5k1FZyOsUzFPnWNpsx5k51wtPVlIRikl
Y2bYEv2rgJsMgu3xZjkpMwetKKUZ0CXYhNYhn50HQfsXnjoibSv66ZIhL4N5Rm9P
6gF1RDVy6yefWYSzGglr78lhgvm3U/kKQIrpYkxe2wkoLqS9pxhK32PDx4e40hR7
xl/JbeYz+kYNsFH4hOl2EZDa7KheHccyblBdyCE6j+w0VOSoog6GUOklxYHNUytf
cU9O8d++46s+98EDW0zX
=RK5o
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to