Project

General

Profile

Actions

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 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
3
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #3981: Package rudder-server-root still install /etc/init.d/logrotate.d/rudder-server-root on Debian/Ubuntu (affects Rudder 2.4.8, 2.6.4, 2.6.5, 2.7.1 and 2.7.2)ReleasedJonathan CLARKE2013-10-01Actions
Related to Rudder - Bug #3980: /etc/init.d/rudder-server-root is no more installed on Debian/Ubuntu (affects Rudder 2.4.8, 2.6.4, 2.6.5, 2.7.1 and 2.7.2 )ReleasedJonathan CLARKE2013-10-01Actions
Actions #1

Updated by Nicolas PERRON over 10 years ago

  • 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

Pull Request URL added: https://github.com/Normation/rudder-packages/pull/102

Matthieu could you review it please ?

Actions #2

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:b8f796aaf280da18a1a7380094c13118674c51a8.

Actions #3

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset commit:1f13ca718712b386eba9ab55616ddf4d4a1ecbcb.

Actions #4

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.4.8, which was released today.
Check out:

Actions #5

Updated by Dennis Cabooter over 10 years ago

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
Actions #6

Updated by Nicolas PERRON over 10 years ago

  • 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

Actions #7

Updated by Nicolas PERRON over 10 years ago

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

Actions #8

Updated by Nicolas PERRON over 10 years ago

I've opened two bugs for it: #3980 and #3981

Actions #9

Updated by Jonathan CLARKE over 10 years ago

  • 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.

Actions #10

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Released
Actions #11

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF