<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to find what causes an installation of a Fedora rpm of some service to </div><div>be in the "enabled" status for systemd (or "disabled" or "static"). </div>
<div><br></div><div>More specifically:</div><div>Let's take a look in bluez-5.16-1.fc20.x86_64.rpm. When installing it, </div><div>I have F20 where the bluez rpm is not installed: <br></div><div> </div><div>rpm -q bluez</div>
<div>shows:</div><div>package bluez is not installed</div><div>and </div><div>ls -al   /etc/systemd/system/bluetooth.target.wants</div><div>shows:</div><div>ls: cannot access /etc/systemd/system/bluetooth.target.wants: No such file or directory</div>
<div><br></div><div>Now, I run </div><div>yum -y install bluez</div><div>And after it:</div><div><br></div><div>systemctl is-enabled bluetooth</div><div>enabled</div><div><br></div><div>ls -l   /etc/systemd/system/bluetooth.target.wants</div>
<div>total 0</div><div>lrwxrwxrwx 1 root root 41 Mar 28 15:03 bluetooth.service -> /usr/lib/systemd/system/bluetooth.service</div><div><br></div><div>rpm -qf  /etc/systemd/system/bluetooth.target.wants</div><div>file /etc/systemd/system/bluetooth.target.wants is not owned by any package</div>
<div><br></div><div><br></div><div>I tried to look inside the rpm what causes installation of the symlink under </div><div>/etc/systemd/system/bluetooth.target.wants, and could not find.</div><div><br></div><div>Any ideas? </div>
<div>Kevin</div><div><br></div></div>