Running as /sbin/init throws segfaults
Bug #1535618 reported by
Florian Margaine
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
To reproduce, fire up a small VM, connect to ssh into it, run `echo 'root:root' | chpasswd` for convenience, and then:
```
# cd /sbin/
/sbin/# mv init init.bak
/sbin/# cat > init <<EOF
#!/usr/bin/sbcl --noinform
(sb-impl:
EOF
/sbin/# chmod +x init
/sbin/# reboot
```
After the reboot, you should be thrown in the REPL. A dozen of segfaults appear before displaying the REPL prompt.
Changed in sbcl: | |
status: | New → Incomplete |
To post a comment you must log in.
Sorry, the "connect to ssh into it" is wrong, you should connect into it via some serial console, e.g. virtualbox view. This bare init system won't have any network, so you won't be able to ssh into it once rebooted.