jetty init file has bad rotatelogs location

Bug #1596032 reported by Tom
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jetty (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

when restarting jetty service:

/etc/init.d/jetty: 274: /etc/init.d/jetty: /usr/sbin/rotatelogs: not found

changing line 201 from sbin to bin resolves issue

$ apt-cache show jetty
Section: universe/web
Version: 6.1.26-1ubuntu1.1
$ uname -v
#69~14.04.1-Ubuntu SMP Thu Jun 9 09:09:13 UTC 2016

Tags: patch trusty
Revision history for this message
Tom (m0t) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "jetty-trusty-rotatelogs.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jetty (Ubuntu):
status: New → Confirmed
Revision history for this message
Rarylson Freitas (rarylson) wrote :

Reported also here in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719875

I think this is already fixed in Debian.

I fixed it in my servers the same way: changing /usr/sbin to /usr/bin.

Revision history for this message
Rarylson Freitas (rarylson) wrote :

In Debian: Fixed in version jetty/6.1.26-3

Revision history for this message
Rarylson Freitas (rarylson) wrote :

The bug is fixed also in Ubuntu 16.04. So, basically, it's only necessary a backport.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.