Re: attaching new nvme* (AWS EBS)

2024-01-29 Thread Jan Schaumann
g...@duzan.org wrote: > > How do I get the new nvme to be discovered without > > rebooting? > >Just a guess, but perhaps "drvctl -r {device}" on the parent pci bus? No luck. -Jan

Re: attaching new nvme* (AWS EBS)

2024-01-29 Thread gary
> How do I get the new nvme to be discovered without > rebooting? Just a guess, but perhaps "drvctl -r {device}" on the parent pci bus? Gary Duzan

attaching new nvme* (AWS EBS)

2024-01-29 Thread Jan Schaumann
Hello, When using AWS EC2, I can attach a new EBS volume to an instance at runtime. EBS volumes use nvme(4), but I can't seem to get a NetBSD instance (9.x or 10.99.2) to discover the new disk without rebooting. # pcictl pci0 list 000:00:0: Intel 82441FX (PMC) PCI and Memory Controller (host

Re: Reverse of promoting to root: downgrade root to unprivileged

2024-01-29 Thread Greg A. Woods
At Sat, 27 Jan 2024 20:00:24 +0100, tlaro...@kergis.com wrote: Subject: Reverse of promoting to root: downgrade root to unprivileged > > Starting some operation as common user (for example compiling/building) > before promoting to privileged (generally root) by su'ing or sudo'ing > (for example to

Re: Reverse of promoting to root: downgrade root to unprivileged

2024-01-29 Thread tlaronde
On Mon, Jan 29, 2024 at 06:26:53AM -0800, Alistair Crooks wrote: > As RVP mentioned, this is a SMOP, but if you're looking for an out of the > box utility, checkout djb's setuidgid (available in > pkgsrc/sysutils/daemontools) https://cr.yp.to/daemontools/setuidgid.html Thanks. I will take a look.

Re: Reverse of promoting to root: downgrade root to unprivileged

2024-01-29 Thread Alistair Crooks
As RVP mentioned, this is a SMOP, but if you're looking for an out of the box utility, checkout djb's setuidgid (available in pkgsrc/sysutils/daemontools) https://cr.yp.to/daemontools/setuidgid.html On Mon, 29 Jan 2024 at 04:10, RVP wrote: > On Sat, 27 Jan 2024, tlaro...@kergis.com wrote: > > >

Re: Reverse of promoting to root: downgrade root to unprivileged

2024-01-29 Thread tlaronde
On Mon, Jan 29, 2024 at 12:10:07PM +, RVP wrote: > On Sat, 27 Jan 2024, tlaro...@kergis.com wrote: > > > But does somebody know of an established program or library that allows > > to start a process as root and to automatically downgrade rights for > > tasks (I mean identified chunks of

Re: Reverse of promoting to root: downgrade root to unprivileged

2024-01-29 Thread RVP
On Sat, 27 Jan 2024, tlaro...@kergis.com wrote: But does somebody know of an established program or library that allows to start a process as root and to automatically downgrade rights for tasks (I mean identified chunks of whatever code) that do not require privileges? You mean toggling