Bug 1989840 - Incomplete html from sepolicy manpage --web
Summary: Incomplete html from sepolicy manpage --web
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: policycoreutils
Version: 9.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: ---
Assignee: Petr Lautrbach
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-04 07:32 UTC by Petr Lautrbach
Modified: 2023-05-09 10:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:25:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-92238 0 None None None 2021-08-04 07:36:48 UTC
Red Hat Product Errata RHBA-2023:2561 0 None None None 2023-05-09 08:25:05 UTC

Description Petr Lautrbach 2021-08-04 07:32:19 UTC
Description of problem:

https://src.fedoraproject.org/tests/selinux/blob/main/f/policycoreutils/sepolicy-generate

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   sepolicy manpage --web, bz1854639
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

/tmp/zebra_selinux.8
/tmp/Red Hat Enterprise Linux release 9.0 Beta (Plow).html has been created
/tmp/style.css has been created
:: [ 08:00:38 ] :: [   PASS   ] :: Command 'sepolicy manpage --web -d zebra_t' (Expected 0, got 0)
/tmp/Red Hat Enterprise Linux release 9.0 Beta (Plow).html
:: [ 08:00:38 ] :: [   PASS   ] :: Html file with OS name exists. (Expected 0, got 0)
:: [ 08:00:38 ] :: [   PASS   ] :: Command 'cat /tmp/*release* > /tmp/testfile' (Expected 0, got 0)
:: [ 08:00:38 ] :: [   FAIL   ] :: File '/tmp/testfile' should contain 'href=zebra.html' 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Milos Malik 2022-06-23 09:45:46 UTC
# rpm -qa | grep policycoreutils
policycoreutils-3.4-1.el9.x86_64
python3-policycoreutils-3.4-1.el9.noarch
policycoreutils-python-utils-3.4-1.el9.noarch
policycoreutils-dbus-3.4-1.el9.noarch
policycoreutils-devel-3.4-1.el9.x86_64
policycoreutils-gui-3.4-1.el9.noarch
policycoreutils-sandbox-3.4-1.el9.x86_64
policycoreutils-newrole-3.4-1.el9.x86_64
# sepolicy manpage -w -d aide_t
/tmp/aide_selinux.8
/tmp/Red Hat Enterprise Linux release 9.1 Beta (Plow).html has been created
/tmp/style.css has been created
# grep aide /tmp/*.html
#

Comment 17 errata-xmlrpc 2023-05-09 08:25:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (policycoreutils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2561


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