RHN updates and protected /bin files -- what happens?

This is a discussion on RHN updates and protected /bin files -- what happens? within the Linux General forums, part of the Linux Forums category; I protected my various /bin directories against cockroaches with chattr -iu on the files, but now I'm wondering what ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-13-2003
Dan DeLion
 
Posts: n/a
Default RHN updates and protected /bin files -- what happens?

I protected my various /bin directories against cockroaches with chattr -iu
on the files, but now I'm wondering what kind of side effects this may cause
with the RHN (Redhat Network) automatic updates/patches. Will some of these
updates fail, or cause a partial-install mess, or will RHN deal with it
gracefully?



Reply With Quote
  #2 (permalink)  
Old 09-13-2003
John Reiser
 
Posts: n/a
Default Re: RHN updates and protected /bin files -- what happens?

> I protected my various /bin directories against cockroaches with chattr -iu
> on the files, but now I'm wondering what kind of side effects this may cause
> with the RHN (Redhat Network) automatic updates/patches. Will some of these
> updates fail,


Yes.

> or cause a partial-install mess,


Yes.

> or will RHN deal with it gracefully?


No.

It happened to me "by accident", and rpm refuses to deal with chattr.
See http://bugzilla.redhat.com/bugzilla/...g.cgi?id=66511

Reply With Quote
  #3 (permalink)  
Old 09-13-2003
Michael W. Cocke
 
Posts: n/a
Default Re: RHN updates and protected /bin files -- what happens?

On Fri, 12 Sep 2003 21:39:59 -0700, John Reiser <jreiser@BitWagon.com>
wrote:

> > I protected my various /bin directories against cockroaches with chattr -iu
> > on the files, but now I'm wondering what kind of side effects this may cause
> > with the RHN (Redhat Network) automatic updates/patches. Will some of these
> > updates fail,

>
>Yes.
>
> > or cause a partial-install mess,

>
>Yes.
>
> > or will RHN deal with it gracefully?

>
>No.
>
>It happened to me "by accident", and rpm refuses to deal with chattr.
>See http://bugzilla.redhat.com/bugzilla/...g.cgi?id=66511



I suggest tripwire - it's a major pain to set up, but works fine for
letting you know what, if any, files have changed.

Mike-

Mornings: Evolution in action. Only the grumpy will survive.
-----------------------------------------------------

Please note - Due to the intense volume of spam, we have
installed site-wide spam filters at catherders.com. If
email from you bounces, try non-HTML, non-encoded,
non-attachments.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply With Quote
  #4 (permalink)  
Old 09-13-2003
Dan DeLion
 
Posts: n/a
Default Re: RHN updates and protected /bin files -- what happens?

Using chattr -i helps prevent some attacks while tripwire only warns after
something happens.




"Michael W. Cocke" <cocke@catherders.com> wrote in message
news:pf16mvkapp01n4fl5tdvq1in2plm5nmf4n@4ax.com...
> On Fri, 12 Sep 2003 21:39:59 -0700, John Reiser <jreiser@BitWagon.com>
> wrote:
>
> > > I protected my various /bin directories against cockroaches with

chattr -iu
> > > on the files, but now I'm wondering what kind of side effects this may

cause
> > > with the RHN (Redhat Network) automatic updates/patches. Will some of

these
> > > updates fail,

> >
> >Yes.
> >
> > > or cause a partial-install mess,

> >
> >Yes.
> >
> > > or will RHN deal with it gracefully?

> >
> >No.
> >
> >It happened to me "by accident", and rpm refuses to deal with chattr.
> >See http://bugzilla.redhat.com/bugzilla/...g.cgi?id=66511

>
>
> I suggest tripwire - it's a major pain to set up, but works fine for
> letting you know what, if any, files have changed.
>
> Mike-
>
> Mornings: Evolution in action. Only the grumpy will survive.
> -----------------------------------------------------
>
> Please note - Due to the intense volume of spam, we have
> installed site-wide spam filters at catherders.com. If
> email from you bounces, try non-HTML, non-encoded,
> non-attachments.
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000

Newsgroups
> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---


Reply With Quote
  #5 (permalink)  
Old 09-13-2003
Dan DeLion
 
Posts: n/a
Default Re: RHN updates and protected /bin files -- what happens?

That's a serious bug in RHN.

I wonder what would the best way to perform the updates in this case?

Perhaps set up a cron script to chattr -iu and then run up2date -u, then put
the chattr back?



"John Reiser" <jreiser@BitWagon.com> wrote in message
news:3F629F9F.1090806@BitWagon.com...
> > I protected my various /bin directories against cockroaches with

chattr -iu
> > on the files, but now I'm wondering what kind of side effects this may

cause
> > with the RHN (Redhat Network) automatic updates/patches. Will some of

these
> > updates fail,

>
> Yes.
>
> > or cause a partial-install mess,

>
> Yes.
>
> > or will RHN deal with it gracefully?

>
> No.
>
> It happened to me "by accident", and rpm refuses to deal with chattr.
> See http://bugzilla.redhat.com/bugzilla/...g.cgi?id=66511
>



Reply With Quote
  #6 (permalink)  
Old 09-13-2003
Rich Piotrowski
 
Posts: n/a
Default Re: RHN updates and protected /bin files -- what happens?

On Sat, 13 Sep 2003 19:42:01 GMT, "Dan DeLion"
<noemail@northpole.nowhere> wrote:

******** top posting corrected **********

>"John Reiser" <jreiser@BitWagon.com> wrote in message
>news:3F629F9F.1090806@BitWagon.com...
>> > I protected my various /bin directories against cockroaches with

>chattr -iu
>> > on the files, but now I'm wondering what kind of side effects this may

>cause
>> > with the RHN (Redhat Network) automatic updates/patches. Will some of

>these
>> > updates fail,

>>
>> Yes.
>>
>> > or cause a partial-install mess,

>>
>> Yes.
>>
>> > or will RHN deal with it gracefully?

>>
>> No.
>>
>> It happened to me "by accident", and rpm refuses to deal with chattr.
>> See http://bugzilla.redhat.com/bugzilla/...g.cgi?id=66511
>>

>
>That's a serious bug in RHN.
>
>I wonder what would the best way to perform the updates in this case?
>
>Perhaps set up a cron script to chattr -iu and then run up2date -u, then put
>the chattr back?
>


Why is that a bug? You make the files immutable then complain when
they can't be overwritten?


Rich Piotrowski

To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0