Mailinglist Archive: opensuse-bugs (15113 mails)

< Previous Next >
[Bug 308121] New: do not run swapoff -a in yast install scripts
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 6 Sep 2007 03:53:32 -0600 (MDT)
  • Message-id: <bug-308121-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=308121

           Summary: do not run swapoff -a in yast install scripts
           Product: openSUSE 10.3
           Version: Beta 3
          Platform: PowerPC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Installation
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: olh@xxxxxxxxxx
         QAContact: jsrain@xxxxxxxxxx
          Found By: ---


yast does a swapoff -a in the inst-sys.
It does not make much sense to "release" a swap partition, because its not a
filesystem. It can be reused right away after reboot.
All the logfiles go into tmpfs (and into swap if the system is low on memory).
Doing a swapoff means everything has to fit into memory, which will likely lead
to a OOM kill and an unclean shutdown.

It may make sense to parse /proc/swaps and release only (manually added) swap
files to allow clean umount of mounted filesystems.

there are no y2logs for this bug.
svngrep -wn swapoff in the toplevel y2 repository will show all culprits.


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

< Previous Next >