-
Bug
-
Resolution: Unresolved
-
Important (Ebuild)
-
None
-
None
-
None
-
the current problems of the lxd initscript impact its use in funtoo by making it more "finicky" than needed.
I reproduce tons time this issue when there LXC API session opened.
# /etc/init.d/lxcfs restart * Caching service dependencies ... [ ok ] * Stopping lxd service and containers, waiting 40s ... * start-stop-daemon: 1 process refused to stop [ !! ] * ERROR: lxd failed to stop * ERROR: cannot stop lxcfs as lxd is still up
2) I'm not sure that using SIGPWR is always the right solution. In the past I loved the fact that could be possible stop the daemon without destroy all ephemeral containers.
3) the initrd script doesn't handle the possibility to configure HTTP_PROXY as options or the possibility to set the LXD_INSECURE_TLS env for dev envs.
if [ -n "${LXD_HTTP_PROXY}" ] ; then start_stop_daemon_args="${start_stop_daemon_args} \ --env http_proxy=${LXD_HTTP_PROXY}" fi if [ -n "${LXD_HTTPS_PROXY}" ] ; then start_stop_daemon_args="${start_stop_daemon_args} \ --env https_proxy=${LXD_HTTPS_PROXY}" fi if [ -n "${LXD_NO_PROXY}" ] ; then start_stop_daemon_args="${start_stop_daemon_args} \ --env no_proxy=${LXD_NO_PROXY}" fi if [ -n "${LXD_INSECURE_TLS}" ] ; then start_stop_daemon_args="${start_stop_daemon_args} \ --env LXD_INSECURE_TLS=${LXD_INSECURE_TLS}" fi
- relates to
-
FL-10674 LXD stabilization and improve
- Ongoing