couldn't open file '/var/log/account/pacct': No such file or directory
This document (000020336) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 SP4 (LTSS)
Situation
# lastcomm
couldn't open file '/var/log/account/pacct': No such file or directory
Resolution
The patch changes the path used in the code so that it is consistent with the one used in the systemd service.
The SLES12 SP5 acct update released August 2021 includes the patch.
Cause
Some commands of the acct package still look for it in the old path, resulting in the error 'No such file or directory'.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020336
- Creation Date: 16-Jul-2021
- Modified Date:30-Aug-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com