Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2004 23:14:31 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/69977: dump -W core dumps with read-only /
Message-ID:  <200408040314.i743EVpc096373@fledge.watson.org>
Resent-Message-ID: <200408040320.i743KGYb075143@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408040314.i743EVpc096373>