Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-78987

[RHEL10 image-mode udisks2] FileNotFoundError: [Errno 2] No such file or directory: '/etc/fstab'

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-10.2
    • rhel-10.0
    • udisks2
    • None
    • No
    • None
    • rhel-storage-management
    • ssg_platform_storage
    • 15
    • 17
    • 1
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

      [root@ibm-p8-kvm-03-guest-02 ~]# rpm -q --verify setup
      .......T.  c /etc/aliases
      .......T.  c /etc/bashrc
      .......T.  c /etc/csh.cshrc
      .......T.  c /etc/csh.login
      .......T.    /etc/dnf/protected.d/setup.conf
      .......T.  c /etc/environment
      .......T.  c /etc/ethertypes
      .......T.  c /etc/filesystems
      .......T.  c /etc/host.conf
      .......T.  c /etc/networks
      .......T.  c /etc/printcap
      .......T.  c /etc/profile
      .......T.  c /etc/profile.d/csh.local
      .......T.    /etc/profile.d/lang.csh
      .......T.    /etc/profile.d/lang.sh
      .......T.  c /etc/profile.d/sh.local
      .......T.  c /etc/protocols
      .......T.  c /etc/services
      .......T.    /usr/lib/sysusers.d/20-setup-groups.conf
      .......T.    /usr/lib/sysusers.d/20-setup-users.conf
      .......T.    /usr/lib/tmpfiles.d/setup.conf
      .......T.  d /usr/share/doc/setup/uidgid
      .......T.  l /usr/share/licenses/setup/COPYING
      [root@ibm-p8-kvm-03-guest-02 ~]# 
      
      
      ======================================================================
      ERROR: setUpClass (__main__.Fstab)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/var/roothome/rpmbuild/BUILD/udisks-2.10.90/src/tests/integration-test", line 1185, in setUpClass
          shutil.copy2('/etc/fstab', cls.orig_fstab)
        File "/usr/lib64/python3.12/shutil.py", line 475, in copy2
          copyfile(src, dst, follow_symlinks=follow_symlinks)
        File "/usr/lib64/python3.12/shutil.py", line 260, in copyfile
          with open(src, 'rb') as fsrc:
               ^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: '/etc/fstab'
      
      ----------------------------------------------------------------------
      Ran 26 tests in 309.485s 

       

      targetcli SyntaxWarning error

      + targetcli clearconfig confirm=True
      /usr/lib/python3.12/site-packages/targetcli/ui_root.py:163: SyntaxWarning: invalid escape sequence '\s'
        backups = [line for line in prefs.read().splitlines() if re.match('^max_backup_files\s*=', line)]
      /usr/lib/python3.12/site-packages/configshell_fb/console.py:39: SyntaxWarning: invalid escape sequence '\['
        _re_ansi_seq = re.compile('(\033\[..?m)')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:116: SyntaxWarning: invalid escape sequence '\+'
        var = Word(alphanums + '?;&*$!#,=_\+/.<>()~@:-%[]')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:118: SyntaxWarning: invalid escape sequence '\-'
        keyword = Word(alphanums + '_\-')
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:124: SyntaxWarning: invalid escape sequence '\['
        pathstd = Regex('([A-Za-z0-9:_.\[\]]|-)*' + '/' + '([A-Za-z0-9:_.\[\]/]|-)*') \
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:124: SyntaxWarning: invalid escape sequence '\['
        pathstd = Regex('([A-Za-z0-9:_.\[\]]|-)*' + '/' + '([A-Za-z0-9:_.\[\]/]|-)*') \
      /usr/lib/python3.12/site-packages/configshell_fb/shell.py:131: SyntaxWarning: invalid escape sequence '\|'
        readline.set_completer_delims('\t\n ~!#$^&(){}\|;\'",?')
       
      [root@ibm-p8-kvm-03-guest-02 ~]# bootc status
      ● Booted image: quay.io/guazhang/rhel10-bootc:v5
              Digest: sha256:6a3046a5b10db31a241b3e3bcba14d585d01ab9cbfe7b55d7e71a3c7c08549e1
             Version: 10.20250210.0 (2025-02-12 02:43:21.362868943 UTC)
      [root@ibm-p8-kvm-03-guest-02 ~]# 
      [root@ibm-p8-kvm-03-guest-02 ~]#  

              tbzatek Tomáš Bžatek
              guazhang@redhat.com Guangwu Zhang
              Tomáš Bžatek Tomáš Bžatek
              Guangwu Zhang Guangwu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: