Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chronyd is stopped in Alpine after re-context (updateconf) #178

Open
xorel opened this issue Jan 13, 2025 · 0 comments
Open

Chronyd is stopped in Alpine after re-context (updateconf) #178

xorel opened this issue Jan 13, 2025 · 0 comments

Comments

@xorel
Copy link
Member

xorel commented Jan 13, 2025

Once we switched Alpine images from installation to nocloud source Alpine images, the chronyd service is included.

In re-contextualization (onevm updateconf) we call reload_netowrk which calls stop_network + start_network, after which chronyd service remains stopped. Unlike we would call servce networking restart.

localhost:~# service networking stop && service networking start
 * Stopping chronyd ...                                                        [ ok ]
 * Stopping networking ...
 *   lo ...                                                                    [ ok ]
 *   eth0 ...                                                                  [ ok ]
 * Starting networking ...
 *   lo ...                                                                    [ ok ]
 *   eth0 ...     

vs

localhost:~# service networking restart
 * Stopping chronyd ...                                                        [ ok ]
 * Stopping networking ...
 *   lo ...                                                                    [ ok ]
 *   eth0 ...                                                                  [ ok ]
 * Starting networking ...
 *   lo ...                                                                    [ ok ]
 *   eth0 ...                                                                  [ ok ]
localhost:~#  * Starting chronyd ...

To fix that we can execute service networking restart in reload_network, but we should find different fix (or test if issue is still present) for for this commit

commit 484e43659641b4c9a5fd39b5bfea2531043757e7
Author: Vlastimil Holer <[email protected]>
Date:   Wed Sep 22 16:15:42 2021 +0200

    F #227, #86: Workaround sporadic IPv6 SLAAC privacy address on Ubuntus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant