Merge branch 'release2' into release2-secfixes

This commit is contained in:
Marek Marczykowski-Górecki 2015-01-18 18:06:43 +01:00
commit d22673533f
3 changed files with 16 additions and 10 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
qubes-core-agent (2.1.49) jessie; urgency=medium
* fedora: Fix iptables config install script
-- Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Thu, 15 Jan 2015 03:50:13 +0100
qubes-core-agent (2.1.48) jessie; urgency=medium
[ Jason Mehring ]

View File

@ -221,6 +221,15 @@ for ip in '127\.0\.0\.1' '::1'; do
fi
done
# Copy ip(|6)tables into place if they do not already exist in filesystem.
# This prevents conflict with iptables-service
if [ ! -f '/etc/sysconfig/iptables' ]; then
cp -p /usr/lib/qubes/init/iptables /etc/sysconfig/iptables
fi
if [ ! -f '/etc/sysconfig/ip6tables' ]; then
cp -p /usr/lib/qubes/init/ip6tables /etc/sysconfig/ip6tables
fi
if [ "$1" != 1 ] ; then
# do the rest of %post thing only when updating for the first time...
exit 0
@ -257,15 +266,6 @@ mkdir -p /rw
#mv /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.orig
#grep -v HWADDR /etc/sysconfig/network-scripts/ifcfg-eth0.orig > /etc/sysconfig/network-scripts/ifcfg-eth0
# Copy ip(|6)tables into place if they do not already exist in filesystem.
# This prevents conflict with iptables-service
if [ ! -f '/etc/sysconfig/iptables' ]; then
cp -p /usr/lib/qubes/init/iptables /etc/sysconfig/iptables
fi
if [ ! -f '/etc/sysconfig/ip6tables' ]; then
cp -p /usr/lib/qubes/init/ip6tables /etc/sysconfig/ip6tables
fi
%triggerin -- notification-daemon
# Enable autostart of notification-daemon when installed
if [ ! -e /etc/xdg/autostart/notification-daemon.desktop ]; then

View File

@ -1 +1 @@
2.1.48
2.1.49