Re: [blfs-support] Redirect all kernel messages to one tty

2014-04-12 Thread William Harrington

On Apr 12, 2014, at 11:52 AM, Nicolas Le Manchet wrote:

> Is it possible to redirect all kernel messages to one tty on LFS?
>
> Sincerely,
> Nicolas


LFS has ksyslog and you can set which tty the kernel messages go to:

kern.* -/dev/tty6

For example.

If you don't want kerenel messages at your current console you can  
remove /dev/console for kern.* if it is there.
Restart ksyslog daemon.
Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Redirect all kernel messages to one tty

2014-04-12 Thread Nicolas Le Manchet
Hi,

After a successful build of LFS I would like to clean the prompt from 
kernel messages.
What I am trying to do is keep all kernel messages in one tty used only 
for that, let's say tty1.
Disabling it in /etc/inittab and setting "console=tty1" in boot command 
is not enough since when I use tty2 with for example "ifup wlan0" I get 
all messages related to kernel setting up wireless on tty2 and not on 
tty1. I read man page of klogd but it seems that the only thing possible 
to do there is changing the log level. Google did not come with an 
answer for this.

Is it possible to redirect all kernel messages to one tty on LFS?

Sincerely,
Nicolas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] libreoffice-4.2.2, java, jdbc and postgresql questions

2014-04-12 Thread Ken Moffat
On Sat, Apr 12, 2014 at 03:20:37PM +0100, lux-integ wrote:
> 
> I noticed  the above blfs recipe has these switches
> 
> --disable-postgresql-sdbc   \
>  --without-java
> 
 From memory, postgresql and java are among the default options.
Most BLFS users probably don't build either of them, or want them.

 As to your other questions, I have no idea.  For postgresql in
/usr/local I would expect it to be found [ and if you had different
versions in /usr and /usr/local I would expect the version in
/usr/local to be used ], but LO is a very long compile, even with
-j4, and my guesses might not match what it really does.  So if you
don't get definitive answers you should expect to try to build it
several times, and to log the builds so that you can find the first
error message if it does fail.

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

[blfs-support] libreoffice-4.2.2, java, jdbc and postgresql questions

2014-04-12 Thread lux-integ
Greetings,

I have never used LibreOffice  ( I m still stuck wiht an old  BLFS build with 
openoffice-3.something  )  I am about to upgrade to  libreoffice-4.2.2
 (  http://www.linuxfromscratch.org/blfs/view/svn/xsoft/libreoffice.html  )

I noticed  the above blfs recipe has these switches

--disable-postgresql-sdbc   \
 --without-java

I use openoffice   connected to postgresql database  via jdbc.   

I would  like to know if  java and  jdbc   connectors are problems for 
libreOffice and if  not what is the best metnod for  compiling libreoffice so 
that java (Openjdk7 ) and latest versions of posrgresql-jdbc are supported.

The above link also  recommendscompiling  for postgresql support with the 
--with-system-postgresql switch My 'system' posrgresql   is in /usr/local,  
so  is there a way of setting pgsql's   absolute path  for libreOffice to 
find?

Thanks in advance

sincerely
luxInteg
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] rsync

2014-04-12 Thread Richard Melville
>
> Richard Melville wrote:
> >>
> >> Richard Melville wrote:
> >>> -d /home/rsync doesn't create the home directory; surely it should be
> -m
> >>> /home/rsync.
> >>
> >> No, it just specifies a directory in /etc/passwd, but no one is logging
> >> into the rsync account, so it doesn't need to be created.
> >>
> >> -- Bruce
> >>
> >
> > But the suggested configuration file appears to require it:-
> >
> > # This is a basic rsync configuration file
> > # It exports a single module without user authentication.
> >
> > motd file = /home/rsync/welcome.msg
> > use chroot = yes
> >
> > [localhost]
> >  path = /home/rsync
> >  comment = Default rsync module
> >  read only = yes
> >  list = yes
> >  uid = rsyncd
> >  gid = rsyncd
>
> Good point.  However that's only needed for the server.  We'll look into
> updating it.
>
>-- Bruce
>

One further point I forgot to mention, the rsync configure script looks for
stunnel, and if it finds it adds support.  In non-daemon mode using ssh is
fine, as rsync has no built-in encryption, but in daemon mode, for
anonymous access with encryption, stunnel would need to be used.  Maybe
stunnel should be added as an optional dependency.  And openssh too,
although I note that it is mentioned in the text.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page