The Underscores Revolution: filenames
Get rid of underscores in filenames, use dashes instead. This is first part of cleanup in filenames. "qubes_rpc" still untouched - will be in separate commit.
This commit is contained in:
parent
c8e6ec3a7f
commit
ecc812f350
1
misc/qubes-trigger-sync-appmenus.action
Normal file
1
misc/qubes-trigger-sync-appmenus.action
Normal file
@ -0,0 +1 @@
|
|||||||
|
*:any:/usr/lib/qubes/qubes-trigger-sync-appmenus.sh
|
@ -1 +0,0 @@
|
|||||||
*:any:/usr/lib/qubes/qubes_trigger_sync_appmenus.sh
|
|
@ -1,10 +0,0 @@
|
|||||||
# Expose all USB devices (except block) via xenstore
|
|
||||||
|
|
||||||
# Handle only USB devices
|
|
||||||
SUBSYSTEM!="usb", GOTO="qubes_usb_end"
|
|
||||||
|
|
||||||
ACTION=="add", IMPORT{program}="/usr/lib/qubes/usb_add_change"
|
|
||||||
ACTION=="change", IMPORT{program}="/usr/lib/qubes/usb_add_change"
|
|
||||||
ACTION=="remove", RUN+="/usr/lib/qubes/usb_remove"
|
|
||||||
|
|
||||||
LABEL="qubes_usb_end"
|
|
@ -18,4 +18,4 @@ stop on runlevel [016]
|
|||||||
instance $DEV
|
instance $DEV
|
||||||
respawn
|
respawn
|
||||||
pre-start exec /sbin/securetty $DEV
|
pre-start exec /sbin/securetty $DEV
|
||||||
exec /sbin/agetty -l /sbin/qubes_serial_login /dev/$DEV $SPEED vt100-nav
|
exec /sbin/agetty -l /sbin/qubes-serial-login /dev/$DEV $SPEED vt100-nav
|
||||||
|
@ -10,11 +10,11 @@ ENV{MAJOR}=="202", GOTO="qubes_block_end"
|
|||||||
ENV{MAJOR}=="253", GOTO="qubes_block_end"
|
ENV{MAJOR}=="253", GOTO="qubes_block_end"
|
||||||
|
|
||||||
IMPORT{db}="QUBES_EXPOSED"
|
IMPORT{db}="QUBES_EXPOSED"
|
||||||
ACTION=="add", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
ACTION=="add", IMPORT{program}="/usr/lib/qubes/udev-block-add-change"
|
||||||
ACTION=="change", IMPORT{program}="/usr/lib/qubes/block_add_change"
|
ACTION=="change", IMPORT{program}="/usr/lib/qubes/udev-block-add-change"
|
||||||
ACTION=="remove", RUN+="/usr/lib/qubes/block_remove"
|
ACTION=="remove", RUN+="/usr/lib/qubes/udev-block-remove"
|
||||||
|
|
||||||
LABEL="qubes_block_end"
|
LABEL="qubes_block_end"
|
||||||
|
|
||||||
# Cleanup disconnected frontend from xenstore
|
# Cleanup disconnected frontend from xenstore
|
||||||
ACTION=="remove", SUBSYSTEM=="block", ENV{MAJOR}=="202", RUN+="/usr/lib/qubes/block_cleanup"
|
ACTION=="remove", SUBSYSTEM=="block", ENV{MAJOR}=="202", RUN+="/usr/lib/qubes/udev-block-cleanup"
|
10
misc/udev-qubes-usb.rules
Normal file
10
misc/udev-qubes-usb.rules
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Expose all USB devices (except block) via xenstore
|
||||||
|
|
||||||
|
# Handle only USB devices
|
||||||
|
SUBSYSTEM!="usb", GOTO="qubes_usb_end"
|
||||||
|
|
||||||
|
ACTION=="add", IMPORT{program}="/usr/lib/qubes/udev-usb-add-change"
|
||||||
|
ACTION=="change", IMPORT{program}="/usr/lib/qubes/udev-usb-add-change"
|
||||||
|
ACTION=="remove", RUN+="/usr/lib/qubes/udev-usb-remove"
|
||||||
|
|
||||||
|
LABEL="qubes_usb_end"
|
@ -8,7 +8,7 @@
|
|||||||
## running in dom0.
|
## running in dom0.
|
||||||
##
|
##
|
||||||
|
|
||||||
# FIXME: Ignore USB hubs and other wierd devices (see also in usb_remove).
|
# FIXME: Ignore USB hubs and other wierd devices (see also in usb-remove).
|
||||||
[ "`echo $TYPE | cut -f1 -d/`" = "9" ] && exit 0
|
[ "`echo $TYPE | cut -f1 -d/`" = "9" ] && exit 0
|
||||||
[ "$DEVTYPE" != "usb_device" ] && exit 0
|
[ "$DEVTYPE" != "usb_device" ] && exit 0
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PIDFILE=/var/run/qubes/qubes_firewall.pid
|
PIDFILE=/var/run/qubes/qubes-firewall.pid
|
||||||
XENSTORE_IPTABLES=qubes_iptables
|
XENSTORE_IPTABLES=qubes_iptables
|
||||||
XENSTORE_IPTABLES_HEADER=qubes_iptables_header
|
XENSTORE_IPTABLES_HEADER=qubes_iptables_header
|
||||||
XENSTORE_ERROR=qubes_iptables_error
|
XENSTORE_ERROR=qubes_iptables_error
|
||||||
@ -49,5 +49,7 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if user didn't define some custom rules to be applied as well...
|
# Check if user didn't define some custom rules to be applied as well...
|
||||||
|
[ -x /rw/config/qubes-firewall-user-script ] && /rw/config/qubes-firewall-user-script
|
||||||
|
# XXX: Backward compatibility
|
||||||
[ -x /rw/config/qubes_firewall_user_script ] && /rw/config/qubes_firewall_user_script
|
[ -x /rw/config/qubes_firewall_user_script ] && /rw/config/qubes_firewall_user_script
|
||||||
done
|
done
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PIDFILE=/var/run/qubes/qubes_netwatcher.pid
|
PIDFILE=/var/run/qubes/qubes-netwatcher.pid
|
||||||
CURR_NETCFG=""
|
CURR_NETCFG=""
|
||||||
|
|
||||||
# PIDfile handling
|
# PIDfile handling
|
2
network/qubes-nmhook
Executable file
2
network/qubes-nmhook
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
@ -10,7 +10,7 @@ addrule()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
export PATH=$PATH:/sbin:/bin
|
export PATH=$PATH:/sbin:/bin
|
||||||
source /var/run/qubes/qubes_ns
|
source /var/run/qubes/qubes-ns
|
||||||
if [ "X"$NS1 = "X" ] ; then exit ; fi
|
if [ "X"$NS1 = "X" ] ; then exit ; fi
|
||||||
iptables -t nat -F PR-QBS
|
iptables -t nat -F PR-QBS
|
||||||
FIRSTONE=yes
|
FIRSTONE=yes
|
@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
/usr/lib/qubes/qubes_setup_dnat_to_ns
|
|
@ -18,9 +18,11 @@ if [ x$ip != x ]; then
|
|||||||
gateway=$(/usr/bin/xenstore-read qubes_netvm_gateway)
|
gateway=$(/usr/bin/xenstore-read qubes_netvm_gateway)
|
||||||
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
||||||
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
||||||
echo "NS1=$gateway" > /var/run/qubes/qubes_ns
|
echo "NS1=$gateway" > /var/run/qubes/qubes-ns
|
||||||
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes_ns
|
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes-ns
|
||||||
/usr/lib/qubes/qubes_setup_dnat_to_ns
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
||||||
|
[ -x /rw/config/qubes-ip-change-hook ] && /rw/config/qubes-ip-change-hook
|
||||||
|
# XXX: Backward compatibility
|
||||||
[ -x /rw/config/qubes_ip_change_hook ] && /rw/config/qubes_ip_change_hook
|
[ -x /rw/config/qubes_ip_change_hook ] && /rw/config/qubes_ip_change_hook
|
||||||
fi
|
fi
|
||||||
|
|
@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
SUBSYSTEMS=="xen", KERNEL=="eth*", ACTION=="add", RUN+="/usr/lib/qubes/setup_ip"
|
SUBSYSTEMS=="xen", KERNEL=="eth*", ACTION=="add", RUN+="/usr/lib/qubes/setup-ip"
|
@ -12,5 +12,5 @@ if [ x"$action" == x"suspend" ]; then
|
|||||||
modprobe -r uhci_hcd ehci_hcd
|
modprobe -r uhci_hcd ehci_hcd
|
||||||
else
|
else
|
||||||
modprobe ehci_hcd; modprobe uhci_hcd;
|
modprobe ehci_hcd; modprobe uhci_hcd;
|
||||||
nmcli nm sleep false || { [ -x /bin/systemctl ] && systemctl start NetworkManager.service; } || service qubes_core_netvm start
|
nmcli nm sleep false || { [ -x /bin/systemctl ] && systemctl start NetworkManager.service; } || service qubes-core-netvm start
|
||||||
fi
|
fi
|
||||||
|
@ -107,7 +107,7 @@ install -m 0644 vm-systemd/ntpd.service $RPM_BUILD_ROOT/usr/lib/qubes/init/
|
|||||||
install -D -m 0440 misc/qubes.sudoers $RPM_BUILD_ROOT/etc/sudoers.d/qubes
|
install -D -m 0440 misc/qubes.sudoers $RPM_BUILD_ROOT/etc/sudoers.d/qubes
|
||||||
install -D -m 0644 misc/qubes.repo $RPM_BUILD_ROOT/etc/yum.repos.d/qubes.repo
|
install -D -m 0644 misc/qubes.repo $RPM_BUILD_ROOT/etc/yum.repos.d/qubes.repo
|
||||||
install -D -m 0644 misc/serial.conf $RPM_BUILD_ROOT/usr/lib/qubes/serial.conf
|
install -D -m 0644 misc/serial.conf $RPM_BUILD_ROOT/usr/lib/qubes/serial.conf
|
||||||
install -D misc/qubes_serial_login $RPM_BUILD_ROOT/sbin/qubes_serial_login
|
install -D misc/qubes-serial-login $RPM_BUILD_ROOT/sbin/qubes-serial-login
|
||||||
install -d $RPM_BUILD_ROOT/usr/share/glib-2.0/schemas/
|
install -d $RPM_BUILD_ROOT/usr/share/glib-2.0/schemas/
|
||||||
install -m 0644 misc/org.gnome.settings-daemon.plugins.updates.gschema.override $RPM_BUILD_ROOT/usr/share/glib-2.0/schemas/
|
install -m 0644 misc/org.gnome.settings-daemon.plugins.updates.gschema.override $RPM_BUILD_ROOT/usr/share/glib-2.0/schemas/
|
||||||
install -d $RPM_BUILD_ROOT/usr/lib/yum-plugins/
|
install -d $RPM_BUILD_ROOT/usr/lib/yum-plugins/
|
||||||
@ -120,16 +120,16 @@ install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
|
|||||||
install -m 644 misc/RPM-GPG-KEY-qubes* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
|
install -m 644 misc/RPM-GPG-KEY-qubes* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
|
||||||
install -D misc/xenstore-watch $RPM_BUILD_ROOT/usr/bin/xenstore-watch-qubes
|
install -D misc/xenstore-watch $RPM_BUILD_ROOT/usr/bin/xenstore-watch-qubes
|
||||||
install -d $RPM_BUILD_ROOT/etc/udev/rules.d
|
install -d $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||||
install -m 0644 misc/qubes_misc.rules $RPM_BUILD_ROOT/etc/udev/rules.d/50-qubes_misc.rules
|
install -m 0644 misc/udev-qubes-misc.rules $RPM_BUILD_ROOT/etc/udev/rules.d/50-qubes-misc.rules
|
||||||
install -m 0644 misc/qubes_block.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes_block.rules
|
install -m 0644 misc/udev-qubes-block.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes-block.rules
|
||||||
install -m 0644 misc/qubes_usb.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes_usb.rules
|
install -m 0644 misc/udev-qubes-usb.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes-usb.rules
|
||||||
install -d $RPM_BUILD_ROOT/usr/lib/qubes/
|
install -d $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install misc/qubes_download_dom0_updates.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
install misc/qubes-download-dom0-updates.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install misc/{block_add_change,block_remove,block_cleanup} $RPM_BUILD_ROOT/usr/lib/qubes/
|
install misc/udev-block-* $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install misc/{usb_add_change,usb_remove} $RPM_BUILD_ROOT/usr/lib/qubes/
|
install misc/udev-usb-* $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install misc/vusb-ctl.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
install misc/vusb-ctl.py $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install misc/qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
install misc/qubes-trigger-sync-appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install -D -m 0644 misc/qubes_trigger_sync_appmenus.action $RPM_BUILD_ROOT/etc/yum/post-actions/qubes_trigger_sync_appmenus.action
|
install -D -m 0644 misc/qubes-trigger-sync-appmenus.action $RPM_BUILD_ROOT/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
|
||||||
install -D misc/polkit-1-qubes-allow-all.pkla $RPM_BUILD_ROOT/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
|
install -D misc/polkit-1-qubes-allow-all.pkla $RPM_BUILD_ROOT/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
|
||||||
install -D misc/polkit-1-qubes-allow-all.rules $RPM_BUILD_ROOT/etc/polkit-1/rules.d/00-qubes-allow-all.rules
|
install -D misc/polkit-1-qubes-allow-all.rules $RPM_BUILD_ROOT/etc/polkit-1/rules.d/00-qubes-allow-all.rules
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
@ -141,18 +141,18 @@ else
|
|||||||
fi
|
fi
|
||||||
install misc/dispvm-prerun.sh $RPM_BUILD_ROOT/usr/lib/qubes/dispvm-prerun.sh
|
install misc/dispvm-prerun.sh $RPM_BUILD_ROOT/usr/lib/qubes/dispvm-prerun.sh
|
||||||
|
|
||||||
install -D misc/qubes_core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_core.modules
|
install -D misc/qubes-core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes-core.modules
|
||||||
install -D misc/qubes_misc.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_misc.modules
|
install -D misc/qubes-misc.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes-misc.modules
|
||||||
|
|
||||||
install -m 0644 network/qubes_network.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes_network.rules
|
install -m 0644 network/udev-qubes-network.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes-network.rules
|
||||||
install network/qubes_setup_dnat_to_ns $RPM_BUILD_ROOT/usr/lib/qubes
|
install network/qubes-setup-dnat-to-ns $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
install network/qubes_fix_nm_conf.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
install network/qubes-fix-nm-conf.sh $RPM_BUILD_ROOT/usr/lib/qubes
|
||||||
install network/setup_ip $RPM_BUILD_ROOT/usr/lib/qubes/
|
install network/setup-ip $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install network/network-manager-prepare-conf-dir $RPM_BUILD_ROOT/usr/lib/qubes/
|
install network/network-manager-prepare-conf-dir $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
install -d $RPM_BUILD_ROOT/etc/dhclient.d
|
install -d $RPM_BUILD_ROOT/etc/dhclient.d
|
||||||
ln -s /usr/lib/qubes/qubes_setup_dnat_to_ns $RPM_BUILD_ROOT/etc/dhclient.d/qubes_setup_dnat_to_ns.sh
|
ln -s /usr/lib/qubes/qubes-setup-dnat-to-ns $RPM_BUILD_ROOT/etc/dhclient.d/qubes-setup-dnat-to-ns.sh
|
||||||
install -d $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
install -d $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
||||||
install network/{qubes_nmhook,30-qubes_external_ip} $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
install network/{qubes-nmhook,30-qubes-external-ip} $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/
|
||||||
install -D network/vif-route-qubes $RPM_BUILD_ROOT/etc/xen/scripts/vif-route-qubes
|
install -D network/vif-route-qubes $RPM_BUILD_ROOT/etc/xen/scripts/vif-route-qubes
|
||||||
install -m 0400 -D network/iptables $RPM_BUILD_ROOT/etc/sysconfig/iptables
|
install -m 0400 -D network/iptables $RPM_BUILD_ROOT/etc/sysconfig/iptables
|
||||||
install -m 0400 -D network/ip6tables $RPM_BUILD_ROOT/etc/sysconfig/ip6tables
|
install -m 0400 -D network/ip6tables $RPM_BUILD_ROOT/etc/sysconfig/ip6tables
|
||||||
@ -163,8 +163,8 @@ install -d $RPM_BUILD_ROOT/etc/yum.conf.d
|
|||||||
touch $RPM_BUILD_ROOT/etc/yum.conf.d/qubes-proxy.conf
|
touch $RPM_BUILD_ROOT/etc/yum.conf.d/qubes-proxy.conf
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/sbin
|
install -d $RPM_BUILD_ROOT/usr/sbin
|
||||||
install network/qubes_firewall $RPM_BUILD_ROOT/usr/sbin/
|
install network/qubes-firewall $RPM_BUILD_ROOT/usr/sbin/
|
||||||
install network/qubes_netwatcher $RPM_BUILD_ROOT/usr/sbin/
|
install network/qubes-netwatcher $RPM_BUILD_ROOT/usr/sbin/
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/bin
|
install -d $RPM_BUILD_ROOT/usr/bin
|
||||||
|
|
||||||
@ -256,7 +256,7 @@ echo '[main]' > /etc/NetworkManager/NetworkManager.conf
|
|||||||
echo 'plugins = keyfile' >> /etc/NetworkManager/NetworkManager.conf
|
echo 'plugins = keyfile' >> /etc/NetworkManager/NetworkManager.conf
|
||||||
echo '[keyfile]' >> /etc/NetworkManager/NetworkManager.conf
|
echo '[keyfile]' >> /etc/NetworkManager/NetworkManager.conf
|
||||||
fi
|
fi
|
||||||
/usr/lib/qubes/qubes_fix_nm_conf.sh
|
/usr/lib/qubes/qubes-fix-nm-conf.sh
|
||||||
|
|
||||||
|
|
||||||
# Remove ip_forward setting from sysctl, so NM will not reset it
|
# Remove ip_forward setting from sysctl, so NM will not reset it
|
||||||
@ -309,31 +309,22 @@ do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(basename $f) == "xend.rules" ] ; then
|
if [ $(basename $f) == "50-qubes-misc.rules" ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(basename $f) == "50-qubes_misc.rules" ] ; then
|
if [ $(basename $f) == "99-qubes-network.rules" ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(basename $f) == "99-qubes_network.rules" ] ; then
|
if [ $(basename $f) == "99-qubes-block.rules" ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(basename $f) == "99-qubes_block.rules" ] ; then
|
if [ $(basename $f) == "99-qubes-usb.rules" ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(basename $f) == "99-qubes_usb.rules" ] ; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $(basename $f) == "90-hal.rules" ] ; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
mv $f /var/lib/qubes/removed-udev-scripts/
|
mv $f /var/lib/qubes/removed-udev-scripts/
|
||||||
done
|
done
|
||||||
mkdir -p /rw
|
mkdir -p /rw
|
||||||
@ -377,11 +368,11 @@ rm -f %{name}-%{version}
|
|||||||
%dir %attr(0775,user,user) /var/lib/qubes/dom0-updates
|
%dir %attr(0775,user,user) /var/lib/qubes/dom0-updates
|
||||||
%{kde_service_dir}/qvm-copy.desktop
|
%{kde_service_dir}/qvm-copy.desktop
|
||||||
%{kde_service_dir}/qvm-dvm.desktop
|
%{kde_service_dir}/qvm-dvm.desktop
|
||||||
/etc/NetworkManager/dispatcher.d/30-qubes_external_ip
|
/etc/NetworkManager/dispatcher.d/30-qubes-external-ip
|
||||||
/etc/NetworkManager/dispatcher.d/qubes_nmhook
|
/etc/NetworkManager/dispatcher.d/qubes-nmhook
|
||||||
/etc/X11/xorg-preload-apps.conf
|
/etc/X11/xorg-preload-apps.conf
|
||||||
/etc/dispvm-dotfiles.tbz
|
/etc/dispvm-dotfiles.tbz
|
||||||
/etc/dhclient.d/qubes_setup_dnat_to_ns.sh
|
/etc/dhclient.d/qubes-setup-dnat-to-ns.sh
|
||||||
/etc/fstab
|
/etc/fstab
|
||||||
/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes*
|
/etc/pki/rpm-gpg/RPM-GPG-KEY-qubes*
|
||||||
/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
|
/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
|
||||||
@ -398,21 +389,21 @@ rm -f %{name}-%{version}
|
|||||||
/etc/sudoers.d/qubes
|
/etc/sudoers.d/qubes
|
||||||
%config(noreplace) /etc/sysconfig/iptables
|
%config(noreplace) /etc/sysconfig/iptables
|
||||||
%config(noreplace) /etc/sysconfig/ip6tables
|
%config(noreplace) /etc/sysconfig/ip6tables
|
||||||
/etc/sysconfig/modules/qubes_core.modules
|
/etc/sysconfig/modules/qubes-core.modules
|
||||||
/etc/sysconfig/modules/qubes_misc.modules
|
/etc/sysconfig/modules/qubes-misc.modules
|
||||||
%config(noreplace) /etc/tinyproxy/filter-qubes-yum
|
%config(noreplace) /etc/tinyproxy/filter-qubes-yum
|
||||||
%config(noreplace) /etc/tinyproxy/tinyproxy-qubes-yum.conf
|
%config(noreplace) /etc/tinyproxy/tinyproxy-qubes-yum.conf
|
||||||
/etc/udev/rules.d/50-qubes_misc.rules
|
/etc/udev/rules.d/50-qubes-misc.rules
|
||||||
/etc/udev/rules.d/99-qubes_block.rules
|
/etc/udev/rules.d/99-qubes-block.rules
|
||||||
/etc/udev/rules.d/99-qubes_network.rules
|
/etc/udev/rules.d/99-qubes-network.rules
|
||||||
/etc/udev/rules.d/99-qubes_usb.rules
|
/etc/udev/rules.d/99-qubes-usb.rules
|
||||||
/etc/xdg/nautilus-actions/nautilus-actions.conf
|
/etc/xdg/nautilus-actions/nautilus-actions.conf
|
||||||
/etc/xen/scripts/vif-route-qubes
|
/etc/xen/scripts/vif-route-qubes
|
||||||
%config(noreplace) /etc/yum.conf.d/qubes-proxy.conf
|
%config(noreplace) /etc/yum.conf.d/qubes-proxy.conf
|
||||||
%config(noreplace) /etc/yum.repos.d/qubes.repo
|
%config(noreplace) /etc/yum.repos.d/qubes.repo
|
||||||
/etc/yum/pluginconf.d/yum-qubes-hooks.conf
|
/etc/yum/pluginconf.d/yum-qubes-hooks.conf
|
||||||
/etc/yum/post-actions/qubes_trigger_sync_appmenus.action
|
/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
|
||||||
/sbin/qubes_serial_login
|
/sbin/qubes-serial-login
|
||||||
/usr/bin/qvm-copy-to-vm
|
/usr/bin/qvm-copy-to-vm
|
||||||
/usr/bin/qvm-open-in-dvm
|
/usr/bin/qvm-open-in-dvm
|
||||||
/usr/bin/qvm-open-in-vm
|
/usr/bin/qvm-open-in-vm
|
||||||
@ -420,11 +411,11 @@ rm -f %{name}-%{version}
|
|||||||
/usr/bin/qvm-mru-entry
|
/usr/bin/qvm-mru-entry
|
||||||
/usr/bin/xenstore-watch-qubes
|
/usr/bin/xenstore-watch-qubes
|
||||||
%dir /usr/lib/qubes
|
%dir /usr/lib/qubes
|
||||||
/usr/lib/qubes/block_add_change
|
/usr/lib/qubes/udev-block-add-change
|
||||||
/usr/lib/qubes/block_cleanup
|
/usr/lib/qubes/udev-block-cleanup
|
||||||
/usr/lib/qubes/block_remove
|
/usr/lib/qubes/udev-block-remove
|
||||||
/usr/lib/qubes/usb_add_change
|
/usr/lib/qubes/udev-usb-add-change
|
||||||
/usr/lib/qubes/usb_remove
|
/usr/lib/qubes/udev-usb-remove
|
||||||
/usr/lib/qubes/vusb-ctl.py*
|
/usr/lib/qubes/vusb-ctl.py*
|
||||||
/usr/lib/qubes/dispvm-prerun.sh
|
/usr/lib/qubes/dispvm-prerun.sh
|
||||||
/usr/lib/qubes/sync-ntp-clock
|
/usr/lib/qubes/sync-ntp-clock
|
||||||
@ -435,19 +426,19 @@ rm -f %{name}-%{version}
|
|||||||
%attr(4755,root,root) /usr/lib/qubes/qfile-unpacker
|
%attr(4755,root,root) /usr/lib/qubes/qfile-unpacker
|
||||||
/usr/lib/qubes/qopen-in-vm
|
/usr/lib/qubes/qopen-in-vm
|
||||||
/usr/lib/qubes/qrun-in-vm
|
/usr/lib/qubes/qrun-in-vm
|
||||||
/usr/lib/qubes/qubes_download_dom0_updates.sh
|
/usr/lib/qubes/qubes-download-dom0-updates.sh
|
||||||
/usr/lib/qubes/qubes_fix_nm_conf.sh
|
/usr/lib/qubes/qubes-fix-nm-conf.sh
|
||||||
/usr/lib/qubes/qubes_setup_dnat_to_ns
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
||||||
/usr/lib/qubes/qubes_trigger_sync_appmenus.sh
|
/usr/lib/qubes/qubes-trigger-sync-appmenus.sh
|
||||||
/usr/lib/qubes/qvm-copy-to-vm.gnome
|
/usr/lib/qubes/qvm-copy-to-vm.gnome
|
||||||
/usr/lib/qubes/qvm-copy-to-vm.kde
|
/usr/lib/qubes/qvm-copy-to-vm.kde
|
||||||
/usr/lib/qubes/serial.conf
|
/usr/lib/qubes/serial.conf
|
||||||
/usr/lib/qubes/setup_ip
|
/usr/lib/qubes/setup-ip
|
||||||
/usr/lib/qubes/vm-file-editor
|
/usr/lib/qubes/vm-file-editor
|
||||||
/usr/lib/qubes/wrap_in_html_if_url.sh
|
/usr/lib/qubes/wrap_in_html_if_url.sh
|
||||||
/usr/lib/yum-plugins/yum-qubes-hooks.py*
|
/usr/lib/yum-plugins/yum-qubes-hooks.py*
|
||||||
/usr/sbin/qubes_firewall
|
/usr/sbin/qubes-firewall
|
||||||
/usr/sbin/qubes_netwatcher
|
/usr/sbin/qubes-netwatcher
|
||||||
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override
|
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.override
|
||||||
/usr/share/file-manager/actions/qvm-copy-gnome.desktop
|
/usr/share/file-manager/actions/qvm-copy-gnome.desktop
|
||||||
/usr/share/file-manager/actions/qvm-dvm-gnome.desktop
|
/usr/share/file-manager/actions/qvm-dvm-gnome.desktop
|
||||||
@ -468,9 +459,9 @@ Conflicts: qubes-core-vm-systemd
|
|||||||
The Qubes core startup configuration for SysV init (or upstart).
|
The Qubes core startup configuration for SysV init (or upstart).
|
||||||
|
|
||||||
%files sysvinit
|
%files sysvinit
|
||||||
/etc/init.d/qubes_core
|
/etc/init.d/qubes-core
|
||||||
/etc/init.d/qubes_core_appvm
|
/etc/init.d/qubes-core-appvm
|
||||||
/etc/init.d/qubes_core_netvm
|
/etc/init.d/qubes-core-netvm
|
||||||
/etc/init.d/qubes-firewall
|
/etc/init.d/qubes-firewall
|
||||||
/etc/init.d/qubes-netwatcher
|
/etc/init.d/qubes-netwatcher
|
||||||
/etc/init.d/qubes-yum-proxy
|
/etc/init.d/qubes-yum-proxy
|
||||||
@ -487,7 +478,7 @@ do
|
|||||||
[ $srv = 'halt' ] && continue
|
[ $srv = 'halt' ] && continue
|
||||||
[ $srv = 'single' ] && continue
|
[ $srv = 'single' ] && continue
|
||||||
[ $srv = 'reboot' ] && continue
|
[ $srv = 'reboot' ] && continue
|
||||||
[ $srv = 'qubes_gui' ] && continue
|
[ $srv = 'qubes-gui' ] && continue
|
||||||
chkconfig $srv off
|
chkconfig $srv off
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -497,12 +488,12 @@ chkconfig haldaemon on
|
|||||||
chkconfig messagebus on
|
chkconfig messagebus on
|
||||||
chkconfig iptables on
|
chkconfig iptables on
|
||||||
chkconfig ip6tables on
|
chkconfig ip6tables on
|
||||||
chkconfig --add qubes_core || echo "WARNING: Cannot add service qubes_core!"
|
chkconfig --add qubes-core || echo "WARNING: Cannot add service qubes-core!"
|
||||||
chkconfig qubes_core on || echo "WARNING: Cannot enable service qubes_core!"
|
chkconfig qubes-core on || echo "WARNING: Cannot enable service qubes-core!"
|
||||||
chkconfig --add qubes_core_netvm || echo "WARNING: Cannot add service qubes_core_netvm!"
|
chkconfig --add qubes-core-netvm || echo "WARNING: Cannot add service qubes-core-netvm!"
|
||||||
chkconfig qubes_core_netvm on || echo "WARNING: Cannot enable service qubes_core_netvm!"
|
chkconfig qubes-core-netvm on || echo "WARNING: Cannot enable service qubes-core-netvm!"
|
||||||
chkconfig --add qubes_core_appvm || echo "WARNING: Cannot add service qubes_core_appvm!"
|
chkconfig --add qubes-core-appvm || echo "WARNING: Cannot add service qubes-core-appvm!"
|
||||||
chkconfig qubes_core_appvm on || echo "WARNING: Cannot enable service qubes_core_appvm!"
|
chkconfig qubes-core-appvm on || echo "WARNING: Cannot enable service qubes-core-appvm!"
|
||||||
chkconfig --add qubes-firewall || echo "WARNING: Cannot add service qubes-firewall!"
|
chkconfig --add qubes-firewall || echo "WARNING: Cannot add service qubes-firewall!"
|
||||||
chkconfig qubes-firewall on || echo "WARNING: Cannot enable service qubes-firewall!"
|
chkconfig qubes-firewall on || echo "WARNING: Cannot enable service qubes-firewall!"
|
||||||
chkconfig --add qubes-netwatcher || echo "WARNING: Cannot add service qubes-netwatcher!"
|
chkconfig --add qubes-netwatcher || echo "WARNING: Cannot add service qubes-netwatcher!"
|
||||||
@ -516,9 +507,9 @@ sed -i s/^id:.:initdefault:/id:3:initdefault:/ /etc/inittab
|
|||||||
%preun sysvinit
|
%preun sysvinit
|
||||||
if [ "$1" = 0 ] ; then
|
if [ "$1" = 0 ] ; then
|
||||||
# no more packages left
|
# no more packages left
|
||||||
chkconfig qubes_core off
|
chkconfig qubes-core off
|
||||||
chkconfig qubes_core_netvm off
|
chkconfig qubes-core-netvm off
|
||||||
chkconfig qubes_core_appvm off
|
chkconfig qubes-core-appvm off
|
||||||
chkconfig qubes-firewall off
|
chkconfig qubes-firewall off
|
||||||
chkconfig qubes-netwatcher off
|
chkconfig qubes-netwatcher off
|
||||||
chkconfig qubes-yum-proxy off
|
chkconfig qubes-yum-proxy off
|
||||||
|
@ -23,7 +23,7 @@ start()
|
|||||||
mkdir -p /var/run/xen-hotplug
|
mkdir -p /var/run/xen-hotplug
|
||||||
|
|
||||||
name=$(/usr/bin/xenstore-read name)
|
name=$(/usr/bin/xenstore-read name)
|
||||||
if ! [ -f /etc/this_is_dvm ] ; then
|
if ! [ -f /etc/this-is-dvm ] ; then
|
||||||
# we don't want to set hostname for DispVM
|
# we don't want to set hostname for DispVM
|
||||||
# because it makes some of the pre-created dotfiles invalid (e.g. .kde/cache-<hostname>)
|
# because it makes some of the pre-created dotfiles invalid (e.g. .kde/cache-<hostname>)
|
||||||
# (let's be frank: nobody's gonna use xterm on DispVM)
|
# (let's be frank: nobody's gonna use xterm on DispVM)
|
||||||
@ -50,7 +50,7 @@ start()
|
|||||||
# DispVM (to override DispVM-template IP) and in case when qubes_ip was
|
# DispVM (to override DispVM-template IP) and in case when qubes_ip was
|
||||||
# called by udev before loading evtchn kernel module - in which case
|
# called by udev before loading evtchn kernel module - in which case
|
||||||
# xenstore-read fails
|
# xenstore-read fails
|
||||||
INTERFACE=eth0 /usr/lib/qubes/setup_ip
|
INTERFACE=eth0 /usr/lib/qubes/setup-ip
|
||||||
|
|
||||||
mkdir -p /var/run/qubes
|
mkdir -p /var/run/qubes
|
||||||
|
|
@ -50,7 +50,7 @@ start()
|
|||||||
mkdir /home
|
mkdir /home
|
||||||
fi
|
fi
|
||||||
mount --bind /home_volatile /home
|
mount --bind /home_volatile /home
|
||||||
touch /etc/this_is_dvm
|
touch /etc/this-is-dvm
|
||||||
mount /rw
|
mount /rw
|
||||||
possibly_run_save_script
|
possibly_run_save_script
|
||||||
umount /rw
|
umount /rw
|
@ -28,9 +28,9 @@ start()
|
|||||||
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
||||||
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
||||||
modprobe netbk 2> /dev/null || modprobe xen-netback
|
modprobe netbk 2> /dev/null || modprobe xen-netback
|
||||||
echo "NS1=$gateway" > /var/run/qubes/qubes_ns
|
echo "NS1=$gateway" > /var/run/qubes/qubes-ns
|
||||||
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes_ns
|
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes-ns
|
||||||
/usr/lib/qubes/qubes_setup_dnat_to_ns
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
||||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||||
fi
|
fi
|
||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
PIDFILE=/var/run/qubes/qubes_firewall.pid
|
PIDFILE=/var/run/qubes/qubes-firewall.pid
|
||||||
|
|
||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
@ -15,7 +15,7 @@ start()
|
|||||||
if [ -z "$start_firewall" ] && [ "$type" == "ProxyVM" ] || [ "$start_firewall" == "1" ]; then
|
if [ -z "$start_firewall" ] && [ "$type" == "ProxyVM" ] || [ "$start_firewall" == "1" ]; then
|
||||||
echo -n $"Starting Qubes Firewall monitor:"
|
echo -n $"Starting Qubes Firewall monitor:"
|
||||||
/sbin/ethtool -K eth0 sg off
|
/sbin/ethtool -K eth0 sg off
|
||||||
/usr/sbin/qubes_firewall &
|
/usr/sbin/qubes-firewall &
|
||||||
success
|
success
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
PIDFILE=/var/run/qubes/qubes_netwatcher.pid
|
PIDFILE=/var/run/qubes/qubes-netwatcher.pid
|
||||||
|
|
||||||
start()
|
start()
|
||||||
{
|
{
|
||||||
@ -15,7 +15,7 @@ start()
|
|||||||
if [ -z "$start_netwatcher" ] && [ "$type" == "ProxyVM" ] || [ "$start_netwatcher" == "1" ]; then
|
if [ -z "$start_netwatcher" ] && [ "$type" == "ProxyVM" ] || [ "$start_netwatcher" == "1" ]; then
|
||||||
echo -n $"Starting Qubes Network monitor:"
|
echo -n $"Starting Qubes Network monitor:"
|
||||||
/sbin/ethtool -K eth0 sg off
|
/sbin/ethtool -K eth0 sg off
|
||||||
/usr/sbin/qubes_netwatcher &
|
/usr/sbin/qubes-netwatcher &
|
||||||
success
|
success
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
@ -10,9 +10,9 @@ fi
|
|||||||
# DispVM (to override DispVM-template IP) and in case when qubes_ip was
|
# DispVM (to override DispVM-template IP) and in case when qubes_ip was
|
||||||
# called by udev before loading evtchn kernel module - in which case
|
# called by udev before loading evtchn kernel module - in which case
|
||||||
# xenstore-read fails
|
# xenstore-read fails
|
||||||
INTERFACE=eth0 /usr/lib/qubes/setup_ip
|
INTERFACE=eth0 /usr/lib/qubes/setup-ip
|
||||||
|
|
||||||
if [ -e /dev/xvdb -a ! -e /etc/this_is_dvm ] ; then
|
if [ -e /dev/xvdb -a ! -e /etc/this-is-dvm ] ; then
|
||||||
mount /rw
|
mount /rw
|
||||||
|
|
||||||
if ! [ -d /rw/home ] ; then
|
if ! [ -d /rw/home ] ; then
|
||||||
@ -29,7 +29,7 @@ if [ -e /dev/xvdb -a ! -e /etc/this_is_dvm ] ; then
|
|||||||
mkdir -p /rw/usrlocal
|
mkdir -p /rw/usrlocal
|
||||||
cp -a /usr/local.orig/* /rw/usrlocal
|
cp -a /usr/local.orig/* /rw/usrlocal
|
||||||
|
|
||||||
touch /var/lib/qubes/first_boot_completed
|
touch /var/lib/qubes/first-boot-completed
|
||||||
fi
|
fi
|
||||||
# Chown home if user UID have changed - can be the case on template switch
|
# Chown home if user UID have changed - can be the case on template switch
|
||||||
HOME_USER_UID=`ls -dn /rw/home/user | awk '{print $3}'`
|
HOME_USER_UID=`ls -dn /rw/home/user | awk '{print $3}'`
|
||||||
|
@ -7,9 +7,9 @@ if [ "x$network" != "x" ]; then
|
|||||||
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
netmask=$(/usr/bin/xenstore-read qubes_netvm_netmask)
|
||||||
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
secondary_dns=$(/usr/bin/xenstore-read qubes_netvm_secondary_dns)
|
||||||
modprobe netbk 2> /dev/null || modprobe xen-netback
|
modprobe netbk 2> /dev/null || modprobe xen-netback
|
||||||
echo "NS1=$gateway" > /var/run/qubes/qubes_ns
|
echo "NS1=$gateway" > /var/run/qubes/qubes-ns
|
||||||
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes_ns
|
echo "NS2=$secondary_dns" >> /var/run/qubes/qubes-ns
|
||||||
/usr/lib/qubes/qubes_setup_dnat_to_ns
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
||||||
echo "1" > /proc/sys/net/ipv4/ip_forward
|
echo "1" > /proc/sys/net/ipv4/ip_forward
|
||||||
/sbin/ethtool -K eth0 sg off
|
/sbin/ethtool -K eth0 sg off
|
||||||
fi
|
fi
|
||||||
|
@ -18,7 +18,7 @@ if xenstore-read qubes_save_request 2>/dev/null ; then
|
|||||||
mkdir /home
|
mkdir /home
|
||||||
fi
|
fi
|
||||||
mount --bind /home_volatile /home
|
mount --bind /home_volatile /home
|
||||||
touch /etc/this_is_dvm
|
touch /etc/this-is-dvm
|
||||||
mount /rw
|
mount /rw
|
||||||
possibly_run_save_script
|
possibly_run_save_script
|
||||||
umount /rw
|
umount /rw
|
||||||
|
@ -4,7 +4,7 @@ ConditionPathExists=/var/run/qubes-service/qubes-firewall
|
|||||||
After=qubes-network.service
|
After=qubes-network.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/qubes_firewall
|
ExecStart=/usr/sbin/qubes-firewall
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -4,7 +4,7 @@ ConditionPathExists=/var/run/qubes-service/qubes-netwatcher
|
|||||||
After=qubes-firewall.service
|
After=qubes-firewall.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/qubes_netwatcher
|
ExecStart=/usr/sbin/qubes-netwatcher
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -12,4 +12,3 @@ StandardOutput=syslog
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Alias=qubes_firewall.service
|
|
||||||
|
Loading…
Reference in New Issue
Block a user