Re: [leaf-user] Problems with RC4

2002-10-29 Thread Lars Kneschke
On Sun, 27 Oct 2002 18:56:42 +0100, you wrote: 
Lars:
 Today i upgraded to RC4 and now mysql(/usr/sbin/mysql --user=mysql) can't
 start anymore. When i start mysql the following way (/usr/sbin/mysql
 --user=root) it is starting up. I saw that you changed something
grsecurity.

 Does someone have a idea, where i can start  looking?
This sounds to be be indeed grsecurity related. Bering was not really
designed to be a full fledged distro :-) but rather a secure router...
:)
The way to proceed would be to compile your own kernel and relax the
grsecurity options. Since I am currently out of town I cannot help you more
about that -- I do not have access to my doc.
Hope you will find the solution. If so please report it to the list

I found a solution. I recompiled it, but not the kernel! ;)

First i was using the precompiled binaries from mysql.com. Today i
recompiled mysql my self. Now it is really small and is working again.

So far so good! 

Cu
--
Lars Kneschke
CCNP





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Problems with RC4

2002-10-27 Thread Jeff Newmiller
On Sat, 26 Oct 2002, Lars Kneschke wrote:

 Hello!
 
 I have started a little project based on LEAF, which i plan to release
 later. I added more programms(apache, mysql, postfix, openldap, php4),
 started working on a webinterface and burned all on a bootable cd-rom. It
 was working all well with rc3.
 
 Today i upgraded to RC4 and now mysql(/usr/sbin/mysql --user=mysql) can't
 start anymore. When i start mysql the following way (/usr/sbin/mysql
 --user=root) it is starting up. I saw that you changed something grsecurity.
 
 Does someone have a idea, where i can start  looking?

Can't help on this.

 Another problem. /etc/localtime contains garbage. The line in localtime
 looks like this for me 
 @@.@@UTC@@.@
 
 Bad! :)

No, good.

/etc/localtime is a binary file.  See
http://leaf.sf.net/devel/jnilo/butime.html

 
 I also bought a SMC wireless network card. I used the newly inlcuded hostap
 modules and they work very well. I also copied some piece of code from
 debian to have something like this in my interfaces:
 
 auto wlan0
 iface wlan0 inet static
 address 192.168.4.1
 masklen 24
  wireless_essid Linuks

Are you sure that line is right? Doesn't it have an up before the
wireless_essid ?

 Works very well when i call ifup/ifdown wlan0 or ifup/ifdown -a on the
 console. But when i reboot the system wlan0 is missing. Where get the
 network interfaces initialized? networking is not called in runlevel 2???
 Hm... 

I would guess some startup script executed after networking is started
that enables your wireless setup.  Someone else may be able to provide
more concise help... I would just be looking at the RCDLINKS variables in
the init files.

---
Jeff NewmillerThe .   .  Go Live...
DCN:[EMAIL PROTECTED]Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...2k
---



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Problems with RC4

2002-10-27 Thread Matthew Schalit
Lars Kneschke wrote:

Hello hello.



Another problem. /etc/localtime contains garbage. The line in localtime
looks like this for me 
@@.@@UTC@@.@

Bad! :)


I thought one man's Bad was another mans 0110 0111 01100100.
Matt



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Problems with RC4

2002-10-27 Thread Lars Kneschke
On Sat, 26 Oct 2002 22:50:49 -0700 (PDT), you wrote: 
On Sat, 26 Oct 2002, Lars Kneschke wrote:

 Another problem. /etc/localtime contains garbage. The line in localtime
 looks like this for me 
 @@.@@UTC@@.@
 
 Bad! :)

No, good.

/etc/localtime is a binary file.  See
http://leaf.sf.net/devel/jnilo/butime.html
Ok! :)

 Works very well when i call ifup/ifdown wlan0 or ifup/ifdown -a on the
 console. But when i reboot the system wlan0 is missing. Where get the
 network interfaces initialized? networking is not called in runlevel 2???
 Hm... 

I would guess some startup script executed after networking is started
that enables your wireless setup.  Someone else may be able to provide
more concise help... I would just be looking at the RCDLINKS variables in
the init files.

Ok, i found my problem. The network interfaces become initialized before
initd is starting. The first script which becomes executed in runlevel 2, is
a script which copies some configuration files. It copies also a updated
interfaces file. But because the network is initialized already, my wlan
interface does not become up anymore. I fixed it my way. :)

What's the reason not using a init script for initializing the network?

Cu

--
Lars Kneschke
CCNP




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



RE: [leaf-user] Problems with RC4

2002-10-27 Thread Lars Kneschke
On Sun, 27 Oct 2002 07:50:50 +0530, you wrote: 
Where could I take a look at the interface? It may do good to talk to
Lynn Avants a.k.a guitarlynn as a user interface project is being
spearheaded for LEAF by this person. I would think that the interface
should work on thinner components like thttpd or boa and maybe hyberbase
kind of db which is good for small memory based databases.

Hello!

Thanks for your hint, but ... :)

... i go another direction. I think bigger(in terms of megabyte). My system
is based on bering. I use a cd-rom as boot system, so i have no space
limitations. 

My plan is following. I want to create a system which is booting from cd-rom
and works on a ram disk. bering does this very well. On this system should
run a intranet system. For the intranet i use phpGroupware, because i'm a
developer of phpGroupware. phpGroupware requires PHP. I want to support
HTTPS. so i use apache(mod_ssl). phpGroupware requires a database in the
background, so i use mysql. A intranet needs a SMTP server, so i use
postfix. and so on. :)

I plan to write a white paper some day. 

I would like to have this system as small as possible, but i now i'm already
at 60MByte(apache, postfix, mysql, openssl, openldap, php4). This would not
fit on a floppy disk anymore. The ramdisk becomes bigger. And you need a
harddisk as storage for the emails, ldap database 

Just some thougths.

Cu
--
Lars Kneschke
CCNP




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



RE: [leaf-user] Problems with RC4

2002-10-27 Thread Joey Officer
I noticed that you said your setup is approximately 60mb, I'm curious to a
couple of things.

1 What is the purpose of running such a system from CD?  I understand the
need for quick booting, but would this make a static system, you can only
modify so much, I assume that you are still using a floppy disk to make
changes to config files and such?

2 There have been a few other threads that you might check through the
archives of people putting more and more onto a LEAF release, one thing I
had looked at was putting a fax server on a LEAF router.  Something with a
multiport card, storage would be offsite (ie a fileserver), in essence you
could have a 2U box in your rack that serves as a multipurpose unit.

3 As a suggestion to your mySQL problem, double check your users accounts, I
seem to recall someone else having a user account problem when migrating
between the different Bering releases.  Good luck, and I look forward to
seeing your write up when you complete everything.

Joey


-Original Message-
From: [EMAIL PROTECTED]
[mailto:leaf-user-admin;lists.sourceforge.net]On Behalf Of Lars Kneschke
Sent: Sunday, October 27, 2002 5:49 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [leaf-user] Problems with RC4

On Sun, 27 Oct 2002 07:50:50 +0530, you wrote:
Where could I take a look at the interface? It may do good to talk to
Lynn Avants a.k.a guitarlynn as a user interface project is being
spearheaded for LEAF by this person. I would think that the interface
should work on thinner components like thttpd or boa and maybe hyberbase
kind of db which is good for small memory based databases.

Hello!

Thanks for your hint, but ... :)

... i go another direction. I think bigger(in terms of megabyte). My system
is based on bering. I use a cd-rom as boot system, so i have no space
limitations.

My plan is following. I want to create a system which is booting from cd-rom
and works on a ram disk. bering does this very well. On this system should
run a intranet system. For the intranet i use phpGroupware, because i'm a
developer of phpGroupware. phpGroupware requires PHP. I want to support
HTTPS. so i use apache(mod_ssl). phpGroupware requires a database in the
background, so i use mysql. A intranet needs a SMTP server, so i use
postfix. and so on. :)

I plan to write a white paper some day.

I would like to have this system as small as possible, but i now i'm already
at 60MByte(apache, postfix, mysql, openssl, openldap, php4). This would not
fit on a floppy disk anymore. The ramdisk becomes bigger. And you need a
harddisk as storage for the emails, ldap database 

Just some thougths.

Cu
--
Lars Kneschke
CCNP




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Problems with RC4

2002-10-27 Thread Jacques Nilo
Lars:
 I have started a little project based on LEAF, which i plan to release
 later. I added more programms(apache, mysql, postfix, openldap, php4),
 started working on a webinterface and burned all on a bootable cd-rom. It
 was working all well with rc3.

 Today i upgraded to RC4 and now mysql(/usr/sbin/mysql --user=mysql) can't
 start anymore. When i start mysql the following way (/usr/sbin/mysql
 --user=root) it is starting up. I saw that you changed something
grsecurity.

 Does someone have a idea, where i can start  looking?
This sounds to be be indeed grsecurity related. Bering was not really
designed to be a full fledged distro :-) but rather a secure router...
The way to proceed would be to compile your own kernel and relax the
grsecurity options. Since I am currently out of town I cannot help you more
about that -- I do not have access to my doc.
Hope you will find the solution. If so please report it to the list
Jacques




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



[leaf-user] Problems with RC4

2002-10-26 Thread Lars Kneschke
Hello!

I have started a little project based on LEAF, which i plan to release
later. I added more programms(apache, mysql, postfix, openldap, php4),
started working on a webinterface and burned all on a bootable cd-rom. It
was working all well with rc3.

Today i upgraded to RC4 and now mysql(/usr/sbin/mysql --user=mysql) can't
start anymore. When i start mysql the following way (/usr/sbin/mysql
--user=root) it is starting up. I saw that you changed something grsecurity.

Does someone have a idea, where i can start  looking?

Another problem. /etc/localtime contains garbage. The line in localtime
looks like this for me 
@@.@@UTC@@.@

Bad! :)

I also bought a SMC wireless network card. I used the newly inlcuded hostap
modules and they work very well. I also copied some piece of code from
debian to have something like this in my interfaces:

auto wlan0
iface wlan0 inet static
address 192.168.4.1
masklen 24
 wireless_essid Linuks

Works very well when i call ifup/ifdown wlan0 or ifup/ifdown -a on the
console. But when i reboot the system wlan0 is missing. Where get the
network interfaces initialized? networking is not called in runlevel 2???
Hm... 

Thanks for you good work so far.

Cu
--
Lars Kneschke
CCNP




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html