Before - Tried to start and fail in a container root@python-rtslib-fb-lp1865037-groovy:~# systemctl status target.service ● target.service - Restore LIO kernel target configuration Loaded: loaded (/lib/systemd/system/target.service; disabled; vendor preset: enabled) Active: inactive (dead) root@python-rtslib-fb-lp1865037-groovy:~# systemctl status rtslib-fb-targetctl ● rtslib-fb-targetctl.service - LSB: Start LIO targets Loaded: loaded (/etc/init.d/rtslib-fb-targetctl; generated) Active: active (exited) since Wed 2021-04-28 05:28:43 UTC; 45s ago Docs: man:systemd-sysv-generator(8) Tasks: 0 (limit: 38268) Memory: 0B CGroup: /system.slice/rtslib-fb-targetctl.service
Apr 28 05:28:43 python-rtslib-fb-lp1865037-groovy systemd[1]: Starting LSB: Start LIO targets... Apr 28 05:28:43 python-rtslib-fb-lp1865037-groovy rtslib-fb-targetctl[710]: modprobe: FATAL: Module configfs not found in directory /lib/modules/5.4.0-72-generic Apr 28 05:28:43 python-rtslib-fb-lp1865037-groovy rtslib-fb-targetctl[704]: Could not load configfs module: exiting! Apr 28 05:28:43 python-rtslib-fb-lp1865037-groovy systemd[1]: Started LSB: Start LIO targets. After: - proper service file (in case one wants to modify) - properly dtecting root@python-rtslib-fb-lp1865037-groovy:~# systemctl status target.service ● target.service - Restore LIO kernel target configuration Loaded: loaded (/lib/systemd/system/target.service; disabled; vendor preset: enabled) Active: inactive (dead) root@python-rtslib-fb-lp1865037-groovy:~# systemctl status rtslib-fb-targetctl ● rtslib-fb-targetctl.service - Restore LIO kernel target configuration Loaded: loaded (/lib/systemd/system/rtslib-fb-targetctl.service; enabled; vendor preset: enabled) Active: inactive (dead) Apr 28 05:33:29 python-rtslib-fb-lp1865037-groovy systemd[1]: Condition check resulted in Restore LIO kernel target configuration being skipped. => verified ** Tags removed: verification-needed verification-needed-groovy ** Tags added: verification-done verification-done-groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1865037 Title: make the service fail gracefully if unable to load modules To manage notifications about this bug go to: https://bugs.launchpad.net/rtslib-fb/+bug/1865037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs