Bogus permissions on xenconsoled.pid
Came across this issue in 3.0.2; looks to also be present in the latest unstable sources:
# ls -l /var/run/xenconsoled.pid -rwS--x--T 1 root root 5 Aug 31 00:29 /var/run/xenconsoled.pid
setuid, group-execute, and sticky...?
This happens because daemonize() in tools/console/daemon/utils.c isn't specifying a "mode" parameter when creating the file:
fd = open(pidfile, O_RDWR | O_CREAT);
Signature · 1 line
Jordan Russell