FS#69352 - [lxd] warning: directory permissions differ on /var/log/lxd/
Attached to Project:
Community Packages
Opened by Yuri Kanivetsky (x-yuri) - Sunday, 17 January 2021, 11:00 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 06 March 2021, 12:41 GMT
Opened by Yuri Kanivetsky (x-yuri) - Sunday, 17 January 2021, 11:00 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 06 March 2021, 12:41 GMT
|
Details
lxd seems to expect /var/log/lxd to have the 0700
permissions. You can see it here:
https://github.com/lxc/lxd/blob/lxd-4.10/lxd/sys/fs.go#L55 Another way to confirm: * pacman -R lxd * mv /var/log/lxd{,-old} * mkdir -m 0700 /var/log/lxd * pacman -S lxd * reboot But PKGBUILD creates the dir with 0755: https://github.com/archlinux/svntogit-community/blob/b91c55a3701cb7fab3a6db295be741996eaf0026/trunk/PKGBUILD#L77 The after upgrade we get: [2021-01-17T12:18:31+0200] [ALPM] warning: directory permissions differ on /var/log/lxd/ filesystem: 700 package: 755 [2021-01-17T12:18:31+0200] [ALPM] upgraded lxd (4.9-1 -> 4.10-1) |
This task depends upon
Closed by Morten Linderud (Foxboron)
Saturday, 06 March 2021, 12:41 GMT
Reason for closing: Fixed
Additional comments about closing: 4.12-2
Saturday, 06 March 2021, 12:41 GMT
Reason for closing: Fixed
Additional comments about closing: 4.12-2
* chmod 0755 /var/log/lxd
* systemctl restart lxd
* ls -ald /var/log/lxd
drwx------ 3 root root 4096 Feb 14 11:18 /var/log/lxd