Bug 8069 - cenbuild service doesn't work on a default Fedora install
Summary: cenbuild service doesn't work on a default Fedora install
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-11 12:34 CET by Pierre Ossman
Modified: 2023-01-17 13:10 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2023-01-11 12:34:51 CET
If you install the build system on a fresh install of Fedora 36, then you are rewarded with:

> ...
>   Installing       : cendio-build-utils-1.29-1.x86_64                                               1/1 
>   Running scriptlet: cendio-build-utils-1.29-1.x86_64                                               1/1 
> warning: %post(cendio-build-utils-1.29-1.x86_64) scriptlet failed, exit status 5
> 
> Error in POSTIN scriptlet in rpm package cendio-build-utils
> ...

The reason for the failure is that systemd doesn't see the cenbuild service, despite it being installed in /etc/init.d.

It seems like systemd looks in /etc/rc.d/init.d instead. Usually this is resolved by /etc/init.d being a symlink to /etc/rc.d/init.d. However, that symlink is set up by the chkconfig package, which isn't installed by default.
Comment 1 Pierre Ossman cendio 2023-01-11 12:35:19 CET
We should probably look at converting our service to a systemd unit.

Note You need to log in before you can comment on or make changes to this bug.