Hello all.

I think I'm doing something wrong, but I don't understand what.

I'm trying to limit users allowed to use a partition (that, coming from
Torque, I think is the equivalent of a queue), but obviously I'm failing. :(

Frontend and work nodes are all Debians joined to AD via Winbind (that
ensures consistent UID/GID mapping, at the expense of having many groups
and a bit of slowness while looking 'em up).
On every node I can run 'id' and it says (redacted):
uid=108036(diego.zuccato) gid=100013(domain_users)
gruppi=100013(domain_users),[...],242965(str957.tecnici),[...]

(it takes about 10s to get the complete list of groups).

Linux ACLs work as expected (if I set a file to be readable only by
Str957.tecnici I can read it), but when I do
scontrol update PartitionName=pp_base AllowGroups=str957.tecnici
or even
scontrol update PartitionName=pp_base AllowGroups=242965

when I try to sbath a job I get:
diego.zuccato@Str957-cluster:~$ sbatch aaa.sh
sbatch: error: Batch job submission failed: User's group not permitted
to use this partition
diego.zuccato@Str957-cluster:~$ newgrp Str957.tecnici
diego.zuccato@Str957-cluster:~$ sbatch aaa.sh
sbatch: error: Batch job submission failed: User's group not permitted
to use this partition

So I won't get recognized even if I change my primary GID :(

I've been in that group since way before installing the cluster, and I
already tried rebooting everyting to refresh the cache.

Another detail that can be useful:
diego.zuccato@Str957-cluster:~$ time getent group str957.tecnici
str957.tecnici:x:242965:[...],diego.zuccato,[...]

real    0m0.012s
user    0m0.000s
sys     0m0.000s

Any hints?

TIA

-- 
Diego Zuccato
Servizi Informatici
Dip. di Fisica e Astronomia (DIFA) - Universitᅵ di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
mail: diego.zucc...@unibo.it

Reply via email to