[debian-edu-commits] debian-edu/ 02/30: * Added patch linux-nice-level to deduce nice limit from 20 (impossible on Linux as 19 is max) to 9. * Added patch default-email to change default emails from killer@ to root at .

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Mon Jun 9 20:30:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to branch master
in repository killer.

commit 240e1d4ca09396ec948432a10c4653b92d31314b
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Tue Feb 26 08:51:46 2008 +0000

      * Added patch linux-nice-level to deduce nice limit from 20
        (impossible on Linux as 19 is max) to 9.
      * Added patch default-email to change default emails from killer@ to
        root at .
---
 debian/changelog                       |  9 +++++++++
 debian/patches/00list                  |  2 ++
 debian/patches/default-email.dpatch    | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/linux-nice-level.dpatch | 30 ++++++++++++++++++++++++++++++
 4 files changed, 75 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f735304..7d6174d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+killer (0.90-3) UNRELEASED; urgency=low
+
+  * Added patch linux-nice-level to deduce nice limit from 20
+    (impossible on Linux as 19 is max) to 9.
+  * Added patch default-email to change default emails from killer@ to
+    root at .
+
+ -- Petter Reinholdtsen <pere at debian.org>  Wed, 20 Feb 2008 09:42:03 +0100
+
 killer (0.90-2) unstable; urgency=low
 
   * Split all patches into separate files in debian/patch, to make
diff --git a/debian/patches/00list b/debian/patches/00list
index 0524522..a4def79 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -6,3 +6,5 @@ proper-clean
 no-kill-opt
 posix-locale
 console-devs
+linux-nice-level
+default-email
diff --git a/debian/patches/default-email.dpatch b/debian/patches/default-email.dpatch
new file mode 100755
index 0000000..804dd26
--- /dev/null
+++ b/debian/patches/default-email.dpatch
@@ -0,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+Change default email to use when reporting problems.
+
+ at DPATCH@
+--- killer-0.90.orig/killer
++++ killer-0.90/killer
+@@ -1051,7 +1053,7 @@
+ 
+ =cut
+ 
+-my $forkadmin = "killer\@$domainname";
++my $forkadmin = "root\@$domainname";
+ 
+ =item $killadmin
+ 
+@@ -1059,7 +1061,7 @@
+ 
+ =cut
+ 
+-my $killadmin = "killer\@$domainname";
++my $killadmin = "root\@$domainname";
+ 
+ =item $fromaddr
+ 
+@@ -1075,7 +1077,7 @@
+ 
+ =cut
+ 
+-my $stubbornadmin = "killer\@$domainname";
++my $stubbornadmin = "root\@$domainname";
+ 
+ =item @validusers
+ 
diff --git a/debian/patches/linux-nice-level.dpatch b/debian/patches/linux-nice-level.dpatch
new file mode 100755
index 0000000..6ae66ac
--- /dev/null
+++ b/debian/patches/linux-nice-level.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+Reduce nice limit from 20 (impossible on Linux as 19 is max) to 9.
+Using nice with no arguments set nice level to 10, and those should
+be allowed to live, I believe.
+  - Petter Reinholdtsen 2008-02-20
+
+ at DPATCH@
+--- killer-0.90.orig/killer
++++ killer-0.90/killer
+@@ -655,8 +655,8 @@
+ 
+ =head2 removeNiceJobs
+ 
+-This function removes all jobs that have a nice value greater than 20.
+-That is, they have a lower sceduling priority than the default.  
++This function removes all jobs that have a nice value greater than 9.
++That is, they have a lower sceduling priority than the default (0).
+ 
+ Example:
+ 
+@@ -674,7 +674,7 @@
+ 	# Get rid of things not in the "default" scheduling class
+ 	next unless ($val =~ /^[0-9]+$/);
+ 
+-	if ( int($val) > 20 ) {
++	if ( int($val) > 9 ) {
+ 	    $self->removeProcessId($key);
+ 	}
+     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/killer.git



More information about the debian-edu-commits mailing list