[systemd-bugs] [Bug 81361] New: If swap is enabled in fstab and the admin has run swapoff, swap gets automatically remounted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 14 13:13:34 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81361

          Priority: medium
            Bug ID: 81361
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: If swap is enabled in fstab and the admin has run
                    swapoff, swap gets automatically remounted
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: jhernberg at alchemy.lu
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 102799
  --> https://bugs.freedesktop.org/attachment.cgi?id=102799&action=edit
systemd debug log to show what happens

If swap gets enabled in fstab, and consequently gets unmounted by the admin
using swapoff, at some unspecified future point in time it will be remounted by
systemd.

Steps to reproduce:
1. Boot with swap enabled in /etc/fstab
2. Run swapoff -all
3. Run swapon --show (to verify that swap is disabled)
4. Run systemctl daemon-reload
5. Run swapon --show (to show that swap got enabled)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140714/bb74e8d6/attachment.html>


More information about the systemd-bugs mailing list