Re: [gentoo-user] systemd crashes when I try to mount a USB drive

2019-08-01 Thread Mike Gilbert
On Thu, Aug 1, 2019 at 9:59 AM Helmut Jarausch  wrote:
>
> Hi,
> since the upgrade from systemd-242-r6 to systemd-243_rc1 I cannot mount
> my (external) USB drive any more.
> I get
> kernel: sd 10:0:0:0: [sde] Assuming drive cache: write through
> kernel:  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7
> kernel: systemd-udevd[480887]:
> Assertion 'key' failed at src/libsystemd/sd-device/device-private.c:34,
> function device_add_property(). Aborting.
>
> The strange thing is, I don't use systemd on start-up (I'm using
> openrc) but I have systemd installed here.
> This configuration has been working for a very long time.
>
> Many thanks for a hint,
> Helmut

A failed assertion almost always means there is a programming error in
the software. Please report the issue to the systemd developers.

https://github.com/systemd/systemd/issues



Re: [gentoo-user] systemd crashes when I try to mount a USB drive

2019-08-01 Thread Mick
On Thursday, 1 August 2019 20:29:08 BST Jack wrote:
> On 2019.08.01 09:59, Helmut Jarausch wrote:
> > Hi,
> > since the upgrade from systemd-242-r6 to systemd-243_rc1 I cannot
> > mount my (external) USB drive any more.
> > I get
> > kernel: sd 10:0:0:0: [sde] Assuming drive cache: write through
> > kernel:  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7
> > kernel: systemd-udevd[480887]:
> > Assertion 'key' failed at
> > src/libsystemd/sd-device/device-private.c:34,
> > function device_add_property(). Aborting.
> > 
> > The strange thing is, I don't use systemd on start-up (I'm using
> > openrc) but I have systemd installed here.
> > This configuration has been working for a very long time.
> > 
> > Many thanks for a hint,
> > Helmut
> 
> Helmut,
> 
> You say you don't use systemd on start-up, but is any of it running
> when you get this error?  If you aren't using it at start-up, I wonder
> what the implcations are of having it installed - where might it have
> insinuated itself, so it gets called instead of something else you
> might have expected.
> 
> Next time you get the error, can you do "ps auxf" to see if you can
> tell what processes called systemd-udevd?
> 
> Jack

Could it be the systemd upgrade you refer to interfered with any udev rules 
you had set up to deal with your external drive, or in any case changes in 
udev rules are no longer agreeable with your external device?

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] systemd crashes when I try to mount a USB drive

2019-08-01 Thread Jack

On 2019.08.01 09:59, Helmut Jarausch wrote:

Hi,
since the upgrade from systemd-242-r6 to systemd-243_rc1 I cannot  
mount my (external) USB drive any more.

I get
kernel: sd 10:0:0:0: [sde] Assuming drive cache: write through
kernel:  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7
kernel: systemd-udevd[480887]:
Assertion 'key' failed at  
src/libsystemd/sd-device/device-private.c:34,

function device_add_property(). Aborting.

The strange thing is, I don't use systemd on start-up (I'm using  
openrc) but I have systemd installed here.

This configuration has been working for a very long time.

Many thanks for a hint,
Helmut

Helmut,

You say you don't use systemd on start-up, but is any of it running  
when you get this error?  If you aren't using it at start-up, I wonder  
what the implcations are of having it installed - where might it have  
insinuated itself, so it gets called instead of something else you  
might have expected.


Next time you get the error, can you do "ps auxf" to see if you can  
tell what processes called systemd-udevd?


Jack


[gentoo-user] systemd crashes when I try to mount a USB drive

2019-08-01 Thread Helmut Jarausch

Hi,
since the upgrade from systemd-242-r6 to systemd-243_rc1 I cannot mount  
my (external) USB drive any more.

I get
kernel: sd 10:0:0:0: [sde] Assuming drive cache: write through
kernel:  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7
kernel: systemd-udevd[480887]:
Assertion 'key' failed at src/libsystemd/sd-device/device-private.c:34,
function device_add_property(). Aborting.

The strange thing is, I don't use systemd on start-up (I'm using  
openrc) but I have systemd installed here.

This configuration has been working for a very long time.

Many thanks for a hint,
Helmut