Closed Amygos closed 2 years ago
in 7.9.2009/nethesis-testing
:
Test case 1
dedalo_users_auth
is startedTest case 2
yum install --enablerepo nethesis-testing nethserver-dedalo-enterprise
dedalo_users_auth
is startedTest Case 1
[root@servertest2 ~]# systemctl status dedalo_users_auth ● dedalo_users_auth.service - Dedalo's users authentcation daemon Loaded: loaded (/usr/lib/systemd/system/dedalo_users_auth.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2021-12-01 16:24:53 UTC; 28s ago Main PID: 28123 (dedalo_users_au) CGroup: /system.slice/dedalo_users_auth.service ├─28123 /bin/bash /opt/icaro/dedalo/dedalo_users_auth.sh └─31027 sleep 10s
Dec 01 16:34:13 servertest.example.local systemd[1]: Started Dedalo's users authentcation daemon.
Tested and verified.
Test case 2
Before:
[root@fw-bk-pesaro ~]# systemctl status dedalo_users_auth ● dedalo_users_auth.service - Dedalo's users authentcation daemon Loaded: loaded (/usr/lib/systemd/system/dedalo_users_auth.service; disabled; vendor preset: disabled) Active: inactive (dead)
After:
[root@fw-bk-pesaro ~]# systemctl status dedalo_users_auth ● dedalo_users_auth.service - Dedalo's users authentcation daemon Loaded: loaded (/usr/lib/systemd/system/dedalo_users_auth.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2021-12-01 17:46:33 CET; 47s ago Main PID: 22914 (dedalo_users_au) CGroup: /system.slice/dedalo_users_auth.service ├─22914 /bin/bash /opt/icaro/dedalo/dedalo_users_auth.sh └─24989 sleep 10s
Dec 01 17:46:33 fw-bk-pesaro.acema.it systemd[1]: Started Dedalo's users authentcation daemon.
Tested and verified.
Since version
v76
of Icaro, a new users authentication flow is used and a new service was added. This new servicededalo_users_auth
, provided by thededalo
package, is bound to thededalo
service, so whendedalo
starts, systemd also startsdedalo_users_auth
.But if the service
dedalo
is already started at the moment of the update of thededalo
package, thededalo
service is not restarted and as consequence thededalo_users_auth
service will be not started by systemd, causing a service disruption.For solving this issue a new empty release of the
nethserver-dedalo-enterprise
is issued, this will invoke thenethserver-dedalo-enterprise-update
and the restart of thededalo
service.