and SystemGroup values (STR #4495)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12223
a1ca3aef-8c08-0410-bb20-
df032aa958be
(STR #4492)
- Fixed a crash in ippAttributeString (<rdar://problem/17903871>)
- Added systemd support for cups-lpd (STR #4493)
+ - The scheduler did not honor the FatalErrors directive for mis-
+ configured Group and SystemGroup values (STR #4495)
- RPMs did not build (STR #4490)
#Group @CUPS_GROUP@
# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
+# This cannot contain the Group value for security reasons...
SystemGroup @CUPS_SYSTEM_GROUPS@
@CUPS_SYSTEM_AUTHKEY@
cupsdLogMessage(CUPSD_LOG_NOTICE,
"Group and SystemGroup cannot use the same groups.");
+ if (FatalErrors & (CUPSD_FATAL_CONFIG | CUPSD_FATAL_PERMISSIONS))
+ return (0);
+
cupsdLogMessage(CUPSD_LOG_INFO, "Resetting Group to \"nobody\"...");
group = getgrnam("nobody");
for (start = value; *start; start = end)
{
- /*
+ /*
* Find end of keyword...
*/