Hello community,
here is the log from the commit of package aaa_base.12032 for
openSUSE:Leap:15.1:Update checked in at 2020-03-02 00:15:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/aaa_base.12032 (Old)
and /work/SRC/openSUSE:Leap:15.1:Update/.aaa_base.12032.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base.12032"
Mon Mar 2 00:15:33 2020 rev:1 rq:779216 version:84.87+git20180409.04c9dae
Changes:
--------
New Changes file:
--- /dev/null 2019-12-19 10:12:34.003146842 +0100
+++
/work/SRC/openSUSE:Leap:15.1:Update/.aaa_base.12032.new.26092/aaa_base.changes
2020-03-02 00:15:35.280799121 +0100
@@ -0,0 +1,12900 @@
+-------------------------------------------------------------------
+Fri Feb 7 15:30:22 CET 2020 - [email protected]
+
+- Add patch git-15-27e2c6180a45cca63d71ffa5de7b32dec749d2cd.patch
+ change rp_filter to 2 to follow the current default (bsc#1160735)
+
+-------------------------------------------------------------------
+Thu Jan 16 11:28:01 CET 2020 - [email protected]
+
+- Add patch git-14-12023f2e8aae5b2ac3a895301945566b9f5eb9c3.patch
+ drop dev.cdrom.autoclose = 0 from sysctl config (bsc#1160970)
+
+-------------------------------------------------------------------
+Wed Nov 20 09:50:30 UTC 2019 - Dr. Werner Fink <[email protected]>
+
+- Clear broken ghost entry in patch
+ git-13-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch
+ which breaks (lib)readline (bsc#1157278)
+
+-----------------------------------------------------------------
+Thu Oct 17 05:40:32 UTC 2019 - [email protected]
+
+- Add patch git-13-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch
+ Use official key binding functions in inputrc
+ that is replace up-history with previous-history, down-history with
+ next-history and backward-delete-word with backward-kill-word
+ (bsc#1084934). Add some missed key escape sequences for urxvt-unicode
+ terminal as well (boo#1007715).
+
+-------------------------------------------------------------------
+Wed Oct 16 17:09:44 CEST 2019 - [email protected]
+
+- Add patch git-12-80d14205f913cc67a98c562f988ea700a56c369b.patch
+ * service: check if there is a second argument before using it
+ (bsc#1051143)
+
+-------------------------------------------------------------------
+Thu Oct 10 15:33:13 CEST 2019 - [email protected]
+
+- Add patch git-11-b20083a930f766939f47dddc66d089c9fee5d38a.patch
+ * check if variables can be set before modifying them
+ to avoid warnings on login with a restricted shell
+ (bsc#1138869)
+
+-------------------------------------------------------------------
+Wed Oct 9 11:39:22 CEST 2019 - [email protected]
+
+- Add patch git-08-9875dffab3ddda0c3e8399f935f059246c961f2a.patch
+ * Add s390x compressed kernel support (bsc#1151023)
+- Add git-09-c6cd010dd8b6efddd71c30f00a923d8f2537584c.patch
+ * Fix LC_NAME and LC_ADDRESS in sh.ssh
+- Add patch git-10-43091e644ff54997468a215b891dcaa75173f133.patch
+ * fix string test to arithmetic test in /etc/profile.d/wsl.sh
+
+-------------------------------------------------------------------
+Thu Aug 22 15:54:52 CEST 2019 - [email protected]
+
+- Add patch git-07-82a17f1689e8957635c8ccaae7c9b3bff7f94d49.patch
+ * add sysctl.d/51-network.conf to tighten network security a bit
+ see also (boo#1146866) (jira#SLE-9132)
+
+-------------------------------------------------------------------
+Thu Jul 18 17:10:36 CEST 2019 - [email protected]
+
+- Add patch git-06-8640f848c6677f1149b9765a8c86135956604007.patch
+ * Make systemd detection cgroup oblivious (bsc#1140647)
+ systemd can work in three exclusive cgroup modes: legacy, hybrid and
+ unified. The mode affects where and what cgroup hierarchies are mounted.
+ detect running systemd as systemd itself does it
+ (src/libsystemd/sd-daemon/sd-daemon.c, function sd_booted)
+
+-------------------------------------------------------------------
+Fri Apr 5 10:17:42 CEST 2019 - [email protected]
+
+- Add patch git-05-ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f.patch
+ * /etc/profile does not work in AppArmor-confined containers
+ (bsc#1096191)
+
+-------------------------------------------------------------------
+Mon Mar 11 14:39:19 CET 2019 - [email protected]
+
+- Add patch git-04-b66cf03e673e84902ce0330f88f84f4fbdc8c9e9.patch
+ * Restore old position of ssh/sudo source of profile
+ for bug bsc#1118364 but hopefully do not reintroduce
+ bug boo#1088524
+
+-------------------------------------------------------------------
+Thu Mar 7 12:04:50 CET 2019 - [email protected]
+
+- Add patch git-03-00d332a443062395957f422c89eaed9d0979ec00.patch
+ * update logic for JRE_HOME env variable (bsc#1128246)
+
+
+-------------------------------------------------------------------
+Tue Sep 4 10:32:16 UTC 2018 - Dr. Werner Fink <[email protected]>
+
+- Add patch git-01-61c106aac03930e03935172eaf94d92c02a343bd.patch
+ Let bash.bashrc work even for (m)ksh (boo#1104531)
+- Add patch git-02-4e5fe2a6ec5690b51a369d2134a1119962438fd1.patch
+ No error at login if java system directory is empty (bsc#1102310)
+
+-------------------------------------------------------------------
+Mon Apr 09 08:05:37 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180409.04c9dae:
+ * In bash.bashrc move ssh/sudo source of profile to avoid removing
+ the `is' variable before last use (boo#1088524).
+ * Avoid the shell code checker stumble over `function' keys word
+ in ls.bash (git#54).
+
+-------------------------------------------------------------------
+Thu Feb 22 15:10:28 UTC 2018 - [email protected]
+
+- Use %license (boo#1082318)
+
+-------------------------------------------------------------------
+Thu Feb 08 13:04:38 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180208.8eeab90:
+ * Don't call fillup for removed sysconfig.news
+ * Adjust path for script converting sysctl config
+ * For ksh use builtin keyword 'function' to make sure that the
+ keyword 'typeset' really set the variable IFS to be local within
+ the function _ls.
+
+-------------------------------------------------------------------
+Mon Feb 05 14:04:51 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180205.2d2832f:
+ * Move /lib/aaa_base/convert_sysctl to /usr/lib/base-scripts/convert_sysctl
+ to cleanup filesystem.
+ * Don't create /etc/init.d/{boot.local,after.local,halt.local} in
+ aaa_base.pre section.
+ * Remove dead code from pre/post install sections.
+
+-------------------------------------------------------------------
+Mon Feb 5 13:31:50 CET 2018 - [email protected]
+
+- Add /var/adm/backup subdirectories to aaa_base-extras, they are
+ only needed by this package.
+
+-------------------------------------------------------------------
+Sun Feb 04 21:39:14 UTC 2018 - [email protected]
+
+- Update to version 84.87+git20180204.875cba8:
+ * Move sysconfig.backup into extra subpackage, where all the
+ scripts using it are, too.
+ * Create systemd timer for the cron.daily scripts for backup-rpmdb,
+ backup-sysconfig and check-battery. Move scripts to
+ /usr/lib/base-scripts.
+ * Remove suse.de-cron-local. If somebody really still has a
+ /root/cron.daily.local file, he can move it to /etc/cron.daily.
+ * Don't modify data in root's home directory
+ * Don't create userdel.local, this isn't in use since many years
+
+-------------------------------------------------------------------
+Tue Jan 30 13:26:42 CET 2018 - [email protected]
+
+- Update to version 84.87+git20180130.ae1f262:
+ * Really remove /usr/sbin/Check, obsolete since 8 years
+ * Remove ChangeSymlinks, 90% are obsolete, the rest is dangerous
+ * Remove 14 year old outdated documentation and dummy scripts for
+ Java
+
+-------------------------------------------------------------------
+Tue Jan 30 12:01:41 CET 2018 - [email protected]
+
+- Update to version 84.87+git20180130.36ea161:
+ * Remove obsolete/outdated manual pages (route.conf.5,init.d.7,
+ quick_halt.8)
+
+-------------------------------------------------------------------
+Tue Dec 5 13:12:34 CET 2017 - [email protected]
+
+- Cleanup PreReq and move some parts to Requires(post), so that
+ we can deinstall them if we no longer need them
+
+-------------------------------------------------------------------
+Fri Dec 01 17:14:05 UTC 2017 - [email protected]
+
+- Update to version 84.87+git20171201.65000be:
+ * Revert changes on sysconfig language and make lang.(c)sh
+ to use sysconfig language as fallback or better use
+ locale.conf as default. See discussion in bsc#1069971
+ and FATE#319454 as well
+
+-------------------------------------------------------------------
+Thu Nov 30 11:41:27 UTC 2017 - [email protected]
+
+- Update to version 84.87+git20171130.974ac5c:
+ * Better parsing of sh variable settings in lang.csh
+
+-------------------------------------------------------------------
+Wed Nov 29 11:27:37 UTC 2017 - [email protected]
+
+- Update to version 84.87+git20171129.a45b936:
+ * Remove RC_* variables from language sysconf template
++++ 12703 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.1:Update/.aaa_base.12032.new.26092/aaa_base.changes
New:
----
README.packaging.txt
_service
_servicedata
aaa_base-84.87+git20180409.04c9dae.tar.xz
aaa_base-rpmlintrc
aaa_base.changes
aaa_base.spec
git-01-61c106aac03930e03935172eaf94d92c02a343bd.patch
git-02-4e5fe2a6ec5690b51a369d2134a1119962438fd1.patch
git-03-00d332a443062395957f422c89eaed9d0979ec00.patch
git-04-b66cf03e673e84902ce0330f88f84f4fbdc8c9e9.patch
git-05-ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f.patch
git-06-8640f848c6677f1149b9765a8c86135956604007.patch
git-07-82a17f1689e8957635c8ccaae7c9b3bff7f94d49.patch
git-08-9875dffab3ddda0c3e8399f935f059246c961f2a.patch
git-09-c6cd010dd8b6efddd71c30f00a923d8f2537584c.patch
git-10-43091e644ff54997468a215b891dcaa75173f133.patch
git-11-b20083a930f766939f47dddc66d089c9fee5d38a.patch
git-12-80d14205f913cc67a98c562f988ea700a56c369b.patch
git-13-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch
git-14-12023f2e8aae5b2ac3a895301945566b9f5eb9c3.patch
git-15-27e2c6180a45cca63d71ffa5de7b32dec749d2cd.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ aaa_base.spec ++++++
#
# spec file for package aaa_base
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# icecream 0
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: aaa_base
Version: 84.87+git20180409.04c9dae
Release: 0
Url: https://github.com/openSUSE/aaa_base
Provides: aaa_skel = %{version}-%{release}
Provides: bin
Provides: bootutls
Provides: etc
Provides: skeleng
Provides: skelger
Obsoletes: aaa_skel < %{version}
# do not require systemd - aaa_base is in the build environment and we don't
want
# to pull in tons of dependencies
Conflicts: sysvinit-init
Requires: /bin/login
Requires: /bin/mktemp
Requires: /usr/bin/find
Requires: /usr/bin/tput
Requires: /usr/bin/xargs
Requires: cpio
Requires: distribution-release
Requires: filesystem
# for symlink check to /bin/hostname
BuildRequires: net-tools
BuildRequires: xz
Recommends: logrotate netcfg udev net-tools aaa_base-extras
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date
Requires(post): fillup
Summary: openSUSE Base Package
License: GPL-2.0+
Group: System/Fhs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# run osc service dr to recreate
Source: aaa_base-%{version}.tar.xz
#
# Read README.packaging.txt before making any changes to this
# package
#
Source1: README.packaging.txt
Source99: aaa_base-rpmlintrc
Patch1: git-01-61c106aac03930e03935172eaf94d92c02a343bd.patch
Patch2: git-02-4e5fe2a6ec5690b51a369d2134a1119962438fd1.patch
Patch3: git-03-00d332a443062395957f422c89eaed9d0979ec00.patch
Patch4: git-04-b66cf03e673e84902ce0330f88f84f4fbdc8c9e9.patch
Patch5: git-05-ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f.patch
Patch6: git-06-8640f848c6677f1149b9765a8c86135956604007.patch
Patch7: git-07-82a17f1689e8957635c8ccaae7c9b3bff7f94d49.patch
Patch8: git-08-9875dffab3ddda0c3e8399f935f059246c961f2a.patch
Patch9: git-09-c6cd010dd8b6efddd71c30f00a923d8f2537584c.patch
Patch10: git-10-43091e644ff54997468a215b891dcaa75173f133.patch
Patch11: git-11-b20083a930f766939f47dddc66d089c9fee5d38a.patch
Patch12: git-12-80d14205f913cc67a98c562f988ea700a56c369b.patch
Patch13: git-13-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch
Patch14: git-14-12023f2e8aae5b2ac3a895301945566b9f5eb9c3.patch
Patch15: git-15-27e2c6180a45cca63d71ffa5de7b32dec749d2cd.patch
%description
This package installs several important configuration files and central scripts.
%package extras
Summary: SUSE Linux Base Package (recommended part)
Group: System/Fhs
Requires: %{name} = %{version}
Requires(post): fillup
Provides: aaa_base:/etc/DIR_COLORS
%description extras
The parts of aaa_base that should be installed by default but are not
strictly required to run a system. (Shell aliases, bash completions
and convenience hacks).
%package malloccheck
Summary: SUSE Linux Base Package (malloc checking)
Group: System/Fhs
Requires: %{name} = %{version}
%description malloccheck
This package sets environment variables that enable stricter
malloc checks to catch potential heap corruptions. It's not
installed by default as it may degrade performance.
%package wsl
Summary: SUSE Linux Base Package (Windows Subsystem for Linux)
Group: System/Fhs
Requires: %{name} = %{version}
%description wsl
This package includes some special settings needed on Windows Subsystem
for Linux. It should only be installed on WSL and not on regular Linux
systems.
%prep
%setup -q
%patch1
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
if test -d patches/$RPM_ARCH; then
pushd files
for file in ../patches/$RPM_ARCH/*; do
patch -p0 --input=$file
done
find -name "*.orig" | xargs -r rm
popd
fi
%install
#
make DESTDIR=$RPM_BUILD_ROOT install
#
mkdir -p %{buildroot}/etc/sysctl.d
case "$RPM_ARCH" in
s390*) ;;
*) rm -f %{buildroot}/usr/lib/sysctl.d/50-default-s390.conf ;;
esac
#
# make sure it does not creep in again
test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
mkdir -p $RPM_BUILD_ROOT/etc/init.d
for i in boot.local after.local halt.local ; do
echo "#!bin/bash" > $RPM_BUILD_ROOT/etc/init.d/$i
chmod 755 $RPM_BUILD_ROOT/etc/init.d/$i
done
#
install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions
# keep as ghost for migration
touch %buildroot/etc/inittab
# Backup directories
install -d -m 755 %{buildroot}/var/adm/backup/{rpmdb,sysconfig}
mkdir -p %{buildroot}%{_fillupdir}
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
for f in %{buildroot}/var/adm/fillup-templates/* ; do
test -e "$f" || continue
mv $f %{buildroot}%{_fillupdir}/
done
rm -vrf %{buildroot}/var/adm/fillup-templates
%endif
%if "%{_fillupdir}" != "/usr/share/fillup-templates"
for f in %{buildroot}/usr/share/fillup-templates/* ; do
test -e "$f" || continue
mv $f %{buildroot}%{_fillupdir}/
done
rm -vrf %{buildroot}/usr/share/fillup-templates
%endif
%pre -f aaa_base.pre
%post -f aaa_base.post
%pre extras
%service_add_pre backup-rpmdb.service backup-rpmdb.timer
backup-sysconfig.service backup-sysconfig.timer check-battery.service
check-battery.timer
%post extras
%fillup_only -n backup
%service_add_post backup-rpmdb.service backup-rpmdb.timer
backup-sysconfig.service backup-sysconfig.timer check-battery.service
check-battery.timer
%preun extras
%service_del_preun backup-rpmdb.service backup-rpmdb.timer
backup-sysconfig.service backup-sysconfig.timer check-battery.service
check-battery.timer
%postun extras
%service_del_postun backup-rpmdb.service backup-rpmdb.timer
backup-sysconfig.service backup-sysconfig.timer check-battery.service
check-battery.timer
%files
%defattr(-,root,root)
%license COPYING
%config(noreplace) %ghost /etc/sysctl.conf
%config /etc/bash.bashrc
%config /etc/csh.cshrc
%config /etc/csh.login
%config /etc/inputrc
%config /etc/inputrc.keys
%config /etc/mime.types
%config /etc/profile
%config /etc/profile.d/alljava.csh
%config /etc/profile.d/alljava.sh
%config /etc/profile.d/csh.ssh
%config /etc/profile.d/lang.csh
%config /etc/profile.d/lang.sh
%config /etc/profile.d/profile.csh
%config /etc/profile.d/profile.sh
%config /etc/profile.d/sh.ssh
%config /etc/profile.d/xdg-environment.csh
%config /etc/profile.d/xdg-environment.sh
%config /etc/rc.splash
%config /etc/rc.status
%config /etc/shells
%config /etc/ttytype
%ghost /etc/init.d/boot.local
%ghost /etc/init.d/after.local
%ghost /etc/init.d/halt.local
%ghost %config /etc/inittab
# don't forget to also change aaa_base.post, boot.cleanup
# and /etc/permissions!
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
/etc/hushlogins
/usr/bin/chkconfig
/sbin/chkconfig
/usr/bin/get_kernel_version
/sbin/refresh_initrd
/usr/sbin/refresh_initrd
/sbin/service
/usr/sbin/service
/sbin/smart_agetty
/usr/sbin/smart_agetty
/usr/bin/filesize
/usr/bin/mkinfodir
/usr/bin/old
/usr/bin/rpmlocate
/usr/bin/safe-rm
/usr/bin/safe-rmdir
%dir /usr/lib/base-scripts
/usr/lib/base-scripts/convert_sysctl
/usr/lib/restricted/bin/hostname
/usr/sbin/sysconf_addword
/usr/share/man/man1/smart_agetty.1*
/usr/share/man/man5/defaultdomain.5*
/usr/share/man/man8/chkconfig.8*
/usr/share/man/man8/safe-rm.8*
/usr/share/man/man8/safe-rmdir.8*
/usr/share/man/man8/service.8*
/usr/lib/sysctl.d/*.conf
%dir /usr/lib/initscripts
%dir /usr/lib/initscripts/legacy-actions
%{_fillupdir}/sysconfig.language
%{_fillupdir}/sysconfig.proxy
%{_fillupdir}/sysconfig.windowmanager
%files extras
%defattr(-,root,root)
%config(noreplace) /etc/DIR_COLORS
/etc/skel/.emacs
/etc/skel/.inputrc
%config /etc/profile.d/complete.bash
%config /etc/profile.d/alias.ash
/etc/profile.d/alias.bash
/etc/profile.d/alias.tcsh
/etc/profile.d/ls.tcsh
/etc/profile.d/ls.bash
/etc/profile.d/ls.zsh
/usr/lib/base-scripts/backup-rpmdb
/usr/lib/base-scripts/backup-sysconfig
/usr/lib/base-scripts/check-battery
/usr/lib/systemd/system/*
/usr/share/man/man8/resolv+.8*
/var/adm/backup/rpmdb
/var/adm/backup/sysconfig
%{_fillupdir}/sysconfig.backup
%files malloccheck
%defattr(-,root,root)
%config /etc/profile.d/malloc-debug.sh
%config /etc/profile.d/malloc-debug.csh
%files wsl
%defattr(-,root,root)
%config /etc/profile.d/wsl.csh
%config /etc/profile.d/wsl.sh
%changelog
++++++ README.packaging.txt ++++++
This package should use just the content of the git tree. If you need
to make changes, you have the following options:
* Make them in git and update the package from git (you can send merge
request if you don't have write access)
* Create a patch, add the patch to the package and let one of the
aaa_base packagers commit it for you
The online repository is at:
http://github.com/openSUSE/aaa_base
For building the package from git run the service directly:
osc service disabledrun
Note that aaa_base.spec and aaa_base.changes are not part of the git
repo.
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param name="version">84.87</param>
<param name="versionformat">84.87+git%cd.%h</param>
<param name="url">git://github.com/openSUSE/aaa_base.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/openSUSE/aaa_base.git</param>
<param
name="changesrevision">04c9daea971d58248c64076d41315129a7083629</param></service></servicedata>++++++
aaa_base-rpmlintrc ++++++
# it's just a README....
addFilter("non-remote_fs-dependency.*/etc/init.d/README")
addFilter("init-script-non-executable.*/etc/init.d/README")
addFilter("no-status-entry.*/etc/init.d/README")
addFilter("non-executable-script.*/sbin/init.d.README")
addFilter("non-executable-in-bin.*/sbin/init.d.README")
addFilter("script-without-shebang.*/sbin/init.d.README")
# contains just functions - executable bit is not needed
addFilter("non-executable-script.*/lib/YaST/SuSEconfig.functions")
# random don't need $remote-fs
addFilter("non-remote_fs-dependency.*/etc/init.d/random")
# if this script is triggered, remote-fs is not important
addFilter("non-remote_fs-dependency.*/etc/init.d/powerfail")
# single user mode is without remote connection
addFilter("non-remote_fs-dependency.*/etc/init.d/single")
# no comment
addFilter("non-remote_fs-dependency.*/etc/init.d/halt")
# this script is only for runlevel changes
addFilter("non-remote_fs-dependency.*/etc/init.d/rc")
# perhaps should be configurable later...
addFilter("non-etc-or-var-file-marked-as-conffile.*/sbin/quick_halt")
# confirmed - but standard
addFilter("non-root-group-log-file /var/log/wtmp utmp")
# the following init script don't need to be reloaded -
# even after an update
addFilter("no-reload-entry.*/etc/init.d/README")
addFilter("no-reload-entry.*/etc/init.d/boot.swap")
addFilter("no-reload-entry.*/etc/init.d/boot.proc")
addFilter("no-reload-entry.*/etc/init.d/random")
addFilter("no-reload-entry.*/etc/init.d/boot.ipconfig")
addFilter("no-reload-entry.*/etc/init.d/boot.rootfsck")
addFilter("no-reload-entry.*/etc/init.d/powerfail")
addFilter("no-reload-entry.*/etc/init.d/single")
addFilter("no-reload-entry.*/etc/init.d/boot.cleanup")
addFilter("no-reload-entry.*/etc/init.d/halt")
addFilter("no-reload-entry.*/etc/init.d/boot.ldconfig")
addFilter("no-reload-entry.*/etc/init.d/boot")
addFilter("no-reload-entry.*/etc/init.d/boot.klog")
addFilter("no-reload-entry.*/etc/init.d/rc")
addFilter("no-reload-entry.*/etc/init.d/boot.clock")
addFilter("no-reload-entry.*/etc/init.d/boot.localnet")
addFilter("no-reload-entry.*/etc/init.d/boot.localfs")
# the following init scripts don't need to be stopped -
# even after an update
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/skeleton.compat")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/README")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.swap")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.proc")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/random")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.ipconfig")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.rootfsck")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/powerfail")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/single")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.cleanup")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/skeleton")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/halt")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.ldconfig")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.klog")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/rc")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.clock")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.localnet")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.localfs")
# aaa_base requires net-tools
addFilter("dangling-symlink.*/usr/lib/restricted/bin/hostname.*/bin/hostname")
++++++ git-01-61c106aac03930e03935172eaf94d92c02a343bd.patch ++++++
>From 61c106aac03930e03935172eaf94d92c02a343bd Mon Sep 17 00:00:00 2001
From: Trucido <[email protected]>
Date: Sat, 26 May 2018 11:02:04 -0400
Subject: [PATCH] bashrc: Change =~ test to globs. Fixes mkshrc.
mksh shares bash.bashrc and [[ $TERM =~ xterm* ]] causes syntax error on Leap15
and TW;
mksh: /etc/mkshrc[140]: syntax error: unexpected operator/operand '=~'
Unless this fuzzy equal plus glob has another purpose, I see no reason to use
it. All shells that share this file seem to support double globs in a dual
bracket test
---
files/etc/bash.bashrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git files/etc/bash.bashrc files/etc/bash.bashrc
index d4828f2..e064262 100644
--- files/etc/bash.bashrc
+++ files/etc/bash.bashrc
@@ -137,7 +137,7 @@ case "$-" in
# addition needs to have "%w" in the "tabs" setting, ymmv for
# other console emulators.
#
- if [[ $TERM =~ xterm* ]] ; then
+ if [[ $TERM = *xterm* ]] ; then
_tsl=$(echo -en '\e]2;')
_isl=$(echo -en '\e]1;')
_fsl=$(echo -en '\007')
--
2.16.4
++++++ git-02-4e5fe2a6ec5690b51a369d2134a1119962438fd1.patch ++++++
>From 4e5fe2a6ec5690b51a369d2134a1119962438fd1 Mon Sep 17 00:00:00 2001
From: Werner Fink <[email protected]>
Date: Tue, 4 Sep 2018 12:22:09 +0200
Subject: [PATCH] Avoid `ls' command in alljava shell scriptlets
with this the error messageses for not existing directories
are gone even for (t)csh. Also the `-I' option had never
worked as expected due missed shell patterns.
Signed-off-by: Werner Fink <[email protected]>
---
files/etc/profile.d/alljava.csh | 4 +++-
files/etc/profile.d/alljava.sh | 6 +++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git files/etc/profile.d/alljava.csh files/etc/profile.d/alljava.csh
index d2d2378..602ee72 100644
--- files/etc/profile.d/alljava.csh
+++ files/etc/profile.d/alljava.csh
@@ -13,7 +13,9 @@ foreach JDIR ( "/usr/lib64/jvm" "/usr/lib/jvm"
"/usr/java/latest" "/usr/java" )
if ( ! -d $JDIR ) continue
- foreach JPATH ( $JDIR $JDIR/java `ls -I 'java' -I 'jre' -d $JDIR/*`
$JDIR/jre )
+ foreach JPATH ( $JDIR $JDIR/java $JDIR/java-[a-z]* $JDIR/java-[0-9]*
$JDIR/jre $JDIR/jre-[a-z]* $JDIR/jre-[0-9]* )
+
+ if ( ! -d $JPATH ) continue
if ( ! -x $JPATH/bin/java ) continue
diff --git files/etc/profile.d/alljava.sh files/etc/profile.d/alljava.sh
index 8c92a3f..8a2062a 100644
--- files/etc/profile.d/alljava.sh
+++ files/etc/profile.d/alljava.sh
@@ -15,7 +15,11 @@ for JDIR in /usr/lib64/jvm /usr/lib/jvm /usr/java/latest
/usr/java; do
continue
fi
- for JPATH in $JDIR $JDIR/java `ls -I 'java' -I 'jre' -d $JDIR/*
2>/dev/null` $JDIR/jre; do
+ for JPATH in $JDIR $JDIR/java $JDIR/java-[a-z]* $JDIR/java-[0-9]*
$JDIR/jre $JDIR/jre-[a-z]* $JDIR/jre-[0-9]*; do
+
+ if ! test -d $JPATH; then
+ continue
+ fi
if ! test -x $JPATH/bin/java; then
continue
--
2.16.4
++++++ git-03-00d332a443062395957f422c89eaed9d0979ec00.patch ++++++
commit 00d332a443062395957f422c89eaed9d0979ec00
Author: Ruediger Oertel <[email protected]>
Date: Thu Mar 7 11:57:12 2019 +0100
update logic for JRE_HOME env variable (bsc#1128246)
diff --git a/files/etc/profile.d/alljava.csh b/files/etc/profile.d/alljava.csh
index 602ee72..53f1c4f 100644
--- a/files/etc/profile.d/alljava.csh
+++ b/files/etc/profile.d/alljava.csh
@@ -30,7 +30,11 @@ foreach JDIR ( "/usr/lib64/jvm" "/usr/lib/jvm"
"/usr/java/latest" "/usr/java" )
setenv JRE_HOME $JPATH
breaksw
default:
- setenv JRE_HOME $JPATH/jre
+ if ( -x $JPATH/jre/bin/java ) then
+ setenv JRE_HOME $JPATH/jre
+ else
+ setenv JRE_HOME $JPATH
+ endif
# it is development kit=20
if ( -x $JPATH/bin/javac ) then
setenv JDK_HOME $JPATH
diff --git a/files/etc/profile.d/alljava.sh b/files/etc/profile.d/alljava.sh
index 8a2062a..6caf082 100644
--- a/files/etc/profile.d/alljava.sh
+++ b/files/etc/profile.d/alljava.sh
@@ -37,7 +37,11 @@ for JDIR in /usr/lib64/jvm /usr/lib/jvm /usr/java/latest
/usr/java; do
;;
*)
- [ -z "$JRE_HOME" ] && export JRE_HOME=$JPATH/jre
+ if [ -x $JPATH/jre/bin/java ] ; then
+ [ -z "$JRE_HOME" ] && export JRE_HOME=$JPATH/jre
+ else
+ [ -z "$JRE_HOME" ] && export JRE_HOME=$JPATH
+ fi
# it is development kit
if [ -x $JPATH/bin/javac ] ; then
export JDK_HOME=$JPATH
++++++ git-04-b66cf03e673e84902ce0330f88f84f4fbdc8c9e9.patch ++++++
commit b66cf03e673e84902ce0330f88f84f4fbdc8c9e9
Author: Werner Fink <[email protected]>
Date: Wed Jan 9 11:25:34 2019 +0100
Restore old position of ssh/sudo source of profile
for bug bsc#1118364 but hopefully do not reintroduce bug boo#1088524
Signed-off-by: Werner Fink <[email protected]>
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index b779297..07ac4a4 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -334,6 +334,20 @@ if test -r /etc/profile.d/vte.sh -a ! -k
/etc/profile.d/vte.sh; then
. /etc/profile.d/vte.sh
fi
+if test "$_is_save" = "unset" ; then
+ #
+ # Just in case the user excutes a command with ssh or sudo
+ #
+ if test \( -n "$SSH_CONNECTION" -o -n "$SUDO_COMMAND" \) -a -z
"$PROFILEREAD" -a "$noprofile" != true ; then
+ _is_save="$is"
+ _SOURCED_FOR_SSH=true
+ . /etc/profile > /dev/null 2>&1
+ unset _SOURCED_FOR_SSH
+ is="$_is_save"
+ _is_save=unset
+ fi
+fi
+
#
# Set GPG_TTY for curses pinentry
# (see man gpg-agent and bnc#619295)
@@ -356,14 +370,6 @@ esac
test -s /etc/sh.shrc.local && . /etc/sh.shrc.local
if test "$_is_save" = "unset" ; then
- #
- # Just in case the user excutes a command with ssh or sudo
- #
- if test \( -n "$SSH_CONNECTION" -o -n "$SUDO_COMMAND" \) -a -z
"$PROFILEREAD" -a "$noprofile" != true ; then
- _SOURCED_FOR_SSH=true
- . /etc/profile > /dev/null 2>&1
- unset _SOURCED_FOR_SSH
- fi
unset is _is_save
fi
++++++ git-05-ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f.patch ++++++
commit ae2a49183ba0ad9dff6b8c1efd4de076bd34ab0f
Author: Werner Fink <[email protected]>
Date: Thu Apr 4 14:58:23 2019 +0200
/etc/profile does not work in AppArmor-confined containers (bsc#1096191)
Signed-off-by: Werner Fink <[email protected]>
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index 07ac4a4..85be9f6 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -17,6 +17,7 @@ if test -z "$is" ; then
if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
case "$0" in
*pcksh) is=ksh ;;
+ *bash) is=bash ;;
*) is=sh ;;
esac
fi
diff --git a/files/etc/profile b/files/etc/profile
index 59b2443..1bbffdc 100644
--- a/files/etc/profile
+++ b/files/etc/profile
@@ -14,6 +14,7 @@ if test -f /proc/mounts ; then
if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
case "$0" in
*pcksh) is=ksh ;;
+ *bash) is=bash ;;
*) is=sh ;;
esac
fi
++++++ git-06-8640f848c6677f1149b9765a8c86135956604007.patch ++++++
commit 8640f848c6677f1149b9765a8c86135956604007
Author: Michal Koutný <[email protected]>
Date: Thu Jul 18 12:30:33 2019 +0200
Make systemd detection cgroup oblivious (bsc#1140647)
systemd can work in three exclusive cgroup modes: legacy, hybrid and
unified. The mode affects where and what cgroup hierarchies are mounted.
Do not rely on that and detect running systemd as systemd itself does it
(src/libsystemd/sd-daemon/sd-daemon.c, function sd_booted).
diff --git a/files/usr/bin/chkconfig b/files/usr/bin/chkconfig
index 99d0bb7..e4391f7 100755
--- a/files/usr/bin/chkconfig
+++ b/files/usr/bin/chkconfig
@@ -461,16 +461,8 @@ sub readable {
# check if systemd is active
#
sub is_systemd_active {
- my $cgroup_dev;
- my $systemd_dev;
- my $st;
-
use File::stat;
- $st = lstat("/sys/fs/cgroup") or return 0;
- $cgroup_dev = $st->dev;
- $st = lstat("/sys/fs/cgroup/systemd") or return 0;
- $systemd_dev = $st->dev;
- return 0 if ($cgroup_dev == $systemd_dev);
+ lstat("/run/systemd/system") or return 0;
-e $systemd_binary_path or return 0;
return 1;
}
diff --git a/files/usr/sbin/service b/files/usr/sbin/service
index 83e5352..24cc6cc 100755
--- a/files/usr/sbin/service
+++ b/files/usr/sbin/service
@@ -7,7 +7,7 @@ VERSION="18.02.16"
sd_booted()
{
- test -d /sys/fs/cgroup/systemd/
+ test -e /run/systemd/system/
}
#
++++++ git-07-82a17f1689e8957635c8ccaae7c9b3bff7f94d49.patch ++++++
commit 82a17f1689e8957635c8ccaae7c9b3bff7f94d49
Author: Ruediger Oertel <[email protected]>
Date: Thu Aug 22 15:42:09 2019 +0200
add sysctl.d/51-network.conf to tighten network security a bit
see also boo#1146866
diff --git a/files/usr/lib/sysctl.d/51-network.conf
b/files/usr/lib/sysctl.d/51-network.conf
new file mode 100644
index 0000000..a450e58
--- /dev/null
+++ b/files/usr/lib/sysctl.d/51-network.conf
@@ -0,0 +1,6 @@
+net.ipv4.conf.all.accept_redirects = 0
+net.ipv4.conf.default.accept_redirects = 0
+net.ipv4.conf.all.accept_source_route = 0
+net.ipv4.conf.default.accept_source_route = 0
+net.ipv6.conf.all.accept_redirects = 0
+net.ipv6.conf.default.accept_redirects = 0
++++++ git-08-9875dffab3ddda0c3e8399f935f059246c961f2a.patch ++++++
commit 9875dffab3ddda0c3e8399f935f059246c961f2a
Author: Thomas Renninger <[email protected]>
Date: Wed Oct 2 17:05:27 2019 +0200
Add s390x compressed kernel support
and fix a tiny typo in make clean
diff --git a/Makefile b/Makefile
index e4bede1..e992da0 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ install: all
install -m755 get_kernel_version $(DESTDIR)/usr/bin
clean:
- rm -f $(sbin_PROGRAMS)
+ rm -f $(bin_PROGRAMS)
mimetypes:
if test -d Apache/apache2; then (cd Apache/apache2 && osc up); else osc
co Apache/apache2; fi
diff --git a/get_kernel_version.c b/get_kernel_version.c
index db52159..569b67c 100644
--- a/get_kernel_version.c
+++ b/get_kernel_version.c
@@ -170,6 +170,41 @@ main (int argc, char *argv[])
}
}
}
+ if(!found) {
+ /* Compressed S390x kernel */
+ /* Compare with vanilla kernel git commit 6abe28197024f */
+ if(
+ !fseek(fp, 0x10008, SEEK_SET) &&
+ fread(buffer, 1, 6, fp) == 6 &&
+ buffer[0] == 'S' && buffer[1] == '3' &&
+ buffer[2] == '9' && buffer[3] == '0' &&
+ buffer[4] == 'E' && buffer[5] == 'P' &&
+ !fseek(fp, 0x10428, SEEK_SET) &&
+ fread(buffer, 1, 8, fp) == 8
+ ) {
+ unsigned long long version_string_offset =
+ ((unsigned char *) buffer)[7] +
+ (((unsigned char *) buffer)[6] << 8) +
+ (((unsigned char *) buffer)[5] << 16) +
+ (((unsigned char *) buffer)[4] << 24) +
+ ((unsigned long long) ((unsigned char *) buffer)[3] << 32) +
+ ((unsigned long long) ((unsigned char *) buffer)[2] << 40) +
+ ((unsigned long long) ((unsigned char *) buffer)[1] << 48) +
+ ((unsigned long long) ((unsigned char *) buffer)[0] << 56);
+ if(
+ !fseek(fp, version_string_offset, SEEK_SET) &&
+ fread(buffer, 1, MAX_VERSION_LENGTH, fp) == MAX_VERSION_LENGTH
+ ) {
+ char *s = buffer;
+
+ for(s[MAX_VERSION_LENGTH] = 0; *s; s++) if(*s == ' ') { *s = 0; break;
}
+ if(*buffer) {
+ found = 1;
+ printf("%s\n", buffer);
+ }
+ }
+ }
+ }
if (command[0] != '\0')
pclose (fp);
++++++ git-09-c6cd010dd8b6efddd71c30f00a923d8f2537584c.patch ++++++
commit c6cd010dd8b6efddd71c30f00a923d8f2537584c
Author: Jan Kardell <[email protected]>
Date: Sun Mar 10 00:25:07 2019 +0100
Fix LC_NAME and LC_ADDRESS in sh.ssh
There was a missing space between LC_NAME and LC_ADDRESS,
thus it became LC_NAMELC_ADDRESS.
Nobody noticed for at least 5 years, so it can't be that important.
diff --git a/files/etc/profile.d/sh.ssh b/files/etc/profile.d/sh.ssh
index cc1b818..11c32ed 100644
--- a/files/etc/profile.d/sh.ssh
+++ b/files/etc/profile.d/sh.ssh
@@ -7,7 +7,7 @@
test_lc()
{
for lc in LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE \
- LC_MONETARY LC_MESSAGES LC_PAPER LC_NAMELC_ADDRESS \
+ LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS \
LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL
do
eval val="\$$lc"
++++++ git-10-43091e644ff54997468a215b891dcaa75173f133.patch ++++++
commit 43091e644ff54997468a215b891dcaa75173f133
Author: Trucido <[email protected]>
Date: Thu May 10 01:22:21 2018 -0400
fix string test to arithmetic test in /etc/profile.d/wsl.sh
= test operator compares literal string "0000" whereas -eq compares integer
value which works with shells that truncate the umask (such as zsh which is
sometimes set to 000 instead of 022). This is the least invasive change I could
think of that solves this issue, since it will match 0, 00, 000, and 0000.
Also, the wsl.csh should probably also be changed to use (`umask` <= 0) or
equivalent, but csh seems to strip all leading zeros anyways so is not needed.
diff --git a/files/etc/profile.d/wsl.sh b/files/etc/profile.d/wsl.sh
index 13bff3a..0503a18 100644
--- a/files/etc/profile.d/wsl.sh
+++ b/files/etc/profile.d/wsl.sh
@@ -7,7 +7,7 @@ if test -n "$IS_WSL" ; then
if test -n "$ORIG_PATH" ; then
PATH=$ORIG_PATH:$PATH
fi
- if test $(umask) = 0000; then
+ if test $(umask) -eq 0; then
UMASK_LOGIN_DEFS=$(sed -ne 's/^UMASK[[:space:]]*//p' /etc/login.defs)
test "$UMASK_LOGIN_DEFS" && umask "$UMASK_LOGIN_DEFS"
unset UMASK_LOGIN_DEFS
++++++ git-11-b20083a930f766939f47dddc66d089c9fee5d38a.patch ++++++
commit b20083a930f766939f47dddc66d089c9fee5d38a
Author: Ruediger Oertel <[email protected]>
Date: Thu Oct 10 15:28:04 2019 +0200
check if variables can be set before modifying them
to avoid warnings on login with a restricted shell
(bsc#1138869)
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index 85be9f6..36f7db5 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -8,9 +8,14 @@
#
# Check which shell is reading this file
-#
-noprofile=false
-restricted=false
+# check if variables are read-only before setting them
+# for example in a restricted shell
+if unset noprofile 2>/dev/null ; then
+ noprofile=false
+fi
+if unset restricted 2>/dev/null ; then
+ restricted=false
+fi
: ${_is_save:=unset}
if test -z "$is" ; then
if test -f /proc/mounts ; then
++++++ git-12-80d14205f913cc67a98c562f988ea700a56c369b.patch ++++++
commit 80d14205f913cc67a98c562f988ea700a56c369b
Author: Ruediger Oertel <[email protected]>
Date: Wed Oct 16 17:02:39 2019 +0200
service: check if there is a second argument before using it
(bsc#1051143)
diff --git a/files/usr/sbin/service b/files/usr/sbin/service
index 24cc6cc..7ee2dd3 100755
--- a/files/usr/sbin/service
+++ b/files/usr/sbin/service
@@ -103,7 +103,7 @@ exec_rc ()
fi
echo "$1 is neither service nor target!?" >&2
return "1"
- elif [ -x "$actiondir/$1/$2" ]; then
+ elif [ -n "$2" -a -x "$actiondir/$1/$2" ]; then
rc="$actiondir/$1/$2"
shift 2
elif [ ${0##*/} = service ] ; then
++++++ git-13-14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e.patch ++++++
>From 14003c19eaa863ae9d80a0ebb9b5cab6273a5a9e Mon Sep 17 00:00:00 2001
From: Werner Fink <[email protected]>
Date: Thu, 17 Oct 2019 06:59:18 +0200
Subject: [PATCH] Use official key binding functions in inputrc
that is replace up-history with previous-history, down-history with
next-history and backward-delete-word with backward-kill-word
(bsc#1084934). Add some missed key escape sequences for urxvt-unicode
terminal as well (boo#1007715).
Signed-off-by: Werner Fink <[email protected]>
---
files/etc/inputrc | 32 ++++++++++++++++----------------
files/etc/inputrc.keys | 26 +++++++++++++++-----------
2 files changed, 31 insertions(+), 27 deletions(-)
--- a/files/etc/inputrc
+++ b/files/etc/inputrc 2019-10-17 05:38:06.234282419 +0000
@@ -54,40 +54,40 @@ $include /etc/inputrc.keys
$if term=xterm
"\e\eOD": backward-word
"\e\eOC": forward-word
-"\e\eOA": up-history
-"\e\eOB": down-history
+"\e\eOA": previous-history
+"\e\eOB": next-history
"\C-\eOD": backward-char
"\C-\eOC": forward-char
-"\C-\eOA": up-history
-"\C-\eOB": down-history
+"\C-\eOA": previous-history
+"\C-\eOB": next-history
"\M-\eOD": backward-word
"\M-\eOC": forward-word
-"\M-\eOA": up-history
-"\M-\eOB": down-history
+"\M-\eOA": previous-history
+"\M-\eOB": next-history
"\C-\M-OD": backward-char
"\C-\M-OC": forward-char
-"\C-\M-OA": up-history
-"\C-\M-OB": down-history
+"\C-\M-OA": previous-history
+"\C-\M-OB": next-history
$endif
#
# Standard cursor
#
"\e\e[D": backward-word
"\e\e[C": forward-word
-"\e\e[A": up-history
-"\e\e[B": down-history
+"\e\e[A": previous-history
+"\e\e[B": next-history
"\C-\e[D": backward-char
"\C-\e[C": forward-char
-"\C-\e[A": up-history
-"\C-\e[B": down-history
+"\C-\e[A": previous-history
+"\C-\e[B": next-history
"\M-\e[D": backward-word
"\M-\e[C": forward-word
-"\M-\e[A": up-history
-"\M-\e[B": down-history
+"\M-\e[A": previous-history
+"\M-\e[B": next-history
"\C-\M-[D": backward-char
"\C-\M-[C": forward-char
-"\C-\M-[A": up-history
-"\C-\M-[B": down-history
+"\C-\M-[A": previous-history
+"\C-\M-[B": next-history
$endif
#
# end
--- a/files/etc/inputrc.keys
+++ b/files/etc/inputrc.keys 2019-10-17 05:39:13.493025858 +0000
@@ -197,8 +197,8 @@ $endif
"\C-?": backward-delete-char
"\C-H": backward-delete-char
$if term=xterm
-"\e\303\277": backward-delete-word
-"\eÿ" backward-delete-word
+"\e\303\277": backward-kill-word
+"\eÿ" backward-kill-word
$endif
#
# Home and End
@@ -735,14 +735,18 @@ $if term=rxvt-unicode
"\e\eOn": delete-char
"\e\eOp": yank
"\e\eOq": end-of-line
-"\e\eOr": down-history
+"\e\eOr": next-history
"\e\eOs": history-search-forward
"\e\eOt": backward-char
"\e\eOu": re-read-init-file
"\e\eOv": forward-char
"\e\eOw": beginning-of-line
-"\e\eOx": up-history
+"\e\eOx": previous-history
"\e\eOy": history-search-backward
+"\eOc": forward-word
+"\eOd": backward-word
+"\eOa": history-search-backward
+"\eOb": history-search-forward
"\e[c": forward-word
"\e[d": backward-word
"\e[a": history-search-backward
@@ -783,8 +787,8 @@ $endif
$if term=screen
"\e[1;2D": backward-word
"\e[1;2C": forward-word
-"\e[1;2A": up-history
-"\e[1;2B": down-history
+"\e[1;2A": previous-history
+"\e[1;2B": next-history
"\e[1;2H": beginning-of-line
"\e[1;2F": end-of-line
"\e[2;2~": yank
@@ -793,8 +797,8 @@ $if term=screen
"\e[6;2~": history-search-forward
"\e[1;5D": backward-word
"\e[1;5C": forward-word
-"\e[1;5A": up-history
-"\e[1;5B": down-history
+"\e[1;5A": previous-history
+"\e[1;5B": next-history
"\e[1;5H": beginning-of-line
"\e[1;5F": end-of-line
"\e[2;5~": yank
@@ -803,8 +807,8 @@ $if term=screen
"\e[6;5~": history-search-forward
"\e[1;3D": backward-word
"\e[1;3C": forward-word
-"\e[1;3A": up-history
-"\e[1;3B": down-history
+"\e[1;3A": previous-history
+"\e[1;3B": next-history
"\e[1;3H": beginning-of-line
"\e[1;3F": end-of-line
"\e[2;3~": yank
++++++ git-14-12023f2e8aae5b2ac3a895301945566b9f5eb9c3.patch ++++++
commit 12023f2e8aae5b2ac3a895301945566b9f5eb9c3
Author: Ruediger Oertel <[email protected]>
Date: Thu Jan 16 11:11:13 2020 +0100
drop dev.cdrom.autoclose = 0 from sysctl config (bsc#1160970)
diff --git a/files/usr/lib/sysctl.d/50-default.conf
b/files/usr/lib/sysctl.d/50-default.conf
index da1a451..1527edb 100644
--- a/files/usr/lib/sysctl.d/50-default.conf
+++ b/files/usr/lib/sysctl.d/50-default.conf
@@ -45,9 +45,6 @@ fs.inotify.max_user_watches = 65536
# default 184 = 128+32+16+8
kernel.sysrq = 184
-# Disable auto-closing of cd tray bnc#659153
-dev.cdrom.autoclose = 0
-
# enable hard- and symlink protection (bnc#821585)
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
++++++ git-15-27e2c6180a45cca63d71ffa5de7b32dec749d2cd.patch ++++++
commit 27e2c6180a45cca63d71ffa5de7b32dec749d2cd
Author: Ruediger Oertel <[email protected]>
Date: Fri Feb 7 15:14:37 2020 +0100
change rp_filter to 2 to follow the current default (bsc#1160735)
diff --git a/files/usr/lib/sysctl.d/50-default.conf
b/files/usr/lib/sysctl.d/50-default.conf
index 1527edb..4e931ec 100644
--- a/files/usr/lib/sysctl.d/50-default.conf
+++ b/files/usr/lib/sysctl.d/50-default.conf
@@ -6,7 +6,7 @@
net.ipv4.icmp_echo_ignore_broadcasts = 1
# enable route verification on all interfaces
-net.ipv4.conf.all.rp_filter = 1
+net.ipv4.conf.all.rp_filter = 2
# avoid deleting secondary IPs on deleting the primary IP
net.ipv4.conf.default.promote_secondaries = 1