[webc] turn off nosudo = x won't start

29 views
Skip to first unread message

jammin

unread,
May 10, 2010, 7:04:22 PM5/10/10
to Webconverger Users
OK, this one is odd.

Wrote 2 scripts, based on documentation & other scripts on the
website. The first is a complete automated rebuild (blows away old
stuff, changes apt-sources, runs git, lh config & lh build, adds some
files I want, edits config file with sed, and so on).

The other is just takes that iso, changes the boot command line, and
builds a new one.

Both are working beautifully, except... one of the little scripts I
added to my build (all it does is grab a central /etc/hosts file)
doesn't seem to be running on startup. So I want to "debug" to see
what was up. Turn off "nosudo", right?

Not happening.

If I change change anything else in the boot command line, the new iso
works fine. But if I delete nosudo, X won't start. It goes into loop
of attempting and failing to start, then attempting again. I took out
splash too, and paused the vm (I'musing virtualbox) for an easy peak
at the console between attempts...

-----------------------------------------------------------
acpid: 1 client rule loaded

(II) Module "ddc" already built-in
(WW) VESA(0): Failed to set up write-combining range
(0x0800000,0x400000)
(WW) VESA(0): Failed to set up write-combining range
(0xc000000,0xc00000)

waiting for x server to shut down FreeFontPath: FPE "/usr/share/fonts/
X11/misc" refcount is 2, should be 1; fixing.
acpid: client 3070[0:0] has disconnected
-----------------------------------------------------------

The odd thing is if I comment out that one single sed line in my
script so the file isn't edited at all, it builds and runs great.
And if I enable that line and use it to change anything else instead
(like the homepage), it builds and runs great. But if I take out
nosudo... it kills x the exact same way every single time. As soon as
I put nodsudo back, it is fine again.

(It isn't anything complicated... "sed -i 's/ nosudo / /g' /path/to/
live.cfg")


Any ideas?

--
You received this message because you are subscribed to the Google Groups "Webconverger Users" group.
To post to this group, send email to webc-...@googlegroups.com.
To unsubscribe from this group, send email to webc-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webc-users?hl=en.

Kai Hendry

unread,
May 11, 2010, 2:14:15 AM5/11/10
to webc-...@googlegroups.com
On 11 May 2010 00:04, jammin <jeremia...@gmail.com> wrote:
> (It isn't anything complicated... "sed -i 's/ nosudo / /g' /path/to/
> live.cfg")

Why not make the change in
http://git.debian.org/?p=debian-live/config-webc.git;a=blob;f=webconverger/auto/config
to begin with?

Jeremy Miller

unread,
May 11, 2010, 2:23:38 PM5/11/10
to webc-...@googlegroups.com
Because it is way faster than rebuilding the whole thing again.

I don't want to remove nosudo from my "user" iso, so I build it with
it in there. But if I want to peek under the hood, I want to take
that same iso & remove nosudo from it... giving me an "admin/debug"
version of the same image.

Basically following these instructions:
http://webconverger.org/blog/entry/Webconverger_6.1_release_notes

It works great, and I seem to be able to successfully change anything
in the file. But if I touch nosudo, I get problems. (Which yes,
kinda defeats my whole purpose.)

But it's the same image. Doing it the slower way (a complete rebuild
with one tiny change) shouldn't give me a different result.

And if it somehow did (some packages or whatever changing in the
intervening moments?)... that's no good either. The whole point is
to have two perfectly identical iso images, except for the boot line.
One with nosudo for public use, and one without it for me.

But perhaps that would be a good test. Do two complete new rebuilds
in a row, with that one change between them, to see if removing nosudo
still is a problem.

If it goes away, can write the issue off as some kind of fluke. If
not, could use the new trick to change that line in each iso, to see
if the behavior reverses itself. That would confirm that the problem
is with removing nosudo, and not with how it is being done. Right?

(On that note... I have used the same method to put nosudo back in the
iso. At which point the new iso works fine. So I'm already pretty
sure there is no problem with the method.)

Jeremy Miller

unread,
Jun 2, 2010, 8:09:48 PM6/2/10
to webc-...@googlegroups.com
Any ideas on this?

I've built the whole thing again from scratch multiple times.
Sometimes as already noted (new build with nosudo, later removing
nosudo from the iso) and sometimes the reverse (new build without
nosudo, then putting nosudo back in the iso).

Same thing, no matter how I do it... if nosudo is in there, it works
fine. If it isn't, I get an infinite loop of starting X, failing,
starting X, failing, etc.

I've done this before with previous versions (don't remember numbers
but could find out), and never had a problem.

I think I'm stumped.

k.dimitrovski

unread,
Jul 22, 2010, 11:55:34 AM7/22/10
to Webconverger Users
Hi, I get the same error...
Has anybody resolved this?

rong

unread,
Jul 28, 2010, 12:12:21 PM7/28/10
to Webconverger Users
I too am having the problem with X not starting after removing nosudo.
anyone fid a fix?

ron

Sam

unread,
Aug 10, 2010, 5:50:51 AM8/10/10
to Webconverger Users

To just get to a terminal can't you just add " 1 " to the grub to go
to runlevel 1


Sam

Kai Hendry

unread,
Aug 15, 2010, 4:58:13 PM8/15/10
to webc-users
On 14 August 2010 10:42, GMF <g...@bitchcop.de> wrote:
> But I can debug through ssh.
>
> Which info do you need to resolve this problem?


IIRC ~webc/pb.log might show the problem. The loop should be
straightforward to find and debug.

Sorry, really have had not a lot of time spare lately. Will blog about
some future plans we worked out during debconf10.

GMF

unread,
Aug 16, 2010, 3:25:34 AM8/16/10
to Webconverger Users
On Aug 15, 10:58 pm, Kai Hendry <hen...@webconverger.com> wrote:
> On 14 August 2010 10:42, GMF <g...@bitchcop.de> wrote:
>
> > But I can debug through ssh.
>
> > Which info do you need to resolve this problem?
>
> IIRC ~webc/pb.log might show the problem. The loop should be
> straightforward to find and debug.
>

Here we go:
sh: /home/webc/pb: No such file or directory

> Sorry, really have had not a lot of time spare lately. Will blog about
> some future plans we worked out during debconf10.

No problem.
I think the nosudo-bug should be fixed before changing anything else.

Greez GMF

Silvester Robbins

unread,
Sep 10, 2010, 3:31:31 PM9/10/10
to Webconverger Users
On Aug 16, 2:25 am, GMF <g...@bitchcop.de> wrote:
> > Sorry, really have had not a lot of time spare lately. Will blog about
> > some future plans we worked out during debconf10.
>
> No problem.
> I think the nosudo-bug should be fixed before changing anything else.

I too have this problem while trying to remove nosudo and getting the
"refcount" error. Adding it back makes the live system X display
appear perfectly. Any ideas on a fix?

Thanks.

Kai Hendry

unread,
Sep 11, 2010, 6:51:07 AM9/11/10
to webc-...@googlegroups.com
I've seen the problem myself when I was trying to move from 'lenny' to
'squeeze' last weekend.

There has been some debian live changes that I have not kept up with
and for example nosudo will be called noroot in the future. I need to
make some changes and debug the scripts on
http://git.webconverger.org/?p=webconverger-base

I am hoping to do this soon.

Kai Hendry

unread,
Sep 13, 2010, 5:16:00 PM9/13/10
to webc-...@googlegroups.com
I've fixed the debug mode I think. The error was mine and too
embarrassing to mention.

Some more good news can be found at
http://twitter.com/webconverger/status/24415269460

Please let me know if you find something wrong. Kind regards,

GMF

unread,
Sep 14, 2010, 2:02:44 AM9/14/10
to Webconverger Users
I did a complete new build at 13.09.2010 21:00.

Are the changes included in my build?

Greez GMF

On 13 Sep., 23:16, Kai Hendry <hen...@webconverger.com> wrote:
> I've fixed the debug mode I think. The error was mine and too
> embarrassing to mention.
>
> Some more good news can be found athttp://twitter.com/webconverger/status/24415269460

Kai Hendry

unread,
Sep 14, 2010, 4:05:05 AM9/14/10
to webc-...@googlegroups.com
On 14 September 2010 07:02, GMF <g...@bitchcop.de> wrote:
> I did a complete new build at 13.09.2010 21:00.
> Are the changes included in my build?

If you used the new squeeze branch.
http://git.debian.org/?p=debian-live/config-webc.git;a=shortlog;h=refs/heads/squeeze

I will probably move master to lenny and squeeze to master in the next few days.

I'll probably back port the webconverger-base to lenny when I get a
chance. However I want to focus on "squeeze" now.

Btw daily builds are "squeeze" from today:
http://build.webconverger.org/

GMF

unread,
Sep 14, 2010, 7:10:56 AM9/14/10
to Webconverger Users
OK.
So I have to rebuild the whole thing again.

Report follows ...

Greez GMF

On 14 Sep., 10:05, Kai Hendry <hen...@webconverger.com> wrote:
> On 14 September 2010 07:02, GMF <g...@bitchcop.de> wrote:
>
> > I did a complete new build at 13.09.2010 21:00.
> > Are the changes included in my build?
>
> If you used the new squeeze branch.http://git.debian.org/?p=debian-live/config-webc.git;a=shortlog;h=ref...

Kai Hendry

unread,
Sep 14, 2010, 7:38:35 AM9/14/10
to webc-...@googlegroups.com
On 14 September 2010 12:10, GMF <g...@bitchcop.de> wrote:
> So I have to rebuild the whole thing again.
> Report follows ...

Or use my squeeze build?

http://webconverger.org/blog/entry/Webconverger_6.1_release_notes/

GMF

unread,
Sep 14, 2010, 10:53:58 AM9/14/10
to Webconverger Users
My extensions e.g. ssh are not included in your build. ;-)

I have to build my own version.

Greez GMF

GMF

unread,
Sep 14, 2010, 2:29:39 PM9/14/10
to Webconverger Users
On Sep 14, 10:05 am, Kai Hendry <hen...@webconverger.com> wrote:
> On 14 September 2010 07:02, GMF <g...@bitchcop.de> wrote:
>
> > I did a complete new build at 13.09.2010 21:00.
> > Are the changes included in my build?
>
> If you used the new squeeze branch.http://git.debian.org/?p=debian-live/config-webc.git;a=shortlog;h=ref...
>
Can you please tell me how I can get the squeeze stuff.

'git clone git://git.debian.org/git/debian-live/config-webc.git' ends
up with lenny stuff.

Greez GMF

Kai Hendry

unread,
Sep 14, 2010, 7:13:24 PM9/14/10
to webc-...@googlegroups.com
You going to need to figure out how to checkout a remote branch in git. :)

GMF

unread,
Sep 15, 2010, 2:23:18 AM9/15/10
to Webconverger Users
Thanks for your help ^^

Kai Hendry

unread,
Sep 15, 2010, 4:53:34 PM9/15/10
to webc-...@googlegroups.com

GMF

unread,
Sep 16, 2010, 2:46:12 AM9/16/10
to Webconverger Users
Hehe
'git checkout -b squeeze origin/squeeze' one line.
I managed it yesterday with five lines. ;)

Today is testing-day...

Greez GMF

On 15 Sep., 22:53, Kai Hendry <hen...@webconverger.com> wrote:
> On 15 September 2010 07:23, GMF <g...@bitchcop.de> wrote:
>
> > Thanks for your help ^^
>
> http://git.webconverger.org/?p=build;a=blob;f=build.sh;h=13ead623f645...

GMF

unread,
Sep 16, 2010, 8:30:56 AM9/16/10
to Webconverger Users
First tests resulted in a clean white screen.

After some moments X crashes with error:
(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able
to load module/driver vmwgfx
SELinux: Disabled on system, not enabling in X server
Splashy ERROR: Timeout (120 sec) occurred while waiting for a
message on the Splashy socket

Testing on a esx3.5i vm using my build and the "official" builds from
http://build.webconverger.org/

Further tests will follow with real hardware.

Greez GMF

Kai Hendry

unread,
Sep 16, 2010, 8:37:17 AM9/16/10
to webc-...@googlegroups.com
Can you please link to the EXACT ISO you are testing so there is no ambiguity.

Kind regards,

GMF

unread,
Sep 16, 2010, 9:29:11 AM9/16/10
to Webconverger Users
Here we go:
http://build.webconverger.org/webconverger.2010-09-15.iso

and my own build, which does not have a weblink. ;)

Greez GMF

GMF

unread,
Sep 20, 2010, 2:05:48 PM9/20/10
to Webconverger Users
http://build.webconverger.org/webconverger.2010-09-19.iso works in
VirtualBox :-)
Now I have to test this noroot-stuff.

Greez GMF

Kai Hendry

unread,
Sep 20, 2010, 3:41:36 PM9/20/10
to webc-...@googlegroups.com

GMF

unread,
Oct 5, 2010, 11:59:13 AM10/5/10
to Webconverger Users
Hi Kai,
yesterday was again webc-day.

'noroot' now works great with the squeeze-build.

The only problem was this language stuff:
http://groups.google.com/group/webc-users/browse_thread/thread/7bf6f0e92444f5ac
But this should be discussed in the other thread.

Greez GMF
Reply all
Reply to author
Forward
0 new messages