[Bug 749299] Review Request: lcgdm-dav - HTTP/DAV frontend to the DPM/LFC services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=749299

--- Comment #12 from Steve Traylen <steve.traylen@xxxxxxx> 2011-12-07 14:41:12 EST ---
You asked about the scripts:

%preun server
if [ $1 -eq 0 ] ; then
        /sbin/service httpd stop > /dev/null 2>&1
fi

%postun server
if [ $1 -ge 1 ]; then
        /sbin/service httpd condrestart > /dev/null 2>&1 || :
fi


so definitely the server should not be stopped on removal since it may
well be doing another job as well.

In all cases a 

service httpd reload

is really what you want.

Finally you load modules that are already loaded which results in an
ugly warning at start up.

# service httpd start
Starting httpd: [Wed Dec 07 20:39:10 2011] [warn] module dav_module is already
loaded, skipping
[Wed Dec 07 20:39:10 2011] [warn] module dav_fs_module is already loaded,
skipping
[Wed Dec 07 20:39:10 2011] [warn] module deflate_module is already loaded,
skipping
[Wed Dec 07 20:39:10 2011] [warn] module expires_module is already loaded,
skipping
[Wed Dec 07 20:39:10 2011] [warn] module ssl_module is already loaded, skipping
[Wed Dec 07 20:39:10 2011] [warn] module gridsite_module is already loaded,
skipping

I appreciate you may need to do some ordering here in /etc/httpd/conf.d by
renaming. It's also possible to conditionally load modules that are not loaded.

Steve.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]