[Bug 400402] New: cron CLEAR_TMP_DIRS_AT_BOOTUP=/ tmp deleting information still valid
https://bugzilla.novell.com/show_bug.cgi?id=400402 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c400298 Summary: cron CLEAR_TMP_DIRS_AT_BOOTUP=/tmp deleting information still valid Product: openSUSE 11.0 Version: RC 1 Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@gmail.com QAContact: qa@suse.de Found By: Beta-Customer +++ This bug was initially created as a clone of Bug #400298 +++ As far as I am concerned, the intention of CLEAR_TMP_DIRS_AT_BOOTUP=/tmp is to boot with a clean slate. As Bug 400298 demonstrates, the cleaning out of /tmp occurs _after_ /tmp is being used by applications just starting up, thus removing information still valid. So either the cleaning will have to occur _before_ anything gets written to /tmp on boot or else on shutting down. cron-4.1-171 -- 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=400402 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c1 --- Comment #1 from Casual J. Programmer <casualprogrammer@gmail.com> 2008-06-15 06:35:07 MDT --- Created an attachment (id=222181) --> (https://bugzilla.novell.com/attachment.cgi?id=222181) output from bootchart The picture shows how late in the boot process cron is started, so cron is probably not the best choice for deleting contents of /tmp on boot. -- 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=400402 Robert Vojcik <rvojcik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rvojcik@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mkoenig@novell.com -- 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=400402 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c2 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Matthias Koenig <mkoenig@novell.com> 2008-07-30 04:39:08 MDT --- While CLEAR_TMP_DIRS_AT_BOOTUP is defined in /etc/sysconfig/cron it is not evaluated by cron scripts. Instead it is used by boot.cleanup which runs much earlier in the boot process. So this isn't an issue. One could discuss of course if /etc/sysconfig/cron is the right place for this parameter or if it should be moved to some other place, but currently I don't know of a better place. -- 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=400402 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c3 Casual J. Programmer <casualprogrammer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Casual J. Programmer <casualprogrammer@gmail.com> 2008-07-30 05:05:59 MDT --- I don't think it really matters just which script cleans out /tmp, as comment #0 points out, there are instances where /tmp is already in use after boot _before_ it gets deleted. So, as far as I am concerned, this needs fixing. -- 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=400402 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c4 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |casualprogrammer@gmail.com --- Comment #4 from Matthias Koenig <mkoenig@novell.com> 2008-07-30 05:10:08 MDT --- So which instance you are talking about then? -- 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=400402 User casualprogrammer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c5 Casual J. Programmer <casualprogrammer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|casualprogrammer@gmail.com | --- Comment #5 from Casual J. Programmer <casualprogrammer@gmail.com> 2008-07-30 05:36:59 MDT --- It's all pointed out in detail in Bug #400298 as mentioned in comment #0 as well. -- 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=400402 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c6 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mkoenig@novell.com |coolo@novell.com Status|REOPENED |NEW --- Comment #6 from Matthias Koenig <mkoenig@novell.com> 2008-07-30 06:38:15 MDT --- Yeah, of course, bootchart is running even before /sbin/init. Means it is running before the actual sysvinit boot process begins. If you want to keep things from this stage you really shouldn't clean your /tmp. Or maybe you can instruct bootchart to write to some other place. Reassigning to bootchart maintainer. -- 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=400402 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400402#c7 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Stephan Kulow <coolo@novell.com> 2008-08-01 04:01:18 MDT --- Any directory can be in CLEAR_TMP_DIRS_AT_BOOTUP, so any other place would be as good as /tmp. I added a README.SUSE: #> cat README.SUSE README specific to SUSE installations ===================================== Bootchartd mounts a tmpfs below /tmp, so make sure you don't clear this at boot time, otherwise you will have invalid data. Especially check the setting of CLEAR_TMP_DIRS_AT_BOOTUP in sysconfig/cron -- 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