Skip to content

Implement per-UID quota overrides and update documentation#431

Open
cooperlees wants to merge 6 commits intobus1:mainfrom
cooperlees:main
Open

Implement per-UID quota overrides and update documentation#431
cooperlees wants to merge 6 commits intobus1:mainfrom
cooperlees:main

Conversation

@cooperlees
Copy link

@cooperlees cooperlees commented Mar 4, 2026

Put up a POC way of potentially implementing per unix UID quotas.

  • Implement SetUserQuota controller method and user_registry_set_user_limits()
  • Register SetUserQuota D-Bus method in controller-dbus.c
  • Add <user_quota> XML config element parser in config.c/config.h
  • Add launcher_set_user_quotas() in launcher.c, called on startup and ReloadConfig
  • Add unit tests in test-user.c and test-config.c
  • Update docs/dbus-broker.rst — document new SetUserQuota API method
  • Update docs/dbus-broker-launch.rst — document new <user_quota> XML config element with example and inotify reload note

This does need testing. So all for ways on how to do that easily.

Fixes #430

Copilot AI and others added 6 commits March 3, 2026 23:21
Co-authored-by: cooperlees <3005596+cooperlees@users.noreply.github.com>
Co-authored-by: cooperlees <3005596+cooperlees@users.noreply.github.com>
Co-authored-by: cooperlees <3005596+cooperlees@users.noreply.github.com>
…n pages

Co-authored-by: cooperlees <3005596+cooperlees@users.noreply.github.com>
…ture

Add per-UID quota overrides via SetUserQuota controller method and XML drop-in config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFE: Support per-UID resource quota overrides

2 participants