Bug#602328: libapache2-mod-shib2: apache should be restarted on install/upgrade

Ferenc Wagner wferi at niif.hu
Mon Nov 22 21:24:41 UTC 2010


Russ Allbery <rra at debian.org> writes:

> Ferenc Wagner <wferi at niif.hu> writes:
>
>> Btw. I wonder how if [ -f /etc/apache2/mods-enabled/shib.load ] could
>> have possibly worked, ever.  Hasn't a2enmod always used symlinks instead
>> of real files under mods-enabled?
>
> -f will chase the symlink and see whether the link points to a real file.

Now I think I probably asked this before...  Of course you're right.

>> I was also overwhelmed last week, but now I pushed something simple,
>> please have a look.
>
> The version number should still be -3 with both changes, but otherwise
> that looks fine to me.  Although I think that -f is mildly better than -L,
> since if it were a dangling symlink, I think Apache would just ignore it.

I pushed some fixes for the above.  Meanwhile I also tested the previous
version, and it seemed to work as expected.
-- 
Thanks,
Feri.





More information about the Pkg-shibboleth-devel mailing list