http://bugzilla.opensuse.org/show_bug.cgi?id=1201660 Bug ID: 1201660 Summary: iio-sensor-proxy-3.3-1.5.x86_64 contains an invalid systemd service file Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: monkeyboyted@yahoo.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi, I notice iio-sensor-proxy packages does not seem to work on default in opensuse tumbleweed. I believe this package is needed to enable autorotate in gnome-shell. $sudo systemctl enable iio-sensor-proxy.service The unit files have no installation config (WantedBy=, RequiredBy=, Also=, Alias= settings in the [Install] section, and DefaultInstance= for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: ��� A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. ��� A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. ��� A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). ��� In case of template units, the unit is meant to be enabled with some instance name specified. $rpm -qa iio-sensor-proxy iio-sensor-proxy-3.3-1.5.x86_64 $rpm -ql iio-sensor-proxy /etc/dbus-1 /etc/dbus-1/system.d /etc/dbus-1/system.d/net.hadess.SensorProxy.conf /usr/bin/monitor-sensor /usr/lib/systemd/system/iio-sensor-proxy.service /usr/lib/udev/rules.d/80-iio-sensor-proxy.rules /usr/libexec/iio-sensor-proxy $lsb_release -a LSB Version: n/a Distributor ID: openSUSE Description: openSUSE Tumbleweed Release: 20220714 Codename: n/a $sudo systemctl cat iio-sensor-proxy.service # /usr/lib/systemd/system/iio-sensor-proxy.service [Unit] Description=IIO Sensor Proxy service [Service] Type=dbus BusName=net.hadess.SensorProxy ExecStart=/usr/libexec/iio-sensor-proxy #Uncomment this to enable debug #Environment="G_MESSAGES_DEBUG=all" # Lockdown ProtectSystem=strict ProtectControlGroups=true ProtectHome=true ProtectKernelModules=true PrivateTmp=true RestrictAddressFamilies=AF_UNIX AF_LOCAL AF_NETLINK MemoryDenyWriteExecute=true RestrictRealtime=true -- You are receiving this mail because: You are on the CC list for the bug.