Date: Sun, 28 Jun 2020 15:18:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247618] /etc/rc.d/savecore doesn't work if dumpdev is a GEOM name Message-ID: <bug-247618-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247618 Bug ID: 247618 Summary: /etc/rc.d/savecore doesn't work if dumpdev is a GEOM name Product: Base System Version: 12.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org If in /etc/rc.conf you specify dumpdev as "auto" or an absolute path like "/dev/label/dump0", then everything is fine. But if you specify it as a ge= om name like "label/dump0", then /etc/rc.d/savecore won't be able to find it. = The problem is not immediately apparent because /etc/rc.d/dumpon _does_ accept dumpdev in that format (added by smh in r291207). I see two possible good solutions: 1) Modify /etc/rc.d/savecore to check "savecore -C /dev/${dev}" if "savecor= e -C ${dev}" fails. 2) Modify /etc/rc.d/savecore to check for /dev/dumpdev even if dumpdev is n= ot set to "auto" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247618-227>