Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2016-02-11 12:33:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2016-01-30 
11:34:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes     2016-02-11 
12:33:15.000000000 +0100
@@ -1,0 +2,12 @@
+Fri Feb  5 15:25:37 UTC 2016 - snw...@suse.com
+
+- allow commas in nameserver option for compatibility (bsc#965293)
+- 5.0.70
+
+-------------------------------------------------------------------
+Wed Feb  3 12:30:14 UTC 2016 - snw...@suse.com
+
+- workaround: include O_DIRECTORY so open(, O_TMPFILE) works on ppc64 
(bsc#964709)
+- 5.0.69
+
+-------------------------------------------------------------------

Old:
----
  linuxrc-5.0.68.tar.xz

New:
----
  linuxrc-5.0.70.tar.xz

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

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.wNxl2t/_old  2016-02-11 12:33:16.000000000 +0100
+++ /var/tmp/diff_new_pack.wNxl2t/_new  2016-02-11 12:33:16.000000000 +0100
@@ -25,7 +25,7 @@
 Summary:        SUSE Installation Program
 License:        GPL-3.0+
 Group:          System/Boot
-Version:        5.0.68
+Version:        5.0.70
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ linuxrc-5.0.68.tar.xz -> linuxrc-5.0.70.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/VERSION new/linuxrc-5.0.70/VERSION
--- old/linuxrc-5.0.68/VERSION  2016-01-28 10:56:46.000000000 +0100
+++ new/linuxrc-5.0.70/VERSION  2016-02-05 16:23:18.000000000 +0100
@@ -1 +1 @@
-5.0.68
+5.0.70
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/changelog new/linuxrc-5.0.70/changelog
--- old/linuxrc-5.0.68/changelog        2016-01-28 10:56:46.000000000 +0100
+++ new/linuxrc-5.0.70/changelog        2016-02-05 16:23:18.000000000 +0100
@@ -1,3 +1,9 @@
+2016-02-05:    5.0.70
+       - allow commas in nameserver option for compatibility (bsc #965293)
+
+2016-02-02:    5.0.69
+       - workaround: include O_DIRECTORY so open(, O_TMPFILE) works on ppc64 
(bsc #964709)
+
 2016-01-25:    5.0.68
        - ensure we activate the correct interface when using vlan
        - fix routing config when using vlan (bsc #961624)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/file.c new/linuxrc-5.0.70/file.c
--- old/linuxrc-5.0.68/file.c   2016-01-28 10:56:46.000000000 +0100
+++ new/linuxrc-5.0.70/file.c   2016-02-05 16:23:18.000000000 +0100
@@ -686,7 +686,15 @@
         break;
       
       case key_nameserver:
-        if(*f->value) str_copy(&config.ifcfg.manual->ns, f->value);
+        if(*f->value) {
+          str_copy(&config.ifcfg.manual->ns, f->value);
+          // normally space separated list
+          // but allow comma separated list for compatibility
+          char *s = config.ifcfg.manual->ns;
+          do {
+            if(*s == ',') *s = ' ';
+          } while(*s++);
+        }
         break;
 
       case key_proxy:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.68/util.c new/linuxrc-5.0.70/util.c
--- old/linuxrc-5.0.68/util.c   2016-01-28 10:56:46.000000000 +0100
+++ new/linuxrc-5.0.70/util.c   2016-02-05 16:23:18.000000000 +0100
@@ -5356,9 +5356,14 @@
 
   if(!cmd) return err;
 
-  fd = open("/tmp", O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR);
+  // workaround: include O_DIRECTORY so it works on ppc64 (bsc #964709)
+  fd = open("/tmp", O_TMPFILE | O_DIRECTORY | O_RDWR, S_IRUSR | S_IWUSR);
 
-  if(fd < 0) return err;
+  if(fd == -1) {
+    perror_debug("failed to create tmp file");
+
+    return err;
+  }
 
   strprintf(&cmd2, "%s 2>&%d%s", cmd, fd, log_stdout ? " >&2" : "");
 


Reply via email to