Honza Vlach | 3 Oct 13:39 2005
Picon

Re: Openwall on Sun Enterprise 250 - kernel compile problem [ solved ]

Hi,

> No, Owl currently does not provide a 32-to-64-bit gcc for SPARC.  You'll
> have to either build a 32-bit kernel or use a non-Owl build of gcc to
> build a 64-bit kernel.  The ancient 64-bit gcc from Red Hat Linux 6.2
> for SPARC is known to work on Owl 1.1 and build 2.4.x kernels correctly.
> Similarly, Owl itself is known to work and even rebuild OK with such
> 64-bit kernels.

I've successfully compiled new kernel with ancient egcs64 from
http://rpmfind.net/linux/RPM/redhat/updates/6.0/sparc/egcs64-19980921-4.sparc.html

> Why not simply run Owl's "make installworld" off the Gentoo system?

I wasn't sure if gentoo had cpio or rpm. I've never used gentoo before,
all I needed was a live linux cd.

> 
> This is not the Owl way of doing it.  The (fake) kernel-headers package
> on Owl provides the correct symlinks under /usr/include.  On SPARC, it
> also provides wrappers for 32- vs. 64-bit header files:

...

> So you did not need to touch anything under /usr/include.  You should
> have merely extracted your kernel sources under /usr/src/linux (as user
> "sources") and configured the kernel (since some header files are only
> produced when you do that).
Mea culpa, thanks for the info. I have recompiled it this way then.

(Continue reading)

Stanislav | 4 Oct 15:53 2005

ldap / pam / tcb / popa3d / maildir

Dear Openwall User, 

i am trying to setting up a mail server with owl stable as base
system. First my experiences, 

- postfix setup with Maildir support works fine.

- recompile glibc to include nscd and attach an init script.

So far, all went OK. My users are all on a directory server. For 
that i build openldap and nss/pam stuff for ldap.

- postfix works now fine with that ldap users. (i recompiled
 for alias queries to ldap, not necessary for ldap users)

 $ getent passwd/groups 

shows me that what i want to see.

Now my interferences:

Doing an 'su' to a ldap user works of course for root but showing:

 Account management:- Insufficient credentials 
 to access authentication data

My primary focus is popa3d and not suing. For that i didn't 
try to customize pam.d/su for ldap users (cause i also think its 
to entangled with tcb) but i compiled popa3d with Maildir support
and 
(Continue reading)

Michael Tokarev | 4 Oct 18:08 2005
Picon

Re: ldap / pam / tcb / popa3d / maildir

Stanislav wrote:
> Dear Openwall User, 
> 
> i am trying to setting up a mail server with owl stable as base
> system. First my experiences, 
> 
> - postfix setup with Maildir support works fine.
> 
> - recompile glibc to include nscd and attach an init script.

Why do you need nscd?

> So far, all went OK. My users are all on a directory server. For 
> that i build openldap and nss/pam stuff for ldap.

Are you sure you want your users to be system accounts?
I mean, instead of tweaking system-wide settings (nsswitch.conf
etc) and enabling ldap there, you can use ldap for email only,
tweaking postfix and pop3 configs.  Mind you, almost every
network-aware user storage (ldap, sql, etc) is inherently
insecure - it's very difficult to set it up properly so that
security level will be acceptable.

Ofcourse, if you will not use system accounts, you may have some
troubles enabling such features like maildir quotas (which are
implemented using filesystem quotas when your mail users are
system users as well).

> - postfix works now fine with that ldap users. (i recompiled
>  for alias queries to ldap, not necessary for ldap users)
(Continue reading)

Stanislav | 4 Oct 18:54 2005

Re: [owl-users] ldap / pam / tcb / popa3d / maildir

On Tue, 04 Oct 2005 20:08:03 +0400
Michael Tokarev <mjt@...> wrote:

> > - recompile glibc to include nscd and attach an init script.
> 
> Why do you need nscd?

Hello Michael,

for cacheing - just in case the directory service isn't up. 
To keep a small time window where mail services still work.
Well, its my intention. Extensive tests will follow.

> 
> > So far, all went OK. My users are all on a directory server. For 
> > that i build openldap and nss/pam stuff for ldap.
> 
> Are you sure you want your users to be system accounts?
> I mean, instead of tweaking system-wide settings (nsswitch.conf
> etc) and enabling ldap there, you can use ldap for email only,
> tweaking postfix and pop3 configs.  Mind you, almost every
> network-aware user storage (ldap, sql, etc) is inherently
> insecure - it's very difficult to set it up properly so that
> security level will be acceptable.

Don't misunderstand me, i'm aware of that. They exists a lot of
ways for mailsetups. Especially in conjunction with ldap services.
Indeed i agree with you.

> > My primary focus is popa3d and not suing. For that i didn't 
(Continue reading)

ping | 5 Oct 15:44 2005
Picon

Troubles with building packages

I have some troubles with build new packages from sources.
System can't find C preprocessor.

For example I try to build samba-3.0.20a:

$ ./counfigure
...
checking how to run the C preprocessor... /lib/cpp                
configure: error: C preprocessor "/lib/cpp" fails sanity check    
...

Version: Owl-current-20050913

--
Ping.

Michail Litvak | 5 Oct 15:53 2005

Re: Troubles with building packages

Hello ping <at> hren.tebe.ru! 

 Wed, Oct 05, 2005 at 05:44:01PM +0400, ping wrote about "[owl-users] Troubles with building packages": 

> I have some troubles with build new packages from sources.
> System can't find C preprocessor.
> 
> For example I try to build samba-3.0.20a:
> 
> $ ./counfigure
|       ^
really ? ;)

> ...
> checking how to run the C preprocessor... /lib/cpp                
> configure: error: C preprocessor "/lib/cpp" fails sanity check    
Please look configure.log for more verbose error description.

CU!
--
//ShaD0w

Andreas Ericsson | 5 Oct 16:40 2005
Picon

Re: Troubles with building packages

ping <at> hren.tebe.ru wrote:
> I have some troubles with build new packages from sources.
> System can't find C preprocessor.
> 
> For example I try to build samba-3.0.20a:
> 
> $ ./counfigure
> ...
> checking how to run the C preprocessor... /lib/cpp                
> configure: error: C preprocessor "/lib/cpp" fails sanity check    
> ...
> 

I had this same problem myself in May this year. Here's the posting I 
made back then (to owl-devel, which isn't archived unfortunately).

-----------
I ran into some weird errors while packaging coreutils, where its 
configure script for some obscure reason attempted to run /lib/cpp as 
the preprocessor. Adding the following lines to the %configure macro 
seems to have solved the problem (and made it embarrassingly obvious 
that I had forgotten to install the kernel-headers). The addendum is 
most likely a good idea anyways since it can prevent some problems with 
ill-behaved ./configure scripts.

%configure
   CC="${CC:-%__cc}" ; export CC ; \
   CPP="${CPP:-%__cpp}" ; export CPP ; \
   CFLAGS (and so on...)
---------------
(Continue reading)

Melekhov Alexandre A. | 13 Oct 14:43 2005
Picon

PLS need help with new ISO rebuilding


Hello!

I've got a problem with using rebuilded iso image of Owl cd-rom.

There was nesessary to change bzImage (and also System.map) to use new hardware (LSI SCSI controller). New
bzImage was builded successfully. After building new kernel, i've did the following

# cd /mnt
# mount /home/zorg/iso/Owl-current-20050703-i386.iso /mnt/disk -o loop
# mkdir OWL
# cd disk
# cp -a * ../OWL/.
# umount /mnt/disk

after that i've change bzImage and System.map in /mnt/OWL/boot

# chroot /mnt/OWL
# cd /boot
# /boot/floppy-update.sh

here is the output

80+0 records in
80+0 records out
1474560 bytes (1,5 MB) copied, 0,003924 секунд, 376 MB/s
mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
(Continue reading)

(GalaxyMaster | 13 Oct 15:07 2005

Re: PLS need help with new ISO rebuilding

On Thu, Oct 13, 2005 at 04:43:13PM +0400, Melekhov Alexandre A. wrote:
> 
> Hello!
> 
> I've got a problem with using rebuilded iso image of Owl cd-rom.
> 
> There was nesessary to change bzImage (and also System.map) to use new hardware (LSI SCSI controller).
New bzImage was builded successfully. After building new kernel, i've did the following

Have your kernel rebuild was based on the config file from the original
Owl ISO kernel?  To add something you should just copy /boot/config (I
could misspell there since I have no ISO right now) to
/usr/src/linux/.config, then 'make menuconfig', etc.

--

-- 
(GM)

Melekhov Alexandre A. | 13 Oct 15:09 2005
Picon

Re: PLS need help with new ISO rebuilding

Hello Melekhov Alexandre A..

On Thu, 13 Oct 2005 16:43:13 +0400, you wrote about "[owl-users] PLS
need help with new ISO rebuilding":

> hardware (LSI SCSI controller). New bzImage was builded successfully.

Sorry for offtopic.

Sorry for my poor english, I know about it. 'built' now it's correct, I hope.

--
===========================
Best regards, SKYDIVER-RIPN
amel <at> df.ru


Gmane