[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) = Thomas Ward (teward)

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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, in which
+ weekly cron warnings get triggered.  With the fix, these weekly cron
+ warnings for log rotation should not be triggered.
+ 
+ [Regression Potential]
+ 
+  * This change is an upstream change that appears to have been present
+ in the repositories in Debian and even further upstream for some time
+ without regressions.
+ 
+  * Regression potential is minimal, if only in cases where the pid gets
+ lost, and other issues crop up.
+ 
+ [Other Info]
+  
+  * This bug is referred to by the MIR bug for php5-fpm (#1267255)
+ 
+ [Original Description]
+ 
  Getting weekly cron warning emails during logrotation after php5-fpm
  package switched to upstart in Saucy.
  
  root@ops:~# lsb_release -rd
  Description:  Ubuntu Saucy Salamander (development branch)
  Release:  13.10
  
  root@ops:~# apt-cache policy php5-fpm
  php5-fpm:
-   Installed: 5.5.3+dfsg-1ubuntu1
-   Candidate: 5.5.3+dfsg-1ubuntu1
-   Version table:
-  *** 5.5.3+dfsg-1ubuntu1 0
- 500 http://uk.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
- 100 /var/lib/dpkg/status
+   Installed: 5.5.3+dfsg-1ubuntu1
+   Candidate: 5.5.3+dfsg-1ubuntu1
+   Version table:
+  *** 5.5.3+dfsg-1ubuntu1 0
+ 500 http://uk.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
+ 100 /var/lib/dpkg/status
  
- root@ops:~# cat /etc/logrotate.d/php5-fpm 
+ root@ops:~# cat /etc/logrotate.d/php5-fpm
  /var/log/php5-fpm.log {
-   rotate 12
-   weekly
-   missingok
-   notifempty
-   compress
-   delaycompress
-   postrotate
-   invoke-rc.d php5-fpm reopen-logs  /dev/null
-   endscript
+  rotate 12
+  weekly
+  missingok
+  notifempty
+  compress
+  delaycompress
+  postrotate
+   invoke-rc.d php5-fpm reopen-logs  /dev/null
+  endscript
  }
  
- root@ops:~# dpkg -S /etc/logrotate.d/php5-fpm 
+ root@ops:~# dpkg -S /etc/logrotate.d/php5-fpm
  php5-fpm: /etc/logrotate.d/php5-fpm
  
  root@ops:~# invoke-rc.d php5-fpm reopen-logs
  initctl: invalid command: reopen-logs
  Try `initctl --help' for more information.
  invoke-rc.d: initscript php5-fpm, action reopen-logs failed.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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
   
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+attachment/4311269/+files/php5-fpm-fix-logrotate-LP1230917.debdiff

** Changed in: php5 (Ubuntu Trusty)
   Status: In Progress = Triaged

** Changed in: php5 (Ubuntu Trusty)
 Assignee: Thomas Ward (teward) = (unassigned)

** Summary changed:

- php5-fpm logrotate errors after package switched to upstart
+ [SRU] php5-fpm logrotate errors after package switched to upstart

-- 
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:
  [SRU] php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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
1267255). If somebody prepares an SRU and is prepared drive to the fix
through though, I would be happy to review and sponsor. See
https://wiki.ubuntu.com/StableReleaseUpdates#Procedure which explains
what to do.

** Changed in: php5 (Ubuntu)
   Status: Confirmed = Fix Released

** Also affects: php5 (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: php5 (Ubuntu Trusty)
   Status: New = Triaged

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 @ondrej said in comment #5 it works for
me.

3) The reload action in upstart script is also commented out on 5.5.9
+dfsg-1ubuntu4.4; if it is uncommented everything is good to go.

4) Everybody, save yourself and don't hold your breath for official
update. Note that this bug is still Unassigned, which means no Ubuntu
dev is paying attention.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 Ubuntu.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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: /etc/cron.daily/logrotate exited with return code 1

Will try Ondřej's modifications.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 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

Now then my question is why not access the init.d script (apparently
still included) via the services command or directly?  I noted at least
one other service that does the same.

For now I replaced invoke-rc.d with service and I guess I'll find out in
a week or so how it goes.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 in Ubuntu.
https://bugs.launchpad.net/bugs/1230917

Title:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 actions and things like reload (which I see is commented
out currently)

That's unrelated to this though.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 accident.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 '
run-parts: /etc/cron.daily/logrotate exited with return code 1


Description:Ubuntu Trusty Tahr (development branch)
Release:14.04

php5-fpm:
  Installerad: 5.5.9+dfsg-1ubuntu1
  Kandidat:5.5.9+dfsg-1ubuntu1
  Versionstabell:
 *** 5.5.9+dfsg-1ubuntu1 0
500 http://se.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 --fpm-config /etc/php5/fpm/php-fpm.conf
-PIDFILE=/var/run/php5-fpm.pid
+PIDFILE=/run/php5-fpm.pid
 TIMEOUT=30
 SCRIPTNAME=/etc/init.d/$NAME
 
diff --git a/debian/php5-fpm.logrotate b/debian/php5-fpm.logrotate
index 328193e..f794c60 100644
--- a/debian/php5-fpm.logrotate
+++ b/debian/php5-fpm.logrotate
@@ -6,6 +6,6 @@
compress
delaycompress
postrotate
-   invoke-rc.d php5-fpm reopen-logs  /dev/null
+   kill -USR1 $(cat /run/php5-fpm.pid)  /dev/null
endscript
 }

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 http://ubuntu.intergenia.de/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
orion1864:~# cat /etc/logrotate.d/php5-fpm
/var/log/php5-fpm.log {
rotate 12
weekly
missingok
notifempty
compress
delaycompress
postrotate
invoke-rc.d php5-fpm reopen-logs  /dev/null
endscript
}
orion1864:~# dpkg -S /etc/logrotate.d/php5-fpm
php5-fpm: /etc/logrotate.d/php5-fpm
orion1864:~# invoke-rc.d php5-fpm reopen-logs
initctl: invalid command: reopen-logs
Try `initctl --help' for more information.
invoke-rc.d: initscript php5-fpm, action reopen-logs failed.

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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:
  php5-fpm logrotate errors after package switched to upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs