Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

While navigating through my files, I noticed a "selinux" folder in root (/); it doesn't have any files in it, has completely root(root) permissions, and when I looked up about it, it seems to be some sort of server administration program or something.

It also appears to have become unattended since Karmic, and is apparently completely broken in Precise. Just to make sure, I ran sudo apt-get remove selinux in the terminal, and sure enough, it said I had no such program installed.

Can I delete this folder? Is there anything else I should remove/purge?

Lastly, any ideas as to how this folder might have got here? I never installed selinux on my computer, as far as I can remember...

Edit: I also just noticed another folder called "srv". It, as well, has no files in it and is owned by root. Is this folder related to the "selinux" folder, and can I delete it as well?

  • Running Xubuntu 12.10
share|improve this question

1 Answer 1

up vote 1 down vote accepted

As for the /srv folder, it is listed in the Filesystem Hierarchy Standard as a data folder for system services.

There's a bug report from libselinux on Kubuntu a few years ago outlining the same basic question. It appears that the 2.0.65-5build1 version of libselinux1 was (incorrectly) creating /selinux - maybe you have this build, or a similar unpatched one, installed?

share|improve this answer
    
Synaptic says I have v2.1.9-5ubuntu1 installed, which it also says is the latest. –  DaimyoKirby Jan 3 '13 at 3:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.