Bug #3864
closed
The logrotate file of Debian and Ubuntu is duplicated since the name from the packaging is wrong
Added by Nicolas PERRON over 11 years ago.
Updated over 9 years ago.
Description
The logrotate file of Rudder is duplicated on Debian and Ubuntu:
root@server:~# ls -lh /etc/logrotate.d/rudder*
-rw------- 1 root root 1.1K Aug 19 15:06 /etc/logrotate.d/rudder
-rw-r--r-- 1 root root 1.1K Jul 31 17:38 /etc/logrotate.d/rudder-server-root
root@server:~# dpkg -L rudder-server-root | grep logrotate
/etc/logrotate.d
/etc/logrotate.d/rudder-server-root
- Status changed from New to Pending technical review
- Assignee changed from Nicolas PERRON to Matthieu CERDA
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/102
- Status changed from Pending technical review to Pending release
Applied in changeset commit:b8f796aaf280da18a1a7380094c13118674c51a8.
Applied in changeset commit:1f13ca718712b386eba9ab55616ddf4d4a1ecbcb.
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.4.8, which was released today.
Check out:
And it's there again.. \0/
# lsb_release -d
Description: Ubuntu 12.04.3 LTS
# dpkg -l | grep rudder-server-root
ii rudder-server-root 2.6.5-precise0 Configuration management and audit tool - root server base package
# ls -lh /etc/logrotate.d/rudder*
-rw------- 1 root root 1.6K Sep 9 10:05 /etc/logrotate.d/rudder
-rw-r--r-- 1 root root 1.6K Sep 6 19:22 /etc/logrotate.d/rudder-server-root
# dpkg -L rudder-server-root | grep logrotate
/etc/logrotate.d
/etc/logrotate.d/rudder-server-root
- Status changed from Released to Discussion
Hmm...I suppose this is caused by the conffiles:
$ cat rudder-server-root/debian/conffiles
/opt/rudder/etc/rudder-passwords.conf
/etc/logrotate.d/rudder-server-root
The code has not fixed the issue and had added a new one: /etc/init.d/rudder-server-root is no more installed:
$ dpkg-deb --contents rudder-server-root_2.4.7-squeeze0_all.deb | grep "init.d"
drwxr-xr-x root/root 0 2013-07-29 22:50 ./etc/init.d/
-rwxr-xr-x root/root 1776 2013-07-29 22:49 ./etc/init.d/rudder-server-root
$ dpkg-deb --contents rudder-server-root_2.4.8-squeeze0_all.deb | grep "init.d"
It should be reverted
- Status changed from Discussion to Pending technical review
Nicolas PERRON wrote:
I've opened two bugs for it: #3980 and #3981
These bugs have been fixed. Reclosing this issue.
- Status changed from Pending technical review to Released
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF