Bug#780675: systemd: segfault in systemd when running systemctl daemon-reload
Michael Biebl
biebl at debian.org
Wed Mar 18 17:00:38 GMT 2015
Control: tags -1 = confirmed
Control: severity -1 serious
Am 18.03.2015 um 16:29 schrieb Robert Pumphrey:
> 2. put the following into /etc/init.d/firewall
> #!/bin/bash
> ### BEGIN INIT INFO
> # Provides: iptables
> # Required-Start: $network $remote_fs $syslog
> # Required-Stop: $network $remote_fs $syslog
> # Should-Start: iptables
> # Default-Start: 2 3 4 5
> # Default-Stop: 0 1 6
> ### END INIT INFO
>
> #####################################################################
> ###
> ### Firewall rules
> ###
> #####################################################################
>
> case "$1" in
> start)
> echo "start"
> ;;
> stop)
> echo "stop"
> ;;
> restart)
> echo "restart"
> ;;
> *)
> echo "Usage: /etc/init.d/firewall {start|stop|restart}"
> exit 1
> ;;
> esac
>
> 3. chmod u+x /etc/init.d/firewall
> 4. update-rc.d firewall defaults
> 5. reboot
> 6. login as root
> 7. systemctl --system daemon-reload
>
> then we see:
>
> Message from syslogd at joule at Mar 18 14:10:40 ...
> kernel:[ 27.526029] systemd[1]: segfault at b739cdac ip b739cdac sp
> bf9af36c error 15
> Failed to execute operation: Connection reset by peer
>
...
>
> Also note that the problem is not reproducible if the Provides: and
> Should-Start: name match the init script name, so I guess mismatch in
> the script name and header is at the root of the problem.
Thanks for sharing the contents of the file. I can confirm the crash and
we have enough information now to debug this issue properly.
Marking the bug accordingly.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150318/1da6f474/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list