[Bug 280493] New: logfiles not owned by any package
https://bugzilla.novell.com/show_bug.cgi?id=280493 Summary: logfiles not owned by any package Product: openSUSE 10.3 Version: Alpha 4plus Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: lrupp@novell.com ReportedBy: lrupp@novell.com QAContact: qa@suse.de We've currently many packages which produce logfiles but didn't own them. Some results: - security scanners inform users about file not owned by a package - some Logfiles differ from the name of the package, so the user has no chance to "guess" which package produces the logfile - possible of unknown file conflicts when a logfile is used by different packages - ... If no one insists, we should use the %ghost directive for this. To avoid deletion of the logfile if the RPM is deinstalled, it must be enhanced with the %config(noreplace,missingok) option. Example for the specfile: %install [...] %{__install} -d -m755 %buildroot%_var/log touch %buildroot%_var/log/<logfilename> [...] %files %ghost %config(noreplace,missingok) %_var/log/<logfilename> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |280462, 280463, 280464, 280465, 280466, 280467, | |280469, 280470, 280474, 280475 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280465, which changed state. Bug 280465 Summary: file /var/log/Xorg.0.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280465 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280469, which changed state. Bug 280469 Summary: file /var/log/acpid is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280469 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |280502 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |280503 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |280506 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |280507 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280462, which changed state. Bug 280462 Summary: file /var/log/SaX.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280462 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 ------- Comment #1 from kssingvo@novell.com 2007-06-04 10:12 MST ------- "rpm -qc <<package>>" will report files as config files then. As a result, backup scripts (and scripts collecting config files for distribution upgrade) will then save the large logfiles too. Can we enhance rpm and introduce new filetype "%logfile(...)" please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280466, which changed state. Bug 280466 Summary: file /var/log/YaST2/zypper.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280466 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com Status|NEW |NEEDINFO Info Provider| |mls@novell.com ------- Comment #2 from lrupp@novell.com 2007-06-04 10:22 MST ------- (In reply to comment #1)
"rpm -qc <<package>>" will report files as config files then.
As a result, backup scripts (and scripts collecting config files for distribution upgrade) will then save the large logfiles too.
Can we enhance rpm and introduce new filetype "%logfile(...)" please?
Adding Michael as RPM Maintainer. Michael, what do you think about this enhancement? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280507, which changed state. Bug 280507 Summary: file /var/log/ntp is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280507 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Status|NEEDINFO |NEW Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@novell.com Status|NEEDINFO |NEW Info Provider|mls@novell.com | ------- Comment #3 from mls@novell.com 2007-06-05 07:34 MST ------- Do *not* mark logfiles as config files! It's perfectly fine when the logfile is deleted when the package gets removed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mls@novell.com ------- Comment #4 from kssingvo@novell.com 2007-06-05 08:35 MST ------- Package cups contains logfile /var/log/cups/page_log. This file contains the accounting information. I disagree that it is a good idea to remove this file in case of an package upgrade (installation/de-installation). What should be done here? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280493#c5
--- Comment #5 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280463, which changed state. Bug 280463 Summary: file /var/log/scpm is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280463 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280464, which changed state. Bug 280464 Summary: file /var/log/NetworkManager is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280464 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280503, which changed state. Bug 280503 Summary: files in /var/log/squid/* are not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280503 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280474, which changed state. Bug 280474 Summary: files /var/log/cups/*_log are not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280474 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280502, which changed state. Bug 280502 Summary: file /var/log/squidGuard/squidGuard.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280502 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493#c6
Lars Rupp
The bug is invalid: log files do not belong to a package but to the system on which the package is installed.
I think, this is a philosophic question. For me the logfile belongs to the package as applications from this package create the logfile. But as discussed in the dist meeting, I close this as invalid for 10.3 and hopefully come back with a %logfile tag (or a much better solution) for the next distribution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280470, which changed state. Bug 280470 Summary: file /var/log/evms-engine.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280470 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280467, which changed state. Bug 280467 Summary: file /var/log/YaST2/y2log_bootloader is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280467 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280475, which changed state. Bug 280475 Summary: file /var/log/pm-suspend.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280475 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280475, which changed state. Bug 280475 Summary: file /var/log/pm-suspend.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280475 What |Old Value |New Value ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=280493 Bug 280493 depends on bug 280475, which changed state. Bug 280475 Summary: file /var/log/pm-suspend.log is not owned by any package https://bugzilla.novell.com/show_bug.cgi?id=280475 What |Old Value |New Value ---------------------------------------------------------------------------- Status|REOPENED |NEW Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com