From 9cd6d4bcef363ed7b9678323e8af9e52101c2e88 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 30 Dec 2015 15:23:37 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- X11/xinit/xinitrc.d/50-systemd-user.sh | 7 + dbus-1/system.d/org.freedesktop.login1.conf | 84 ++++++++++++ dbus-1/system.d/org.freedesktop.machine1.conf | 124 ++++++++++++++++++ dbus-1/system.d/org.freedesktop.network1.conf | 42 ++++++ systemd/bootchart.conf | 8 +- systemd/coredump.conf | 7 +- systemd/journald.conf | 7 +- systemd/logind.conf | 8 +- systemd/resolved.conf | 5 +- systemd/system.conf | 7 +- systemd/timesyncd.conf | 7 +- 11 files changed, 286 insertions(+), 20 deletions(-) create mode 100755 X11/xinit/xinitrc.d/50-systemd-user.sh create mode 100644 dbus-1/system.d/org.freedesktop.network1.conf diff --git a/X11/xinit/xinitrc.d/50-systemd-user.sh b/X11/xinit/xinitrc.d/50-systemd-user.sh new file mode 100755 index 00000000..4d497672 --- /dev/null +++ b/X11/xinit/xinitrc.d/50-systemd-user.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +systemctl --user import-environment DISPLAY XAUTHORITY + +if which dbus-update-activation-environment >/dev/null 2>&1; then + dbus-update-activation-environment DISPLAY XAUTHORITY +fi diff --git a/dbus-1/system.d/org.freedesktop.login1.conf b/dbus-1/system.d/org.freedesktop.login1.conf index 1318328a..1662d4c4 100644 --- a/dbus-1/system.d/org.freedesktop.login1.conf +++ b/dbus-1/system.d/org.freedesktop.login1.conf @@ -88,6 +88,42 @@ send_interface="org.freedesktop.login1.Manager" send_member="ActivateSessionOnSeat"/> + + + + + + + + + + + + + + + + + + @@ -128,6 +164,26 @@ send_interface="org.freedesktop.login1.Manager" send_member="CanHybridSleep"/> + + + + + + + + + + @@ -136,6 +192,10 @@ send_interface="org.freedesktop.login1.Manager" send_member="FlushDevices"/> + + @@ -152,14 +212,30 @@ send_interface="org.freedesktop.login1.Seat" send_member="SwitchToNext"/> + + + + + + + + @@ -180,6 +256,14 @@ send_interface="org.freedesktop.login1.Session" send_member="PauseDeviceComplete"/> + + + + diff --git a/dbus-1/system.d/org.freedesktop.machine1.conf b/dbus-1/system.d/org.freedesktop.machine1.conf index ac1aee85..9d40b901 100644 --- a/dbus-1/system.d/org.freedesktop.machine1.conf +++ b/dbus-1/system.d/org.freedesktop.machine1.conf @@ -40,6 +40,10 @@ send_interface="org.freedesktop.machine1.Manager" send_member="ListMachines"/> + + @@ -48,6 +52,10 @@ send_interface="org.freedesktop.machine1.Manager" send_member="GetMachineByPID"/> + + @@ -56,6 +64,74 @@ send_interface="org.freedesktop.machine1.Manager" send_member="GetMachineOSRelease"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -64,6 +140,54 @@ send_interface="org.freedesktop.machine1.Machine" send_member="GetOSRelease"/> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dbus-1/system.d/org.freedesktop.network1.conf b/dbus-1/system.d/org.freedesktop.network1.conf new file mode 100644 index 00000000..52dad336 --- /dev/null +++ b/dbus-1/system.d/org.freedesktop.network1.conf @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/systemd/bootchart.conf b/systemd/bootchart.conf index c73328fd..4f5e5093 100644 --- a/systemd/bootchart.conf +++ b/systemd/bootchart.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/bootchart.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See bootchart.conf(5) for details +# See bootchart.conf(5) for details. [Bootchart] #Samples=500 @@ -22,3 +23,4 @@ #ScaleX=100 #ScaleY=20 #ControlGroup=no +#PerCPU=no diff --git a/systemd/coredump.conf b/systemd/coredump.conf index 0fe9fe80..c2f0643e 100644 --- a/systemd/coredump.conf +++ b/systemd/coredump.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/coredump.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See coredump.conf(5) for details +# See coredump.conf(5) for details. [Coredump] #Storage=external diff --git a/systemd/journald.conf b/systemd/journald.conf index 29bdf8f1..47eefe91 100644 --- a/systemd/journald.conf +++ b/systemd/journald.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/journald.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See journald.conf(5) for details +# See journald.conf(5) for details. [Journal] #Storage=auto diff --git a/systemd/logind.conf b/systemd/logind.conf index 6b1943a2..6df6f04c 100644 --- a/systemd/logind.conf +++ b/systemd/logind.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/logind.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See logind.conf(5) for details +# See logind.conf(5) for details. [Login] #NAutoVTs=6 @@ -26,6 +27,7 @@ #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes +#HoldoffTimeoutSec=30s #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% diff --git a/systemd/resolved.conf b/systemd/resolved.conf index 88717ce6..bb40bc90 100644 --- a/systemd/resolved.conf +++ b/systemd/resolved.conf @@ -5,8 +5,9 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/resolved.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # # See resolved.conf(5) for details diff --git a/systemd/system.conf b/systemd/system.conf index a3727200..23160903 100644 --- a/systemd/system.conf +++ b/systemd/system.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/system.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See systemd-system.conf(5) for details +# See systemd-system.conf(5) for details. [Manager] #LogLevel=info diff --git a/systemd/timesyncd.conf b/systemd/timesyncd.conf index fd025463..ffe00d92 100644 --- a/systemd/timesyncd.conf +++ b/systemd/timesyncd.conf @@ -5,10 +5,11 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # -# You can override the directives in this file by creating files in -# /etc/systemd/timesyncd.conf.d/*.conf. +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. # -# See timesyncd.conf(5) for details +# See timesyncd.conf(5) for details. [Time] #NTP= -- 2.39.5