diff options
author | Tim Waugh <twaugh@redhat.com> | 2016-08-09 18:11:46 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2018-06-08 15:11:05 +0200 |
commit | 87e08b60b7bc2a23c6a3938626cc0a08eff2c3f1 (patch) | |
tree | cee77e1b19c2a9c9f77e2647afd23a4fe3953715 | |
parent | e4f75581f2c9c3f0d105ca16a0d797961ac49111 (diff) |
Set the default for SyncOnClose to Yes
Last-Update: 2015-02-10
Patch-Name: cupsd-set-default-for-SyncOnClose-to-Yes.patch
-rw-r--r-- | conf/cups-files.conf.in | 2 | ||||
-rw-r--r-- | doc/help/man-cups-files.conf.html | 2 | ||||
-rw-r--r-- | man/cups-files.conf.man.in | 2 | ||||
-rw-r--r-- | scheduler/conf.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/conf/cups-files.conf.in b/conf/cups-files.conf.in index 4a78ba615..a3d088da5 100644 --- a/conf/cups-files.conf.in +++ b/conf/cups-files.conf.in @@ -7,7 +7,7 @@ #FatalErrors @CUPS_FATAL_ERRORS@ # Do we call fsync() after writing configuration or status files? -#SyncOnClose No +#SyncOnClose Yes # Default user and group for filters/backends/helper programs; this cannot be # any user or group that resolves to ID 0 for security reasons... diff --git a/doc/help/man-cups-files.conf.html b/doc/help/man-cups-files.conf.html index 131c33f01..ebf103cca 100644 --- a/doc/help/man-cups-files.conf.html +++ b/doc/help/man-cups-files.conf.html @@ -144,7 +144,7 @@ The default is "/var/run/cups" or "/etc/cups" depending on the platform. <dd style="margin-left: 5.0em">Specifies whether the scheduler calls <b>fsync</b>(2) after writing configuration or state files. -The default is "No". +The default is "Yes". <dt><a name="SystemGroup"></a><b>SystemGroup </b><i>group-name </i>[ ... <i>group-name</i> ] <dd style="margin-left: 5.0em">Specifies the group(s) to use for <i>@SYSTEM</i> group authentication. The default contains "admin", "lpadmin", "root", "sys", and/or "system". diff --git a/man/cups-files.conf.man.in b/man/cups-files.conf.man.in index ec4805dde..68a64a022 100644 --- a/man/cups-files.conf.man.in +++ b/man/cups-files.conf.man.in @@ -210,7 +210,7 @@ The default is "/var/run/cups" or "/etc/cups" depending on the platform. Specifies whether the scheduler calls .BR fsync (2) after writing configuration or state files. -The default is "No". +The default is "Yes". .\"#SystemGroup .TP 5 \fBSystemGroup \fIgroup-name \fR[ ... \fIgroup-name\fR ] diff --git a/scheduler/conf.c b/scheduler/conf.c index 4921d8ca4..dc025d3cd 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -735,7 +735,7 @@ cupsdReadConfiguration(void) RootCertDuration = 300; Sandboxing = CUPSD_SANDBOXING_STRICT; StrictConformance = FALSE; - SyncOnClose = FALSE; + SyncOnClose = TRUE; Timeout = DEFAULT_TIMEOUT; WebInterface = CUPS_DEFAULT_WEBIF; |