nova-objectstore logrotate script uses 'dpkg-vendor'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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
/var/
daily
missingok
postrotate
if dpkg-vendor --derives-from ubuntu ; then
else
fi
endscript
}
Related bugs:
- LP#781716 Post install check assumes dpkg-vendor
System information:
- DISTRIB_
- nova-objectstore 2011.3-0ubuntu6.3
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
This should already be fixed in the archive.