Public bug reported:

Some scripts require sudo access in order to fetch various metrics (for
example HD temperature).  With the current hardening settings, this is
not possible.  Additionally, when attempting to use sudo to elevate
privileges the syslog will fill with errors such as this:

postfix/postdrop[17648]: warning: mail_queue_enter: create file
maildrop/626187.17648: Read-only file system

Note: These changes were introduced in noble within
/etc/systemd/system/multi-user.target.wants/monit.service

** Affects: monit (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Some scripts require sudo access in order to fetch various metrics (for
  example HD temperature).  With the current hardening settings, this is
  not possible.  Additionally, when attempting to use sudo to elevate
  privileges the syslog will fill with errors such as this:
  
  postfix/postdrop[17648]: warning: mail_queue_enter: create file
  maildrop/626187.17648: Read-only file system
+ 
+ Note: These changes were introduced in noble within
+ /etc/systemd/system/multi-user.target.wants/monit.service

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2079839

Title:
  hardening not allowing scripts to run with elevated privileges

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monit/+bug/2079839/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to