Hi Max,I had also been thinking about something in that direction and one idea was if one could use a path unit/inotifies. I.e., to set up outside of condor a path template unit for all possible slots in the corresponding job slot cgroup. And when a new job is started and the cgroup path gets created or updated, trigger a script for updating the controller magic. Unfortunately, I have not get very far and put it onto my project heap until having more time.
Cheers, Thomas On 14/03/2024 15.54, Fischer, Max (SCC) wrote:
Hi all, We want to make some adjustments on each job start that require root (for a start, fiddle with cgroups cfs_quota_us). However, the USER_JOB_WRAPPER already runs as the user. We donĂ¢t want to let the user run the adjustment program, so USER_JOB_WRAPPER with sudo/setuid and friends is out of the question, too. Is there any way to trigger a script as condor/root right when a job starts? Cheers, Max _______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users The archives can be found at: https://lists.cs.wisc.edu/archive/htcondor-users/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature