Package: sysfsutils
Version: 2.1.1-6
Severity: important

When the value part of an entry in /etc/sysfs.conf contains a whitespace it 
gets incorreclty parsed by the init script and therefore fails.

`/etc/sysfs.conf`:
```
bus/virtio/drivers/virtio_blk/virtio1/block/vda/cache_type = write through
```

error:
```
syntax error in /etc/sysfs.conf: 
'bus/virtio/drivers/virtio_blk/virtio1/block/vda/cache_type' 'write' 'through' 
... failed!
```


# dpkg --status sysfsutils
Package: sysfsutils
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 67
Maintainer: Guillem Jover <guil...@debian.org>
Architecture: amd64
Multi-Arch: foreign
Version: 2.1.1-6
Depends: libc6 (>= 2.34), libsysfs2 (>= 2.1.1), sysvinit-utils (>= 3.05-4~), 
pci.ids
Pre-Depends: init-system-helpers (>= 1.54~)
Conffiles:
 /etc/init.d/sysfsutils 597d2442fa3a55417cf3e49edeea6b6e
 /etc/sysfs.conf c11f380832980cdee233b7412ff4a04c
Description: sysfs query tool and boot-time setup
 The sysfs is a virtual file system found in Linux kernels 2.5+ that provides
 a tree of system devices. This package provides the program 'systool' to
 query it, which can be used to list devices by bus, class, and topology.
 .
 In addition this package ships a configuration file /etc/sysfs.conf which
 allows one to conveniently set sysfs attributes at system bootup (via an
 init script).
Homepage: https://github.com/linux-ras/sysfsutils

# dpkg --list sysfsutils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-====================================
ii  sysfsutils     2.1.1-6      amd64        sysfs query tool and boot-time 
setup

# dpkg --search sysfsutils
sysfsutils: /usr/share/doc/sysfsutils/copyright
sysfsutils: /usr/lib/systemd/system/sysfsutils.service
sysfsutils: /etc/init.d/sysfsutils
sysfsutils: /usr/share/doc/sysfsutils/changelog.Debian.gz
sysfsutils: /usr/share/doc/sysfsutils

Reply via email to