Bug#712559: Logrotate do not restart cups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Do den 20. Jun 2013 um 17:16 schrieb Didier 'OdyX' Raboud: Le jeudi, 20 juin 2013 12.35:44, Klaus Ethgen a écrit : ~ dpkg -l logrotate ii logrotate 3.8.3-5 amd64 Log rotation utility And they seems to change the pre- and post- stuff in version 3.8.3-4. Maybe that was a wrong change. Can you try with logrotate from Jessie then? I'm leaning towards thinking it's not a bug in cups; no evidence in that direction has been demonstrated so far. I did downgrade to logrotate version 3.8.3-3 and the bug is gone. So please feel free to reassign the bug to logrotate. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen kl...@ethgen.de Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAEBCgAGBQJRzEJ7AAoJEKZ8CrGAGfasOpAL/iWa7URWvhxD6CEGEiJb56rr 2NGJ5VknLw2Y8n/PrlYUnJ3STby7wIW2LhBgfhMSed/KFxwiqs2wN1ozGcXIv3OP 9DBtdmjab/zRpNb/I+l+BQ6XkKvKcVD4DMEXwfIPBiGLdAl2atSK7u/fCqtCL486 18IPvQIq62nPFctWYw+wHruGXwWjoLAWdRLeZDy1XsAkd9IoOwo/x4N0LNb2yyar in4K7UtvZQCHz0L00hheyGMdUG/DTDryOh3F8k4+NF1RxCyxksTpohAcGslk9baq 5QOAf+YlQ/Ibw7o3pE0C1lU7o9muj19WBQvpR1SJxVuvtKYoa5gPR2fxh/qcbpmN FOwo5yZLD0i9nelr7d3ITMm6F/UHt9rpe5dPGu/s1H8uBhgm7e18+/65QjKHO44Y FeHgDq+KM1+By+jKkKjOBR2SAt5p4+8tTT4VfbdctgeG0wAqyj589iwqO97mSxGI VoSeurI8MOzBWC8bTV4XsRNwsaONFroJrvfLtv2JBQ== =SGVw -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
Control: reassign -1 logrotate 3.8.5-1 Paul; this bug is apparently caused by logrotate 3.8.5-1, please see the #712559 buglog for details. Le jeudi, 27 juin 2013 15.47:41, Klaus Ethgen a écrit : Hi, Am Do den 20. Jun 2013 um 17:16 schrieb Didier 'OdyX' Raboud: Le jeudi, 20 juin 2013 12.35:44, Klaus Ethgen a écrit : ~ dpkg -l logrotate ii logrotate 3.8.3-5 amd64 Log rotation utility And they seems to change the pre- and post- stuff in version 3.8.3-4. Maybe that was a wrong change. Can you try with logrotate from Jessie then? I'm leaning towards thinking it's not a bug in cups; no evidence in that direction has been demonstrated so far. I did downgrade to logrotate version 3.8.3-3 and the bug is gone. So please feel free to reassign the bug to logrotate. Hereby doing so; thanks for your investigation. Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
Control: retitle -1 logrotate: sharedscripts not executed for cups Control: affects -1 cups Control: severity -1 important Control: found -1 3.8.3-4 On Thu, Jun 27, 2013 at 06:22:35PM +0200, Didier 'OdyX' Raboud wrote: Paul; this bug is apparently caused by logrotate 3.8.5-1, please see the #712559 buglog for details. I did downgrade to logrotate version 3.8.3-3 and the bug is gone. So please feel free to reassign the bug to logrotate. Hereby doing so; thanks for your investigation. My guess is it's part of the sharedscripts logic. Upstream changed it in 3.8.4 (which I backported to 3.8.3-4), so the previous fix (sharedscripts-519432.patch) no longer seemed as though it was needed. -- Paul Martin p...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, Am Mo den 17. Jun 2013 um 13:51 schrieb Didier 'OdyX' Raboud: Oh, The bug 660852 is still open in bugtracker. I just closed it after further investigation: it is fixed in 1.5.3 by upstream. Seen it. I can confirm, that that two bugs are closed now. But this bug (712559) still exists after upgrading to the current version in sid. ~ lsof -n G cups ... cupsd 22975 root4u REG 0,230 3385 /var/log/cups/access_log cupsd 22975 root5u REG 0,23 830 5304 /var/log/cups/error_log.1 (deleted) cupsd 22975 root6u REG 0,230 5305 /var/log/cups/page_log ... Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen kl...@ethgen.de Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAEBCgAGBQJRwscOAAoJEKZ8CrGAGfas3ZQL/ivqJG6kyKDGQp50lS9Joiot ovsJsOlPLmnTv7HMfzGAVotXE9yv6TE1DjTGu2Xn8taUUsgfHNgVdB+hM+bf2zLm M7Z6jTv2FpIee+Ix/TJy9MyYh7pP1jQeDNBT6z8XoRKb8B9341tooSPgMeku70x8 zCHvu+/3cdputXsVVcy39Vcg+s3ikmCjQi5eDmWNomD+P1t73QLLJIHK+RmR9Tzw nroYZwlbgBzVovqmHrWzZ2v1uDILN6h0fUpTljiIBm6xM5iwPAFynShYxpxdzMIg ny87k6vYUm1grZ54KVH+tNbJAEU06xgkntEQKnSphXo2firjNt0d2qYXlsP9sUNu bJVJdvlGPltsJjjXBn0NFKk6cQDl/kXE2xAV0wwwrO9zRt3nvh6q/i+G1bFr532p RGFoD7UlS4FbQRW7PLDToDlUKU1BoHgrICIXy1XPHeVEbnzCR56JTOAjY0lHwk3r oVDcSutssU8B3bT9xuKZK1r9HmbbYbLA6tqVYNeRKg== =Ikb2 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
Hi again Klaus, Le jeudi, 20 juin 2013 11.10:39, Klaus Ethgen a écrit : Seen it. I can confirm, that that two bugs are closed now. But this bug (712559) still exists after upgrading to the current version in sid. ~ lsof -n G cups This command spits an error here; what is the exact command that you are running to test for this bug ? Also, note that the logrotate script is now /etc/logrotate.d/cups-daemon and that it properly stops the daemon, rotates the logs, and starts the daemon. I don't really see what is failing on your side. Did you maybe change the cups and/or logrotate configuration? In what way? And what breaks again? Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Do den 20. Jun 2013 um 11:19 schrieb Didier 'OdyX' Raboud: ~ lsof -n G cups This command spits an error here; what is the exact command that you are running to test for this bug ? Oh, I was not aware that there is still persons around not using zsh. :-) alias -g G='| grep' Also, note that the logrotate script is now /etc/logrotate.d/cups-daemon and that it properly stops the daemon, rotates the logs, and starts the daemon. I saw it. But it doesn't seems to stop the daemon propeprly. I don't really see what is failing on your side. Did you maybe change the cups and/or logrotate configuration? In what way? And what breaks again? ~ md5sum /etc/logrotate.d/cups-daemon /etc/init.d/cups 3e1344f49a9c579af422f903c69a2776 /etc/logrotate.d/cups-daemon d379ac04035381af726151dd7a578350 /etc/init.d/cups So, no, this is the original from the package. ~ dpkg -l \*cups\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersionArchitecture Description +++-===-==-==- ii cups1.6.2-9amd64 Common UNIX Printing System(tm) - server ii cups-bsd1.6.2-9amd64 Common UNIX Printing System(tm) - BSD commands ii cups-client 1.6.2-9amd64 Common UNIX Printing System(tm) - client programs (SysV) ii cups-common 1.6.2-9all Common UNIX Printing System(tm) - common files ii cups-daemon 1.6.2-9amd64 Common UNIX Printing System(tm) - daemon ii cups-filters1.0.34-3 amd64 OpenPrinting CUPS Filters ii cups-ppdc 1.6.2-9amd64 Common UNIX Printing System(tm) - PPD manipulation utilities ii cups-server-common 1.6.2-9all Common UNIX Printing System(tm) - server common files ii ghostscript-cups9.05~dfsg-6.3 amd64 interpreter for the PostScript language and for PDF - CUPS filters ii libcups2:amd64 1.6.2-9amd64 Common UNIX Printing System(tm) - Core library ii libcups2-dev1.6.2-9amd64 Common UNIX Printing System(tm) - Development files CUPS library ii libcupscgi1:amd64 1.6.2-9amd64 Common UNIX Printing System(tm) - CGI library ii libcupsfilters-dev 1.0.34-3 amd64 OpenPrinting CUPS Filters - Development files for the library ii libcupsfilters1:amd64 1.0.34-3 amd64 OpenPrinting CUPS Filters - Shared library ii libcupsimage2:amd64 1.6.2-9amd64 Common UNIX Printing System(tm) - Raster image library ii libcupsimage2-dev 1.6.2-9amd64 Common UNIX Printing System(tm) - Development files CUPS image library ii libcupsmime1:amd64 1.6.2-9amd64 Common UNIX Printing System(tm) - MIME library ii libcupsppdc1:amd64 1.6.2-9amd64 Common UNIX Printing System(tm) - PPD manipulation library And: ~ mount G /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) So, it is also not running into the old bug of logrotate when /tmp is mounted with noexec. But maybe there was a change in logrotate recently, I don't know. -- Checked, yes, there was. ~ dpkg -l logrotate Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersionArchitecture Description +++-===-==-==- ii logrotate 3.8.3-5amd64 Log rotation utility And they seems to change the pre- and post- stuff in version 3.8.3-4. Maybe that was a wrong change. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen kl...@ethgen.de Fingerprint: 85D4
Bug#712559: Logrotate do not restart cups
Hi again, Le jeudi, 20 juin 2013 12.35:44, Klaus Ethgen a écrit : ~ dpkg -l logrotate ii logrotate 3.8.3-5 amd64 Log rotation utility And they seems to change the pre- and post- stuff in version 3.8.3-4. Maybe that was a wrong change. Can you try with logrotate from Jessie then? I'm leaning towards thinking it's not a bug in cups; no evidence in that direction has been demonstrated so far. Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Package: cups Version: 1.5.0-16 Severity: normal Since some days cups fails to restart when the log gets rotated. So the daemon is logging to deleted files. I'm not sure if this is a bug of cups but only cups is affected, all other systems get restarted without problems. I did some tests with the postrotate section and found out that if I redirect the output of 'invoke-rc.d --quiet cups force-reload' to mail everything worked well. If I don't, it will not run properly. That different behaviour makes it difficult to debug. However, as you can see, I did not update for a long time now due to bug 638521 (that was closed without getting noticed by me) and 660852 that really stops me from using newer versions. - -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (800, 'unstable'), (600, 'oldstable'), (110, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.4 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE) Shell: /bin/sh linked to /bin/dash Versions of packages cups depends on: ii adduser3.113+nmu3 ii bc 1.06.95-8 pn cups-clientnone pn cups-commonnone ii cups-filters 1.0.34-3 pn cups-ppdc none ii debconf [debconf-2.0] 1.5.50 ii ghostscript9.05~dfsg-6.3 ii libavahi-client3 0.6.31-2 ii libavahi-common3 0.6.31-2 ii libc6 2.17-5 pn libcups2 none pn libcupscgi1none pn libcupsimage2 none pn libcupsmime1 none pn libcupsppdc1 none ii libdbus-1-31.6.12-1 ii libgcc11:4.8.1-3 ii libgnutls262.12.23-5 ii libgssapi-krb5-2 1.10.1+dfsg-6 ii libkrb5-3 1.10.1+dfsg-6 ii libldap-2.4-2 2.4.31-1+nmu2 ii libpam0g 1.1.3-9 ii libpaper1 1.1.24+nmu2 ii libslp11.2.1-9 ii libstdc++6 4.8.1-3 ii libusb-1.0-0 2:1.0.15-1 pn lsb-base none ii poppler-utils 0.18.4-6 ii procps 1:3.3.8-2 ii ssl-cert 1.0.32 Versions of packages cups recommends: pn avahi-daemonnone pn colord none pn cups-driver-gutenprint none ii foomatic-filters4.0.17-1 ii ghostscript-cups9.05~dfsg-6.3 Versions of packages cups suggests: pn cups-bsd none pn cups-pdf none ii foomatic-db 20130609-1 pn hplipnone pn smbclientnone ii udev 175-7.2 - -- Configuration Files: /etc/cups/cupsd.conf changed: LogLevel warn MaxLogSize 0 SystemGroup lpadmin Listen localhost:631 Listen /var/run/cups/cups.sock DefaultAuthType Basic WebInterface Yes Location / Order allow,deny /Location Location /admin Order allow,deny /Location Location /admin/conf AuthType Default Require user @SYSTEM Order allow,deny /Location Policy default # Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default # Job-related operations must be done by the owner or an administrator... Limit Create-Job Print-Job Print-URI Validate-Job Order deny,allow /Limit Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document Require user @OWNER @SYSTEM Order deny,allow /Limit # All administration operations require an administrator to authenticate... Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices AuthType Default Require user @SYSTEM Order deny,allow /Limit # All printer operations require a printer operator to authenticate... Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs AuthType Default Require user @SYSTEM Order deny,allow /Limit # Only the owner or an administrator can cancel or authenticate a job... Limit Cancel-Job CUPS-Authenticate-Job Require user @OWNER @SYSTEM Order deny,allow /Limit Limit All Order deny,allow /Limit /Policy Policy authenticated # Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default # Job-related operations must be done by the owner or an administrator... Limit Create-Job Print-Job
Bug#712559: Logrotate do not restart cups
Control: tags -1 +moreinfo Hi Klaus, Le lundi, 17 juin 2013 09.43:39, vous avez écrit : Package: cups Version: 1.5.0-16 Severity: normal You run an ancient version of cups, and a curious mix of cups dependencies (cups-filters from unstable, not all cups dependencies installed, etc). Since some days cups fails to restart when the log gets rotated. So the daemon is logging to deleted files. (…) I did some tests with the postrotate section and found out that if I redirect the output of 'invoke-rc.d --quiet cups force-reload' to mail everything worked well. If I don't, it will not run properly. That different behaviour makes it difficult to debug. What output do you get in said mail? However, as you can see, I did not update for a long time now due to bug 638521 (that was closed without getting noticed by me) and 660852 that really stops me from using newer versions. These two bugs are fixed in Wheezy; please test cups 1.5.3-5 from Wheezy, including its dependencies; I wouldn't be surprised if some things would be fixed for you, including this. In any case, I will not fix bugs for versions not in the Debian suites, so please really make sure to reproduce your bug with a cups version as shipped in a Debian suite. Cheers, OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Mo den 17. Jun 2013 um 9:06 schrieb Didier 'OdyX' Raboud: You run an ancient version of cups, I know. Unfortunately I had to stay on this version until the bugs below get fixed. and a curious mix of cups dependencies (cups-filters from unstable, True. On this system I use sid. But only the broken packages are on hold. not all cups dependencies installed, etc). Well, everything that the packages depending on is installed. If there are dependencies that are not mention in the package, I cannot know about it. Since some days cups fails to restart when the log gets rotated. So the daemon is logging to deleted files. (???) I did some tests with the postrotate section and found out that if I redirect the output of 'invoke-rc.d --quiet cups force-reload' to mail everything worked well. If I don't, it will not run properly. That different behaviour makes it difficult to debug. What output do you get in said mail? Well, I do not have the mails anymore but it was the normal reload message as when I reload cups on the command line. However, as you can see, I did not update for a long time now due to bug 638521 (that was closed without getting noticed by me) and 660852 that really stops me from using newer versions. These two bugs are fixed in Wheezy; Oh, The bug 660852 is still open in bugtracker. please test cups 1.5.3-5 from Wheezy, including its dependencies; I wouldn't be surprised if some things would be fixed for you, including this. I'll try if the mentioned bugs are really solved. In any case, I will not fix bugs for versions not in the Debian suites, I can understand this. But the versions I use was part of debian suites. And it was the only working one for long time now. so please really make sure to reproduce your bug with a cups version as shipped in a Debian suite. Regards Klaus - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen kl...@ethgen.de Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAEBCgAGBQJRvt7sAAoJEKZ8CrGAGfassGoL/1xLPeZbhUvbvdxsiwZJ+QBg r+M6aTijug87eRybQyF/HRtCFZX+DfmIWKPWFhcwEifJDQXsUQ/ieF2950LMQGX2 Z2WD40Stoo++5KfF8GWCB367/44hWQQN5801DQNO5dmBErEGkmpCYrrfXFMJFSq6 t3LIUENOdmDYKJBIHIT8GBACNQvoWEhpEwVBgVMYWLmqQrUg0xASYX5jW+aJACCw rKsz5xPr2UWvgEiDGNFAUsZDax0Cifmi4lKyd+tH+f0pz3jDlaPTnZFi/kFYq6b0 R4Fih8CN/84N8mM7lEDhwIGLMueo78Mh8vUS9wyP/futG4+nsrvzzrswA+JhT58a 3xiD6L9vMvKUp0c1OQZ5N1BGyONleXawiKNIB3QTDqQhSIqTQFytw9mLPeT6eemE BmtS9rhYOPDjmEkLPjTFG3p1I/XLlPv5f+0Rug4SSbrPJ5ZyhCXlczm0AMhIsaSr UMmZISSdQbdSZUzdERu7ZSDFRfMGOmySGuQLQ3JHuQ== =YmEm -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#712559: Logrotate do not restart cups
Le lundi, 17 juin 2013 12.03:25, Klaus Ethgen a écrit : However, as you can see, I did not update for a long time now due to bug 638521 (that was closed without getting noticed by me) and 660852 that really stops me from using newer versions. These two bugs are fixed in Wheezy; Oh, The bug 660852 is still open in bugtracker. I just closed it after further investigation: it is fixed in 1.5.3 by upstream. OdyX -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org