Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1878

cvmfs upgrade on C8 produces an error - selinux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: CernVM-FS 2.7.1
    • Fix Version/s: CernVM-FS 2.7.3
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      ANY
    • Development:

      Description

      selinux error when upgrading cvmfs

      During upgrade on C8.

      Running scriptlet: cvmfs-2.7.2-1.el8.x86_64                                                                                 113/256 
        Upgrading        : cvmfs-2.7.2-1.el8.x86_64                                                                                 113/256 
      error: lsetfilecon: (/cvmfs, system_u:object_r:default_t:s0) Operation not supported
      

      Running the items from the script by hand:

      [root@lxplus805 ~]# /usr/sbin/semodule -s mls -i /usr/share/selinux/mls/cvmfs.pp 
      Failed to resolve roletype statement at /var/lib/selinux/mls/tmp/modules/400/cvmfs/cil:2
      /usr/sbin/semodule:  Failed!
      [root@lxplus805 ~]# /usr/sbin/semodule -s mls -i /usr/share/selinux/mls/cvmfs.pp 
      Failed to resolve roletype statement at /var/lib/selinux/mls/tmp/modules/400/cvmfs/cil:2
      /usr/sbin/semodule:  Failed!
      [root@lxplus805 ~]# /usr/sbin/semodule -s strict -i /usr/share/selinux/mls/cvmfs.pp                                                   
      Failed to resolve roletype statement at /var/lib/selinux/strict/tmp/modules/400/cvmfs/cil:2
      /usr/sbin/semodule:  Failed!
      [root@lxplus805 ~]# /usr/sbin/semodule -s targeted -i /usr/share/selinux/mls/cvmfs.pp      
      

      It looks okay but it can be reproduced with a

      dnf downgrade cvmfs
       
       Running scriptlet: cvmfs-2.7.1-1.el8.x86_64                                                                                     1/2 
        Downgrading      : cvmfs-2.7.1-1.el8.x86_64                                                                                     1/2 
      error: lsetfilecon: (/cvmfs, system_u:object_r:default_t:s0) Operation not supported
      
      

        Attachments

          Activity

            People

            • Assignee:
              jpriessn Jan Priessnitz
              Reporter:
              straylen Steve Traylen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: