diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | debug.csh | 3 | ||||
-rw-r--r-- | debug.sh | 4 | ||||
-rw-r--r-- | initscripts.spec | 17 | ||||
-rw-r--r-- | sysconfig/debug | 14 |
5 files changed, 1 insertions, 40 deletions
@@ -22,13 +22,12 @@ install: install -m644 rwtab statetab networks $(ROOT)/etc install -m755 service $(ROOT)/usr/sbin install -m644 lang.csh lang.sh $(ROOT)/etc/profile.d - install -m644 debug.csh debug.sh $(ROOT)/etc/profile.d install -m755 sys-unconfig $(ROOT)/usr/sbin install -m644 service.8 sys-unconfig.8 $(ROOT)$(mandir)/man8 install -m755 -d $(ROOT)/etc/rc.d $(ROOT)/etc/sysconfig cp -af rc.d/init.d $(ROOT)/etc/rc.d/ - install -m644 sysconfig/debug sysconfig/netconsole sysconfig/readonly-root $(ROOT)/etc/sysconfig/ + install -m644 sysconfig/netconsole sysconfig/readonly-root $(ROOT)/etc/sysconfig/ cp -af sysconfig/network-scripts $(ROOT)/etc/sysconfig/ cp -af NetworkManager $(ROOT)/etc mkdir -p $(ROOT)/usr/lib/systemd/ diff --git a/debug.csh b/debug.csh deleted file mode 100644 index 33b50acc..00000000 --- a/debug.csh +++ /dev/null @@ -1,3 +0,0 @@ -if ( -f /etc/sysconfig/debug ) then - eval `grep -Ev '(^[[:blank:]]*#|\$RANDOM)' /etc/sysconfig/debug | sed 's|^export ||g' | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'` -endif diff --git a/debug.sh b/debug.sh deleted file mode 100644 index 90af7cca..00000000 --- a/debug.sh +++ /dev/null @@ -1,4 +0,0 @@ - -if [ -f /etc/sysconfig/debug ]; then - . /etc/sysconfig/debug -fi diff --git a/initscripts.spec b/initscripts.spec index 2e5b41f5..00584e18 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -36,17 +36,6 @@ Provides: /sbin/service This package contains the script that activates and deactivates most network interfaces, some utilities, and other legacy files. -%package -n debugmode -Summary: Scripts for running in debug mode -Requires: initscripts -Group: System Environment/Base - -%description -n debugmode -The debugmode package contains some basic scripts that are used to run -the system in a debug mode. - -Currently, this consists of various memory checking code. - %prep %setup -q @@ -139,7 +128,6 @@ fi %dir %{_sysconfdir}/rc.d/init.d %{_sysconfdir}/rc.d/init.d/* %ghost %verify(not md5 size mtime) %config(noreplace,missingok) %{_sysconfdir}/rc.d/rc.local -%exclude %{_sysconfdir}/profile.d/debug* %{_sysconfdir}/profile.d/* %{_sbindir}/sys-unconfig %{_bindir}/usleep @@ -165,11 +153,6 @@ fi %dir %{_libexecdir}/initscripts %dir %{_libexecdir}/initscripts/legacy-actions -%files -n debugmode -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/sysconfig/debug -%{_sysconfdir}/profile.d/debug* - %changelog * Tue Aug 15 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.77-1 - specfile: Fix failing build for s390* architecture diff --git a/sysconfig/debug b/sysconfig/debug deleted file mode 100644 index 4ae4e7b5..00000000 --- a/sysconfig/debug +++ /dev/null @@ -1,14 +0,0 @@ -# MALLOC_CHECK_: should the system (libc) malloc check for memory errors? -# Used values are: -# unset: do not check -# 0: silently ignore errors -# 1: print diagnostics on stderr when an error is detected -# 2: call abort when an error is detected -# Note: MALLOC_CHECK_ is not thread safe, enable at your own risk. -# export MALLOC_CHECK_=1 - -# MALLOC_PERTURB_: initialize cleared memory to the specified value -export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) - -# Perform extra sanity checking in the gslice allocator -export G_SLICE=debug-blocks |