Bug 2231974 - efs-utils cannot create log files
Summary: efs-utils cannot create log files
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: efs-utils
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Major Hayden 🤠
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-14 21:11 UTC by Major Hayden 🤠
Modified: 2023-08-16 08:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Major Hayden 🤠 2023-08-14 21:11:28 UTC
Traceback (most recent call last):
  File "/usr/bin/amazon-efs-mount-watchdog", line 2158, in <module>
    main()
  File "/usr/bin/amazon-efs-mount-watchdog", line 2115, in main
    bootstrap_logging(config)
  File "/usr/bin/amazon-efs-mount-watchdog", line 595, in bootstrap_logging
    handler = RotatingFileHandler(
              ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/handlers.py", line 155, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
  File "/usr/lib64/python3.11/logging/handlers.py", line 58, in __init__
    logging.FileHandler.__init__(self, filename, mode=mode,
  File "/usr/lib64/python3.11/logging/__init__.py", line 1181, in __init__
    StreamHandler.__init__(self, self._open())
                                 ^^^^^^^^^^^^
  File "/usr/lib64/python3.11/logging/__init__.py", line 1213, in _open
    return open_func(self.baseFilename, self.mode,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/amazon/efs/mount-watchdog.log'

Reproducible: Always

Comment 1 Fedora Update System 2023-08-14 21:29:40 UTC
FEDORA-2023-1227825d9e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1227825d9e

Comment 2 Fedora Update System 2023-08-15 01:33:09 UTC
FEDORA-2023-1227825d9e has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1227825d9e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1227825d9e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Release Engineering 2023-08-16 08:14:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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