Re: Add SUM sysctl

2011-04-16 Thread J. Hellenthal
On Sat, Apr 16, 2011 at 04:46:53PM -0600, Warren Block wrote: >On Sat, 16 Apr 2011, dieter...@engineer.com wrote: > >>Suggestion 2: The kernel may not have an official flag for single >>vs multi user mode but you can fake it. Try something like >>"pgrep syslogd". If syslogd is running assume mul

Re: Add SUM sysctl

2011-04-16 Thread Warren Block
On Sat, 16 Apr 2011, dieter...@engineer.com wrote: Suggestion 2: The kernel may not have an official flag for single vs multi user mode but you can fake it. Try something like "pgrep syslogd". If syslogd is running assume multiuser mode. If syslogd is not running assume single user mode. A

Re: Add SUM sysctl

2011-04-16 Thread dieterbsd
> once you reboot into SUM to install world, you are doomed, BECAUSE > ... > Kernel will bitch (GELI part), about world->kernel mismatch and you > won't be able to install world as you cant decrypt geom providers!! Suggestion 1: Install the new stuff into different disk partition(s), leaving the

Re: Add SUM sysctl

2011-04-16 Thread Garrett Cooper
On Sat, Apr 16, 2011 at 8:41 AM, Daniel O'Connor wrote: > > On 16/04/2011, at 17:31, Freddie Cash wrote: >>> DO YOU KNOW, what to look for, in sys that will indicate to my function, >>> that it is in SUM? >> >> No network configured, no daemons running, just a single shell >> running.  IOW, everyt

Re: Add SUM sysctl

2011-04-16 Thread Daniel O'Connor
On 16/04/2011, at 17:31, Freddie Cash wrote: >> DO YOU KNOW, what to look for, in sys that will indicate to my function, >> that it is in SUM? > > No network configured, no daemons running, just a single shell > running. IOW, everything can be done manually in MUM to "simulate" > SUM. My point

Re: Add SUM sysctl

2011-04-16 Thread Freddie Cash
On Sat, Apr 16, 2011 at 7:24 AM, wrote: > After compilation of kernel and world in MUM, kernel is installed in MUM, > but to install world, we reboot into SUM, then install world. (HANDBOOK) Note: You do not have to be in SUM to install the world and/or the kernel. You can install them just fi

Re: Add SUM sysctl

2011-04-16 Thread Daniel O'Connor
On 16/04/2011, at 16:24, rank1see...@gmail.com wrote: >> >> In that case you don't need to reboot into single user mode, you just > make sure there aren't any non-kernel processes (besides sh) which are > running. > > I know all this!!! > I KNEW chatter would start to go this way! > After co

Re: Add SUM sysctl

2011-04-16 Thread rank1seeker
> Yes, because there is no concept of single user mode to the kernel. That's why there is no sysctl for it. I've already accepted that as a fact, so let's not pull that cat, with rope, around, ...anymore. > > I truly prefer focusing on a goal and finding a way of achieving it. > > Your questio

Re: Add SUM sysctl

2011-04-16 Thread Daniel O'Connor
On 16/04/2011, at 13:14, rank1see...@gmail.com wrote: >> There IS no "solution" because it isn't really a problem. > > It is mine GOAL, to achieve. > >> You still didn't reply to my asking why you need to know.. > > Why?! > Because! > Why, why, why ...? > God told me! > Why Did the Chicken Cros

puzzled: fork +libthr

2011-04-16 Thread Andriy Gapon
Guys, I am trying to debug this chromium issue: http://trillian.chruetertee.ch/chromium/ticket/13 Not sure SOCK_SEQPACKET mentioned in the ticket is an actual culprit, the problem that interests me is that pthread_cond_wait() returns EPERM where it shouldn't. That happens on stable/8. I compare

Re: Add SUM sysctl

2011-04-16 Thread rank1seeker
> On 15/04/2011, at 19:12, rank1see...@gmail.com wrote: > >> Oh oops, I guess the kernel runs init -s which then asks you.. > > > > So, what is solution? > > Currently I need to mess with lookup, in env variables. > > > > It must cover cases of rebooting into SUM and drop from MUM (# shutdown >