Bug 14814 - logrotate fails to rotate any logs when file with space encountered
Summary: logrotate fails to rotate any logs when file with space encountered
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: logrotate
Version: 6.2
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Erik Troan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-28 17:39 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-07-28 17:39:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-07-28 17:39:05 UTC
When the file /var/lib/logrotate.status contains a file name with a space
in it,
logrotate quits with an error.
example:
     /var/log/samba/log.virtual pc 2000-7-14

The filename was actually "/var/log/samba/log.virtual pc". The only reason
this came
up for me is that someone on a mac named their virtual pc "virtual pc" and
then
samba picked it up with it's logs.

--bruce
bmilner

Comment 1 Erik Troan 2000-07-28 17:55:33 UTC
Fixed in logrotate 3.4 in rawhide.


Note You need to log in before you can comment on or make changes to this bug.