Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2024 13:41:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278012] No physical path in event triggered by "geli attach"
Message-ID:  <bug-278012-227-5HJns5fOtO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278012-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278012

--- Comment #1 from Goran Mekić <meka@tilda.center> ---
workaround: sysrc devd_flags+=\\-n

For some reason when if you run "zfsd -d" instead of "zfsd" it works. Also, if
"daemon(0,0)" in zfsd code is replaced with "daemon(0,1)" fixes this bug.
Making devd daemonize before parsing pending events also fixes this issue,
hence the workaround. I don't know what std{in,out,err} have to do with events,
though. Running "devd -d" reveals that after

Processing event '!system=GEOM subsystem=DEV type=CREATE
cdev=multipath/mp_JB1_S60.eli

comes

Processing event '!system=DEVFS subsystem=CDEV type=DESTROY cdev=pts/10

I'm not sure it is related, but it is the only thing related to terminal in my
zfsd/devd research.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278012-227-5HJns5fOtO>