http://bugzilla.opensuse.org/show_bug.cgi?id=1021475 Bug ID: 1021475 Summary: new hddtemp service file does not support wildcards in sysconfig Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: mail@paul-neuwirth.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 Build Identifier: Could not find out how to report bug from build.opensuse.org https://build.opensuse.org/package/show/openSUSE:Leap:42.2/hddtemp Problem in the systemd servicefile hddtemp.service: [Service] EnvironmentFile=/etc/sysconfig/hddtemp ExecStart=/usr/sbin/hddtemp -d -F -f $HDDTEMP_DB -l $HDDTEMP_IP -p $HDDTEMP_PORT $DEVICE if $DEVICE contains wildcards e.g. /dev/sd[bc] the daemon will not monitor, but complain not to find "/dev/sd[bc]" In previous releases (just upgraded from 13.2) it worked (old init script?). changing the line 7 to ExecStart=/bin/sh -c "/usr/sbin/hddtemp -d -F -f $HDDTEMP_DB -l $HDDTEMP_IP -p $HDDTEMP_PORT $DEVICE" gives the correct result. another point, this setting in /etc/sysconfig/hddtemp is not being used: # hddtemp command line options. HDDTEMP_ARGS="-d -f $HDDTEMP_DB -p $HDDTEMP_PORT $DEVICE" Reproducible: Always Steps to Reproduce: 1 hddtemp-0.3_beta15_e16aed6-1.1.x86_64 2 edit /etc/sysconfig/hddtemp - $DEVICE = "/dev/sd?" 3 systemctl start hddtemp 4 telnet localhost 7634 Actual Results: |/dev/sd?|???|ERR|*| Expected Results: |/dev/sda|WDC WD5002ABYS-02B1B0|35|C||/dev/sdb|ST1000VX000-1ES162|UNK|*||/dev/sdc|ST1000VX000-1CU162|UNK|*||/dev/sdd|ST1000VX000-1CU162|UNK|*||/dev/sde|ST1000VX000-1ES162|UNK|*||/dev/sdf|WDC WD30EZRX-00MMMB0|33|C||/dev/sdg|ST31000524AS|28|C||/dev/sdh|WDC WD5003ABYX-01WERA1|36|C||/dev/sdi|ST1000VX000-1ES162|UNK|*||/dev/sdj|ST1000VX000-1CU162|UNK|*||/dev/sdk|ST1000VX000-1ES162|UNK|*||/dev/sdl|ST1000VX000-1ES162|UNK|*|C correct result after fixing service file. -- You are receiving this mail because: You are on the CC list for the bug.