Ticket 17412 - slurmdbd: Not running as root. Can't drop supplementary groups
Summary: slurmdbd: Not running as root. Can't drop supplementary groups
Status: RESOLVED DUPLICATE of ticket 20773
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmdbd (show other tickets)
Version: 23.11.x
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Nate Rini
QA Contact:
URL:
Depends on: 16611
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-11 09:14 MDT by Nate Rini
Modified: 2025-01-06 13:20 MST (History)
0 users

See Also:
Site: GSK
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Nate Rini 2023-08-11 09:14:17 MDT
splitting off bug#17301

> (In reply to Nate Rini from bug#17301 comment #16)
> 
> > it is being started as root. I would suggest having both daemons be
> > configured with systemd unit file based on the file's user/group:
> > > user=slurm
> > > group=slurm
> 
> Hi Nate -- one quick question to this. I've already added a user and a group
> to the slurmctld and slurmdbd systemd config files. However I noticed that
> the following warning / info  appears after the service restart:
> 
> Aug 11 00:58:11 us1salx09012.corpnet2.com slurmdbd[3529030]: slurmdbd: Not
> running as root. Can't drop supplementary groups
> 
> Just wanted to check with you when potentially it could cause an issue (if
> any)? What groups it is about?
> 
> Thanks,
> Radek

Need to avoid creating this log message when started by systemd:

> Aug 11 00:58:11 us1salx09012.corpnet2.com slurmdbd[3529030]: slurmdbd: Not
> running as root. Can't drop supplementary groups
Comment 5 Nate Rini 2025-01-06 13:20:03 MST
Closing this ticket as it was already implemented by dbbeb36863e via ticket#20773

*** This ticket has been marked as a duplicate of ticket 20773 ***