[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-02-03 Thread Thomas Ward
Ill prep an SRU and a debdiff for this fix, if only because one of my servers is impacted. ** Changed in: php5 (Ubuntu Trusty) Status: Triaged = In Progress ** Changed in: php5 (Ubuntu Trusty) Importance: Undecided = High ** Changed in: php5 (Ubuntu Trusty) Assignee: (unassigned)

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-02-03 Thread Thomas Ward
** Description changed: + [Impact] + + * After the switch to Upstart in Saucy, php5-fpm log rotation began to + break. It was reported that individuals were getting weekly cron + warning emails during logrotation. + + [Test Case] + + * This test case happens with automatic rotation of logs,

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-02-03 Thread Thomas Ward
Debdiff for Trusty (based off of comment #5 from Ondrej) Test build uploaded to https://launchpad.net/~teward/+archive/ubuntu /sru-builds/+packages ** Patch added: Trusty Debdiff for this issue

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-02-03 Thread Robie Basak
Presumed fixed in Vivid, so marking Fix Released, but from reading the comments it sounds like this still affects 14.04 so I'll leave a bug task for Trusty open. php5-fpm is in universe in Ubuntu, so is community maintained and not currently looked after by Canonical's server team (see also bug

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-02-02 Thread Jaime Alberto Silva
This is solved on 14.10 but still on 14.04! weird. Is there some ppa or repo where I can get a newer version of php-fpm to get this fixed on servers? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-01-25 Thread Donny Kurnia
Solution #5 works. What took maintenance team time anyway? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after package switched to upstart

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-01-14 Thread Gregoire Pineau
We have experienced this issue too. He had to do some black magic with monit to fix this behavior -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-01-14 Thread Ondřej Surý
Gosh, why monit blackmagic when there's a simple fix in #5 (https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/comments/5)? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2015-01-11 Thread Y
I agree, this should be fixed asap! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after package switched to upstart To manage notifications

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-11-16 Thread Ivan Kurnosov
Guys, seriously - Importance: high, trivial fix and no attention from maintainers? It discredits both ubuntu and the maintainers team. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-11-11 Thread Fjodor
A bit over a year since the original report, fix is offered in the comments. What is keeping the responsible devs from fixing or explaining not fixing it? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-10-11 Thread Michael Heuberger
Having this issue here too. So, been reading through your comments but what now? Will a bugfix come out soon? If not, what's the recommended, temporary, workaround?? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-09-22 Thread Abel Cheung
1) /run or /var/run is a non-issue: Ubuntu (at least until Trusty) should have a /var/run symlink pointing to /run. So it's the same using either /var/run/php5-fpm.pid or /run/php5-fpm.pid. 2) Logrotate script is not updated even on 5.5.9+dfsg-1ubuntu4.4; if the logrotate script is updated as

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-09-12 Thread Chris J Arges
** Changed in: php5 (Ubuntu) Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after package switched to upstart To

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-08-26 Thread Justin Yu
Change /var/log/php5-fpm.log from invoke-rc.d php5-fpm reopen-logs /dev/null to invoke-rc.d php5-fpm reload-configuration /dev/null Then add reload-configuration) on the top of reopen-logs) on /etc/init/php5-fpm reload-configuration) reopen-logs) -- You received this bug

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-07-17 Thread Mikhail Emelchenkov
It's not OK to have broken package for so long time, please fix it finally. I receive Cron mails every week from my servers... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-07-17 Thread Ondřej Surý
@voidburn Could you try kill -USR2 $(cat /var/run/php-fpm.pid) instead? I am not sure where the pid file is located in Ubuntu (it would be best to read the value from /etc/php5/fpm/php-fpm.conf)... -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-07-17 Thread Ondřej Surý
Or even better: kill -USR2 $(cat $( /etc/php5/fpm/php-fpm.conf sed -ne 's/^pid = \(.*\)/\1/p')) Just make sure the pid = is not commented out in /etc/phpt/fpm/php- fpm.conf... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-06-10 Thread Vermut
Maybe it's possible to add special upstart service to upstart for logrotate tasks? Like start php5-fpm-rotate-logs -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title:

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-05-18 Thread Luca Vignaroli
With Ondřej's changes: /etc/cron.daily/logrotate: logrotate_script: line 1: kill: (3205) - No such process error: error running non-shared postrotate script for /var/log/php5-fpm.log of '/var/log/php5-fpm.log ' run-parts: /etc/cron.daily/logrotate exited with return code 1 -- You received this

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-05-12 Thread Luca Vignaroli
@Robert I can tell you now: it still loses the pid! /etc/cron.daily/logrotate: reload: Unknown instance: invoke-rc.d: initscript php5-fpm, action reload failed. error: error running non-shared postrotate script for /var/log/php5-fpm.log of '/var/log/php5-fpm.log ' run-parts:

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-04-28 Thread Robert Pendell
Trusty 14.04 is out and the current php5-fpm package still has this issue as reported in my cron job task. /etc/cron.daily/logrotate: initctl: invalid command: reopen-logs Try `initctl --help' for more information. invoke-rc.d: initscript php5-fpm, action reopen-logs failed. error: error running

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-04-27 Thread Luca Vignaroli
Running php5-fpm 5.5.9+dfsg-1ubuntu4 on a 14.04 LTS on OVH servers and this bug is there, manually switched to reload. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title:

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-03-23 Thread Holger Mauermann
When will the fix be rolled out? I got some updates to PHP since ondrej proposed a fix in comment 6, but this bug still exists. There are only 3 weeks until the Trusty LTS release... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-03-04 Thread Ondřej Surý
php5-5.4 from php5-oldstable doesn't have an upstart script, so this bug is not there. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-03-04 Thread Michael Shadle
yeah, woops. I did apt-add-repository ppa:ondrej/php5-oldstable, but apparently it redirects to ondrej/php5 without me realizing it. I do appreciate the new upstart style approach to the init script, that was a great change. I was concerned converting initscripts to upstart would lose custom

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-03-03 Thread Michael Shadle
will this be backported to php5-oldstable as well? I'm running saucy, which means php5-oldstable is PHP 5.5.3 currently. there is no PHP 5.4 from dotdeb. I am a little hesitant to change to just php5 instead of php5-oldstable as I don't want to inherit PHP 5.6/something else in the future on

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-03-02 Thread Tommy Berglund
Still exists! /etc/cron.daily/logrotate: initctl: invalid command: reopen-logs Try `initctl --help' for more information. invoke-rc.d: initscript php5-fpm, action reopen-logs failed. error: error running non-shared postrotate script for /var/log/php5-fpm.log of '/var/log/php5-fpm.log '

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-02-13 Thread Mike
Also exists in 13.10- Package info is: PHP 5.5.3-1ubuntu2.1 (fpm-fcgi) (built: Dec 12 2013 04:24:43) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-02-13 Thread Ondřej Surý
This should help: $ git diff HEAD~2 diff --git a/debian/php5-fpm.init b/debian/php5-fpm.init index b8b2fb3..13485ce 100644 --- a/debian/php5-fpm.init +++ b/debian/php5-fpm.init @@ -16,7 +16,7 @@ DESC=PHP5 FastCGI Process Manager NAME=php5-fpm DAEMON=/usr/sbin/$NAME DAEMON_ARGS=--daemonize

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2014-02-13 Thread Ondřej Surý
And this fix will be included in 5.5.9+dfsg-2 (and when Ubuntu people merge it to their own copies of src:php5). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2013-11-18 Thread Harry
orion1864:~# lsb_release -rd Description:Ubuntu Trusty Tahr (development branch) Release:14.04 orion1864:~# apt-cache policy php5-fpm php5-fpm: Installed: 5.5.3+dfsg-1ubuntu3 Candidate: 5.5.3+dfsg-1ubuntu3 Version table: *** 5.5.3+dfsg-1ubuntu3 0 500

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2013-10-27 Thread Raoul Bhatia
Is there any way to quickly address this problem by myself? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after package switched to upstart

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2013-10-27 Thread Ondřej Surý
Just change the reopen-logs in /etc/logrotate.d/php5-fpm to reload (or restart). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: php5-fpm logrotate errors after package

[Bug 1230917] Re: php5-fpm logrotate errors after package switched to upstart

2013-09-27 Thread Yolanda Robla
** Changed in: php5 (Ubuntu) Status: New = Confirmed ** Changed in: php5 (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1230917 Title: