Jump to content
scoonma

chattr / lsattr with ReiserFS?

Recommended Posts

Hi there,

 

I need to protect /etc/inittab from being overwritten permanently on MDV 2007.1; however the FS is Reiser and chattr doesn't work here. I found this posting http://ubuntuforums.org/showthread.php?t=575307 which indicates some bug. Any updates possible? I *could* patch my kernel, but rather like to circumvent this.

 

Please let me know your thoughts on this,

 

Scoonma

 

 

[moved from Software by spinynorman]

Share this post


Link to post
Share on other sites

May be start somewhere else -- why protect inittab? Figure out what is changing it, kill it and be done with it. Tackle the problem at its root rather than deal with the side effects. AFAIK inittab is only changed when you indicate whether or not to start in level 5 (X) -- XFDrake and possibly boot section of MCC.

Share this post


Link to post
Share on other sites

Hi Pindakoe,

 

you're right - but I always start that system at runlevel 3. Don't know what process is resetting inittab everytime. I guess some part of the security system is responsible, but haven't dug deep into that yet. So I'd be glad for any hint...

Share this post


Link to post
Share on other sites

Could be selinux if it's enabled.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...