LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-08-2009, 05:45 AM   #1
CompiMan
Member
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian 5
Posts: 31

Rep: Reputation: 15
Lightbulb Selinux enforced and ntfs-3g problem


Hi all Linux users!

I installed Debian 5 (Lenny) on my laptop and I have configured it and all was perfect. All what I want to do I could BUT a friend suggested to install selinux and now come troubles.

I use kernel version 2.6.26-1-686, all standard packages from Debian stable repository. I have installed selinux after description in this site: http://doc.coker.com.au/computers/in...inux-on-lenny/
My fstab look like:
Code:
# <file system> <mount point>  <type>     <options>       <dump>  <pass>
      proc      /proc         proc        defaults          0       0
  /dev/hda3     /             ext3    rrors=remount-ro      0       1
  /dev/hda4     none          swap           sw             0       0
  /dev/hdc      /media/cdrom0 udf,iso9660  user,noauto      0       0
  /dev/hda2     /mnt/programs ntfs-3g   defaults,auto,user  0       0
  /dev/hda1     /mnt/system   ntfs-3g defaults,auto,user,ro 0       0
Since I have installed SELinux I can't mount automatic at boot my ntfs partitioner. I specify that I use selinux in enforced mode. If it is in permissive or disable all is perfect again.

BUT when I use it enforced every time I boot my computer says something like:
- /etc/fuse can't be created (permission denied) please run "modprobe fuse" as root
- after come the error ntfs-3g failed to mount.

After the system start and I run the command "modprobe fuse" I can mount manually my HDDs, but my question is ....need to do all this work manual, there is nothing that can be done to do it automatic as it was without selinux?

Any suggestions or ideas are welcome.

Thanks,
FGC
 
Old 04-08-2009, 10:37 AM   #2
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
Quote:
Originally Posted by CompiMan View Post
/etc/fuse can't be created (permission denied)
/etc would be an odd place to create the fuse device. Maybe you meant "/dev/fuse"? And how is fuse loaded? Is it listed in modprobe.conf? Else would adding the modprobe command to /etc/(rc.d/)rc.local help? Else please try to find modprobe-related or other errors Selinux errors in your syslog or audit log if you run the audit daemon. If these errors can't be corrected by other means then adding them to a local Selinux policy would be easy to do.
 
Old 04-08-2009, 02:46 PM   #3
CompiMan
Member
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian 5
Posts: 31

Original Poster
Rep: Reputation: 15
Thumbs up I will wait wth selinux...

Hi !

YES it is right it was /dev/fuse and was a lot of permission denied when I checked my dmesg output.
Anyway I choose to reinstall all from the beginning without SELINUX of course and now everything is JUST FINE.
I will wait with selinux until better developed and MAYBE....but just MAYBE I will try it again... maybe just on my virtual machine....

Thanks for your help.
Cristian
 
Old 04-16-2009, 10:11 AM   #4
*******
Member
 
Registered: Feb 2009
Posts: 63

Rep: Reputation: 16
Quote:
Originally Posted by CompiMan View Post
I will wait with selinux until better developed
So basically you're back to square one. Bummer. Selinux provides protection on top of things. Even though you might have had problems with it it isn't that hard to get used to (note your probs never got fixed so you can't experience how well it'll work). Most problems can be fixed. And by testing things you can help make Selinux better too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SElinux problem palvit Linux - Networking 5 05-03-2008 02:48 PM
SELinux problem gttommy Linux - Security 3 01-16-2006 07:25 PM
SELinux problem stormtracknole Fedora 1 11-12-2005 09:25 AM
FC3 SELinux problem richard.reyes Linux - Software 0 08-02-2005 12:21 PM
SELinux problem... casttellum Linux - Security 1 03-07-2005 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration