[Bug 913739] [NEW] nova-objectstore logrotate script uses 'dpkg-vendor'
Andrew Glen-Young
913739 at bugs.launchpad.net
Mon Jan 9 12:02:16 UTC 2012
Public bug reported:
nova-objectstore's logrotate script uses 'dpkg-vendor' to try determine
how to restart nova-objectstore. This requires 'dpkg-dev' to be
installed which is not desirable.
The script really should use /etc/lsb-release.
Current logrotate script (/etc/logrotate.d/nova-objectstore):
/var/log/nova/nova-objectstore.log {
daily
missingok
postrotate
if dpkg-vendor --derives-from ubuntu ; then
restart nova-objectstore
else
invoke-rc.d nova-objectstore restart 2>&1 >/dev/null
fi
endscript
}
Related bugs:
- LP#781716 Post install check assumes dpkg-vendor
System information:
- DISTRIB_DESCRIPTION="Ubuntu 11.10"
- nova-objectstore 2011.3-0ubuntu6.3
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/913739
Title:
nova-objectstore logrotate script uses 'dpkg-vendor'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/913739/+subscriptions
More information about the Ubuntu-server-bugs
mailing list