Project

General

Profile

Bug #15822

/usr/sbin/semodule: invalid option -- 'X'

Added by Dan van der Ster about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/10/2016
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When updating from v10.2.0 to master (on centos 7.2) I got this error:

  Updating   : 1:ceph-selinux-10.2.0-783.g4fe09b7.el7.x86_64                                                                                                                                                       10/30
/usr/sbin/semodule: invalid option -- 'X'
usage:  /usr/sbin/semodule [options]... MODE [MODES]...
Manage SELinux policy modules.
MODES:
  -R, --reload            reload policy
  -B, --build            build and reload policy
  -i,--install=MODULE_PKG   install a new module
  -u,--upgrade=MODULE_PKG   upgrade existing module
  -b,--base=MODULE_PKG      install new base module
  -e,--enable=MODULE_PKG    enable existing module
  -d,--disable=MODULE_PKG   disable existing module
  -r,--remove=MODULE_NAME   remove existing module
  -l,--list-modules         display list of installed modules
Other options:
  -s,--store       name of the store to operate on
  -N,-n,--noreload do not reload policy after commit
  -h,--help        print this message and quit
  -v,--verbose     be verbose
  -D,--disable_dontaudit    Remove dontaudits from policy
  -P,--preserve_tunables    Preserve tunables in policy
  -p,--path        use an alternate path for the policy root
  Updating   : 1:ceph-base-10.2.0-783.g4fe09b7.el7.x86_64

Related issues

Copied to Ceph - Backport #15825: jewel: /usr/sbin/semodule: invalid option -- 'X' Resolved

Associated revisions

Revision 7e606f29 (diff)
Added by Boris Ranto about 3 years ago

rpm: Drop SELinux priority setting

Older versions of semodule binary that are in Centos/RHEL do not
support priority setting, dropping it.

Fixes: #15822
Signed-off-by: Boris Ranto <>

Revision 69470d40 (diff)
Added by Boris Ranto about 3 years ago

rpm: Drop SELinux priority setting

Older versions of semodule binary that are in Centos/RHEL do not
support priority setting, dropping it.

Fixes: #15822
Signed-off-by: Boris Ranto <>
(cherry picked from commit 7e606f29f499eac83ecb7053ea6874fcfd092924)

History

#1 Updated by Nathan Cutler about 3 years ago

  • Status changed from New to Pending Backport
  • Backport set to jewel

#2 Updated by Nathan Cutler about 3 years ago

  • Copied to Backport #15825: jewel: /usr/sbin/semodule: invalid option -- 'X' added

#3 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF