Summary: | =sys-apps/portage-2.3.51: FileNotFoundError: [Errno 2] No such file or directory: b'/var/log/portage/...log.gz' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Rick Farina (Zero_Chaos) <zerochaos> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rick Farina (Zero_Chaos)
2018-11-09 17:41:14 UTC
The log file must have been removed by a concurrent process immediately after it was created, since it failed in the apply_secpass_permissions call which follows the open call that creates the log file:
> self._log_file = open(_unicode_encode(log_file_path,
> encoding=_encodings['fs'], errors='strict'), mode='ab')
> if log_file_path.endswith('.gz'):
> self._log_file_real = self._log_file
> self._log_file = gzip.GzipFile(filename='', mode='ab',
> fileobj=self._log_file)
>
> portage.util.apply_secpass_permissions(log_file_path,
> uid=portage.portage_uid, gid=portage.portage_gid,
> mode=0o660)
Do you have any idea what might have removed the log file? Generally, this type of issue is CANTFIX, since you have to correct whatever caused the interference on your end.
|