Bug 2106120 - Strongswan manpages point to wrong program name and directories
Summary: Strongswan manpages point to wrong program name and directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: strongswan
Version: 36
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-11 19:49 UTC by Robert Elliott
Modified: 2023-01-29 02:30 UTC (History)
6 users (show)

Fixed In Version: strongswan-5.9.9-2.fc37 strongswan-5.9.9-2.el9 strongswan-5.9.9-2.fc36 strongswan-5.9.9-2.el8
Clone Of:
Environment:
Last Closed: 2023-01-29 01:31:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources strongswan pull-request 21 0 None None None 2023-01-16 19:07:17 UTC
Github strongswan strongswan pull 1511 0 None open Include IPSEC_CONFDIR variable replacement in ipsec man 2023-01-15 15:39:20 UTC

Description Robert Elliott 2022-07-11 19:49:04 UTC
Description of problem:
Bug 1798279 is still broken in Fedora 36 in July 2022.


Version-Release number of selected component (if applicable):
Name         : strongswan
Version      : 5.9.6
Release      : 1.fc36
Architecture : x86_64
Size         : 4.7 M
Source       : strongswan-5.9.6-1.fc36.src.rpm

How reproducible:
man strongswan
man ipsec
man ipsec.conf
man ipsec.secrets
man strongswan.conf

Steps to Reproduce:

Actual results:


Expected results:


Additional info:

"man strongswan" still shows the command name as "ipsec" rather the actual name "strongswan". The same page is displayed for "man ipsec", which is not a valid name installed by the package.

All the manpages (strongswan, ipsec, ipsec.conf, ipsec.secrets, strongswan.conf) refer to /etc when the actual location is /etc/strongswan.


man strongswan:
IPSEC(8)                                                                        strongSwan                                                                        IPSEC(8)

NAME
       ipsec - invoke IPsec utilities

SYNOPSIS
       ipsec command [arguments] [options]
...
       listcacerts [--utc]
              returns a list of X.509 Certification Authority (CA) certificates that were loaded locally by the IKE daemon from the /etc/ipsec.d/cacerts/ directory or re‐
              ceived via the IKE protocol.
...
FILES
       /usr/libexec/ipsec       utilities directory


That command should be "strongswan"  and the directory locations are /etc/strongswan/ipsec.d and /usr/libexec/strongswan.


man ipsec.conf:
...
FILES
       /etc/ipsec.conf
       /etc/ipsec.d/aacerts
       /etc/ipsec.d/acerts
       /etc/ipsec.d/cacerts
       /etc/ipsec.d/certs
       /etc/ipsec.d/crls

Those should be /etc/strongswan/ipsec.conf, /etc/strongswan/ipsec.d/aacerts, etc.

Comment 1 Petr Menšík 2023-01-15 15:23:32 UTC
Correct. There is --with-ipsec-script=strongswan configure parameter, but the _ipsec.8 man page is NOT regenerated by makefile. Therefore it is installed exactly the same way it was shipped from upstream. That is not correct on Fedora. But we should modify also /etc, which is not replaced correctly in current upstream.

Comment 2 Petr Menšík 2023-01-15 15:39:20 UTC
Posted upstream change to man page: https://github.com/strongswan/strongswan/pull/1511

Comment 3 Fedora Update System 2023-01-19 01:06:07 UTC
FEDORA-2023-b37688d60f has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b37688d60f

Comment 4 Fedora Update System 2023-01-19 12:34:26 UTC
FEDORA-2023-9fc5f6e939 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9fc5f6e939

Comment 5 Fedora Update System 2023-01-19 12:35:21 UTC
FEDORA-EPEL-2023-8bebf0549d has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8bebf0549d

Comment 6 Fedora Update System 2023-01-19 12:36:10 UTC
FEDORA-EPEL-2023-0707314d3b has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0707314d3b

Comment 7 Fedora Update System 2023-01-21 03:30:51 UTC
FEDORA-2023-b37688d60f has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b37688d60f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b37688d60f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-01-21 04:15:40 UTC
FEDORA-EPEL-2023-8bebf0549d has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8bebf0549d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-01-21 04:21:33 UTC
FEDORA-EPEL-2023-0707314d3b has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0707314d3b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-01-21 16:28:29 UTC
FEDORA-2023-9fc5f6e939 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-9fc5f6e939`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9fc5f6e939

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-01-29 01:31:36 UTC
FEDORA-2023-b37688d60f has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-01-29 02:28:03 UTC
FEDORA-EPEL-2023-8bebf0549d has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2023-01-29 02:30:01 UTC
FEDORA-2023-9fc5f6e939 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-01-29 02:30:46 UTC
FEDORA-EPEL-2023-0707314d3b has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.