Hello community,

here is the log from the commit of package systemd for openSUSE:Factory checked 
in at 2018-10-25 08:11:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
 and      /work/SRC/openSUSE:Factory/.systemd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd"

Thu Oct 25 08:11:24 2018 rev:287 rq:642104 version:237

Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd-mini.changes     2018-10-02 
19:42:40.150122101 +0200
+++ /work/SRC/openSUSE:Factory/.systemd.new/systemd-mini.changes        
2018-10-25 08:11:28.624222007 +0200
@@ -1,0 +2,24 @@
+Mon Oct 15 16:23:05 UTC 2018 - Franck Bui <[email protected]>
+
+- Ship systemd-sysv-install helper via the main package
+
+  This script was part of systemd-sysvinit sub-package but it was
+  wrong since systemd-sysv-install is a script used to redirect
+  enable/disable operations to chkconfig when the unit targets are
+  sysv init scripts. Therefore it's never been a SySV init tool.
+
+  While at it, don't ship this script (as well as
+  systemd-sysv-convert) when sysvcompat is not defined.
+
+-------------------------------------------------------------------
+Mon Oct 15 15:01:48 UTC 2018 - Franck Bui <[email protected]>
+
+- Import commit 19b3868d32af20f1ecc86fe3c997144ff456fd65
+
+  06c2284d64 core: introduce systemd.early_core_pattern= kernel cmdline option
+  479b002083 core: add missing 'continue' statement
+  c7fbccc62e journald: don't ship systemd-journald-audit.socket (bsc#1109252)
+  f17a6c790c detect-virt: do not try to read all of /proc/cpuinfo (bsc#1109197)
+  5a1aa84544 compat-rules: generate more compat by-id symlinks for NVMe 
devices (bsc#1095096)
+
+-------------------------------------------------------------------
systemd.changes: same change

Old:
----
  systemd-v237+suse.93.ga67b516d4.tar.xz

New:
----
  systemd-v237+suse.100.g19b3868d3.tar.xz

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

Other differences:
------------------
++++++ systemd-mini.spec ++++++
--- /var/tmp/diff_new_pack.DDfIYF/_old  2018-10-25 08:11:35.796217309 +0200
+++ /var/tmp/diff_new_pack.DDfIYF/_new  2018-10-25 08:11:35.800217307 +0200
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,7 @@
 ##### WARNING: please do not edit this auto generated spec file. Use the 
systemd.spec! #####
 %define mini -mini
 %define min_kernel_version 4.5
-%define suse_version +suse.93.ga67b516d4
+%define suse_version +suse.100.g19b3868d3
 
 %bcond_with     gnuefi
 %if 0%{?bootstrap}
@@ -143,10 +143,12 @@
 Source0:        systemd-v%{version}%{suse_version}.tar.xz
 Source1:        %{name}-rpmlintrc
 Source2:        systemd-user
+%if %{with sysvcompat}
 Source3:        systemd-sysv-convert
+Source4:        systemd-sysv-install
+%endif
 Source6:        baselibs.conf
 Source11:       after-local.service
-Source12:       systemd-sysv-install
 Source14:       kbd-model-map.legacy
 
 Source100:      scripts-systemd-fix-machines-btrfs-subvol.sh
@@ -492,11 +494,13 @@
 ln -sf %{_bindir}/systemctl %{buildroot}/bin/systemctl
 ln -sf %{_prefix}/lib/systemd/systemd-udevd %{buildroot}/sbin/udevd
 
+%if %{with sysvcompat}
 mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/sysv-convert
 mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/migrated
 
 install -m0755 -D %{S:3}  %{buildroot}/%{_sbindir}/systemd-sysv-convert
-install -m0755 -D %{S:12} 
%{buildroot}/%{_prefix}/lib/systemd/systemd-sysv-install
+install -m0755 -D %{S:4}  
%{buildroot}/%{_prefix}/lib/systemd/systemd-sysv-install
+%endif
 
 # The rules that we shouldn't maintain
 install -m0644 -D %{S:1000} %{buildroot}%{_udevrulesdir}/60-io-scheduler.rules
@@ -914,7 +918,9 @@
 %{_bindir}/systemd-stdio-bridge
 %{_bindir}/systemd-detect-virt
 %{_bindir}/timedatectl
+%if %{with sysvcompat}
 %{_sbindir}/systemd-sysv-convert
+%endif
 %{_bindir}/systemd-cgls
 %{_bindir}/systemd-cgtop
 %{_bindir}/systemd-cat
@@ -934,7 +940,6 @@
 %exclude %{_prefix}/lib/systemd/systemd-journal-upload
 %endif
 %exclude %{_prefix}/lib/systemd/systemd-coredump
-%exclude %{_prefix}/lib/systemd/systemd-sysv*
 %exclude %{_prefix}/lib/systemd/systemd-udevd
 %exclude %{_unitdir}/systemd-udev*.*
 %exclude %{_unitdir}/*.target.wants/systemd-udev*.*
@@ -1150,9 +1155,11 @@
 %{_udevrulesdir}/73-seat-late.rules
 %{_udevrulesdir}/99-systemd.rules
 %dir %{_localstatedir}/lib/systemd
+%dir %{_localstatedir}/lib/systemd/catalog
+%if %{with sysvcompat}
 %dir %{_localstatedir}/lib/systemd/sysv-convert
 %dir %{_localstatedir}/lib/systemd/migrated
-%dir %{_localstatedir}/lib/systemd/catalog
+%endif
 %ghost %{_localstatedir}/lib/systemd/catalog/database
 %ghost %{_localstatedir}/lib/systemd/backlight
 %ghost %{_localstatedir}/lib/systemd/random-seed
@@ -1194,7 +1201,6 @@
 %{_mandir}/man8/telinit.8*
 %{_mandir}/man8/runlevel.8*
 %endif
-%{_prefix}/lib/systemd/systemd-sysv-install
 
 %files -n udev%{?mini}
 %defattr(-,root,root)

++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.DDfIYF/_old  2018-10-25 08:11:35.824217291 +0200
+++ /var/tmp/diff_new_pack.DDfIYF/_new  2018-10-25 08:11:35.824217291 +0200
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 %define bootstrap 0
 %define mini %nil
 %define min_kernel_version 4.5
-%define suse_version +suse.93.ga67b516d4
+%define suse_version +suse.100.g19b3868d3
 
 %bcond_with     gnuefi
 %if 0%{?bootstrap}
@@ -141,10 +141,12 @@
 Source0:        systemd-v%{version}%{suse_version}.tar.xz
 Source1:        %{name}-rpmlintrc
 Source2:        systemd-user
+%if %{with sysvcompat}
 Source3:        systemd-sysv-convert
+Source4:        systemd-sysv-install
+%endif
 Source6:        baselibs.conf
 Source11:       after-local.service
-Source12:       systemd-sysv-install
 Source14:       kbd-model-map.legacy
 
 Source100:      scripts-systemd-fix-machines-btrfs-subvol.sh
@@ -490,11 +492,13 @@
 ln -sf %{_bindir}/systemctl %{buildroot}/bin/systemctl
 ln -sf %{_prefix}/lib/systemd/systemd-udevd %{buildroot}/sbin/udevd
 
+%if %{with sysvcompat}
 mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/sysv-convert
 mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/migrated
 
 install -m0755 -D %{S:3}  %{buildroot}/%{_sbindir}/systemd-sysv-convert
-install -m0755 -D %{S:12} 
%{buildroot}/%{_prefix}/lib/systemd/systemd-sysv-install
+install -m0755 -D %{S:4}  
%{buildroot}/%{_prefix}/lib/systemd/systemd-sysv-install
+%endif
 
 # The rules that we shouldn't maintain
 install -m0644 -D %{S:1000} %{buildroot}%{_udevrulesdir}/60-io-scheduler.rules
@@ -912,7 +916,9 @@
 %{_bindir}/systemd-stdio-bridge
 %{_bindir}/systemd-detect-virt
 %{_bindir}/timedatectl
+%if %{with sysvcompat}
 %{_sbindir}/systemd-sysv-convert
+%endif
 %{_bindir}/systemd-cgls
 %{_bindir}/systemd-cgtop
 %{_bindir}/systemd-cat
@@ -932,7 +938,6 @@
 %exclude %{_prefix}/lib/systemd/systemd-journal-upload
 %endif
 %exclude %{_prefix}/lib/systemd/systemd-coredump
-%exclude %{_prefix}/lib/systemd/systemd-sysv*
 %exclude %{_prefix}/lib/systemd/systemd-udevd
 %exclude %{_unitdir}/systemd-udev*.*
 %exclude %{_unitdir}/*.target.wants/systemd-udev*.*
@@ -1148,9 +1153,11 @@
 %{_udevrulesdir}/73-seat-late.rules
 %{_udevrulesdir}/99-systemd.rules
 %dir %{_localstatedir}/lib/systemd
+%dir %{_localstatedir}/lib/systemd/catalog
+%if %{with sysvcompat}
 %dir %{_localstatedir}/lib/systemd/sysv-convert
 %dir %{_localstatedir}/lib/systemd/migrated
-%dir %{_localstatedir}/lib/systemd/catalog
+%endif
 %ghost %{_localstatedir}/lib/systemd/catalog/database
 %ghost %{_localstatedir}/lib/systemd/backlight
 %ghost %{_localstatedir}/lib/systemd/random-seed
@@ -1192,7 +1199,6 @@
 %{_mandir}/man8/telinit.8*
 %{_mandir}/man8/runlevel.8*
 %endif
-%{_prefix}/lib/systemd/systemd-sysv-install
 
 %files -n udev%{?mini}
 %defattr(-,root,root)

++++++ systemd-v237+suse.93.ga67b516d4.tar.xz -> 
systemd-v237+suse.100.g19b3868d3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/systemd-v237+suse.93.ga67b516d4/man/kernel-command-line.xml 
new/systemd-v237+suse.100.g19b3868d3/man/kernel-command-line.xml
--- old/systemd-v237+suse.93.ga67b516d4/man/kernel-command-line.xml     
2018-09-28 08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/man/kernel-command-line.xml    
2018-10-15 17:00:35.000000000 +0200
@@ -81,6 +81,7 @@
         <term><varname>systemd.unit=</varname></term>
         <term><varname>rd.systemd.unit=</varname></term>
         <term><varname>systemd.dump_core</varname></term>
+        <term><varname>systemd.early_core_pattern=</varname></term>
         <term><varname>systemd.crash_chvt</varname></term>
         <term><varname>systemd.crash_shell</varname></term>
         <term><varname>systemd.crash_reboot</varname></term>
@@ -116,6 +117,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><varname>systemd.early_core_pattern=</varname></term>
+        <listitem>
+          <para>During early boot, the generation of core dump files is 
disabled until a core dump handler (if any)
+          takes over. This parameter allows to specifies an absolute path 
where core dump files should be stored until
+          a handler is installed. The path should be absolute and may contain 
specifiers, see
+          
<citerefentry><refentrytitle>core</refentrytitle><manvolnum>5</manvolnum></citerefentry>
 for details.</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><varname>systemd.restore_state=</varname></term>
         <listitem>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/systemd-v237+suse.93.ga67b516d4/rules/61-persistent-storage-compat.rules 
new/systemd-v237+suse.100.g19b3868d3/rules/61-persistent-storage-compat.rules
--- 
old/systemd-v237+suse.93.ga67b516d4/rules/61-persistent-storage-compat.rules    
    2018-09-28 08:16:18.000000000 +0200
+++ 
new/systemd-v237+suse.100.g19b3868d3/rules/61-persistent-storage-compat.rules   
    2018-10-15 17:00:35.000000000 +0200
@@ -53,23 +53,37 @@
 #
 ENV{COMPAT_SYMLINK_GENERATION}!="1", GOTO="generation_2"
 
-# NVMe symlinks were introduced first via a SUSE specific commit
-# (bsc#944132) and upstream gained support later but of course using a
-# different scheme.
-
-# The SCSI translation layer for NVMe devices has been removed from
-# the kernel since 4.13, therefore we switched from scsi_id to the
-# sysfs interface to generate the name of the compat symlinks.
-# Unfortunately we can't use %s{model} to retrieve the model string
-# because udev strips any trailing whitespaces and some plateforms
-# (QEMU does that) might append such chars. In those cases scsi_id was
-# replacing them with a single trailing '_'. Therefore the currently
-# code retrieves the model string manually making sure to preserve all
-# characters so trailing whitespaces are still converted when the
+# NVMe symlinks were introduced by a SUSE specific commit (bsc#944132) which
+# relied on scsi_id (unfortunately) and hence used the NVMe SCSI translation
+# layer. Later upstream added (by-id) symlinks for NVMe as well but reads the
+# device properties from its sysfs attributes instead. The symlinks names
+# generated in both cases are not identical so we still have to generate the
+# old ones for backward compatibly reasons.
+#
+# The SCSI translation layer for NVMe devices has been removed from the kernel
+# since 4.13, therefore we had to drop the use of scsi_id and use the sysfs
+# interface to mimic scsi_id and continue to generate the old compat symlinks.
+#
+# The rules below hopefully mimics the main cases only as it's impossible to
+# re-implement the exact behavior of scsi_id via udev rules.
+#
+# scsi_id acted differently depending on the NVMe revision implemented by a
+# device, which can lead to problems if the device firmware is
+# updated. Therefore symlinks for all NVMe revisions are generated now.
+#
+# Extra care is needed for whitespace handling. For example we can't use
+# %s{model} to retrieve the model string because udev strips any trailing
+# whitespaces and some plateforms (QEMU does that) might append such chars. In
+# those cases scsi_id was replacing them with a single trailing '_'. Therefore
+# the currently code retrieves the model string manually making sure to
+# preserve all characters so trailing whitespaces are still converted when the
 # symlink is created.
 
-# KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_SERIAL_COMPAT}!="?*", 
ATTRS{model}=="?*", ATTRS{serial}=="?*", \
-#   PROGRAM=="/bin/sh -c 'MODEL=\"%s{model}\"; echo \"${MODEL:0:16}\"'", 
ENV{ID_NVME_SERIAL_COMPAT}="SNVMe_%c%s{serial}"
+KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_EUI_COMPAT}!="?*", 
ATTRS{eui}=="?*", ATTRS{eui}!="0000000000000000", \
+  PROGRAM=="/bin/sh -c 'eui=\"%s{eui}\"; echo ${eui// /}", 
ENV{ID_NVME_EUI_COMPAT}="2%c"
+
+KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_NGUID_COMPAT}!="?*", 
ATTRS{nguid}=="?*", \
+  PROGRAM=="/bin/sh -c 'nguid=\"%s{nguid}\"; echo ${nguid//-/}", 
ENV{ID_NVME_NGUID_COMPAT}="%c"
 
 KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_SERIAL_COMPAT}!="?*", 
ATTRS{model}=="?*", ATTRS{serial}=="?*", \
   PROGRAM=="/bin/sh -c ' \
@@ -80,7 +94,12 @@
    done; \
    cut -c 1-16 model'", ENV{ID_NVME_SERIAL_COMPAT}="SNVMe_%c%s{serial}"
 
+KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_EUI_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_EUI_COMPAT}"
+KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_NGUID_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_NGUID_COMPAT}"
 KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ENV{ID_NVME_SERIAL_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_SERIAL_COMPAT}"
+
+KERNEL=="nvme*", ENV{DEVTYPE}=="partition", ENV{ID_NVME_EUI_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_EUI_COMPAT}-part%n"
+KERNEL=="nvme*", ENV{DEVTYPE}=="partition", ENV{ID_NVME_NGUID_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_NGUID_COMPAT}-part%n"
 KERNEL=="nvme*", ENV{DEVTYPE}=="partition", ENV{ID_NVME_SERIAL_COMPAT}=="?*", 
SYMLINK+="disk/by-id/nvme-$env{ID_NVME_SERIAL_COMPAT}-part%n"
 
 # Leap 42.3 ISO has a version of udev which suffers from bsc#1048679
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/systemd-v237+suse.93.ga67b516d4/rules/meson.build 
new/systemd-v237+suse.100.g19b3868d3/rules/meson.build
--- old/systemd-v237+suse.93.ga67b516d4/rules/meson.build       2018-09-28 
08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/rules/meson.build      2018-10-15 
17:00:35.000000000 +0200
@@ -28,6 +28,7 @@
         60-persistent-v4l.rules
         60-sensor.rules
         60-serial.rules
+        61-persistent-storage-compat.rules
         70-joystick.rules
         70-mouse.rules
         70-touchpad.rules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/systemd-v237+suse.93.ga67b516d4/src/basic/virt.c 
new/systemd-v237+suse.100.g19b3868d3/src/basic/virt.c
--- old/systemd-v237+suse.93.ga67b516d4/src/basic/virt.c        2018-09-28 
08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/src/basic/virt.c       2018-10-15 
17:00:35.000000000 +0200
@@ -29,6 +29,7 @@
 
 #include "alloc-util.h"
 #include "dirent-util.h"
+#include "def.h"
 #include "env-util.h"
 #include "fd-util.h"
 #include "fileio.h"
@@ -276,20 +277,41 @@
 }
 
 static int detect_vm_uml(void) {
-        _cleanup_free_ char *cpuinfo_contents = NULL;
+        _cleanup_fclose_ FILE *f = NULL;
         int r;
 
         /* Detect User-Mode Linux by reading /proc/cpuinfo */
-        r = read_full_file("/proc/cpuinfo", &cpuinfo_contents, NULL);
-        if (r < 0)
-                return r;
+        f = fopen("/proc/cpuinfo", "re");
+        if (!f) {
+                if (errno == ENOENT) {
+                        log_debug("/proc/cpuinfo not found, assuming no UML 
virtualization.");
+                        return VIRTUALIZATION_NONE;
+                }
+                return -errno;
+        }
+
+        for (;;) {
+                _cleanup_free_ char *line = NULL;
+                const char *t;
+
+                r = read_line(f, LONG_LINE_MAX, &line);
+                if (r < 0)
+                        return r;
+                if (r == 0)
+                        break;
+
+                t = startswith(line, "vendor_id\t: ");
+                if (t) {
+                        if (startswith(t, "User Mode Linux")) {
+                                log_debug("UML virtualization found in 
/proc/cpuinfo");
+                                return VIRTUALIZATION_UML;
+                        }
 
-        if (strstr(cpuinfo_contents, "\nvendor_id\t: User Mode Linux\n")) {
-                log_debug("UML virtualization found in /proc/cpuinfo");
-                return VIRTUALIZATION_UML;
+                        break;
+                }
         }
 
-        log_debug("No virtualization found in /proc/cpuinfo.");
+        log_debug("UML virtualization not found in /proc/cpuinfo.");
         return VIRTUALIZATION_NONE;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/systemd-v237+suse.93.ga67b516d4/src/core/main.c 
new/systemd-v237+suse.100.g19b3868d3/src/core/main.c
--- old/systemd-v237+suse.93.ga67b516d4/src/core/main.c 2018-09-28 
08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/src/core/main.c        2018-10-15 
17:00:35.000000000 +0200
@@ -123,6 +123,7 @@
 static unsigned arg_default_start_limit_burst = DEFAULT_START_LIMIT_BURST;
 static usec_t arg_runtime_watchdog = 0;
 static usec_t arg_shutdown_watchdog = 10 * USEC_PER_MINUTE;
+static char *arg_early_core_pattern = NULL;
 static char *arg_watchdog_device = NULL;
 static char **arg_default_environment = NULL;
 static struct rlimit *arg_default_rlimit[_RLIMIT_MAX] = {};
@@ -363,6 +364,16 @@
                 else
                         arg_dump_core = r;
 
+        } else if (proc_cmdline_key_streq(key, "systemd.early_core_pattern")) {
+
+                if (proc_cmdline_value_missing(key, value))
+                        return 0;
+
+                if (path_is_absolute(value))
+                        (void) parse_path_argument_and_warn(value, false, 
&arg_early_core_pattern);
+                else
+                        log_warning("Specified core pattern '%s' is not an 
absolute path, ignoring.", value);
+
         } else if (proc_cmdline_key_streq(key, "systemd.crash_chvt")) {
 
                 if (!value)
@@ -478,7 +489,7 @@
                 if (proc_cmdline_value_missing(key, value))
                         return 0;
 
-                parse_path_argument_and_warn(value, false, 
&arg_watchdog_device);
+                (void) parse_path_argument_and_warn(value, false, 
&arg_watchdog_device);
 
         } else if (streq(key, "quiet") && !value) {
 
@@ -1623,12 +1634,28 @@
         if (setrlimit(RLIMIT_CORE, &RLIMIT_MAKE_CONST(RLIM_INFINITY)) < 0)
                 log_warning_errno(errno, "Failed to set RLIMIT_CORE: %m");
 
-        /* But at the same time, turn off the core_pattern logic by default, 
so that no coredumps are stored
-         * until the systemd-coredump tool is enabled via sysctl. */
+        /* But at the same time, turn off the core_pattern logic by default, 
so that no
+         * coredumps are stored until the systemd-coredump tool is enabled via
+         * sysctl. However it can be changed via the kernel command line later 
so core
+         * dumps can still be generated during early startup and in initramfs. 
*/
         if (!skip_setup)
                 disable_coredumps();
 }
 
+static void initialize_core_pattern(bool skip_setup) {
+        int r;
+
+        if (skip_setup || !arg_early_core_pattern)
+                return;
+
+        if (getpid_cached() != 1)
+                return;
+
+        r = write_string_file("/proc/sys/kernel/core_pattern", 
arg_early_core_pattern, 0);
+        if (r < 0)
+                log_warning_errno(r, "Failed to write '%s' to 
/proc/sys/kernel/core_pattern, ignoring: %m", arg_early_core_pattern);
+}
+
 static void do_reexecute(
                 int argc,
                 char *argv[],
@@ -2483,6 +2510,9 @@
 
         if (arg_action == ACTION_RUN) {
 
+                /* A core pattern might have been specified via the cmdline.  
*/
+                initialize_core_pattern(skip_setup);
+
                 /* Close logging fds, in order not to confuse collecting 
passed fds and terminal logic below */
                 log_close();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/systemd-v237+suse.93.ga67b516d4/src/core/unit.c 
new/systemd-v237+suse.100.g19b3868d3/src/core/unit.c
--- old/systemd-v237+suse.93.ga67b516d4/src/core/unit.c 2018-09-28 
08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/src/core/unit.c        2018-10-15 
17:00:35.000000000 +0200
@@ -3566,6 +3566,8 @@
                         else
                                 unit_ref_uid_gid(u, UID_INVALID, gid);
 
+                        continue;
+
                 } else if (streq(l, "ref")) {
 
                         r = strv_extend(&u->deserialized_refs, v);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/systemd-v237+suse.93.ga67b516d4/units/meson.build 
new/systemd-v237+suse.100.g19b3868d3/units/meson.build
--- old/systemd-v237+suse.93.ga67b516d4/units/meson.build       2018-09-28 
08:16:18.000000000 +0200
+++ new/systemd-v237+suse.100.g19b3868d3/units/meson.build      2018-10-15 
17:00:35.000000000 +0200
@@ -102,8 +102,6 @@
          'sockets.target.wants/'],
         ['systemd-journal-gatewayd.socket',     'ENABLE_REMOTE 
HAVE_MICROHTTPD'],
         ['systemd-journal-remote.socket',       'ENABLE_REMOTE 
HAVE_MICROHTTPD'],
-        ['systemd-journald-audit.socket',       '',
-         'sockets.target.wants/'],
         ['systemd-journald-dev-log.socket',     '',
          'sockets.target.wants/'],
         ['systemd-journald.socket',             '',


Reply via email to