[Bug 1201660] New: iio-sensor-proxy-3.3-1.5.x86_64 contains an invalid systemd service file
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.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201660 http://bugzilla.opensuse.org/show_bug.cgi?id=1201660#c1 --- Comment #1 from ted chang <monkeyboyted@yahoo.com> --- https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/106 You're not supposed to start it by hand, it's started automatically when the sensor "appears". Reboot the machine and follow the instructions in the README. If iio-sensor-proxy isn't started, ask your distribution. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201660 http://bugzilla.opensuse.org/show_bug.cgi?id=1201660#c2 ted chang <monkeyboyted@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from ted chang <monkeyboyted@yahoo.com> --- Closing bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201660 http://bugzilla.opensuse.org/show_bug.cgi?id=1201660#c3 --- Comment #3 from ted chang <monkeyboyted@yahoo.com> --- $sudo monitor-sensor Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared ** (monitor-sensor:9479): WARNING **: 00:20:47.928: Failed to claim accelerometer: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.171 was not provided by any .service files $sudo systemctl start iio-sensor-proxy -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com