[Buildroot] [PATCH v2 09/25] rsyslog: fix systemd service installation

Mike Williams mike at mikebwilliams.com
Mon Mar 23 15:08:38 UTC 2015


On Fri, Mar 20, 2015 at 3:38 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Mike Williams,
> On Fri, 20 Mar 2015 15:14:00 -0400, Mike Williams wrote:
>> -     ln -sf /lib/systemd/system/rsyslog.service \
>> +     ln -fs ../../../usr/lib/systemd/system/rsyslog.service \
>>               $(TARGET_DIR)/etc/systemd/system/syslog.service
> Are you sure?
> Isn't the syslog.service -> rsyslog.service symbolic link meant to have
> kind of a "compatibility" service name? If so, shouldn't this symlink
> be in /usr/lib/systemd/system/ instead ?

I enabled it on the target with 'systemctl enable' and duplicated the
steps in the .mk file

# systemctl enable rsyslog.service
Created symlink from /etc/systemd/system/syslog.service to
Created symlink from
/etc/systemd/system/multi-user.target.wants/rsyslog.service to

However, we should add a mkdir -p /etc/systemd/system before. Would
you like me to send a new patch?


More information about the buildroot mailing list