[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procfs crashing on shudown/reboot



João Pedro Malhado, le ven. 16 avril 2021 15:38:18 +0200, a ecrit:
> On Fri, Apr 16, 2021 at 01:50:49PM +0200, Samuel Thibault wrote:
> > João Pedro Malhado, le ven. 16 avril 2021 12:42:36 +0200, a ecrit:
> > > How do I compile a statically linked version to provide a backtrace?
> > 
> > You can build the hurd package with dpkg-buildpackage, and once built,
> > 
> > cd build-deb/procfs
> > make procfs.static
> 
> Ok, I will try that.
> Is there a deb-src line I should be using to get the sources?

The hurd package is in the main distribution, so it's just the standard
deb-src.

> > That will build a procfs.static that you can settrans -a by hand.
> 
> Will also try this. Would I need to change any shutdown script to point to
> procfs.static when trying to reproduce this?

It's not shutdown that triggers the start of procfs, it's simply a
translator on /proc, just like netdde is on /dev/netdde.

> Would a symbolic link from procfs.static to procfs be a bad idea?

You don't need to do that, you can just settrans -a it for a one-time
start.

Samuel


Reply to: