]> git.pld-linux.org Git - packages/glibc.git/commitdiff
restart httpd on glibc upgrade auto/th/glibc-2.22-8
authorElan Ruusamäe <glen@delfi.ee>
Mon, 12 Oct 2015 07:03:58 +0000 (10:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 12 Oct 2015 07:04:47 +0000 (10:04 +0300)
otherwise httpd will die on next logrotate with:

Syntax error on line 70 of /etc/httpd/apache.conf:
Syntax error on line 1 of /etc/httpd/conf.d/70_mod_php.conf:
Cannot load modules/libphp5.so into server: /lib/libresolv.so.2:
symbol __h_errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

glibc.spec

index 36a2d7b25263060bb905c6e5dc8d411e226b00d9..369a72297485f762309b67c2ec8f54245f40729e 100644 (file)
@@ -41,7 +41,7 @@ Summary(tr.UTF-8):    GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       7
+Release:       8
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
@@ -1309,6 +1309,11 @@ if [ "$1" != 1 ]; then
        %service -q crond restart
 fi
 
+%triggerin -- apache-base
+if [ "$1" != 1 ]; then
+       %service -q httpd restart
+fi
+
 %ifarch %{x8664}
 # when upgrading from glibc < 6:2.19-3 copy locale-archive
 # from /usr/lib64/locale to /usr/lib/locale
This page took 0.284456 seconds and 4 git commands to generate.