← Back to team overview

touch-packages team mailing list archive

[Bug 1356651] [NEW] Logrotate no longer supports symlinked configuration files not owned by root

 

Public bug reported:

We have been using logrotate 3.7.8 (as part of an Ubuntu 12 build) for a
long time. When we deploy our application, which has configuration files
owned by ubuntu user, we create a symlink from the logrotate
configuration directory (/etc/logrotate.d) to this configuration file,
which casues our log files to be correctly rotated.

With our new server build, Ubuntu 14 running logrotate 3.8.7, this
behaviour has now broken. Running logrotate with the -d flag reveals
why:

"Ignoring app-config-file because the file owner is wrong (should be
root)."

This appears to be a regression from the 3.7.x release stream of
logrotate ?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: logrotate 3.8.7-1ubuntu1
ProcVersionSignature: User Name 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Thu Aug 14 10:43:48 2014
Ec2AMI: ami-43128a79
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: ap-southeast-2a
Ec2InstanceType: m3.large
Ec2Kernel: aki-c362fff9
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: logrotate
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: logrotate (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to logrotate in Ubuntu.
https://bugs.launchpad.net/bugs/1356651

Title:
  Logrotate no longer supports symlinked configuration files not owned
  by root

Status in “logrotate” package in Ubuntu:
  New

Bug description:
  We have been using logrotate 3.7.8 (as part of an Ubuntu 12 build) for
  a long time. When we deploy our application, which has configuration
  files owned by ubuntu user, we create a symlink from the logrotate
  configuration directory (/etc/logrotate.d) to this configuration file,
  which casues our log files to be correctly rotated.

  With our new server build, Ubuntu 14 running logrotate 3.8.7, this
  behaviour has now broken. Running logrotate with the -d flag reveals
  why:

  "Ignoring app-config-file because the file owner is wrong (should be
  root)."

  This appears to be a regression from the 3.7.x release stream of
  logrotate ?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: logrotate 3.8.7-1ubuntu1
  ProcVersionSignature: User Name 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  Date: Thu Aug 14 10:43:48 2014
  Ec2AMI: ami-43128a79
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: ap-southeast-2a
  Ec2InstanceType: m3.large
  Ec2Kernel: aki-c362fff9
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_AU.UTF-8
   SHELL=/bin/bash
  SourcePackage: logrotate
  UpgradeStatus: No upgrade log present (probably fresh install)

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


Follow ups

References