On Tue, Sep 25, 2012 at 6:56 PM, walt <w41...@gmail.com> wrote:
> On 09/25/2012 02:42 PM, Canek Peláez Valdés wrote:
>>
>> On Tue, Sep 25, 2012 at 2:24 PM, walt <w41...@gmail.com> wrote:
>>>
>>> I just installed and booted with systemd and most services are working
>>> normally, except syslog.service and remote-fs.service.  Both of those
>>> failed  on bootup with a "No such file or directory" error.
>>>
>>> I can't figure out how to make systemd tell me which files it can't
>>> find.  Any ideas?
>>
>>
>> The syslog.service works as a place-holder for whatever syslog you
>> have installed (or not). So, if you have syslog-ng, you do
>>
>> ln -s /usr/lib/systemd/system/syslog-ng.service
>> /etc/systemd/system/syslog.service
>
>
> My problem is that I don't have syslog-ng.service in /usr/lib/systemd.
> Neither systemd nor syslog-ng installed it.  Do I write it myself?

No, I suppose is in syslog-ng sources, but the ebuilds in Gentoo
disables systemd support (at least for 3.3.5):

# grep -n systemd /usr/portage/app-admin/syslog-ng/syslog-ng-3.3.5-r1.ebuild
68:             --disable-systemd \

So you can fill a bug in Gentoo to get systemd support in syslog-ng,
or just take the unit file from the source and put it in
/etc/systemd/system. I don't know why it is diabled, though.

>> I do however have the remote-fs.service (systemd-191, out of the
>> oven), I don't know why it isn't installed in your case. Which version
>> are you using.
>
> Same: 191.  I do have syslog.target and remote-fs.target installed, but
> not the corresponding *.system files.  Maybe the useflags determine this?

Sorry: I meant remote-fs.target; I don't think there is
remote-fs.service, it is a target (and one of the special ones). Do
you need remote filesystem support? If not, then don't worry about it;
but if you want to find the problem, send the output from systemctl
status remote-fs.target. Mine is:

# systemctl status remote-fs.target
remote-fs.target - Remote File Systems
          Loaded: loaded (/usr/lib64/systemd/system/remote-fs.target; enabled)
          Active: active since Mon, 24 Sep 2012 18:33:09 -0500; 1 day and 3h ago
            Docs: man:systemd.special(7)

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to