Hide Forgot
Description of problem: Fresh install has no file /etc/sysconfig/rdisc that systemd expects for rdisc.service. Version-Release number of selected component (if applicable): lorax-0.2-2.fc15 How reproducible: every time Steps to Reproduce: 1. Compose install DVD for x86_64 from rawhide using pungi [+lorax]. 2. Fresh install DVD, defaults, General Internet desktop. 3. Boot newly-installed system. Actual results: [ 8.354558] systemd[1]: [/lib/systemd/system/rdisc.service:7] Failed to open environment file '/etc/sysconfig/rdisc', ignoring: No such file or directory Expected results: no complaint Additional info:
Nothing to do with lorax. This is either a systemd or anaconda bug. I'm assigning this to systemd for now. If the missing file should be created by anaconda, switch it to anaconda.
The rdisc.service file should import the /etc/sysconfig/rdisc env var file with the following directive: EnvironmentFile=-/etc/sysconfig/rdisc instead of: EnvironmentFile=/etc/sysconfig/rdisc The "-" will ensure that no error message is generated if the file cannot be read for some reason. See systemd.exec(5) for details. Note that "-" is a new feature in systemd 16, and has been introduced to mimic how the return code of executed binaries can be ignore by prefixing their invocation with "-". This feature has been added precisely to handle cases like this.
I've added missing /etc/sysconfig/rdisc into package. This file was earlier optional. My test went fine. Let me know your experience with updated package.