From fa271da503d7209fad3af9d409a277adcaf87bfa Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 18 Jan 2016 15:56:12 +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 0000000..4d49767 --- /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 1318328..1662d4c 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 ac1aee8..9d40b90 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 0000000..52dad33 --- /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 c73328f..4f5e509 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 0fe9fe8..c2f0643 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 29bdf8f..47eefe9 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 6b1943a..6df6f04 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 88717ce..bb40bc9 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 a372720..2316090 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 fd02546..ffe00d9 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