Bug 1598499 - Packaging subtlety: splitting bash completion files between get-/set-sebool (libselinux-utils/policycoreutils*)
Summary: Packaging subtlety: splitting bash completion files between get-/set-sebool (...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-05 15:56 UTC by Jan Pokorný [poki]
Modified: 2019-01-27 03:00 UTC (History)
4 users (show)

Fixed In Version: policycoreutils-2.8-17.fc29
Clone Of:
Environment:
Last Closed: 2019-01-27 03:00:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pokorný [poki] 2018-07-05 15:56:34 UTC
Issues:

1. $SUMMARY, despite it is documented in getsebool(8):

$ getsebool -a
> setsebool: invalid option -- 'a'

2. /usr/share/bash-completion/completions/setsebool file,
   referring to "getsebool -a" (see 1.) is delivered with
   policycoreutils-python-utils although it'd be expected that
   it accompanies libselinux-utils package (containing [sg]etsebool
   proper, anything else looks like a pointless, irrational split)

$ rpm -q libselinux-utils policycoreutils-python-utils
> libselinux-utils-2.8-1.fc29.x86_64
> policycoreutils-python-utils-2.8-3.fc29.noarch

Comment 1 Petr Lautrbach 2018-07-08 19:11:46 UTC
getsebool works as expected for me:

^&^ rpm -qf /usr/sbin/getsebool 
libselinux-utils-2.8-1.fc29.x86_64

^&^ getsebool -a | head -n 2   
abrt_anon_write --> off
abrt_handle_event --> off


> $ getsebool -a
> > setsebool: invalid option -- 'a'

This is strange. getsebool and setsebool are 2 different utilities and there's no reason for such output.


setsebool is shipped in policycoreutils package:

^&^ rpm -qf /usr/sbin/setsebool 
policycoreutils-2.8-3.fc29.x86_64

But you are right that completion file is in policycoreuitls-python-utils while it should be directly in policycoreutils with the tool.(In reply to Jan Pokorný from comment #0)

Comment 2 Jan Pokorný [poki] 2018-07-09 12:35:34 UTC
Yes, it works fine, just a matter of a lame assessment of mine -- was
blind to the apparent mismatch https://github.com/garabik/grc/pull/75
:-/

Thanks for considering proper packaging split & feel free to close this
bug at your deliberation.

Comment 3 Jan Kurik 2018-08-14 09:55:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Fedora Update System 2019-01-25 08:36:52 UTC
policycoreutils-2.8-17.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-db39a8e48f

Comment 6 Fedora Update System 2019-01-26 03:29:07 UTC
policycoreutils-2.8-17.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-db39a8e48f

Comment 7 Fedora Update System 2019-01-27 03:00:40 UTC
policycoreutils-2.8-17.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, 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.