bin/69977: dump -W core dumps with read-only /

Robert Watson rwatson at
Tue Aug 3 20:20:17 PDT 2004

>Number:         69977
>Category:       bin
>Synopsis:       dump -W core dumps with read-only /
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 04 03:20:16 GMT 2004
>Originator:     Robert Watson
>Release:        FreeBSD 5-CURRENT i386
FreeBSD Project
System: FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Aug  3 21:31:23 EDT 2004     rwatson at  i386


When netbooting to multi-user and a read-only /, I saw the following console

Aug  4 03:04:46 elephant kernel: pid 677 (dump), uid 0: exited on signal 11

This occurs because the periodic scripts run "dump -W", which fails nastily
in the presence of an unwritable /.

elephant# dump -W
  DUMP: WARNING: no file `/etc/dumpdates', making an empty one
  DUMP: WARNING: cannot create /etc/dumpdates: Read-only file system
Last dump(s) done (Dump '>' file systems):
Segmentation fault


Netboot with a read-only /.  Run "dump -W".



More information about the freebsd-bugs mailing list