Comment 2 for bug 2049529

Revision history for this message
Paride Legovini (paride) wrote :

Can we deliver a fix (or workaround) to this that consists in checking if /dev/null is a char device?

if (-c "/dev/null") {
    append ">/dev/null" to command
}

Not great, but should fix adduser and useradd in environments where /dev is not populated.