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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs