Re: Service questions with systemd/systemctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 15, 2011 at 4:29 PM, Alex <mysqlstudent@xxxxxxxxx> wrote:
> Hi,
>
> I have a fedora15 system and I'm having trouble trying to figure out
> why a few services don't start through systemd. Specifically,
> lm_sensors:
>
> # service lm_sensors restart
> Redirecting to /bin/systemctl  restart lm_sensors.service
>
> # service lm_sensors status
> Redirecting to /bin/systemctl  status lm_sensors.service
> lm_sensors.service - Initialize hardware monitoring sensors
>          Loaded: loaded (/lib/systemd/system/lm_sensors.service)
>          Active: active (exited) since Tue, 15 Nov 2011 18:25:52 -0500; 7s ago
>         Process: 1151 ExecStop=/sbin/modprobe -qabr $BUS_MODULES
> $HWMON_MODULES (code=exited, status=0/SUCCESS)
>         Process: 1157 ExecStart=/usr/bin/sensors -s (code=exited,
> status=0/SUCCESS)
>         Process: 1155 ExecStart=/sbin/modprobe -qab $BUS_MODULES
> $HWMON_MODULES (code=exited, status=0/SUCCESS)
>          CGroup: name=systemd:/system/lm_sensors.service

AFAICT sensors isn't supposed to stick around.  This is reflected
properly in it's systemd unit file by it being configured
"Type=oneshot".

"man sensors" says the following about the "-s" switch:
"Evaluate all `set' statements in the configuration file and exit. You
must be `root' to do this. If this parameter is not specified, no
`set'  statement is evaluated."

modprobe is completing successfuly, as is "sensors -s", so everything
should be copacetic.

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux