Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046348
en ru br
ALT Linux repos
S:6-alt1

Group :: System/Configuration/Boot and Init
RPM: systemd-settings

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: systemd-settings
Version: 5
Release: alt1
Summary: Settings for systemd
Url: https://packages.altlinux.org/en/Sisyphus/srpms/%name
Group: System/Configuration/Boot and Init
License: GPLv2+
BuildArch: noarch

Source: %name-%version.tar

%description
This package contains drop-in settings for systemd.

%package disable-user-systemd-for-selinux
Summary: Disable user systemd --user  for ALT selinux systems
Group: System/Configuration/Boot and Init

%description disable-user-systemd-for-selinux
Disabling user at .service, which attempts to start
systemd for user sessions, not needed or allowed
in ALT selinux systems.

%package disable-kill-user-processes
Summary: Set global KillUserProcesses=no
Group: System/Configuration/Boot and Init
Requires: /lib/systemd/systemd-logind
Conflicts: %name-enable-kill-user-processes

%description disable-kill-user-processes
%summary

%package enable-kill-user-processes
Summary: Set global KillUserProcesses=yes
Group: System/Configuration/Boot and Init
Requires: /lib/systemd/systemd-logind
Conflicts: %name-disable-kill-user-processes

%description enable-kill-user-processes
%summary

%package enable-showstatus
Summary: Set global ShowStatus=yes
Group: System/Configuration/Boot and Init

%description enable-showstatus
%summary

%package disable-dumpcore
Summary: Set global DumpCore=no
Group: System/Configuration/Boot and Init

%description disable-dumpcore
%summary

%package enable-log-to-tty12
Summary: Set global TTYPath=/dev/tty12 for forward logs
Group: System/Configuration/Boot and Init

%description enable-log-to-tty12
%summary

%package disable-resolve-llmnr
Summary: Set global LLMNR=no for resolve
Group: System/Configuration/Boot and Init

%description disable-resolve-llmnr
%summary

%prep
%setup

%build

%install
mkdir -p %buildroot/lib/systemd/{{logind,system,journald,resolved}.conf.d,system/user at .service.d}

install -p -m644 disable-kill-user-processes.conf \
   %buildroot/lib/systemd/logind.conf.d/disable-kill-user-processes.conf
install -p -m644 enable-kill-user-processes.conf \
   %buildroot/lib/systemd/logind.conf.d/enable-kill-user-processes.conf
install -p -m644 enable-showstatus.conf \
   %buildroot/lib/systemd/system.conf.d/enable-showstatus.conf
install -p -m644 disable-dumpcore.conf \
   %buildroot/lib/systemd/system.conf.d/disable-dumpcore.conf
install -p -m644 enable-log-to-tty12.conf \
   %buildroot/lib/systemd/journald.conf.d/enable-log-to-tty12.conf
install -p -m644 disable-resolve-llmnr.conf \
   %buildroot/lib/systemd/resolved.conf.d/disable-resolve-llmnr.conf

install -p -m644 disable-user-systemd-for-selinux.conf \
   %buildroot/lib/systemd/system/user at .service.d/disable-user-systemd-for-selinux.conf

%files disable-kill-user-processes
/lib/systemd/logind.conf.d/disable-kill-user-processes.conf

%files enable-kill-user-processes
/lib/systemd/logind.conf.d/enable-kill-user-processes.conf

%files disable-user-systemd-for-selinux
/lib/systemd/system/user at .service.d/disable-user-systemd-for-selinux.conf

%files enable-showstatus
/lib/systemd/system.conf.d/enable-showstatus.conf

%files disable-dumpcore
/lib/systemd/system.conf.d/disable-dumpcore.conf

%files disable-resolve-llmnr
/lib/systemd/resolved.conf.d/disable-resolve-llmnr.conf

%files enable-log-to-tty12
/lib/systemd/journald.conf.d/enable-log-to-tty12.conf

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin