NetBSD Problem Report #54689
From hf@Venediger.nt.e-technik.tu-darmstadt.de Mon Nov 11 11:39:49 2019
Return-Path: <hf@Venediger.nt.e-technik.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 61CEB7A1AD
for <gnats-bugs@www.netbsd.org>; Mon, 11 Nov 2019 11:39:49 +0000 (UTC)
Message-Id: <5dc9487f.22e5.50a2b97d@Venediger>
Date: Mon, 11 Nov 2019 12:39:43 +0100
From: hf@spg.tu-darmstadt.de
Reply-To: hf@spg.tu-darmstadt.de
To: gnats-bugs@www.netbsd.org
Cc: hf@spg.tu-darmstadt.de
Subject: Solarish SMF starts Samba daemons before zpool import
X-Send-Pr-Version: 4.2.0
>Number: 54689
>Category: pkg
>Synopsis: Solarish SMF starts Samba daemons before zpool import
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 11 11:40:01 +0000 2019
>Closed-Date: Fri Feb 05 11:43:16 +0000 2021
>Last-Modified: Fri Feb 05 11:43:16 +0000 2021
>Originator: Hauke Fath <hf@spg.tu-darmstadt.de>
>Release: SunOS 5.11
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: SunOS Venediger 5.11 omnios-r151030-1b80ce3d31 i86pc i386 i86pc
Architecture: i386
Machine: i86pc
>Description:
On an omnios installation, the pkgsrc samba4 daemons get
started before the zfs pools are completely imported.
[...]
timerfd0 is /pseudo/timerfd@0
Nov 11 11:40:54 svc.startd[9]: svc:/pkgsrc/samba:nmbd: Method "/opt/local/sbin/nmbd -D" failed with exit status 127.
Nov 11 11:40:54 svc.startd[9]: svc:/pkgsrc/samba:smbd: Method "/opt/local/sbin/smbd -D" failed with exit status 127.
Nov 11 11:40:55 svc.startd[9]: svc:/pkgsrc/samba:nmbd: Method "/opt/local/sbin/nmbd -D" failed with exit status 127.
Nov 11 11:40:55 svc.startd[9]: svc:/pkgsrc/samba:smbd: Method "/opt/local/sbin/smbd -D" failed with exit status 127.
Nov 11 11:40:55 svc.startd[9]: svc:/pkgsrc/samba:nmbd: Method "/opt/local/sbin/nmbd -D" failed with exit status 127.
Nov 11 11:40:55 svc.startd[9]: svc:/pkgsrc/samba:smbd: Method "/opt/local/sbin/smbd -D" failed with exit status 127.
Nov 11 11:40:55 svc.startd[9]: pkgsrc/samba:nmbd failed: transitioned to maintenance (see 'svcs -xv' for details)
Nov 11 11:40:55 svc.startd[9]: pkgsrc/samba:smbd failed: transitioned to maintenance (see 'svcs -xv' for details)
sd0 at ata0: target 0 lun 0
sd0 is /pci@0,0/pci-ide@11/ide@0/sd@0,0
Reading ZFS config: done.
Mounting ZFS filesystems:
Venediger console login: (315/315)
The maintenance status of {s,n}mbd then has to be cleared
manually, and the daemons have to be restarted.
>How-To-Repeat:
Set up a Solarish fileserver with pkgsrc samba4. Reboot.
>Fix:
Adapt the SMF dependencies.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 11 Nov 2019 11:42:49 +0000
Responsible-Changed-Why:
Solarish problem, over to Solaris Bug People
From: Jonathan Perkin <jperkin@joyent.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54689: Solarish SMF starts Samba daemons before zpool import
Date: Mon, 11 Nov 2019 21:00:08 +0000
> On an omnios installation, the pkgsrc samba4 daemons get
> started before the zfs pools are completely imported.
>
> [...]
> timerfd0 is /pseudo/timerfd@0
> Nov 11 11:40:54 svc.startd[9]: svc:/pkgsrc/samba:nmbd: Method "/opt/local/sbin/nmbd -D" failed with exit status 127.
Changing the dependency from filesystem/root to filesystem/local
should fix that, can you confirm?
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
State-Changed-From-To: open->feedback
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 03 Dec 2019 00:11:48 +0000
State-Changed-Why:
Feedback requested.
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org
Cc: solaris-pkg-people@netbsd.org, gnats-admin@netbsd.org, leot@netbsd.org
Subject: Re: pkg/54689 (Solarish SMF starts Samba daemons before zpool
import)
Date: Tue, 3 Dec 2019 07:59:29 +0100
On Tue, 3 Dec 2019 00:11:48 +0000 (UTC), leot@netbsd.org wrote:
> Feedback requested.
Working on it... the machines in question had hardware issues. I'll get=20
back to them in the neyxt few days, and report.
Cheerio,
hauke
--=20
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f=FCr Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
State-Changed-From-To: feedback->closed
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Fri, 05 Feb 2021 11:43:16 +0000
State-Changed-Why:
Confirmed fixed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.