[Git][qa/jenkins.debian.net][master] jenkins nodes: fix /etc/cron.d and /etc/logrotate.d perms
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Feb 22 00:09:17 GMT 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
b4c4c10f by Holger Levsen at 2025-02-22T01:08:56+01:00
jenkins nodes: fix /etc/cron.d and /etc/logrotate.d perms
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- TODO.r.d.n
- update_jdn.sh
Changes:
=====================================
TODO.r.d.n
=====================================
@@ -5,7 +5,6 @@ file *important* bugs about arch:all issues just needing no source change upload
please join the fun!
sudo apt install debian-repro-status ; debian-repro-status
fix riscv64 nodes:
- - sudo chmod 644 /etc/logrotate.d/jenkins.debian.net-update_jdn
- keep connections on ssh tunnels, also for armhf
- riscv64-01 and -02 have the same ssh host keys...!?
- bullseye chdist on riscv64? (see maintenance jobs)
@@ -23,7 +22,6 @@ until debrebuild does it by itself:
file wishlist bug for --max-cache-size option alongside with --cache
test unstable & trixie
drop i7 extra partition to save infomaniak credits
-fix cron.d perms
check rebuilderd uid+gid everywhere
update README and THANKS
risc64
=====================================
update_jdn.sh
=====================================
@@ -298,9 +298,14 @@ for h in common common-amd64 common-i386 common-arm64 common-armhf common-riscv6
sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
fi
done
+ if [ -d "hosts/$h/etc/logrotate.d/" ]; then
+ for f in "hosts/$h/etc/logrotate.d/"* ; do
+ sudo chmod 644 /etc/logrotate.d/$(basename $f)
+ done
+ fi
if [ -d "hosts/$h/etc/cron.d/" ]; then
for f in "hosts/$h/etc/cron.d/"* ; do
- sudo chmod 640 "$f"
+ sudo chmod 640 /etc/cron.d/$(basename $f)
done
fi
done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b4c4c10f4316f8063694851634e0f07568eb32ce
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b4c4c10f4316f8063694851634e0f07568eb32ce
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250222/2c32992f/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list