Package: lvm2-dbusd
Version: 2.03.02-3
Severity: important
Tags: upstream

Dear Maintainer,

While working on targetd (ITP #968297), I figured removing an LV through 
lvm2-dbusd fails with (other operations like creating a new LV work as 
expected):

```
lvmdbusd[30995]: 30995:30999 - Exception returned to client:
lvmdbusd[30995]: Traceback (most recent call last):
lvmdbusd[30995]:   File "/usr/lib/python3/dist-packages/lvmdbusd/request.py", 
line 72, in run_cmd
lvmdbusd[30995]:     result = self.method(*self.arguments)
lvmdbusd[30995]:   File "/usr/lib/python3/dist-packages/lvmdbusd/lv.py", line 
459, in _remove
lvmdbusd[30995]:     rc, out, err = cmdhandler.lv_remove(lv_name, 
remove_options)
lvmdbusd[30995]:   File 
"/usr/lib/python3/dist-packages/lvmdbusd/cmdhandler.py", line 391, in lv_remove
lvmdbusd[30995]:     cmd.extend(options_to_cli_args(remove_options))
lvmdbusd[30995]:   File 
"/usr/lib/python3/dist-packages/lvmdbusd/cmdhandler.py", line 214, in 
options_to_cli_args
lvmdbusd[30995]:     for k, v in list(dict(options).items()):
lvmdbusd[30995]: ValueError: dictionary update sequence element #0 has length 
1; 2 is required
```

I’ve added a line before `cmdhandler.py:214` to print the content of `options` 
and it appears to contain:

```
dbus.Struct((dbus.Dictionary({dbus.String('--yes'): dbus.String('', 
variant_level=1)}, signature=dbus.Signature('sv'), variant_level=1),), 
signature=None)
```

I have no easy way to test this, but I don’t think it is fixed in newer 
versions present in testing/unstable as I didn’t found any change related to 
that part of the code in upstreams’s git history.

-- System Information:
Debian Release: 10.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-14-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lvm2-dbusd depends on:
ii  dbus            1.12.20-0+deb10u1
ii  lvm2            2.03.02-3
ii  python3         3.7.3-1
ii  python3-dbus    1.2.8-3
ii  python3-gi      3.30.4-1
ii  python3-pyudev  0.21.0-1

lvm2-dbusd recommends no packages.

lvm2-dbusd suggests no packages.

-- no debconf information

--
Johan Fleury

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to