Re: systemctl (again)

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



On 2 Apr 2015 23:40, "J Martin Rushton" <martinrushton56@xxxxxxxxxxxxxx>
wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> SELinux certainly was causing fun and games.  I copied your suggestion
> to /etc/systemd/user/timidity.service (mode 750) but it's still not happy:
>
>         [root@tamar user]# systemctl status timidity
>         timidity.service
>            Loaded: not-found (Reason: No such file or directory)
>            Active: failed (Result: exit-code) since Th...
>
>         ... Starting LSB: Add and remove timidity...
>         ... timidity.service: control process exited, code=exited
status=203
>         ... Failed to start LSB: Add and remove timidity.
>         ... Unit timidity.service entered failed state.
>         ... Stopped timidity.service.
>
> I've wasted way too much time on this, I've put it in my .profile.
> The weirdness of systemctl will have to wait!
>
> Thanks all
>

For the record based on your email chain this issue has little to nothing
to do with systemd or systemctl but rather a poor script for some reason
that I haven't troubleshooted in detail.

Remember you should never call /etc/init.d/script even on el6 as your
environment and profile will pollute the scripts environment leading to
inconsistent behaviour.

>From the above it's clear after putting in place the service unit you did
not do systemctl daemon-reload to pick up the new unit - hence the clear
error Not Found.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux