On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:
> Yes my figures are very similar to yours. But even after a reboot I still
> cannot burn a back up disk.
One problem may be that /var/log has subdirectories which don't
belong to root. Applications trying to write their logs might
fail, either because they can't create "their" log subdirectory
or because they even don't try (because they rely on the install
process having done that).
Here's an example, but note that your package set will differ
from mine, so take this as illustrative:
tomas@trotzki:~$ find /var/log -maxdepth 1 -type d -exec ls -ld {} +
drwxr-xr-x 20 root root 12288 Apr 29 06:00 /var/log
drwxr-xr-x 2 root root 4096 Apr 26 20:49 /var/log/apt
drwxr-sr-x 2 apt-cacher-ng apt-cacher-ng 40960 Apr 29 06:05 /var/log/apt-cacher-ng
drwxr-xr-x 2 root root 4096 Apr 29 06:54 /var/log/atop
drwxr-s--- 2 Debian-exim adm 4096 Apr 29 06:54 /var/log/exim4
drwxr-xr-x 2 root root 4096 Oct 30 2017 /var/log/fsck
drwxr-xr-x 3 root root 4096 Nov 10 2021 /var/log/guix
drwxr-xr-x 3 root root 4096 Oct 30 2017 /var/log/installer
drwxrwx--- 2 jvb jitsi 4096 Jan 22 2020 /var/log/jitsi
drwxr-x--- 2 www-data www-data 4096 Apr 26 06:31 /var/log/lighttpd
drwxr-s--- 2 mysql adm 4096 Nov 9 2021 /var/log/mysql
drwxr-xr-x 2 root adm 4096 Jan 22 2020 /var/log/nginx
drwxr-xr-x 2 ntp ntp 4096 Feb 15 2018 /var/log/ntpstats
drwxr-xr-x 2 root root 4096 Feb 20 2019 /var/log/openvpn
drwxrwxr-t 2 root postgres 4096 Apr 23 07:06 /var/log/postgresql
drwxr-x--- 2 prosody adm 4096 Apr 23 07:06 /var/log/prosody
drwxr-xr-x 4 root root 4096 Nov 9 2021 /var/log/runit
drwxr-x--- 2 root adm 4096 May 8 2019 /var/log/samba
drwxr-xr-x 2 stunnel4 stunnel4 4096 Apr 16 2020 /var/log/stunnel4
One thing you might try to rescue the situation would be
to chmod go+w /var/log. Note that this makes your system
somewhat... insecure (that's an euphemism :-)
Perhaps the failing apps do create their log subdirs.
Don't forget to do chmod go-w after the dust has settled.
Cheers
--
t
Attachment:
signature.asc
Description: PGP signature