Your message dated Sun, 4 Feb 2018 15:50:56 +0100
with message-id <>
and subject line Re: #769743: fixed in stable
has caused the Debian Bug report #769743,
regarding sulogin: crashes when /etc/passwd is missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: sysvinit-utils
Version: 2.88dsf-57
Severity: important

sulogin crashes when /etc/passwd is unavailable.

See the following code from sulogin.c:

    if ((pwd = getrootpwent(opt_e)) == NULL) {
       fprintf(stderr, "sulogin: cannot open password database!\n");

    if ((strcmp(pwd->pw_passwd, "*") == 0) ||
        (strcmp(pwd->pw_passwd, "!") == 0)) {

When the fprintf in the first if() case happens, pwd is NULL, and
de-referencing that crashes in the second if.

This affects users where initramfs-tools cannot succesfully mount /,
leaving them with a more than necessary broken system.


--- End Message ---
--- Begin Message ---
Already fixed in stable, closing.

--- End Message ---
Pkg-sysvinit-devel mailing list

Reply via email to