Project

General

Profile

Actions

Support #22799

open

Review security hardening of systemd units used for services

Added by Peter Amstutz 11 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
-
Due date:
Story points:
-

Description

See what systemd offers to make it easy to run as non-privileged users while being able to access the arvados config file.


Related issues 1 (1 open0 closed)

Related to Arvados - Idea #22940: Deploy core services with an arvados groupNewActions
Actions #1

Updated by Peter Amstutz 11 months ago

  • Position changed from -950241 to -950228
Actions #2

Updated by Peter Amstutz 11 months ago

  • Description updated (diff)
Actions #3

Updated by Brett Smith 11 months ago

The simplest way I've found to do this is:

  • all our packages ensure an arvados group exists. (Maybe there's also a way to hook this into systemd?)
  • All our service units say:
    [Service]
    DynamicUser=on
    SupplementaryGroups=arvados
    Along with whatever other security options we want. source:services/api/arvados-railsapi.service is already doing a lot of this, but doing it with the www-data/nginx group instead (this gets added by the postinst since it's distro-specific). It would be easier to share across services if we created a dedicated group for Arvados services.
Actions #4

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2025-05-14 to Development 2025-05-28
Actions #5

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2025-05-28 to Development 2025-06-25
Actions #6

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2025-06-25 to Development 2025-07-09
Actions #7

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2025-07-09 to Development 2025-08-06
Actions #8

Updated by Brett Smith 10 months ago

  • Related to Idea #22940: Deploy core services with an arvados group added
Actions #9

Updated by Brett Smith 9 months ago

  • Target version deleted (Development 2025-08-06)
Actions

Also available in: Atom PDF