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

Robert Watson rwatson at FreeBSD.org
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 04 03:20:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 5-CURRENT i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD elephant.netperf.freebsd.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Aug  3 21:31:23 EDT 2004     rwatson at zoo.freebsd.org:/zoo/rwatson/netperf/obj/zoo/rwatson/netperf/src/sys/UP  i386

>Description:

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

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

>How-To-Repeat:

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

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list