mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
The systemd System and Service Manager
b1c626f67f
In some situation if networkd fails to get the network file then networkd crashes becasse the link->network is not initalized; ``` veth99: Failed to get network dhcp-client-ipv4-only: No such file or directory Segmentation fault gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/sus/tt/systemd/build/systemd-networkd [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments Program received signal SIGSEGV, Segmentation fault. link_load (link=0x55555582ccd0) at ../src/network/networkd-link.c:2973 2973 r = sd_dhcp_client_new(&link->dhcp_client, link->network->dhcp_anonymize); (gdb) bt (gdb) p link->network $1 = (Network *) 0x0 (gdb) list 2968 if (r < 0) { 2969 log_link_debug_errno(link, r, "Failed to parse DHCPv4 address %s: %m", dhcp4_address); 2970 goto dhcp4_address_fail; 2971 } 2972 2973 r = sd_dhcp_client_new(&link->dhcp_client, link->network->dhcp_anonymize); 2974 if (r < 0) 2975 return log_link_error_errno(link, r, "Failed to create DHCPv4 client: %m"); 2976 2977 r = sd_dhcp_client_set_request_address(link->dhcp_client, &address.in); (gdb) r ``` |
||
---|---|---|
.github | ||
.mkosi | ||
catalog | ||
coccinelle | ||
doc | ||
factory/etc | ||
hwdb | ||
man | ||
modprobe.d | ||
network | ||
po | ||
presets | ||
rules | ||
shell-completion | ||
src | ||
sysctl.d | ||
sysusers.d | ||
test | ||
tmpfiles.d | ||
tools | ||
travis-ci | ||
units | ||
xorg | ||
.dir-locals.el | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
.vimrc | ||
.ycm_extra_conf.py | ||
configure | ||
LICENSE.GPL2 | ||
LICENSE.LGPL2.1 | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
mkosi.build | ||
mkosi.default | ||
NEWS | ||
README | ||
README.md | ||
TODO | ||
zanata.xml |
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.