swapfile is not automatically enabled

Daniel J Walsh dwalsh at redhat.com
Tue Mar 14 16:46:44 UTC 2006


Dawid Gajownik wrote:
> Dnia 03/14/2006 05:17 PM, Użytkownik Daniel J Walsh napisał:
>
>> No the question was whether your swap file is working?  Is it mounted? 
>
> Sorry that I did not understand your previous question. As I wrote in 
> my first e-mail, swapfile is automatically mounted if I boot in 
> permissive mode. In enforcing one I have to do it manually:
>
> [root at X policy]# swapon -s
> Filename                                Type            Size    Used 
> Priority
> /dev/hda7                               partition       538136  
> 0       -1
> [root at X policy]# swapon -a
> [root at X policy]# swapon -s
> Filename                                Type            Size    Used 
> Priority
> /dev/hda7                               partition       538136  
> 0       -1
> /var/swapfile                           file            126052  
> 0       -2
> [root at X policy]#
>
Try 
ftp://people.redhat.com/dwalsh/SELinux/FC4/selinux-policy-targeted-1.27.1-2.26.noarch.rpm 
<ftp://people.redhat.com/dwalsh/SELinux/FC4/selinux-policy-targeted-1.27.1-2.26.noarch.rpm> 






More information about the selinux mailing list