Comment 7 for bug 122359

Revision history for this message
Matteo Z (matteozandi) wrote :

> but none the less this errer could be fixed for others which also have a possibly non standard file

yes, that's what we want :)

I just wanted to see if there were some particular unhandled cases, do you have 4 spaces before 'DISABLED_MODULES=""'?

load_lrmc_disabled() should behave live sh, since /etc/default/linux-restricted-modules-common is sourced by a sh script. If we use your patch, we won't behave like sh and, in fact, r-m will be confused by those spaces.

If you have something like ' DISABLED_MODULES="fglrx" (4 spaces before DIS..), Restricted-manager will think that no modules are disabled altough fglrx is.

We should clear spaces at the beginning of the "DIS.." line.