Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binfmt_misc?-nevermind
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sat Jun 07, 2008 3:09 pm    Post subject: binfmt_misc?-nevermind Reply with quote

I noticed today the my nfs filesystems weren't mounted today on ibm_left. I checked what was mounted and found this:

binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

It isn't in my fstab, so how does it get there and does it belong there? This isn't a sign of getting hacked, is it?
_________________
Greg


Last edited by trigggl on Sat Jun 07, 2008 10:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 07, 2008 3:20 pm    Post subject: Reply with quote

Hopefully this will tell you a bit more.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sat Jun 07, 2008 3:28 pm    Post subject: Reply with quote

nixnut wrote:
Hopefully this will tell you a bit more.


I saw that, but is it supposed to be there because I didn't explicitly mount it and it's not in my fstab?
_________________
Greg
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Sun Jun 08, 2008 9:26 am    Post subject: Reply with quote

if you have support for it in your kernel, gentoos init scripts automatically do this for you. In case you are using openrc :

/etc/init.d/procfs wrote:
if [ -d /proc/sys/fs/binfmt_misc ] && ! mountinfo -q /proc/sys/fs/binfmt_misc; then
if grep -qs binfmt_misc /proc/filesystems; then
mount -t binfmt_misc -o nodev,noexec,nosuid \
binfmt_misc /proc/sys/fs/binfmt_misc


cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sun Jun 08, 2008 2:11 pm    Post subject: Reply with quote

Thanks for the info.
_________________
Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum