Hello community,

here is the log from the commit of package sysvinit for openSUSE:Factory 
checked in at 2016-10-14 09:26:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysvinit (Old)
 and      /work/SRC/openSUSE:Factory/.sysvinit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysvinit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysvinit/sysvinit.changes        2016-02-23 
16:51:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sysvinit.new/sysvinit.changes   2016-10-14 
09:26:48.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Oct  4 13:31:43 UTC 2016 - wer...@suse.de
+
+- Avoid spurious waring on a not existin session of a not existing
+  process (boo#1002492)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
sysvinit.spec: same change
++++++ killproc-2.21.dif ++++++
--- /var/tmp/diff_new_pack.Kd3vNL/_old  2016-10-14 09:26:50.000000000 +0200
+++ /var/tmp/diff_new_pack.Kd3vNL/_new  2016-10-14 09:26:50.000000000 +0200
@@ -1,8 +1,8 @@
 ---
  Makefile    |    6 ++----
- libinit.c   |    4 ++--
+ libinit.c   |    7 ++++---
  startproc.c |    4 ++--
- 3 files changed, 6 insertions(+), 8 deletions(-)
+ 3 files changed, 8 insertions(+), 9 deletions(-)
 
 --- Makefile
 +++ Makefile   2016-01-25 15:42:08.730864821 +0000
@@ -20,7 +20,7 @@
  #
  # Architecture
 --- libinit.c
-+++ libinit.c  2012-05-23 11:04:58.000000000 +0000
++++ libinit.c  2016-10-04 13:22:04.272083140 +0000
 @@ -265,7 +265,7 @@ static inline boolean isnetfs(const char
  static void init_mounts(void)
  {
@@ -39,6 +39,16 @@
        const size_t nlen = strlen(point);
        MNTINFO *restrict p;
        if (posix_memalign((void*)&p, sizeof(void*), alignof(MNTINFO)+(nlen+1)) 
!= 0) {
+@@ -626,7 +626,8 @@ static pid_t getsession(const pid_t pid)
+ {
+     pid_t session = getsid(pid);
+     if ((long)session < 0) {
+-      warn("can not get session id for process %ld!\n", (long)pid);
++      if (errno != ESRCH)
++          warn("can not get session id for process %ld!\n", (long)pid);
+       session = 1;
+     }
+     return session;
 --- startproc.c
 +++ startproc.c        2014-05-27 12:08:10.000000000 +0000
 @@ -778,7 +778,7 @@ retry:


Reply via email to