Mailinglist Archive: opensuse-bugs (4250 mails)

< Previous Next >
[Bug 1018399] SUSE-RU-2017:0013-1 causes assert in PID1
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 05 Jan 2017 17:55:01 +0000
  • Message-id: <>

--- Comment #1 from Peter Wullinger <wullinger@xxxxxxxxxxxxxx> ---
Created attachment 708792
Add (dev) guard condition to device_is_bound_by_mounts()

This is a bona fide patch to handle the case when
device_is_bound_by_mounts(Unit *d, struct udev_device *dev) is called with (dev
== NULL), which seems to be a valid parameter combination in the calling

It removes the problematic assertion and instead guards the udev property query
by a non-NULL check.

I'd really like this to be reviewed by someone more familiar with the new
bind_mounts functionality.

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >