Re: 2.6.35.4: sudo rmmod ahci @ 2.6.35.4 succeeds: filesystem access errors follow

Alejandro Riveira Fernández
2010-09-07T18:37:13Z

El Tue, 7 Sep 2010 18:34:27 +0100
Pedro Francisco <pedrogfrancisco@gmail.com> escribió:

> sudo rmmod ahci @ 2.6.35.4 succeeds: filesystem access errors follow.
>
> Now what I'm surprised is not the filesystem errors but me being allowed to
> remove the module without using the '-f' option.
>
> Do note, lsmod |grep ahci reports something like [this is adapted from a
> 2.6.32 kernel]:
>
> ahci 32200 0
>
> so it isn't at all surprising I'm being allowed to remove a seemingly unused
> module. So....
> a) is this supposed to happen?

Yes afaics. root can do many stupid things if (s)he wants
including « rm -rf --no-preserve-root / »

> b) do you need any more info?
>
> P.S.: CC'ing me will probably ensure I'll reply faster but not explicitly
> needed since I'm subscribed.