Description of problem: Setting Preserve job files will prevent cups system from restarting. Changing server setting to preserve job files replaces cupsd.conf with single-line version of cupsd.conf, containing only reference to preserving job files. Version-Release number of selected component (if applicable): 2.2.6.1-1.mga6 How reproducible: - Steps to Reproduce: 1. Open Mageia Control Centre 2. Open Hardware section 3. Open printer setup 4. Select menu item Server > Settings 5. Select Advanced Server Settings 6. Select Preserve Job Files under Job History 7. OK the dialog
Severity: critical => major
Assigning to the registered maintainer.
Assignee: bugsquad => thierry.vignaudCC: (none) => marja11Source RPM: cups-common => cups-2.2.6.1-1.mga6
Still valid in Cauldron ! ----------------------OUTPUT of journalctl -f while toggling settings in system-config-printer------- cupsd[1657]: REQUEST localhost - - "POST / HTTP/1.1" 200 273 Create-Printer-Subscriptions successful-ok août 16 16:43:07 mageia.local systemd[1]: dmraid-activation.service: Succeeded. août 16 16:43:07 mageia.local systemd[1]: Finished Activation of DM RAID sets. août 16 16:43:07 mageia.local dbus-daemon[916]: [system] Successfully activated service 'org.freedesktop.hostname1' août 16 16:43:07 mageia.local systemd[1]: Started Hostname Service. août 16 16:43:11 mageia.local cupsd[1657]: REQUEST localhost - - "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - - août 16 16:43:11 mageia.local cupsd[1657]: REQUEST localhost - root "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - - août 16 16:43:11 mageia.local cupsd[1657]: REQUEST localhost - root "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4984 - - août 16 16:43:15 mageia.local cupsd[1657]: REQUEST localhost - root "PUT /admin/conf/cupsd.conf HTTP/1.1" 201 4580 - - août 16 16:43:15 mageia.local cupsd[1657]: Scheduler shutting down due to program error. août 16 16:43:15 mageia.local systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE août 16 16:43:15 mageia.local systemd[1]: cups.service: Failed with result 'exit-code'. août 16 16:43:16 mageia.local systemd[1]: cups.service: Scheduled restart job, restart counter is at 1. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Journal Audit Socket being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Kernel Configuration File System being skipped. août 16 16:43:16 mageia.local systemd[1]: Stopped CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: cups.path: Succeeded. août 16 16:43:16 mageia.local systemd[1]: Stopped CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: Stopping CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: cups.socket: Succeeded. août 16 16:43:16 mageia.local systemd[1]: Closed CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: Stopping CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: Starting Activation of DM RAID sets... août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in OSTree Remount OS/ Bind Mounts being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Import network configuration from initramfs being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in First Boot Wizard being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Rebuild Journal Catalog being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Create System Users being skipped. août 16 16:43:16 mageia.local systemd[1]: Condition check resulted in Update is Completed being skipped. août 16 16:43:16 mageia.local systemd[1]: Started CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: Listening on CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: Starting CUPS Scheduler... août 16 16:43:16 mageia.local colord[1677]: failed to get session [pid 10427]: Aucune donnée disponible août 16 16:43:16 mageia.local systemd[1]: Started CUPS Scheduler. août 16 16:43:16 mageia.local systemd[1]: dmraid-activation.service: Succeeded. août 16 16:43:16 mageia.local systemd[1]: Finished Activation of DM RAID sets. août 16 16:43:16 mageia.local cupsd[10427]: REQUEST localhost - - "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - - août 16 16:43:16 mageia.local cupsd[10427]: REQUEST localhost - root "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - - août 16 16:43:16 mageia.local cupsd[10427]: REQUEST localhost - root "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4984 - - août 16 16:43:16 mageia.local cupsd[10427]: REQUEST localhost - root "PUT /admin/conf/cupsd.conf HTTP/1.1" 201 5006 - - août 16 16:43:16 mageia.local cupsd[10427]: Scheduler shutting down due to program error. août 16 16:43:16 mageia.local systemd[1]: cups.service: Main process exited, code=exited, status=1/FAILURE août 16 16:43:16 mageia.local systemd[1]: cups.service: Failed with result 'exit-code'. août 16 16:43:17 mageia.local systemd[1]: cups.service: Scheduled restart job, restart counter is at 2. août 16 16:43:17 mageia.local systemd[1]: Stopped CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: cups.path: Succeeded. août 16 16:43:17 mageia.local systemd[1]: Stopped CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: Stopping CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: Started CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: cups.socket: Succeeded. août 16 16:43:17 mageia.local systemd[1]: Closed CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: Stopping CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: Listening on CUPS Scheduler. août 16 16:43:17 mageia.local systemd[1]: Starting CUPS Scheduler... août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <!DOCTYPE on line 1 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <html> on line 2 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <head> on line 3 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <link on line 4 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <link on line 5 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <meta on line 6 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <meta on line 7 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <meta on line 9 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <meta on line 10 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <style>html{display:none;}</style> on line 11 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <script on line 12 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive /* on line 13 of /etc/cups/cupsd.conf. Broadcast message from systemd-journald@mageia.local (Sun 2020-08-16 16:43:17 CEST): cupsd[10438]: No valid Listen or Port lines were found in the configuration file. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive if on line 14 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive document.documentElement.style.display on line 15 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive } on line 16 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive top.location on line 17 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for } on line 18 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive /* on line 20 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive function on line 21 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive if on line 22 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive document.getElementById('body').innerHTML on line 23 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for } on line 24 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for } on line 25 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for --></SCRIPT> on line 26 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <title>Administration on line 27 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </head> on line 28 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <body on line 29 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 30 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <ul> on line 31 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 32 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 33 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 34 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 35 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 36 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 37 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <li><a on line 38 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </ul> on line 39 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 40 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 41 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 42 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <h1>Administration</h1> on line 43 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 44 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 45 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <H2 on line 46 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <P> on line 48 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 49 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 50 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 51 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </P> on line 52 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <H2 on line 54 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <P> on line 56 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 57 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 58 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </P> on line 59 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <H2 on line 61 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <P> on line 63 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 64 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </P> on line 65 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 66 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 67 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <H2 on line 68 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <P> on line 70 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 71 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </P> on line 72 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <FORM on line 76 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 77 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <P><B>Paramètres on line 79 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for <P><A on line 81 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 82 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 83 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 84 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 85 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 86 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 87 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <INPUT on line 88 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <P><INPUT on line 91 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </FORM> on line 93 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 94 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 95 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 96 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </div> on line 97 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Unknown directive <div on line 98 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </body> on line 99 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: Missing value for </html> on line 100 of /etc/cups/cupsd.conf. août 16 16:43:17 mageia.local cupsd[10438]: No valid Listen or Port lines were found in the configuration file. août 16 16:43:17 mageia.local systemd[1]: cups.service: Failed with result 'protocol'. août 16 16:43:17 mageia.local systemd[1]: Failed to start CUPS Scheduler. Broadcast message from systemd-journald@mageia.local (Sun 2020-08-16 16:43:17 CEST): cupsd[10446]: No valid Listen or Port lines were found in the configuration file. --------------------------------------------------------------------------------------- Seems that system-config-printer change cupsd.conf file into an HTML file!
Version: 6 => CauldronPriority: Normal => HighSource RPM: cups-2.2.6.1-1.mga6 => system-config-printer-1.5.12-3.mga8.src.rpmStatus: NEW => ASSIGNEDCC: (none) => ouaurelienSummary: changing setting to preserve job files blanks out 99% of cupsd.conf => [system-config-printer] Changing setting to preserve job files transform cupsd.conf file into an HTML file not parse-able by cupsTarget Milestone: --- => Mageia 8
Hi, This is High priority bug for a good reason. Making Mageia even better than ever is best direction. In order to do right thing, this bug should be examined and fixed as soon as possible. Packagers, please make the status to Assigned when you are working on this. Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it. On October 1st 2020, we will drop priority to normal.