libvirt-daemon-1.1.1-29.el7 > H
H t x H F Ssso
?*}} ^q$hy{](P Bh-_TE"?hiI3MM9cb8da8eb66b2b0a44db31722ec9e68f2f0c9eae }ʓ;]
3JF Ssso
?*}}Di Rl֮1xg -ЮN֣N݀E GYeo * > A K ? K d Z % 6 > O e y
@ @
@
@ @ @
@ @ X @ @ .P ( / 8 / 9 2( : V = 5 > 5 ? 5 @ 5 G 5 @ H 6 @ I 7 @ X 8 Y 8 \ 88 @ ] 98 @ ^ <5 b > d ?( e ?- f ?0 l ?2 t ?L @ u @L @ v AL
w E @ x F @ y G K C libvirt-daemon 1.1.1 29.el7 Server side daemon and supporting files for libvirt library Server side daemon required to manage the virtualization capabilities
of recent versions of Linux. Requires a hypervisor specific sub-RPM
for specific drivers. Sd\vsl7.fnal.gov *aScientific Linux Scientific Linux LGPLv2+ Scientific Linux Development/Libraries http://libvirt.org/ linux x86_64 # We want soft static allocation of well-known ids, as disk images
# are commonly shared across NFS mounts by id rather than name; see
# https://fedoraproject.org/wiki/Packaging:UsersAndGroups
getent group kvm >/dev/null || groupadd -f -g 36 -r kvm
getent group qemu >/dev/null || groupadd -f -g 107 -r qemu
if ! getent passwd qemu >/dev/null; then
if ! getent passwd 107 >/dev/null; then
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin -c "qemu user" qemu
else
useradd -r -g qemu -G kvm -d / -s /sbin/nologin -c "qemu user" qemu
fi
fi
exit 0
# All newly defined networks will have a mac address for the bridge
# auto-generated, but networks already existing at the time of upgrade
# will not. We need to go through all the network configs, look for
# those that don't have a mac address, and add one.
network_files=$( (cd /var/lib/libvirt/network && \
grep -L "mac address" *.xml; \
cd /etc/libvirt/qemu/networks && \
grep -L "mac address" *.xml) 2>/dev/null \
| sort -u)
for file in $network_files
do
# each file exists in either the config or state directory (or both) and
# does not have a mac address specified in either. We add the same mac
# address to both files (or just one, if the other isn't there)
mac4=`printf '%X' $(($RANDOM % 256))`
mac5=`printf '%X' $(($RANDOM % 256))`
mac6=`printf '%X' $(($RANDOM % 256))`
for dir in /var/lib/libvirt/network \
/etc/libvirt/qemu/networks
do
if test -f $dir/$file
then
sed -i.orig -e \
"s|\(|" \
$dir/$file
if test $? != 0
then
echo "failed to add " \
"to $dir/$file"
mv -f $dir/$file.orig $dir/$file
else
rm -f $dir/$file.orig
fi
fi
done
done
if [ $1 -eq 1 ] ; then
# Initial installation
/usr/bin/systemctl preset libvirtd.service >/dev/null 2>&1 || :
fi
if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
/usr/bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
/usr/bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
fi
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
/usr/bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
fi 4 z > 7 ] &