severity 289008 wishlist
thanks

I have discovered that this was a case of user error: I also had
an "install" declaration for the module in question.

If one has, e.g.:

    alias allah god
    options allah omnipotent=yes
    install god modprobe --ignore-install god ; update-deities

and then does:

    modprobe allah

then modprobe converts this as follows:

    modprobe allah
    modprobe allah omnipotent=yes                  # add options
    modprobe god omnipotent=yes                    # apply alias
    modprobe --ignore-install god ; update-deities # apply "install"

The "omnipotent=yes" option string simply gets dropped.

On the other hand, if one has:

    alias allah god
    options god omnipotent=yes
    install god modprobe --ignore-install god ; update-deities

and then does:

    modprobe allah

then modprobe converts this as follows:

    modprobe allah
    modprobe god                                   # apply alias
    modprobe --ignore-install god ; update-deities # apply "install"
    modprobe god omnipotent=yes ; update-deities   # add options

This bug report can be considered a wish that in an "install" script
there be some way of inserting the module options -- e.g., using 
sh style variable names '$1', '$2', '$*':

    install god modprobe --ignore-install god $* ; start-devil


-- 
Thomas
Hood



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to