Skip to main content
Topic: s6-rc-compile: fatal: undefined service name 'openntpd' (Read 803 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

s6-rc-compile: fatal: undefined service name 'openntpd'

Installing/updating openntpd-s6 gives the following error.

Code: [Select]
s6-rc-compile: fatal: during resolution of bundle default: undefined service name openntpd

Full output:
Code: [Select]
warning: openntpd-s6-20250813-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)        Old Version  New Version  Net Change

world/openntpd-s6  20250813-1   20250813-1     0.00 MiB

Total Installed Size:  0.00 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                               [----------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                             [----------------------------------------------------------------] 100%
(1/1) loading package files                                                                                  [----------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                            [----------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                          [----------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling openntpd-s6                                                                               [----------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Updating s6-rc database...
s6-rc-compile: fatal: during resolution of bundle default: undefined service name openntpd
Error compiling database. Trying the system fallback paths!
Please double check the /etc/s6/adminsv directories.
error: command failed to execute correctly
(2/2) Displaying s6-rc service help ...
==> Add a service:
  s6-service add default <service>
==> Start/stop a service:
  s6-rc -u/-d change <service>
==> Recompile the service database:
  s6-db-reload <args>

 

Re: s6-rc-compile: fatal: undefined service name 'openntpd'

Reply #1
Sorry I forgot that this is a breaking change and I should have added an .install to address this. You need to remove openntpd from your default bundle. It's now called "ntpd" instead. After that, regenerate the database (s6-db-reload).