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"
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+attachment/4311269/+files/php5-fpm-f
** 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,
I"ll 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: (unassigne
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
12
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230
Solution #5 works. What took maintenance team time anyway?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upstart
To manage notific
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after packa
I agree, this should be fixed asap!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upstart
To manage notifications about this bug g
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
p
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launch
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
** Changed in: php5 (Ubuntu)
Importance: Medium => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upstart
To manage notific
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 no
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
Bugs, which is subscribed to Ubuntu.
http
@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
Bugs, which is subsc
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm l
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate e
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
@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: /etc/cron.daily/lo
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
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate
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
Bugs, which is subscribed to Ubuntu.
http
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 action
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched t
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 ac
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 '
run-part
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate error
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 --
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after pack
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 http://ubuntu.interge
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upst
Is there any way to quickly address this problem by myself?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm logrotate errors after package switched to upstart
To manage notifi
** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1230917
Title:
php5-fpm lo
35 matches
Mail list logo