Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
Tidal
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • Tidal
  • Repository

Switch branch/tag
  • Tidal
  • tools
  • parvagues-protect.service
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    fix(protect): root was never enough — the OOM guard could not open the file it guards · 8f2c510f
    Installed the protection daemon and it reported 'protected: ardour[...]
    oom:FAILED(need root, have uid 0)' every two seconds. It runs as root; the
    message was misdirecting.
    
    uid 0 bypasses file permissions via CAP_DAC_OVERRIDE, and the unit's
    CapabilityBoundingSet listed only CAP_SYS_RESOURCE/SYS_NICE/IPC_LOCK — so the
    bypass was gone. /proc/<pid>/oom_score_adj is mode 0644 owned by the process
    owner, so every write returned EACCES while id -u still said 0.
    
    scsynth and sclang looked fine only because they were already at the target and
    no write was attempted. The daemon had never successfully protected anything.
    
    - unit: add CAP_DAC_OVERRIDE to bounding + ambient sets
    - failure messages print the effective capabilities, not 'need root'
    - a FAILED sweep logs once per distinct message instead of 43200 times a day,
      which is what the file header already said it refuses to do
    PLN (Algolia) authored Sep 06, 2026
    8f2c510f
parvagues-protect.service 2.76 KB
EditWeb IDE
×

Replace parvagues-protect.service

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.