[gentoo-user] Re: OT: KDE schema setting

2006-07-07 Thread James
Raymond Lewis Rebbeck dystopianray at gmail.com writes:

  How does one make the default color (settings --schema)  in  a
  KDE terminal  default to 'white on black' instead of 'linux colors'?

 Select the schema you want to use and then go to 'Settings - Save as 
 Default' 
 and it'll become the default for all future sessions.


That was too easy  Rough week...

thanks to all for the answers...


James






-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: KDE schema setting

2006-07-07 Thread James
Hello,

How does one make the default color (settings --schema)  in  a 
KDE terminal  default to 'white on black' instead of 'linux colors'?
I need to set this behavior so 'white on black' so I do not have
to manually configure the schema each time I fire up a new konsole
session.

Once I manually set these they seem to stay set under the old monolithic
KDE builds. Now under KDE Meta I seem to be missing something.?

Who knows after the last few weeks.


James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread J. Roeleveld
Hi all,

I have accounts configured in LDAP (OpenLDAP)
And a FTP-server on a different host.

The FTP server succesfully authenticates against OpenLDAP, using a schema 
provided by the FTP server ebuild.

Currently, I have to manually remember to copy the schema across when I update 
the ftp-server. Is there a way to set up a little script that will 
automatically copy the schema file to a different location after a successful 
install/update without having to patch the ebuild-files. (manually copying is 
less error-prone)

Many thanks,

Joost



Re: [gentoo-user] OT: KDE schema setting

2006-07-07 Thread Raymond Lewis Rebbeck
On Friday, 7 July 2006 23:26, James wrote:
 Hello,

 How does one make the default color (settings --schema)  in  a
 KDE terminal  default to 'white on black' instead of 'linux colors'?
 I need to set this behavior so 'white on black' so I do not have
 to manually configure the schema each time I fire up a new konsole
 session.

 Once I manually set these they seem to stay set under the old monolithic
 KDE builds. Now under KDE Meta I seem to be missing something.?

 Who knows after the last few weeks.


 James

Select the schema you want to use and then go to 'Settings - Save as Default' 
and it'll become the default for all future sessions.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Looking for a tool to produce 'reverse' SQL

2006-06-15 Thread Benjamin Blazke
Hi,

I'm looking for a tool that given an existing (base)
database schema and an 'update patch' DDL .sql script
on input would produce a 'reverse' script that could
be used to undo the changes done by the patch. For
example:

base.sql:
CREATE TABLE xxx (...);

patch.sql:
CREATE TABLE yyy (...);
ALTER TABLE xxx ADD COLUMN aaa ...;
ALTER TABLE xxx CHANGE column bbb ...

reverse.sql:
DROP TABLE yyy;
ALTER TABLE xxx DROP column aaa;
ALTER TABLE xxx CHANGE column bbb get this from the
original base schema

The purpose of this exercise is to have a production
database (MySQL) server that needs to update its
schema once in a while to reflect the changes in the
related application without the need to recreate the
schema from scratch (and possibly losing data). The
reverse.sql script could be later used to rollback the
schema changes at any time, even rollback multiple
patches.

How do people generally solve this? I'm sure this must
be a fairly common problem.

Thanks.

Ben



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: KDE schema setting

2006-07-07 Thread Neil Bothwick
On Fri, 7 Jul 2006 13:56:33 + (UTC), James wrote:

 How does one make the default color (settings --schema)  in  a 
 KDE terminal  default to 'white on black' instead of 'linux colors'?
 I need to set this behavior so 'white on black' so I do not have
 to manually configure the schema each time I fire up a new konsole
 session.

Select Settings-Save as Default after changing them.


-- 
Neil Bothwick

WinErr 079: Mouse not found - A mouse driver has not been installed.
Please click the left mouse button to continue.


signature.asc
Description: PGP signature


Re: [gentoo-user] LDAP Error

2005-12-12 Thread Markus Ullmann
Gentoo wrote:
 /etc/openldap/schema/cosine.schema: line 1084: ObjectClass not found: 
 person
 config check failed

You simply did not include the core.schema.

Greets,
Markus
-- 
gentoo-user@gentoo.org mailing list



Re: [SOLVED] [gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread Neil Bothwick
On Tue, 10 May 2016 14:44:58 +0200, J. Roeleveld wrote:

> > You can define hooks in /etc/portage/bashrc and /etc/portage/env that
> > are run at various stages of the ebuild. A post_install hook in
> > /etc/portage/env/cat/ftp-server should do what you want.
> > 
> > https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-ebuil
> > d-phase-hooks  
> 
> Thank you for the reply. It gave me the keywords to search for.
> 
> If anyone else ever needs to write something similar, here is how I got
> it to work:
> 
> =
> # cat /etc/portage/bashrc 
> 
> #!/bin/bash
> 
> if [ "${EBUILD_PHASE}" = "postinst" ]
> then
>   if [ "${CATEGORY}/${PN}" = "net-ftp/pure-ftpd" ]
>   then
> cp /etc/openldap/schema/pureftpd.schema 
> /opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
> echo "NOTE: LDAP Schema File copied."
>   fi
> fi
> 
> ==

Couldn't you do it with register_install_hook? I've not done it with that
phase, but I have used hooks like this.

> 
> This should be easy to adjust to needs.
> 
> Using /etc/portage/env doesn't work.

I think the approach there is to define pkg_postinst()
in /etc/portage/cat/pkg, then that function is run after the install
phase of the ebuild.

Something like


pkg_postinst() {
  cp /etc/openldap/schema/pureftpd.schema 
  /opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
  einfo "NOTE: LDAP Schema File copied."
}

in /etc/portage/env/net-ftp/pure-ftpd


-- 
Neil Bothwick

"Doing it right is no excuse for not meeting the schedule."


pgpuNJ0rft9jX.pgp
Description: OpenPGP digital signature


Re: [SOLVED] [gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread J. Roeleveld
On Tuesday, May 10, 2016 03:13:08 PM Neil Bothwick wrote:
> On Tue, 10 May 2016 14:44:58 +0200, J. Roeleveld wrote:
> > > You can define hooks in /etc/portage/bashrc and /etc/portage/env that
> > > are run at various stages of the ebuild. A post_install hook in
> > > /etc/portage/env/cat/ftp-server should do what you want.
> > > 
> > > https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-e
> > > buil d-phase-hooks
> > 
> > Thank you for the reply. It gave me the keywords to search for.
> > 
> > If anyone else ever needs to write something similar, here is how I got
> > it to work:
> > 
> > =
> > # cat /etc/portage/bashrc
> > 
> > #!/bin/bash
> > 
> > if [ "${EBUILD_PHASE}" = "postinst" ]
> > then
> > 
> >   if [ "${CATEGORY}/${PN}" = "net-ftp/pure-ftpd" ]
> >   then
> >   
> > cp /etc/openldap/schema/pureftpd.schema
> > 
> > /opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
> > 
> > echo "NOTE: LDAP Schema File copied."
> >   
> >   fi
> > 
> > fi
> > 
> > ==
> 
> Couldn't you do it with register_install_hook? I've not done it with that
> phase, but I have used hooks like this.
> 
> > This should be easy to adjust to needs.
> > 
> > Using /etc/portage/env doesn't work.
> 
> I think the approach there is to define pkg_postinst()
> in /etc/portage/cat/pkg, then that function is run after the install
> phase of the ebuild.
> 
> Something like
> 
> 
> pkg_postinst() {
>   cp /etc/openldap/schema/pureftpd.schema
>   /opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
>   einfo "NOTE: LDAP Schema File copied."
> }
> 
> in /etc/portage/env/net-ftp/pure-ftpd

When I did that, it complained about the syntax.
Apparently, from what I read through google-searches, /etc/portage/env/... is 
handled by Python. And that doesn't, obviously, understand bash-syntax.

/etc/portage/bashrc is handled by Bash, which makes this possible.

The "pkg_postinst()" is for either ebuilds, or I am doing something wrong...

I am using the latest stable portage.

--
Joost

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] Looking for a tool to produce 'reverse' SQL

2006-06-15 Thread kashani

Benjamin Blazke wrote:

Hi,

I'm looking for a tool that given an existing (base)
database schema and an 'update patch' DDL .sql script
on input would produce a 'reverse' script that could
be used to undo the changes done by the patch. For
example:

base.sql:
CREATE TABLE xxx (...);

patch.sql:
CREATE TABLE yyy (...);
ALTER TABLE xxx ADD COLUMN aaa ...;
ALTER TABLE xxx CHANGE column bbb ...

reverse.sql:
DROP TABLE yyy;
ALTER TABLE xxx DROP column aaa;
ALTER TABLE xxx CHANGE column bbb get this from the
original base schema

The purpose of this exercise is to have a production
database (MySQL) server that needs to update its
schema once in a while to reflect the changes in the
related application without the need to recreate the
schema from scratch (and possibly losing data). The
reverse.sql script could be later used to rollback the
schema changes at any time, even rollback multiple
patches.

How do people generally solve this? I'm sure this must
be a fairly common problem.


The tool you're looking for is called a DBA. :-)

On a more serious note:
	I normally do the schema changes and table updates followed by updating 
the code on the servers. Once the code is live we're pretty much stuck 
with it because it often relies on the new fields or uses the new data 
we populated. I could revert back to the original data, but we'd lose 
any new data that came in after the upgrade.


	If your changes were minor it wouldn't be too hard to manually reverse. 
On the other hand anything very complicated to reverse where you'd want 
a tool to do it is likely going to fall into my situation where the new 
data isn't going to work in the old tables, the old application isn't 
going to like the new data or tables, and so on.


	We get around it by doing lots and lots of testing. I probably run 
through the schema and data updates five or so times depending on the 
complexity on the changes along with continual QA as the new application 
is being built in the staging environment.


kashani
--
gentoo-user@gentoo.org mailing list



[gentoo-user] kde schema colors problem

2006-09-05 Thread James
Hello,

Well maybe this (ls) schema color issue I'm seeing  is related to a recent
vim colors question...not sure?

ON a newly installed system (2006.1) (amd-K8) the dir content listing (ls)
is all  white (various file types and dirs). I display only the 
current dir of my path as part of my prompt. When I cd into a dir,
the path changes color (blue) like it should. When I ssh into another 
system, the kde schema color schemes are correct and consistently display on 
the terminal session on the (K8) system.

On the (K8) system, I get this all white color (for all file types),
regardless of any (KDE) color shema select. All I can do by changing 
the kde  schema setting is go from (black on white) to (white on black),
testing many of the schema choices.
So I'm wondering it has to be related to a recent color problem with 
vim-7.0.17? Now the really
confusing part for me is this errant (ls) color behavior is 
the same running either vim-6.4 or vim-7.0.17 on the (K8) system.
So could it be related to something in the 2006.1 make.profile?

From this (K8) 2006.1 install I have this symbolic link as
a vestige of the installation:

ls -alg /etc/make.profile
lrwxrwxrwx 1 root 58 Sep  4 03:18 /etc/make.profile -
../usr/portage/profiles/default-linux/amd64/2006.1/desktop

whereas on another system I have:
# ls -alg /etc/make.profile
lrwxrwxrwx 1 root 48 Aug 30 17:40 /etc/make.profile -
../usr/portage/profiles/default-linux/x86/2006.1

and all of my 2006.0 systems contain this sym-link:
$ ls -alg /etc/make.profile
lrwxrwxrwx 1 root 48 Jul  3 16:08 /etc/make.profile -
../usr/portage/profiles/default-linux/x86/2006.0

Only the (K8) system, the first of the 3 symbolic links has this
(ls) shema color problem. Notice the 'desktop' portion of 
the first symbolic link.


Sugestions as to how to fix this schema color issue on the newly
installed (livedCD 2006.1) (K8) system are most welcome. Initially,
I performed a networkless (kde-less) install. Since then I have 
emerged kde-meta and all seems fine, except this schema colors
in my kde terminal sessions.


Is this a bug?


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Looking for a tool to produce 'reverse' SQL

2006-06-17 Thread Daniel Iliev

On Thu, Юни 15, 2006 9:15 pm, Benjamin Blazke wrote:
 Hi,

 I'm looking for a tool that given an existing (base)
 database schema and an 'update patch' DDL .sql script
 on input would produce a 'reverse' script that could
 be used to undo the changes done by the patch. For
 example:

 base.sql:
 CREATE TABLE xxx (...);

 patch.sql:
 CREATE TABLE yyy (...);
 ALTER TABLE xxx ADD COLUMN aaa ...;
 ALTER TABLE xxx CHANGE column bbb ...

 reverse.sql:
 DROP TABLE yyy;
 ALTER TABLE xxx DROP column aaa;
 ALTER TABLE xxx CHANGE column bbb get this from the
 original base schema

 The purpose of this exercise is to have a production
 database (MySQL) server that needs to update its
 schema once in a while to reflect the changes in the
 related application without the need to recreate the
 schema from scratch (and possibly losing data). The
 reverse.sql script could be later used to rollback the
 schema changes at any time, even rollback multiple
 patches.

 How do people generally solve this? I'm sure this must
 be a fairly common problem.

 Thanks.

 Ben



 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 --
 gentoo-user@gentoo.org mailing list



If we're talking about a production system its very very bad idea to patch it 
directly.
The right way is to have an offline mirror of the system where you apply the
patches, test and only if they work fine, you apply the update on the production
system. If the patches are not OK, you just roll them back, restore from a 
backup,
or copy the live system over the offline one.

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [SOLVED] [gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread J. Roeleveld
On Tuesday, May 10, 2016 10:01:10 AM Neil Bothwick wrote:
> On Tue, 10 May 2016 10:53:03 +0200, J. Roeleveld wrote:
> > Currently, I have to manually remember to copy the schema across when I
> > update the ftp-server. Is there a way to set up a little script that
> > will automatically copy the schema file to a different location after a
> > successful install/update without having to patch the ebuild-files.
> > (manually copying is less error-prone)
> 
> You can define hooks in /etc/portage/bashrc and /etc/portage/env that are
> run at various stages of the ebuild. A post_install hook in
> /etc/portage/env/cat/ftp-server should do what you want.
> 
> https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-ebuil
> d-phase-hooks

Thank you for the reply. It gave me the keywords to search for.

If anyone else ever needs to write something similar, here is how I got it to 
work:

=
# cat /etc/portage/bashrc 

#!/bin/bash

if [ "${EBUILD_PHASE}" = "postinst" ]
then
  if [ "${CATEGORY}/${PN}" = "net-ftp/pure-ftpd" ]
  then
cp /etc/openldap/schema/pureftpd.schema 
/opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
echo "NOTE: LDAP Schema File copied."
  fi
fi

==

This should be easy to adjust to needs.

Using /etc/portage/env doesn't work.

--
Joost

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] trying KDE (again)

2006-02-14 Thread Richard Fish
On 2/13/06, Iain Buchanan [EMAIL PROTECTED] wrote:
 However, I have some eye candy I want to bring from Gnome - transparent
 konsole is the first.

Right click in the Konsole window, select Settings-Schema- and a
transparent schema.  You can also modify an existing or create a new
schema with Settings-Configure Konsole

 Secondly, I start konsole with the following command (from another
 konsole):

 konsole --geometry -0-0

The KDE window manager doesn't really support this.  It is probably
better to use window-specific settings in the window manager.

1. Right click on a title-bar, select Configure Window Behavior...
2. Select Window-Specific Settings and New...
3. Click the Detect button and click on a Konsole window.
4. Under Geometry, turn on the Position checkbox, set it to remember.

Now you can position/resize your konsole like you want, and KDE will
remember it.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XML Editor

2005-05-11 Thread Calvin Spealman
I've been looking for something along these lines, myself, although
I'm also looking for one that does WYSIWYG based on arbitrary XSLTs.
Anyway, I've looked around and found a few things.

Jaxe looks like a promising possibility, over at
http://jaxe.sourceforge.net/. It can validate based on a schema, as
you need. It is a Java-written project, so it will run on your linux
boxes, or anything else, of course.

There is a very large list of editors at http://www.xml.com/pub/pt/3
you can look through, as well.

On 5/11/05, Steve [Gentoo] [EMAIL PROTECTED] wrote:
 I have a few bespoke XML schema specs, and I want to find a generic tool
 to construct XML files which are syntactically valid with respect to the
 schema specs.
 The schemas represent data-structures for domain specific records with
 moderately complex structure.  It would not make sense to use a WYSIWYG
 editor as the XML tags don't correspond to textual mark-up... I don't
 want to use a text-editor as it would be time-consuming to manually type
 the tag and attribute names... as well as being more error prone and
 less productive to batch validate.
 Are there any such tools available for Gentoo?
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] After updating openldap today slapd won't start

2011-02-20 Thread Dan Johansson
Today after updating openldap from 2.4.23 to 2.4.24, slapd will not start.

# /etc/init.d/slapd start
 * Starting ldap-server ... 

  [ !! ]

and I get the following in the log:

Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: @(#) $OpenLDAP: slapd 2.4.24 (Feb 
20 2011 12:20:51) $
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: slapd stopped.
Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: connections_destroy: nothing to 
destroy.


If I start it by hand (with debug=1)  it looks like this:
# /usr/lib64/openldap/slapd  -u ldap -g ldap -d1
@(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $

@torsson:/var/tmp/portage/net-nds/openldap-2.4.24/work/openldap-2.4.24/servers/slapd
ldap_pvt_gethostbyname_a: host=torsson, r=0
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: listener initialized ldap:///
daemon_init: 1 listeners opened
ldap_create
slapd init: initiated server.
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
hdb_back_initialize: initialize HDB backend
hdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

Here are slapd.conf (without comments):
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/authldap.schema
include /etc/openldap/schema/samba.schema
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args
allow bind_v2
databasehdb
suffix  dc=dmj,dc=nu
checkpoint  32  30 
rootdn  cn=myroot,dc=dmj,dc=nu
rootpw  {SSHA}x
directory   /var/lib/openldap-data
index   objectClass eq


Any suggestion short of reverting to 2.4.23?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] After updating openldap today slapd won't start

2011-02-20 Thread Dan Johansson
On Sunday 20 February 2011 13.25:31 Dan Johansson wrote:
 Today after updating openldap from 2.4.23 to 2.4.24, slapd will not start.
 
 # /etc/init.d/slapd start
  * Starting ldap-server ...   
   
   [ !! ]
 
 and I get the following in the log:
 
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: @(#) $OpenLDAP: slapd 2.4.24 
 (Feb 20 2011 12:20:51) $
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: slapd stopped.
 Feb 20 13:17:01 torsson.dmj.nu slapd[22578]: connections_destroy: nothing to 
 destroy.
 
 
 If I start it by hand (with debug=1)  it looks like this:
 # /usr/lib64/openldap/slapd  -u ldap -g ldap -d1
 @(#) $OpenLDAP: slapd 2.4.24 (Feb 20 2011 12:20:51) $
 
 @torsson:/var/tmp/portage/net-nds/openldap-2.4.24/work/openldap-2.4.24/servers/slapd
 ldap_pvt_gethostbyname_a: host=torsson, r=0
 daemon_init: listen on ldap:///
 daemon_init: 1 listeners to open...
 ldap_url_parse_ext(ldap:///)
 daemon: listener initialized ldap:///
 daemon_init: 1 listeners opened
 ldap_create
 slapd init: initiated server.
 bdb_back_initialize: initialize BDB backend
 bdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
 hdb_back_initialize: initialize HDB backend
 hdb_back_initialize: Berkeley DB 4.8.30: (2010-08-05)
 slapd destroy: freeing system resources.
 slapd stopped.
 connections_destroy: nothing to destroy.
 
 Here are slapd.conf (without comments):
 include /etc/openldap/schema/core.schema
 include /etc/openldap/schema/cosine.schema
 include /etc/openldap/schema/inetorgperson.schema
 include /etc/openldap/schema/nis.schema
 include /etc/openldap/schema/authldap.schema
 include /etc/openldap/schema/samba.schema
 pidfile /var/run/openldap/slapd.pid
 argsfile/var/run/openldap/slapd.args
 allow bind_v2
 databasehdb
 suffix  dc=dmj,dc=nu
 checkpoint  32  30 
 rootdn  cn=myroot,dc=dmj,dc=nu
 rootpw  {SSHA}x
 directory   /var/lib/openldap-data
 index   objectClass eq
 
 
 Any suggestion short of reverting to 2.4.23?
Don't bother... I found it my self. slaptest reported an error in one of the 
schemas, efter correcting this slapd starts perfectly.

Sorry for the noise,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] XML Editor

2005-05-11 Thread Steve [Gentoo]
I have a few bespoke XML schema specs, and I want to find a generic tool 
to construct XML files which are syntactically valid with respect to the 
schema specs.
The schemas represent data-structures for domain specific records with 
moderately complex structure.  It would not make sense to use a WYSIWYG 
editor as the XML tags don't correspond to textual mark-up... I don't 
want to use a text-editor as it would be time-consuming to manually type 
the tag and attribute names... as well as being more error prone and 
less productive to batch validate.
Are there any such tools available for Gentoo?

--
gentoo-user@gentoo.org mailing list


[gentoo-user] Re: syntax colorful highlight printing tool?

2005-11-04 Thread Zhang Weiwu
Looks like enscript did a good job in coloring C source code, simple need
someone to put up a color schema for php. They also have color syntax file
for perl, python, fortran, delphi.. I thought php is a bit more popular then
fortran. I think I can just use C syntax for php


On Fri, 4 Nov 2005, Zhang Weiwu wrote:

 Hello. I just tried enscript --color to print my php source. The result is
 simply no color: looks they don't have good color schema for php. I also had
 a look at a2ps and it doesn't even have a color option (or did I miss it?)

 How do you print your php source in color?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Konsole lost bold letters

2006-08-27 Thread Benno Schulenberg

Several days ago I noticed that in the Konsole man pages and 
nano --boldtext no longer produce bold letters.  When using a light 
background (for example the Schema Black on White), the words 
NAME and SYNOPSIS and so on on a man page are no longer in bold 
letters but the same as all the other text.  Only when using a 
Schema like Green Tint those words still stand out.  In an xterm 
the bold still works fine.  I can't figure out when this change 
happened.  I've re-emerged qt, kdelibs, ncurses and konsole, to no 
avail.  Is it a bug in KDE 3.5.4?  Is anyone else seeing this?

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Konsole lost bold letters

2006-08-27 Thread Philip Webb
060827 Benno Schulenberg wrote:
 in the Konsole man pages no longer produce bold letters.
 When using eg the Schema Black on White, the words NAME and SYNOPSIS
 are no longer in bold letters but the same as all the other text.
 Only when using eg Green Tint those words still stand out.
 In an xterm the bold still works fine.
 I've re-emerged qt, kdelibs, ncurses and konsole.
 Is it a bug in KDE 3.5.4?  Is anyone else seeing this?

No problem here with 3.5.4  Konsole schema 'Konsole default'.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Konsole lost bold letters

2006-09-07 Thread Benno Schulenberg
Philip Webb wrote:
 060827 Benno Schulenberg wrote:
  in the Konsole man pages no longer produce bold letters.
  When using eg the Schema Black on White, the words NAME and
  SYNOPSIS are no longer in bold letters but the same as all the
  other text.
  Is it a bug in KDE 3.5.4?  Is anyone else seeing this?

 No problem here with 3.5.4  Konsole schema 'Konsole default'.

What's your Konsole default?  This would depend on KDE's colour 
scheme, I suppose.  The bug only shows for dark on light.

Downgrading Konsole brings back bold for me:

  emerge --oneshot --nodeps =kde-base/konsole-3.5.3-r1

It's a known bug, it seems:
https://bugs.gentoo.org/show_bug.cgi?id=146224

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] konsole selected text

2008-02-17 Thread Daniel D Jones
When I select Konsole's Linux Colors schema, selected text appears to be 
black text on a black background.  Under options, I can alter colors but I 
don't appear to be able to choose the background and foreground colors that 
are used for highlighting.  Any hints on how to fix this appreciated.

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] syntax colorful highlight printing tool?

2005-11-04 Thread Zhang Weiwu
Hello. I just tried enscript --color to print my php source. The result is
simply no color: looks they don't have good color schema for php. I also had
a look at a2ps and it doesn't even have a color option (or did I miss it?)

How do you print your php source in color?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] LDAP Error

2005-12-12 Thread Gentoo
Hi,

I am looking to use ldap with my mail server.  When I run the command 
slaptest I get the following error.

/etc/openldap/schema/cosine.schema: line 1084: ObjectClass not found: 
person
config check failed


Has any one come across this error before and could some one point me in 
the right direction to resolve this problem.

Thanks

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Virtual Mailserver using Postfix, OpenLDAP, and Courier

2006-09-15 Thread bijayant kumar
Hi, I am trying to configure Virtual Mailserver using Postfix, OpenLDAP, and Courier. I am following this site :http://www.crt.realtors.org/projects/email-redir/paper-html/implementation.htmlNow the problem is i have to create another domain under my main domain.My base.ldif file is :--dn: dc=kavach,dc=blrdc: kavachobjectClass: topobjectClass: domaindn: ou=Hosts,dc=kavach,dc=blrou: HostsobjectClass: topobjectClass: organizationalUnitdn: ou=People,dc=kavach,dc=blrou: PeopleobjectClass: topobjectClass: organizationalUnitdn: ou=Group,dc=kavach,dc=blrou: GroupobjectClass: topobjectClass: organizationalUnitMy group.ldif file :--dn: cn=root,ou=Group,dc=kavach,dc=blrobjectClass: posixGroupobjectClass: topcn: rootgidNumber: 0dn: cn=bijayant,ou=Group,dc=kavach,dc=blrobjectClass:
 posixGroupobjectClass: topcn: bijayantuserPassword: {crypt}xgidNumber: 1000My hosts.ldif file :---dn: cn=bijayant.kavach.blr,ou=Hosts,dc=kavach,dc=blrobjectClass: topobjectClass: ipHostobjectClass: deviceipHostNumber: 127.0.0.1cn: bijayant.kavach.blrcn: bijayantcn: localhostNow i want to add another domain under my original kavach.blr domain. I have done in this way:dn: o=kavach.net,ou=People,dc=kavach,dc=blro: kavach.netobjectClass: topobjectClass: organizationAm i doing right. I am not sure coz it didnt give me any error.Now when i have tried to add the user under the new domain thatis under the kavach.net than it gives me an error :bijayant ~ # ldapadd -x -D "cn=Manager,dc=kavach,dc=blr" -W -f /root/useradd.ldifEnter LDAP Password:adding new entry "uid=sumitk,ou=People,dc=kavach,dc=blr"ldap_add: Internal (implementation specific) error
 (80) additional info: no structuralObjectClass operational attributeMy useradd.ldif file is :--dn: uid=sumitk,ou=People,dc=kavach,dc=blruid: sumitkcn: sumitksn: kumarvirtualdomain: kavach.netgn: sumitkgecos: sumitkhomeDirectory: /home/vmail/displayName: sumitk#mail: [EMAIL PROTECTED]qmailUID: 1006qmailGID: 1006accountStatus: activeuserPassword: {SSHA}JClFwjb1ba0vQMZFHxlJDb+q7W+WQRvDmailbox: kavach.net/sumitkmaildrop: [EMAIL PROTECTED]mailMessageStore: /home/vmail/kavach.net/sumitk/objectClass: topobjectClass: organizationobjectClass: CourierMailAccountobjectClass: CourierMailAliasobjectClass: CourierDomainAliasobjectClass: qmailUserobjectClass: organizationalUnitobjectClass: personobjectClass: organizationalPersonobjectClass: organizationalRoleobjectClass: posixAccountobjectClass:
 posixGroupobjectClass: inetOrgPersonOne main thing i have included all the schema which are neccessary.I have included these schemas:--include /etc/openldap/schema/core.schemainclude /etc/openldap/schema/cosine.schemainclude /etc/openldap/schema/inetorgperson.schemainclude /etc/openldap/schema/nis.schemainclude /etc/openldap/schema/qmail.schemainclude /etc/openldap/schema/authldap.schemaPlease help me regarding this. I am trying this from several days,but no luck till now. Please please help me. I will be very thankful to you all...Thanks and RegardsBijayant Kumar Send instant messages to your online friends
 http://uk.messenger.yahoo.com 

Re: [gentoo-user] konsole selected text

2008-02-18 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel D Jones wrote:
| When I select Konsole's Linux Colors schema, selected text appears
to be
| black text on a black background.  Under options, I can alter colors
but I
| don't appear to be able to choose the background and foreground colors
that
| are used for highlighting.  Any hints on how to fix this appreciated.
|

Hi, on my machine I use the Linux Colors schema for years and it works
perfectly. If mark stuff it inverts the colors, i.e. grey text on black
background gets black text on grey background.

Just some (maybe unrelated) pointers:
*) man dircolors (gentoo uses textcolors extensively)
*) Try to move your kde config somewhere else and try again with a clean
config. Maybe its something with KDE colors you changed before ?

hope to help
Thomas


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHuU8orpEWPKIUt7MRAi0JAJ94L/NEHH+dQl8fr/Jb7b99GJ+/yQCgmzVA
lL52wX4DB2jt8aRbGeVb86A=
=qywq
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] XML Editor

2005-05-11 Thread Julien Cayzac
My favorite one is Komodo, but you cannot speak about an XML editor
anymore: it's more likely a XML IDE :-)

It's shareware, but only cost about $20 -and damn, it's woth them!
Check out ActiveState's website for more info ans a free trial.

On 5/11/05, Steve [Gentoo] [EMAIL PROTECTED] wrote:
 I have a few bespoke XML schema specs, and I want to find a generic tool
 to construct XML files which are syntactically valid with respect to the
 schema specs.
 The schemas represent data-structures for domain specific records with
 moderately complex structure.  It would not make sense to use a WYSIWYG
 editor as the XML tags don't correspond to textual mark-up... I don't
 want to use a text-editor as it would be time-consuming to manually type
 the tag and attribute names... as well as being more error prone and
 less productive to batch validate.
 Are there any such tools available for Gentoo?
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread Neil Bothwick
On Tue, 10 May 2016 10:53:03 +0200, J. Roeleveld wrote:

> Currently, I have to manually remember to copy the schema across when I
> update the ftp-server. Is there a way to set up a little script that
> will automatically copy the schema file to a different location after a
> successful install/update without having to patch the ebuild-files.
> (manually copying is less error-prone)

You can define hooks in /etc/portage/bashrc and /etc/portage/env that are
run at various stages of the ebuild. A post_install hook in
/etc/portage/env/cat/ftp-server should do what you want.

https://dev.gentoo.org/~zmedico/portage/doc/portage.html#config-bashrc-ebuild-phase-hooks


-- 
Neil Bothwick

A great many people mistake opinions for thoughts. -- Herbert V. Prochnow


pgpkUR2JGyJBs.pgp
Description: OpenPGP digital signature


[gentoo-user] eix color meaning

2005-09-04 Thread James
Hello,

I've searched for details on the meanings of the results of
eix displayed in various colors:
(color,brightness) available colors are:
 default, black, red, green, yellow, blue, purple, cyan, gray

I even glanced over the wiki, but no details on what each color
means. Note, I use KDE and have my terminal-settings-schema
set to linux colors.

Surely I overlooked the information that describes what
a search result means depending on color, like red vs brown?

James


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Missing back_ldbm.la file

2006-06-17 Thread Leandro Melo de Sales

My ./configure:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --enable-static
--enable-shared --libexecdir=/usr/lib64/openldap --enable-slapd
--enable-slurpd --enable-ldbm --enable-bdb --with-ldbm-api=berkeley
--enable-hdb=mod --enable-passwd=mod --enable-phonetic=mod
--enable-dnssrv=mod --enable-ldap --enable-meta=mod
--enable-monitor=mod --enable-null=mod --enable-shell=mod
--enable-perl=mod --disable-sql --enable-syncprov --enable-crypt
--enable-slp --enable-rewrite --enable-rlookups --enable-aci
--enable-modules --enable-cleartext --enable-slapi --with-lmpasswd
--enable-dyngroup --enable-proxycache --enable-syslog --enable-dynamic
--enable-local --enable-proctitle --disable-ipv6 --enable-readline
--with-cyrus-sasl --enable-spasswd --enable-wrappers --with-tls
--disable-overlays --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

2006/6/17, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi,

 I configured my openldap and I run slaptest and got this:

# slaptest -d 10
lt_dlopenext failed: (back_ldbm.la) file not found
slaptest: bad configuration file!

How can I get back_ldbm.la file? The openldap version is 2.3.24-r1.

Thank you,

Leandro.

--

slapd.conf

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

password-hash {md5}
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

modulepath  /usr/lib64/openldap/openldap
moduleload  back_ldbm.la

TLSCertificateFile /etc/ssl/ldap.pem
TLSCertificateKeyFile /etc/openldap/ssl/ldap.pem
TLSCACertificateFile /etc/ssl/ldap.pem

databaseldbm
suffix  dc=my,dc=domain
directory   /var/lib/openldap-ldbm
index   objectClass eq
rootdn  cn=Manager,dc=my,dc=domain
rootpw  {MD5}




--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: kde schema colors problem

2006-09-06 Thread James
Richard Fish bigfish at asmallpond.org writes:


 Note that the bash prompt coloring is done in /etc/bash/bashrc,
 sourced by /etc/profile.  You should read those to understand exactly
 how that part of it works.  If the bash coloring works, but not
 ls/grep coloring, I suspect you are not using the standard .bashrc
 provided by /etc/skel/.bashrc.


You are correct.

I'm working on my bash files.

Thanks for the information.


James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Nagios testers wanted

2014-11-05 Thread James
walt w41ter at gmail.com writes:

 
 On 11/05/2014 09:42 AM, James wrote:
  Us old farts, call that:: wisdom
 
 Is that Haskell?

Maybe. My new linguas are Scala and R on Spark [1].
And those have me burried alive. My sleep hours have 
me cast in a sparse matrix schema. 
Haskill :: beyond my scope
escape clause :: I'm sticking with it

Besides, Haskill is definately beyound my pay_grade.

ps (I 

dont do annotation type ::  first date


better?

[1] https://spark.apache.org/  






Re: [SOLVED] [gentoo-user] Automatically copy a file to a different location after package install/update

2016-05-10 Thread Neil Bothwick
On Tue, 10 May 2016 16:30:49 +0200, J. Roeleveld wrote:

> > pkg_postinst() {
> >   cp /etc/openldap/schema/pureftpd.schema
> >   /opt/packages/SHARED/etc/openldap/schema/pureftpd.schema
> >   einfo "NOTE: LDAP Schema File copied."
> > }
> > 
> > in /etc/portage/env/net-ftp/pure-ftpd  
> 
> When I did that, it complained about the syntax.
> Apparently, from what I read through
> google-searches, /etc/portage/env/... is handled by Python. And that
> doesn't, obviously, understand bash-syntax.

I definitely have bash in there.
 
> /etc/portage/bashrc is handled by Bash, which makes this possible.
> 
> The "pkg_postinst()" is for either ebuilds, or I am doing something
> wrong...

You can define functions as for ebuilds to have them executed in here.
For example, for one package that I wanted to apply a patch
from /etc/portage/patches, but didn't call epatch_user from its ebuild,
I put this in /etc/portage/env/cat/pkg

post_src_unpack() {
cd "${S}"
epatch_user
}

> I am using the latest stable portage.

I'm using testing here, but have used this for years, so it worked with
versions older than the current stable.


-- 
Neil Bothwick

Things are more like they are now than they ever were before.


pgpdMf_ngvneZ.pgp
Description: OpenPGP digital signature


[gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Kevin O'Gorman
I've got a problem with the colors that are used in Gentoo stuff.
I run KDE, and my terminals are generally konsoles.
The colors used by portage, ls and vim always seem to have
portions that are unreadable because of low contrast -- the
text blends into the background.

I've tried different konsole schemata, and find that different things
work for different purposes, but there's no one schema  that I
can just leave in place and forget.

I use 'light paper' for starters.  The 'linux colors' scheme is good
for some things, but I the darker colors don't show up well on it
(blue in particular), and I pretty much avoid dark backgrounds
when I can because I think they're depressing and they give
me eyestrain.

Does anyone have a suggestion?

++ kevin

-- 
Kevin O'Gorman, PhD


[gentoo-user] Re: OT:HDTV and PVR

2005-04-28 Thread James
Jason Cooper gentoo at lakedaemon.net writes:


 If the input is VGA, then it has to comply with the VESA VGA standard.
 There is no broadcast flag there, AFAIK.  If it can tune HDTV directly 
 (raw antenna input), then you'll have to check the manual or call the
 manufacturer.
 
 Regardless, if you feed it via the VGA port, then you won't have a
 problem.

Cool beans

Last question.

Are there any pci buss cards that receive HDTV signal other than
terrestrial broadcast, such as satellite or cable or ?

If not, then could I receive Cable grade hdtv, divert it into the 
pchdtv card, record and then send to a monitor?

Any other schemes or places to read about schema and equipment?

James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome Power Management

2007-01-02 Thread Randy Barlow
On Tue, 2007-01-02 at 17:05 -0500, Randy Barlow wrote:
 Also, I'm getting an error every time I start Gnome related to the
 battery, but I can't recall the exact wording off the top of my head
 right now (will post that back later I suppose).  Should I just mv
 the .gnome directory and let it start me afresh perhaps?

OK, so I've all of the gnome dot files to .old to get a fresh setup,
and I still get the power error when I start up.  The error says, GConf
schema installer error, battery_low_percentage cannot be zero.  And the
top says Power Manager.  Any ideas?

R

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] openldap: taking too much of time to authenticate

2006-08-26 Thread bijayant kumar
Hi, I have installed openldap on my gentoo-linux . My purpose is to use LDAP server for login authentication using PAM. slapd is running fine. ldapsearch command is also running fine. But the problem is, it takes too much time to authenticate the user. My local system is server as well as the client. Please help me. I followed step by step  http://www.gentoo.org/doc/en/ldap-howto.xml#doc_chap2My /etc/openldap/slapd.conf :-include /etc/openldap/schema/core.schemainclude /etc/openldap/schema/cosine.schemainclude /etc/openldap/schema/inetorgperson.schemainclude /etc/openldap/schema/nis.schemapidfile
 /var/run/openldap/slapd.pidargsfile /var/run/openldap/slapd.argsdatabase ldbmsuffix "dc=kavach,dc=blr"checkpoint 32 30rootdn "cn=Manager,dc=kavach,dc=blr"rootpw {MD5}Xr4ilOzQ4PCOq3aQ0qbuaQ==directory /var/lib/openldap-dataindex uid,cn,gidNumber,uidNumber,memberUid eqindex uniqueMember presindex objectClass pres,eqaccess to *by dn="uid=root,ou=people,dc=kavach,dc=blr" writeby users readby anonymous authaccess to attrs=userPassword,gecos,description,loginShellby self writeMy
 /etc/openldap/ldap.confHOST 127.0.0.1 198.168.99.183 bijayant.kavach.blrBASE dc=kavach,dc=blrURI ldap://127.0.0.1:389/TIMELIMIT 15SIZELIMIT 12DEREF nevernss_reconnect_tries 0nss_reconnect_sleeptime 1nss_reconnect_maxconntries 4My /etc/nsswitch.conf file :--passwd: files ldapshadow: files ldapgroup: files ldaphosts: files dnsMy /etc/pam.d/system-auth :--auth required /lib/security/pam_env.soauth sufficient
 /lib/security/pam_unix.so likeauth nullokauth sufficient /lib/security/pam_ldap.so use_first_passauth required /lib/security/pam_deny.soaccount required /lib/security/pam_unix.soaccount sufficient /lib/security/pam_ldap.sopassword required /lib/security/pam_cracklib.so retry=3 minlen=4 dcredit=0 ucredit=0password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadowpassword sufficient /lib/security/pam_ldap.so use_authtokpassword required /lib/security/pam_deny.sosession
 required /lib/security/pam_limits.sosession required /lib/security/pam_unix.sosession optional /lib/security/pam_ldap.soMy /etc/ldap.conf :--host 127.0.0.1base dc=kavach,dc=blrrootbinddn cn=Manager,dc=kavach,dc=blrport 389bind_policy harduri ldap://127.0.0.1:389/pam_password cryptldap_version 3pam_filter objectclass=posixAccountpam_login_attribute uidpam_member_attribute gidnss_base_passwd ou=People,dc=kavach,dc=blr?onenss_base_shadow ou=People,dc=kavach,dc=blr?onenss_base_group ou=Group,dc=kavach,dc=blr?onenss_base_hosts ou=Hosts,dc=kavach,dc=blr?onescope onenss_initgroups_ignoreusers root,ldapnss_reconnect_tries 3nss_reconnect_sleeptime 1nss_reconnect_maxconntries 4Since my local system is also acting as a LDAP
 server, thats why every users who are in LDAP directory, they are in my system also.  Send instant messages to your online friends http://uk.messenger.yahoo.com  Send instant messages to your online friends http://uk.messenger.yahoo.com 

[gentoo-user] Fwd: openldap: taking too much of time to authenticate

2006-08-27 Thread bijayant kumar
Note: forwarded message attached. Send instant messages to your online friends http://uk.messenger.yahoo.com ---BeginMessage---
Hi, I have installed openldap on my gentoo-linux . My purpose is to use LDAP server for login authentication using PAM. slapd is running fine. ldapsearch command is also running fine. But the problem is, it takes too much time to authenticate the user. My local system is server as well as the client. Please help me. I followed step by step  http://www.gentoo.org/doc/en/ldap-howto.xml#doc_chap2My /etc/openldap/slapd.conf :-include /etc/openldap/schema/core.schemainclude /etc/openldap/schema/cosine.schemainclude /etc/openldap/schema/inetorgperson.schemainclude /etc/openldap/schema/nis.schemapidfile
 /var/run/openldap/slapd.pidargsfile /var/run/openldap/slapd.argsdatabase ldbmsuffix "dc=kavach,dc=blr"checkpoint 32 30rootdn "cn=Manager,dc=kavach,dc=blr"rootpw {MD5}Xr4ilOzQ4PCOq3aQ0qbuaQ==directory /var/lib/openldap-dataindex uid,cn,gidNumber,uidNumber,memberUid eqindex uniqueMember presindex objectClass pres,eqaccess to *by dn="uid=root,ou=people,dc=kavach,dc=blr" writeby users readby anonymous authaccess to attrs=userPassword,gecos,description,loginShellby self writeMy
 /etc/openldap/ldap.confHOST 127.0.0.1 198.168.99.183 bijayant.kavach.blrBASE dc=kavach,dc=blrURI ldap://127.0.0.1:389/TIMELIMIT 15SIZELIMIT 12DEREF nevernss_reconnect_tries 0nss_reconnect_sleeptime 1nss_reconnect_maxconntries 4My /etc/nsswitch.conf file :--passwd: files ldapshadow: files ldapgroup: files ldaphosts: files dnsMy /etc/pam.d/system-auth :--auth required /lib/security/pam_env.soauth sufficient
 /lib/security/pam_unix.so likeauth nullokauth sufficient /lib/security/pam_ldap.so use_first_passauth required /lib/security/pam_deny.soaccount required /lib/security/pam_unix.soaccount sufficient /lib/security/pam_ldap.sopassword required /lib/security/pam_cracklib.so retry=3 minlen=4 dcredit=0 ucredit=0password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadowpassword sufficient /lib/security/pam_ldap.so use_authtokpassword required /lib/security/pam_deny.sosession
 required /lib/security/pam_limits.sosession required /lib/security/pam_unix.sosession optional /lib/security/pam_ldap.soMy /etc/ldap.conf :--host 127.0.0.1base dc=kavach,dc=blrrootbinddn cn=Manager,dc=kavach,dc=blrport 389bind_policy harduri ldap://127.0.0.1:389/pam_password cryptldap_version 3pam_filter objectclass=posixAccountpam_login_attribute uidpam_member_attribute gidnss_base_passwd ou=People,dc=kavach,dc=blr?onenss_base_shadow ou=People,dc=kavach,dc=blr?onenss_base_group ou=Group,dc=kavach,dc=blr?onenss_base_hosts ou=Hosts,dc=kavach,dc=blr?onescope onenss_initgroups_ignoreusers root,ldapnss_reconnect_tries 3nss_reconnect_sleeptime 1nss_reconnect_maxconntries 4Since my local system is also acting as a LDAP
 server, thats why every users who are in LDAP directory, they are in my system also.  Send instant messages to your online friends http://uk.messenger.yahoo.com  Send instant messages to your online friends http://uk.messenger.yahoo.com ---End Message---


[gentoo-user] samba 3.0.21b issue

2006-03-20 Thread Covington, Chris
Hi all,

For some reason I can't get net-fs/samba-3.0.21b in an W2K3 AD domain 
to work properly unless I totally reboot the system.  Stopping and
restarting samba doesn't help.  Without a reboot I get these
errors:

[2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
  Username CORP\CAREEROFEVIL$ is invalid on this system
[2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
  Username CORP\CAREEROFEVIL$ is invalid on this system
[2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
  Username CORP\CAREEROFEVIL$ is invalid on this system
[2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
  Username CORP\CAREEROFEVIL$ is invalid on this system
[2006/03/20 15:29:02, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
  Failed to verify incoming ticket!
[2006/03/20 15:29:10, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
  Failed to verify incoming ticket!
[2006/03/20 15:29:11, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
  Failed to verify incoming ticket!

After an emerge the following etc-updates need attention:

1) /etc/pam.d/samba
/etc/pam.d/._cfg_samba
2) /etc/openldap/schema/samba.schema
/etc/openldap/schema/._cfg_samba.schema
3) /etc/samba/smb.conf.example
/etc/samba/._cfg_smb.conf.example

Which I replace with the new versions. 

I'd like to upgrade samba on some of my servers without actually
rebooting them.  How can I do this?

thanks
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde schema colors problem

2006-09-06 Thread Richard Fish

On 9/5/06, James [EMAIL PROTECTED] wrote:

Hello,

Well maybe this (ls) schema color issue I'm seeing  is related to a recent
vim colors question...not sure?


Probably not.  That was specific to editing perl code, and vim uses a
different mechanism of coloring than ls, cp, et al.


ON a newly installed system (2006.1) (amd-K8) the dir content listing (ls)
is all  white (various file types and dirs). I display only the
current dir of my path as part of my prompt. When I cd into a dir,
the path changes color (blue) like it should.


Getting colors in ls output requires a couple of things to occur:

1. Aliases for ls and grep to add the --color=auto option.  Of
course you could do this yourself by running ls --color=auto, but it
is normally aliased in your ~/.bashrc.  If you are not getting colors,
first check that the aliases are defined correctly by running alias.
You should see:

alias ls='ls --color=auto'

2. The --color option doesn't really work unless the dircolors command
is used to define what colors are available.  Again, this is normally
done in your ~/.bashrc, which should contain the following line, in
addition to the alias commands:

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`

3. Your TERM type must be known to dircolors.  This means that
whatever $TERM contains, there should be a TERM line for that in
/etc/DIR_COLORS.

Note that the bash prompt coloring is done in /etc/bash/bashrc,
sourced by /etc/profile.  You should read those to understand exactly
how that part of it works.  If the bash coloring works, but not
ls/grep coloring, I suspect you are not using the standard .bashrc
provided by /etc/skel/.bashrc.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] RAID 1 over network

2009-06-16 Thread Daniel Iliev
On Tue, 16 Jun 2009 15:58:37 +0200
Philipp Riegger li...@anderedomain.de wrote:

 
 On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote:
  DRBD is HA solution which is achieved by switching the role of the
  nodes in case the active node goes offline. I think DRBD is not
  meant for the schema OP has described, because only the active
  node is accessible via FS. DRBD works between the FS and block
  device layers. It catches the FS writes from the active node and
  sends them over the network. DRBD on the backup node receives those
  and replicates them directly to the disk driver. Thus you can't
  have mounted FS on the backup node. If the active node goes
  offline, the backup node takes over which means DRBD switches roles
  and the FS has to be mounted afterwards.
 
 But that might be a good solution with 2.6.30, NFS and FSCACHE.
 

Sorry, perhaps I'm missing something, but I couldn't understand
the solution you had in mind.
I'm just saying that the only scenario I have some experience with is
DRBD + ext3 and it won't work for load balancing.
If LAMP A and LAMP B as shown on the OP's schema were connected via
DRBD + a conventional FS (ext/xfs/reiser/etc.), then only one of those
systems would be able to serve client requests at a given moment.

-- 
Best regards,
Daniel



Re: [gentoo-user] mysqld invoked oom-killer

2011-07-21 Thread kashani

On 7/21/2011 2:50 PM, Grant wrote:


Any reason you're still using MyISAM tables? Innodb is almost as fast
or much much faster than MyISAM in nearly every way these days.


Can multiple processes be utilized for mysql like they are for
apache2?  Perhaps not since it's a database?


	Mysql is multithreaded and spawns a thread for each connection. Try a 
ps -efL and you should see a number of Mysql threads. However that is 
part of the problem with MyISAM. It throws a giant table lock blocking 
all other threads until the SQL statement is complete. Innodb uses row 
locks which allows the other threads to use the table.


	As far as moving to Innodb tables it's actually easy, but with a number 
of caveats. I'd lower your Apache max clients, tweak my.cnf, and runs 
some load tests before getting deep into Mysql. When you're ready I'd go 
about this way.


1. Make backups first.
2. See if you have any full text fields. Tables with full text fields 
will have to remain MyISAM.
3. Dump your database out to text. If it's not a huge amount of data I'd 
just vi it and change the ENGINE to Innodb. Then import the whole thing 
as a new database. If you have a lot of data, I'd dump the schema with 
-d edit, import schema, then dump your data with no create statements 
and finally import the data into the new database.

4. Point your staging code to the new database and test
5. Plan a maintenance window to do all the above and take the site 
offline while you reimport the data to be Innodb
6. take the RAM you gave to key_buffer and give it to innodb. Storage 
engines do not share buffers in Mysql.


You can alter tables in place, but it locks them for the duration. If 
you site is small and low traffic you could get away with it, but 
testing with a copy of your site database is better.


kashani




Re: [gentoo-user] XML editor

2008-02-23 Thread Kirk Lowery
On Sat, Feb 23, 2008 at 4:10 AM, Ralf Stephan [EMAIL PROTECTED] wrote:

 I'm looking for a free XML editor, may be native or even under
 Wine, that works well and helps with, for example, presenting
 the content of all emph tags as a list, selecting a subset of
 them, and changing the subset markup to placeName rend=bold.

 Is there an app that I can use for this without programming effort?

I know that you're looking for a free XML editor, and I'm not sure how
full-featured an editor you need.

But for the record and those googl'ing for XML editors, I can say that
I've tried most of the open source xml editors out there. I need a
full-featured XML editor, one with an xslt debugger, css WYSIWYG
presentation of xml documents, handles schema/relaxng, everything you
can think of. And the one that is multi-platform (written in Java)
that fits those needs *and* is affordable is oXygen/:
http://www.oxygenxml.com/. A personal or academic license is only $48
and even a business license isn't outrageous (~$300). If you are doing
serious xml development (and not simply document markup), then this is
one that I have found to be a practical solution.

Kirk
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Konsole, Gentoo and colors

2008-03-29 Thread Alan McKinnon
On Saturday 29 March 2008, Kevin O'Gorman wrote:
 I've got a problem with the colors that are used in Gentoo stuff.
 I run KDE, and my terminals are generally konsoles.
 The colors used by portage, ls and vim always seem to have
 portions that are unreadable because of low contrast -- the
 text blends into the background.

 I've tried different konsole schemata, and find that different things
 work for different purposes, but there's no one schema  that I
 can just leave in place and forget.

 I use 'light paper' for starters.  The 'linux colors' scheme is good
 for some things, but I the darker colors don't show up well on it
 (blue in particular), and I pretty much avoid dark backgrounds
 when I can because I think they're depressing and they give
 me eyestrain.

I've always used Linux Colours, on crt and on lcd displays. Contrast 
works fine for me. What display device do you use?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Konsole, Gentoo and colors

2008-03-31 Thread Kevin O'Gorman
On Sat, Mar 29, 2008 at 3:16 PM, Alan McKinnon [EMAIL PROTECTED]
wrote:

 On Saturday 29 March 2008, Kevin O'Gorman wrote:
  I've got a problem with the colors that are used in Gentoo stuff.
  I run KDE, and my terminals are generally konsoles.
  The colors used by portage, ls and vim always seem to have
  portions that are unreadable because of low contrast -- the
  text blends into the background.
 
  I've tried different konsole schemata, and find that different things
  work for different purposes, but there's no one schema  that I
  can just leave in place and forget.
 
  I use 'light paper' for starters.  The 'linux colors' scheme is good
  for some things, but I the darker colors don't show up well on it
  (blue in particular), and I pretty much avoid dark backgrounds
  when I can because I think they're depressing and they give
  me eyestrain.

 I've always used Linux Colours, on crt and on lcd displays. Contrast
 works fine for me. What display device do you use?


What do you mean about contrast?

My gentoo is using a Westinghouse flat screen with mid-range
brightness and contrast.



-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Frox iptables ftp proxy

2009-05-03 Thread Daniel Iliev
On Sun, 19 Apr 2009 14:02:38 -0400
D.H. derrick...@comcast.net wrote:

 I'd like to set up an ftp proxy on my home firewall so I can scan for
 viruses using clamd.  I found frox.  Which looks like it will do what
 I want.  I've pretty much used the default install which makes frox
 listen on 127.0.0.1:2121.  But, I'm not sure the firewall rules are
 working right.
 
 eth1 is the internal interface
 
 iptables -A FORWARD -p tcp -i eth1 --destination-port 2121 \
  --destination 127.0.0.1 -j ACCEPT
 
 iptables -t nat -A PREROUTING -p tcp -i eth1 --destination-port 21 \
  -j DNAT --to-destination 127.0.0.1:2121
 
 Either that, or frox itself is having issues.  Any ideas?  While I'm
 at it, is there an alternative to frox?
 
 
 

Hi,

I believe this schema won't work because DNAT target rewrites the
destination address in the IP packet headers. Therefore what frox
receives is a sequence of packets with destination set to its own
address. Try using the REDIRECT target which is supposed to rewrite
the port fields only.


-- 
Best regards,
Daniel



Re: [gentoo-user] splunk

2006-02-08 Thread kashani

Timothy A. Holmes wrote:

---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that
makes searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!


	They're a startup in silicon valley and have been around for around two 
years. I went to a sysadmin roundtable they sponsored at a wine bar in 
SF last month. Got to hang out with Eric Allman (sendmail) and Ethan 
Galstad (nagios) who were leading two of the roundtables.


	On the Splunk side I talked to their support manager, BTW they're 
hiring for Level 2/3 support, and their lead architect who laughed when 
I asked about their schema. They're using some sort of processed hash of 
all the interesting data vs shoving it into a database. Interesting 
product especially if you currently have no central loghost, logwatch, 
monitoring, etc infrastructure. IIRC you can download the demo, runs 
only on Linux at the moment, for free and get a feel for it. Pricing for 
the full package wasn't bad either though I don't remember the exact 
details.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] XML Editor

2005-05-12 Thread Steve [Gentoo]
Calvin Spealman wrote:
Jaxe looks like a promising possibility, over at
http://jaxe.sourceforge.net/. It can validate based on a schema, as
you need. It is a Java-written project, so it will run on your linux
boxes, or anything else, of course.
 

I've had a brief play with Jaxe - but it didn't feel ideal... I 
found the interface a bit clumsy - though maybe I could configure that 
better with a little effort.

There is a very large list of editors at http://www.xml.com/pub/pt/3
you can look through, as well.
 

I'd found that list... (which was somewhat overwhelming) then realized 
that the majority of editors are either commercial and/or target 
WYSIWYG... I've had a look into komodo, and agree that it is sensibly 
priced... but it looks like severe overkill.  If there were to be a 
gentoo-portage ebuild for a tool (even if it wasn't perfrect) I would 
prefer that as I'd at least get get the latest version when I emerge update.

I think a significant part of my problem is that tool developers seem to 
all have a particular application in mind - and that application seldom 
seems to coincide with my ideas about neat interfaces to construct 
arbitrary XML data files...

Thanks for the suggestions... at least it seems I'm not overlooking the 
obvious?

Steve
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] RAID 10 help

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Qiangning Hong wrote:

 As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
 to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.

 Then I want both my / and /var are RAID10.  I use the following schema:

 /dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
 ||||
 +--(RAID1)---++---(RAID1)--+
   |  |
/dev/md3   /dev/md4
   |  |
   +-(RAID0)--+
|
 /dev/md5

 and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.

 After mkraid, I followed the Gentoo Handbook and installed system, build
 all RAID and driver mapping options into kernel.  But after reboot,
 kernel panic!  The error message says it can not mount / on /dev/md5
 because it doesn't exist.

Is RAID support in your kernel?

Did you use mdadm to make the arrays?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome Power Management

2007-01-02 Thread Iain Buchanan
On Tue, 2007-01-02 at 18:31 -0500, Randy Barlow wrote:
 On Tue, 2007-01-02 at 17:05 -0500, Randy Barlow wrote:
  Also, I'm getting an error every time I start Gnome related to the
  battery, but I can't recall the exact wording off the top of my head
  right now (will post that back later I suppose).  Should I just mv
  the .gnome directory and let it start me afresh perhaps?
 
 OK, so I've all of the gnome dot files to .old to get a fresh setup,
 and I still get the power error when I start up.  The error says, GConf
 schema installer error, battery_low_percentage cannot be zero.  And the
 top says Power Manager.  Any ideas?

try running gconf-editor and go to:
/apps/gnome-power-manager/battery_percentage_low and setting it to
something other than 0.  It sounds like it's set to the wrong value, and
somethings getting confused...

HTH!
-- 
Iain Buchanan iaindb at netspace dot net dot au

Did you ever walk into a room and forget why you walked in?  I think
that's how dogs spend their lives.
-- Sue Murphy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: telnet into embedded devices

2005-06-30 Thread A. Khattri
On Thu, 30 Jun 2005, James wrote:

 I'm the only admin. I found the behavior with a gentoo system, a debian system
 and any number of different embedded targets all isolated on a flat hub.
 No DNS, auth, or other fancy stuff going on. Dirt simple class C (/24)
 network.

That doesn't mean that the telnetd will not *try* and do a reverse DNS or
ident lookup though does it?

 Yep this is the approach, but it'll take some time. I was hoping for
 'short circuit analysis' i.e. surely somebody knows the schema of
 telnet's implementation on gentoo? Surely there is an easy way to
 install some very old, simple telnet code on the portable, alias it
 to another name, like simpletelnet, and let me get on with work, so
 as to avoid, playing code_detective on what paranoid security minds
 have done to telnet on gentoo.

Use the Source, Luke.


-- 
Aj.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] RAID 1 over network

2009-06-16 Thread Philipp Riegger

On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote:
 DRBD is HA solution which is achieved by switching the role of the
 nodes in case the active node goes offline. I think DRBD is not meant
 for the schema OP has described, because only the active node is
 accessible via FS. DRBD works between the FS and block device layers.
 It catches the FS writes from the active node and sends them over the
 network. DRBD on the backup node receives those and replicates them
 directly to the disk driver. Thus you can't have mounted FS on the
 backup node. If the active node goes offline, the backup node takes
 over which means DRBD switches roles and the FS has to be mounted
 afterwards.

But that might be a good solution with 2.6.30, NFS and FSCACHE.

Another solution would be to use ndb (network block devices), dm-raid
and a cluster filesystem. 

Philipp




Re: [gentoo-user] [OT] RAID 1 over network

2009-06-16 Thread Dirk Heinrichs
Am Dienstag 16 Juni 2009 15:58:37 schrieb Philipp Riegger:
 On Tue, 2009-06-16 at 16:45 +0300, Daniel Iliev wrote:
  DRBD is HA solution which is achieved by switching the role of the
  nodes in case the active node goes offline. I think DRBD is not meant
  for the schema OP has described, because only the active node is
  accessible via FS. DRBD works between the FS and block device layers.
  It catches the FS writes from the active node and sends them over the
  network. DRBD on the backup node receives those and replicates them
  directly to the disk driver. Thus you can't have mounted FS on the
  backup node. If the active node goes offline, the backup node takes
  over which means DRBD switches roles and the FS has to be mounted
  afterwards.

 But that might be a good solution with 2.6.30, NFS and FSCACHE.

 Another solution would be to use ndb (network block devices), dm-raid
 and a cluster filesystem.

And finally, there's OpenAFS. Not really RAID, but maybe sufficient.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] [~amd64] Anyone survive the big gnome update from this morning (July 25)?

2013-07-25 Thread walt
I'm very happy that I did the gnome update on a virtual gentoo
machine instead of my real machine :)  The virtual gentoo is
unusable at the moment because gnome is very sick indeed.

I avoided the big update on my real machine when I saw that
gnome-shell (I think it was) demanded the installation of
systemd on my openrc-only system.

Now, I've been running systemd on the virtual gentoo machine
for months with no problems, so I wasn't worried about the
big update on that machine.

AFAICT the systemd update has nothing to do with gnome's sickness,
systemd-206 seems to be working just fine on the virtual machine.

The gnome desktop, however, is completely black except for one
functioning gnome main-menu applet, which lets me open an xterm
for potential debugging efforts.

Running nautilus from the xterm prompt produces this error:

GLib-GIO_ERROR: Settings schema 'org.gnome.desktop.background'
does not contain a key named 'draw-background'
Trace/breakpoint trap

Has anyone else tried the same update yet?




[gentoo-user] Re: akonadi-server upgrade desaster

2014-12-18 Thread Jörg Schaible
Hi,

Mick wrote:

 On Wednesday 17 Dec 2014 19:13:03 Jörg Schaible wrote:
 Hi folks,
 
 it seems there's no way for me to upgrade my akonadi-server 1.11.0 to
 1.12.x or 1.13.x. I am using an external MySQL for years, but it fails to
 upgrade the tables nor will it recreate them without errors if I drop
 them all. All I can do is to downgrade to 1.11.0 again and restore the DB
 schema from a backup.

[snip]
 
 So, what now? I am out of ideas ...
 
 - Jörg
 
 
 I'm sure I've seen a bug reported in KDE about it when I suffered some
 similar error, but can't find the link just now.
 
 You may want to dump the database so that you have a back up and convert
 it from MyISAM to InnoDB before you try to update akonadi.

Actually I already tried that, but it failed again. I replaced all 
occurrences of MyISAM with InnoDB in them dumb file, dropped the DB and 
tried to restore it, but again with strange failures that the table allready 
existed. Something is weird with the InnoDB part of MySQL, but I dunno what.

- Jörg





[gentoo-user] meld 3.12 can't save settings

2015-01-07 Thread Grant Edwards
Meld 3.12.2 went stable a couple weeks ago and got upgraded from
1.8.5.  After the 1.8-3.12 upgrade, the application preferences no
longer worked. They neither affect the application nor do they get
saved.

If I block meld 3.x and go back to 1.8.5, everything works fine again.

On the meld mailing list, they say settings have moved from gconf to
gsettings/dconf, and if settings don't work it's a distro problem.

The gsettings app seems to work find and can find/change settings for
varioius other apps (gnumeric, evince, etc.), but it doesn't show any
schema/keys for meld.

Then I realized, I didn't even have dconf installed.  Is that a
missing dependancy in the meld 3 ebuild?

So I emerged dconf, and then re-emerged glib.

No change; meld 3 preferences don't work, gsettings works the same as
before.

Has anybody else had problems with upgrading from meld 1.8 to 3.12?

-- 
Grant Edwards   grant.b.edwardsYow! I want to dress you
  at   up as TALLULAH BANKHEAD and
  gmail.comcover you with VASELINE and
   WHEAT THINS ...




Re: [gentoo-user] Diagnosing file corruption

2015-08-05 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/08/15 10:34, Bryan Gardiner wrote:
 After I make a fresh backup of my files, how would you recommend 
 troubleshooting this?  Run memtest or a hard drive tester?  Since
 the files seemingly corrupted themselves after install without
 being touched, I'm highly suspicious of the hard drive, but would
 like to rule other things out (if say for example that
 CONFIG_X86_INTEL_PSTATE CPU clock booster is dangerous, or
 nvidia-drivers, or ...).  Haven't checked for corruption on /home
 yet.

One key question that doesn't seem to have been asked yet: have you
performed an fsck on the partition? You could try booting to a livecd
environment and running

  fsck -fc /dev/sdXY

(adjusting for your device schema accordingly) on your apparently
failing partition(s) to see if there is a filesystem corruption...

- -- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlXCv7kACgkQXcRKerLZ91npQwD/U41L/qmK8g7d0bWx6tR3SxbW
4bGheAvX3lWJvgMnG9QA/AuO7wnaKTcWeqoT7c+R7e8UHaaOfwaoS1w2J2hGVINJ
=Ykkl
-END PGP SIGNATURE-



[gentoo-user] Re: palemoon-27.3.0 anyone?

2017-06-30 Thread Ian Zimmerman
On 2017-06-30 20:45, Walter Dnes wrote:

> Is Qupzilla a "Firefox-family" browser like Pale Moon?  If so, and if
> you're brave/foolish, try symlinking the "places.sqlite" files in the
> browsers' profiles.  I strongly recommend backups before doing it.
> See

> https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

> for a list of what stuff each file stores.

When I warned (perhaps a bit opaquely) about the issue on palemoon's
github, this was exactly the scenario I was thinking about.  I got to
experience that badness because I unthinkingly reused my bookmark
database from Firefox when I started using palemoon.

Even if the database schema is the same (and I don't know if it is),
that is not sufficient for compatibility: what the code does with the
data can make a difference.

So make a backup, then go ahead and try it, but don't be too
disappointed if it doesn't work.

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign:
http://primate.net/~itz/blog/the-problem-with-gpg-signatures.html



Re: [gentoo-user] Re: LVM and the /usr Logical Volume

2022-04-25 Thread Wols Lists

On 25/04/2022 14:36, dhk wrote:
After reinstalling Gentoo with a new liveusb, my system still looks 
similar to the way it was before.  I started with the existing partition 
schema and wiped everything and performed a separate independent 
install.  I am still not sure why the /dev/dm-1 block device is mounted 
on /usr which is not what the fstab is instructing.


First of all, I notice you haven't said anything about /home, /opt etc. 
Missing context is important ...


Secondly, vg0-usr is a symlink to dm-1, so I would not be suprised for 
df to resolve it.


In fact, looking at both the output of mount, and df, on my system they 
are inconsistent. mount tells me /dev/mapper/vg-root-lv-gentoo is 
mounted on /, while df tells me /dev/dm-1 is mounted on /.


My guess is that anything to do with initial boot may or may not link to 
/dev/dm-x, anything after that links to vg as you expect.


Either way it doesn't really make any difference imho.

Cheers,
Wol



Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Florian Philipp

On Fri, 2008-02-15 at 21:05 +0100, Wael Nasreddine wrote:
 Currently I have 2 partitions, a root and home partition, fortunately
 on LVM array, I was thinking of splitting them to /, /usr, /var, /home,
 /usr/portage, /mnt/storage the latter is to be used for Mp3z (around
 12000) and movies...
 
 I was thinking of having the below filesystem schema:
 /   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs 
 options ??)
 /usr: xfs (I never used it so please suggest mkfs.xfs options)
 /var: //
 /home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
 mkfs options ??)
 /usr/portage: ReiserFS (3? 4? options??)
 /mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
 mkfs options ??)
 
 
 Could you please comment/complete/change the schema above ?? I really
 would like to speed up my system a little bit, My system is entirely
 built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
 quite slow due to the encryption...
 
 Oh one last thing, What do you suggest for a server? I have a Gentoo
 server and uptime can be over 5/6 months, everytime I reboot the
 server I have to manually scan the filesystem due to errors
 everywhere, any suggestions??
 
 Thanks...

First of all, if there are filesystem errors, check your cables, your
controller and your disks. I don't think filesystem errors count as
normal behavior ...

To your filesystem scheme: Why do you use xfs for usr? AFAIK XFS is good
at write speed but not worth the trouble when reading data and data in
usr is usually written once, updated every few months and read many
times a week (on rebooting Desktop PCs maybe once a day). I'd use
reiserfs3.6, maybe even without notail to make it more space efficient.

I'd also use ext2 on /usr/portage. These data don't need journaling.
Everything's got an MD5-sum to make sure it's unchanged after a crash
and you can easily resync. I found ext2 with 2k blocks to be faster than
reiserfs3.6, even on read-performance.

If I were you, I'd also use separate volumes for /tmp and /var/tmp
(without ccache) with xfs.

/home could use data=journal. Those data are precious and if I remember
correctly, this setting even brings an obscure (i.e. undocumented) speed
improvement with many parallel disk accesses, for example in a
multi-user environment. 


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Jerry McBride
On Friday 15 February 2008 03:05:13 pm Wael Nasreddine wrote:
 Hey guys,

 Currently I have 2 partitions, a root and home partition, fortunately
 on LVM array, I was thinking of splitting them to /, /usr, /var, /home,
 /usr/portage, /mnt/storage the latter is to be used for Mp3z (around
 12000) and movies...

 I was thinking of having the below filesystem schema:
 /   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs
 options ??) /usr: xfs (I never used it so please suggest
 mkfs.xfs options) /var: //
 /home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good
 mkfs options ??) /usr/portage: ReiserFS (3? 4? options??)
 /mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good
 mkfs options ??)


This is from a very humbled ex-ext3 user... I finally decided to play around 
with reiserfs a while back and I have to tell you... I'll never go back to 
ext3 unless I really, really have to. The difference is easy to measure and 
pleasure once you make the move

I've been setting up machines like this...

/boot ext2
/ reiserfs
/home reiserfs
/var reiserfs

The difference in disk I/O is... nice!! and the reliability is the same as 
ext3. Untill the cold shoulder for reiser4 is thawed and it gets into the 
kernel source tree, I'd stay away from it for now however.

Cheers.



 Could you please comment/complete/change the schema above ?? I really
 would like to speed up my system a little bit, My system is entirely
 built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
 quite slow due to the encryption...

 Oh one last thing, What do you suggest for a server? I have a Gentoo
 server and uptime can be over 5/6 months, everytime I reboot the
 server I have to manually scan the filesystem due to errors
 everywhere, any suggestions??

 Thanks...



-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] konsole selected text

2008-02-18 Thread Daniel D Jones
On Monday 18 February 2008 04:26:01 Thomas Kahle wrote:
 Daniel D Jones wrote:
 | When I select Konsole's Linux Colors schema, selected text appears

 to be

 | black text on a black background.  Under options, I can alter colors

 but I

 | don't appear to be able to choose the background and foreground colors

 that

 | are used for highlighting.  Any hints on how to fix this appreciated.

 Hi, on my machine I use the Linux Colors schema for years and it works
 perfectly. If mark stuff it inverts the colors, i.e. grey text on black
 background gets black text on grey background.

Yes, I've been using it for a long time as well without issues.  I've never 
had this issue before.

 Just some (maybe unrelated) pointers:
 *) man dircolors (gentoo uses textcolors extensively)

I'm familiar with dircolors.  To the best of my knowledge, there's nothing in 
dircolors which configures how selected text is displayed.  It's simply 
inverted text.  That is, the background color and the foreground color are 
switched.

A little more experimenting has shown that this is what happens on my terminal 
with any color other than the default light gray on black.  For example, if I 
do a ls, the files show up in various colors based on dircolors.  If I 
select colored files, they show up in inverse.  But if I select non-colored 
light gray text, I get black on black.  If I use 'less' to display a file, 
there's a status line at the bottom which shows the line number, etc.  in 
inverted text.  On my terminal, it's black on black and invisible.  If I 
highlight it with the mouse, however, it shows up as light gray on black and 
is visible.

If I switch to another tty (CTL-ALT-F2) and log in, dircolors settings work 
properly.  Selected text with gpm shows up as inverse, and the status line at 
the bottom of the 'less' windows displays properly as well.  So I don't think 
the issue is with dircolors.

It's only with inverted normal text on konsole.

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: samba 3.0.21b issue

2006-03-20 Thread Covington, Chris
On Mon, Mar 20, 2006 at 04:18:14PM -0500, Covington, Chris wrote:
 Hi all,
 
 For some reason I can't get net-fs/samba-3.0.21b in an W2K3 AD domain 
 to work properly unless I totally reboot the system.  Stopping and
 restarting samba doesn't help.  Without a reboot I get these
 errors:
 
 [2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
   Username CORP\CAREEROFEVIL$ is invalid on this system
 [2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
   Username CORP\CAREEROFEVIL$ is invalid on this system
 [2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
   Username CORP\CAREEROFEVIL$ is invalid on this system
 [2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286)
   Username CORP\CAREEROFEVIL$ is invalid on this system
 [2006/03/20 15:29:02, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
   Failed to verify incoming ticket!
 [2006/03/20 15:29:10, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
   Failed to verify incoming ticket!
 [2006/03/20 15:29:11, 1] smbd/sesssetup.c:reply_spnego_kerberos(180)
   Failed to verify incoming ticket!
 
 After an emerge the following etc-updates need attention:
 
 1) /etc/pam.d/samba
 /etc/pam.d/._cfg_samba
 2) /etc/openldap/schema/samba.schema
 /etc/openldap/schema/._cfg_samba.schema
 3) /etc/samba/smb.conf.example
 /etc/samba/._cfg_smb.conf.example
 
 Which I replace with the new versions. 
 
 I'd like to upgrade samba on some of my servers without actually
 rebooting them.  How can I do this?

Duh, found the problem.  The /etc/init.d/samba init script doesn't seem
to kill the winbindd process:

grendel ccovington # ps -ef | grep winbind
root  7835 1  0 Feb15 ?00:04:00 /usr/sbin/winbindd
root  7838  7835  0 Feb15 ?00:00:02 /usr/sbin/winbindd
root 11479 11472  0 16:18 pts/000:00:00 grep winbind

I killed it, restarted samba and all is well.

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
-- 
gentoo-user@gentoo.org mailing list



[Copfilter] Copy of quarantined email - *** SPAM *** [6.5/6.0] [gentoo-user] Can t compile OpenOffice 2.0.2-r1 with Java support

2006-05-18 Thread bdunglison
Hi folks,

I'd to install OpenOffice using the source package.

I have in my USE variable java set.

I'm using blackdown-jdk-1.4.2.03 as the default Java Environement set by 
java-config.

When I emerge openoffice I get the hereunder error message.
I've attached the file hs_err_pid10707.log.

What should I do to prevent this error ?

Thanks for your help.

--
Xavier 

java -classpath 
/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solver/680/unxlngi4.pro/bin/xt.jar:/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/solver/680/unxlngi4.pro/bin/xercesImpl.jar:../../../../../../unxlngi4.pro/class/cfgimport.jar
 -Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser 
com.jclark.xsl.sax.Driver 
MathCommands.xcu ../../../../../../util/data_val.xsl 
../../../../../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/UI/MathCommands.val
 
xcs=/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/officecfg/registry/data/org/openoffice/Office/UI/../../../../../../registry/schema/org/openoffice/Office/UI/MathCommands.xcs
 
schemaRoot=/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/officecfg/registry/data/org/openoffice/Office/UI/../../../../../../registry/schema
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x01010101, pid=10707, tid=3084957376
#
# Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.2-03 mixed mode)
# Problematic frame:
# C  0x01010101
#
# An error report file with more information is saved as hs_err_pid10707.log
#
# If you would like to submit a bug report, please visit:
#   http://www.blackdown.org/cgi-bin/jdk
#
Abort
dmake:  Error code 134, while 
making 
'../../../../../../unxlngi4.pro/misc/registry/data/org/openoffice/Office/UI/MathCommands.xcu'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while 
making 
/var/tmp/portage/openoffice-2.0.2-r1/work/ooo-build-2.0.2.9/build/OOO_2_0_2/officecfg/registry/data/org/openoffice/Office/UI
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.2-r1 failed.
!!! Function src_compile, Line 230, Exitcode 2
!!! Build failed
!!! If you need support, post the topmost build error, NOT this status 
message.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysqld invoked oom-killer

2011-07-21 Thread Grant
        Any reason you're still using MyISAM tables? Innodb is almost as
 fast
 or much much faster than MyISAM in nearly every way these days.

 Can multiple processes be utilized for mysql like they are for
 apache2?  Perhaps not since it's a database?

        Mysql is multithreaded and spawns a thread for each connection. Try a
 ps -efL and you should see a number of Mysql threads. However that is part
 of the problem with MyISAM. It throws a giant table lock blocking all other
 threads until the SQL statement is complete. Innodb uses row locks which
 allows the other threads to use the table.

        As far as moving to Innodb tables it's actually easy, but with a
 number of caveats. I'd lower your Apache max clients, tweak my.cnf, and runs
 some load tests before getting deep into Mysql. When you're ready I'd go
 about this way.

apache MaxClients has been lowered to 50 which is a shame because I
have 30+ separate images on each of my pages and that number can not
be reduced.  This means I may not be able to serve more than 1 full
page at a time.

 1. Make backups first.
 2. See if you have any full text fields. Tables with full text fields will
 have to remain MyISAM.

Many of my tables have one or more fields defined as TEXT out of
laziness.  Should I instead come up with an appropriate char(N)
declaration for each?  Can N go as high as necessary?

 3. Dump your database out to text. If it's not a huge amount of data I'd
 just vi it and change the ENGINE to Innodb. Then import the whole thing as a
 new database. If you have a lot of data, I'd dump the schema with -d edit,
 import schema, then dump your data with no create statements and finally
 import the data into the new database.
 4. Point your staging code to the new database and test
 5. Plan a maintenance window to do all the above and take the site offline
 while you reimport the data to be Innodb
 6. take the RAM you gave to key_buffer and give it to innodb. Storage
 engines do not share buffers in Mysql.

OK, just leave key_buffer at the default 16M?

- Grant



Re: [gentoo-user] gentoo alternatives

2021-06-09 Thread Hund
>My biggest problem with Gentoo was not so much the time needed to 
>compile huge ebuilds like Firefox, Thunderbird, or Chromium, but that 
>say if you neglected doing updates for a while and then decided to start 
>again, then you'd have serious problems.  This is because, at least the 
>way I understood it, after some time old ebuilds would get deleted from 
>the Portage servers to conserve space there, but some of those now 
>deleted ebuilds would still be needed as dependencies to do iterative 
>updates.  The sure-way to resolve this problem would be to re-emerge the 
>whole @world set, which of course would take way-longer than just 
>Firefox, and might work differently because the '/etc/' configuration 
>schema might have changed.
>
>In my case I had some weird problem either emerging some ebuild or 
>keeping an old version of an ebuild to keep the functionality or the 
>'/etc/' schema removed in the new versions.  I just let things sit, and 
>moved on to other projects.  But when later on I tried to go back to the 
>original issue, I had even more trouble because now I was even further 
>behind @world, and more ebuilds would not upgrade because of deleted 
>dependencies.
>
>So to sum it up, my problem with Gentoo was that you could not just do 
>iterative updates after long periods of inactivity.  You pretty much had 
>to emerge daily and if you had some problem then drop everything and fix 
>it right away, or else you'll fall even further behind and eventually 
>might have to rebuild @world.  And so because constant attention 
>intervention and trial and error was required you could not just compile 
>huge ebuilds overnight and go about your life during the day.

It's funny how different two people can perceive the same thing.

One of the very reason I like Gentoo is the fact that I *don't* have to do 
daily, or even weekly updates. I'm rather busy with life right now and I just 
love how little love Gentoo requires to work, and how reliable it is. I have 
never had any issues with postponing updates for longer periods of time.

--
Hund



[gentoo-user] gtk-engines-2.91.1 couldn't be compiled!

2012-04-14 Thread easior
 whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool = 0.31.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl = 5.8.1... 5.12.4
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating engines/Makefile
config.status: creating engines/support/Makefile
config.status: creating engines/clearlooks/Makefile
config.status: creating engines/crux/Makefile
config.status: creating engines/hc/Makefile
config.status: creating engines/industrial/Makefile
config.status: creating engines/mist/Makefile
config.status: creating engines/redmond/Makefile
config.status: creating engines/glide/Makefile
config.status: creating engines/thinice/Makefile
config.status: creating themes/Makefile
config.status: creating themes/Clearlooks/Makefile
config.status: creating themes/Clearlooks/gtk-3.0/Makefile
config.status: creating themes/GNOME3/Makefile
config.status: creating themes/GNOME3/gtk-3.0/Makefile
config.status: creating themes/GNOME3/metacity-1/Makefile
config.status: creating themes/Crux/Makefile
config.status: creating themes/Crux/gtk-3.0/Makefile
config.status: creating themes/Industrial/Makefile
config.status: creating themes/Industrial/gtk-3.0/Makefile
config.status: creating themes/Mist/Makefile
config.status: creating themes/Mist/gtk-3.0/Makefile
config.status: creating themes/Redmond/Makefile
config.status: creating themes/Redmond/gtk-3.0/Makefile
config.status: creating themes/ThinIce/Makefile
config.status: creating themes/ThinIce/gtk-3.0/Makefile
config.status: creating gtk-engines-3.pc
config.status: creating po/Makefile.in
config.status: creating schema/Makefile
config.status: creating schema/clearlooks.xml.in
config.status: creating schema/crux-engine.xml.in
config.status: creating schema/glide.xml.in
config.status: creating schema/hcengine.xml.in
config.status: creating schema/industrial.xml.in
config.status: creating schema/mist.xml.in
config.status: creating schema/redmond95.xml.in
config.status: creating schema/thinice.xml.in
config.status: creating engines/support/config.h
config.status: engines/support/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

Special Flags:
  Development Code - Disabled
  Paranoia Flags - Disabled
  Disable Deprecated - Disabled
  Engine Schemas - Enabled
  Fallback Widget Checks - Enabled

Engines and Themes:
  ClearLooks - Including with animation support
  Crux - Including
  HC - Skipping
  Industrial - Including
  Mist - Including
  Redmond - Including
  Glide - Including
  ThinIce - Including

 Source configured.
 Compiling source in
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1
...
make -j3 
Making all in engines
make[1]: Entering directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines'
Making all in support
make[2]: Entering directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/support'
make  all-am
make[3]: Entering directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/support'
  CC cairo-support.lo
  CC widget-information.lo
  CCLD   libsupport.la
make[3]: Leaving directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/support'
make[2]: Leaving directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/support'
Making all in clearlooks
make[2]: Entering directory
/var/tmp/portage/x11-themes/gtk-engines-2.91.1/work/gtk-engines-2.91.1/engines/clearlooks'
  CC clearlooks_style.lo
  CC

Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Wael Nasreddine
This One Time, at Band Camp, Dale [EMAIL PROTECTED] said, On Fri, Feb 15, 
2008 at 09:17:11AM -0600:
 Aaron Clark wrote:
 Dale wrote:


 Little addition to XFS, I tried it once a while ago.  Every time the 
 power failed, it would never boot again.  I can say from personal 
 experience and from what I have read from others, if you plan to use XFS, 
 have a good UPS hooked up.  It does not like power failures at all.  YMMV


 :)  In the YMMV category, I've used XFS on pretty much every file server 
 I've had in the last 4-5 years and it's never given me any trouble despite 
 pretty much never having a UPS hooked up and a decent number of power 
 outages.  Granted, I never used it on my root filesystem, only storage 
 partitions.

 Aaron

 Good idea not to use it on the / file system.  LOL  I was using Mandriva 
 for my ex's Mom.  After about three or four tries, I went back to reiserfs. 
  It would crash but it would boot right back up again.  Nothing lost that I 
 know of.

 I just never trusted it again.  I have also been told, and read elsewhere, 
 that it is a pretty well known thing that it doesn't like power failures.  
 It has its good points tho, which is why I was trying it out.

 Dale

 :-)  :-) 

Hey guys,

Currently I have 2 partitions, a root and home partition, fortunately
on LVM array, I was thinking of splitting them to /, /usr, /var, /home,
/usr/portage, /mnt/storage the latter is to be used for Mp3z (around
12000) and movies...

I was thinking of having the below filesystem schema:
/   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)
/usr: xfs (I never used it so please suggest mkfs.xfs options)
/var: //
/home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)
/usr/portage: ReiserFS (3? 4? options??)
/mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good mkfs 
options ??)


Could you please comment/complete/change the schema above ?? I really
would like to speed up my system a little bit, My system is entirely
built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
quite slow due to the encryption...

Oh one last thing, What do you suggest for a server? I have a Gentoo
server and uptime can be over 5/6 months, everytime I reboot the
server I have to manually scan the filesystem due to errors
everywhere, any suggestions??

Thanks...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpawJQFt7veu.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to keyword a whole overlay as ~arch ?

2014-02-14 Thread Michael Higgins
On Sun, 26 Jan 2014 20:14:17 -0500
Michael Orlitzky m...@gentoo.org wrote:

 On 01/26/2014 05:12 PM, Thanasis wrote:
  I am following stable (ACCEPT_KEYWORDS=amd64).
  In order to install the mate desktop I need to install the mate
  overlay and keyword all its packages as ~amd64.
  Is there a way to do it easily for the whole overlay?
  
 
 Yep, you just need to know the overlay name. In
 package.accept_keywords:
 
   */*::overlay-name ~amd64
 
 The */* syntax means any category, any package name. The :: then
 specifies the repository name. If you don't know the repository name,
 it can often be found in path/to/overlay/profiles/repo_name.
 
 

I wonder, can we get a hint of this function echo-ed at the end of every
new layman install? It would make using, say, perl-experimental, far
less unwieldy than without. 

(Apologies in advance for the noise.)

I had no idea this was possible, but it seems the only way to use the
overlay without making of mess of package.accept_keywords, which is
what I have had when installing anything useful in the perl development
area.

Does this make any sense? Do all the overlays work that way, that is,
kw-masking everything so you have to enable the ~arch per package? This
always seemed absurd to me, as I added the overlay, I must have meant
to use it... but anyway...

I suppose it should be printed in red use if you know what it
means, kind of thing. I can see it being a PITA if it breaks stuff in
the main gentoo tree.


. . .

FWIW, I tried adding that incantation and emerging world, which gave no
changes to my install.

Then I tried:
emerge -av dev-perl/Catalyst-Model-DBIC-Schema

(Which created a bloated keyword file on my other machine.)

This time, it only wants to unmask things perl in the gentoo tree...
but --autounmask-write proposes to list every overlay dep as a comment.

Ugh.

Before, I'd do something like:

mv /etc/portage/package.accept_keywords ~/
mkdir /etc/portage/package.accept_keywords
cp 
package.accept_keywords /etc/portage/package.accept_keywords/99_portage
eix -c --only-in-overlay 0 -C dev-perl|grep '(~' |cut -d ' '
-f 2  | while read a ; do echo $a ~x86 ;done
  /etc/portage/package.accept_keywords/00_perl

emerge -auDNtv world

Nothing to merge; quitting.

... Which I did. Then /me thinks, for a change.

If */*::overlay-name ~amd64, then:

dev-perl/*::gentoo ~amd64 should work too.

Now, 

emerge -av dev-perl/Catalyst-Model-DBIC-Schema

Gives:

Total: 37 packages (34 upgrades, 3 new), Size of downloads: 5,905 kB

Would you like to merge these packages? [Yes/No] 

And no guff from portage. OMG, what a treat. I wept.

. . .

So wow, if I'd known about that before now, it would have saved me
hours, if not days, worth of hassle.

I think that should be the recommendation for anyone who installs the
perl overlay. Maybe I'm crazy, but it seems to DWIW.

Thanks Michael. Very helpful to know, at least. Does anyone who may
have read this far think this would be a good thing to mention from the
start for a new user of an overlay, like echoed at the end of emerging
layman, or adding a new overlay?

And, yes, it's a full moon, so I'm posting to the list. As is my
habit. ;-)

Cheers [I recommend Flat Tail seriously budget barley wine],

- mykhyggz (who lost his .sig)



Re: [gentoo-user] gentoo alternatives

2021-06-09 Thread Dale
Hund wrote:
>> My biggest problem with Gentoo was not so much the time needed to 
>> compile huge ebuilds like Firefox, Thunderbird, or Chromium, but that 
>> say if you neglected doing updates for a while and then decided to start 
>> again, then you'd have serious problems.  This is because, at least the 
>> way I understood it, after some time old ebuilds would get deleted from 
>> the Portage servers to conserve space there, but some of those now 
>> deleted ebuilds would still be needed as dependencies to do iterative 
>> updates.  The sure-way to resolve this problem would be to re-emerge the 
>> whole @world set, which of course would take way-longer than just 
>> Firefox, and might work differently because the '/etc/' configuration 
>> schema might have changed.
>>
>> In my case I had some weird problem either emerging some ebuild or 
>> keeping an old version of an ebuild to keep the functionality or the 
>> '/etc/' schema removed in the new versions.  I just let things sit, and 
>> moved on to other projects.  But when later on I tried to go back to the 
>> original issue, I had even more trouble because now I was even further 
>> behind @world, and more ebuilds would not upgrade because of deleted 
>> dependencies.
>>
>> So to sum it up, my problem with Gentoo was that you could not just do 
>> iterative updates after long periods of inactivity.  You pretty much had 
>> to emerge daily and if you had some problem then drop everything and fix 
>> it right away, or else you'll fall even further behind and eventually 
>> might have to rebuild @world.  And so because constant attention 
>> intervention and trial and error was required you could not just compile 
>> huge ebuilds overnight and go about your life during the day.
> It's funny how different two people can perceive the same thing.
>
> One of the very reason I like Gentoo is the fact that I *don't* have to do 
> daily, or even weekly updates. I'm rather busy with life right now and I just 
> love how little love Gentoo requires to work, and how reliable it is. I have 
> never had any issues with postponing updates for longer periods of time.
>
> --
> Hund
>
>


Depending on what you consider a longer period of time, you may have
just been lucky.  There's been a couple threads in the past year or so
where people didn't update for a while and had to jump through hoops to
get their system updated.  I think one just did a reinstall because it
was faster and easier.  Another did the upgrade just as a learning
experience.  I seem to recall that a reinstall would have been faster. 
I'm not sure what was learned tho. 

In the past, others have had this same problem.  It is recommended by
long term users not to go longer than 3 or 4 months for a pretty easy
upgrade path in most cases.  Sometimes depending on changes, that can
stretch to 6 months.  That said, during some major changes, even going a
couple months can cause some serious bumps in the upgrade path.  It may
be doable but certainly more difficult.

Gentoo supports updates up to a year old.  Thing is, that means Gentoo
and the package manager does, it doesn't mean the packages upstream
won't cause some issues or that you won't run into hard blocks that have
to be handled manually. 

I been using Gentoo since 2003.  I've read some horror stories on
waiting to update for a year or more.  It's no fun.  Many years ago, it
would be almost impossible. 

Dale

:-)  :-) 



[SOLVED] Re: [gentoo-user] segfaults with php and cacti

2008-07-05 Thread Matt Harrison

Stroller wrote:


On 4 Jul 2008, at 20:38, Matt Harrison wrote:
... I want to add the cacti application to the same server but on a 
separate

vhost.

The problem is, trying to access the cacti interface through a browser
causes a segfault with php. I've also tried running the index.php from
the CLI and it still segfaults.


I don't know anything about cacti but IIRC PHP4  PHP5 are a bit 
different (in terms of Apache modules  stuff). Is it possible you're 
running the wrong one? Maybe this release of cacti is only stable on the 
one version?


When posting try to give us as much information as possible. You need to 
give versions of stuff, confirm that you've run revdep-rebuild on your 
system and also tell us that you've checked the system logs. Since you 
don't mention debug or logging options for cacti I'll assume it doesn't 
have any, but you really need to state that, to prove to us that you've 
checked and to save us suggesting looking at them.


Stroller.


Ack, I had forgotten to import the db schema before accessing the web
interface. I just wish the cacti people had found a way to make this
more obvious. I will send them a message and maybe they can make this a
little clearer in the future.

Thanks for the replies everyone.

Matt
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Postfix + mySQL

2008-12-12 Thread kashani

Federico J. Fernández wrote:

Hi List,

I've been configuring a mail server with
Postfix+mySQL+Courier+Squirrelmail according to [1]. Courier IMAP is
working with the mySQL authentication, but I can't send mails via
postfix. When I send an email I get an unkwon user error. I suspect
that postfix is not using the defined mySQL table for some reason.

I tried to see the virtual map with postmap but I get a strange error:

  server postfix # postmap mysql:/etc/postfix/mysql-virtual-maps.cf
  postmap: fatal: unsupported map type: mysql


I think the syntax you need is
postmap -q string mysql:/etc/postfix/mysql-virtual-maps.cf

However looking at the mail logs is far simpler. If nothing jumps out at 
you in the logs post the output of postconf -n and cat 
/etc/postfix/mysql-virtual-maps.cf (minus user/passwd of course).


FWIW the Gentoo Virtual How-To is very unfancy and requires you to enter 
all virtual domains manually into the main.cf within 
virtual_mailbox_domains. If you do not do this, Postfix doesn't know 
that the domain exists.


I suggest doing something like this where it's a db call and you should 
never need to touch your main.cf. IIRC this will work if you added the 
optional mysql-transport table.

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-transport.cf

I also recommend ditching the Gentoo How-to and using PostfixAdmin which 
is light years better in schema and administration.


kashani



Re: [gentoo-user] Gentoo Virtual Mailhost Setup Question.

2005-10-17 Thread kashani

Mal Herring wrote:

If you're using qmail and have qmailadmin, you can use the Vacation


feature.

Sounds like a handy feature but I am using Postfix... :(

Does Postfix offer this functionality ?



	I hate to give the same sort of answer, but the Postfix based how-to 
was never very fancy. However I still believe Postfix is the easiest and 
best MTA to use for a virtual system. It's just that you should use 
PostfixAdmin as the base. Migrating from the Gentoo How-to to a 
PostfixAdmin based system can be painful, different db schema and other 
things, but having an easy to use interface to add users, domains, 
aliases, etc AND being able to delegate domain control to power users 
has been fantastic.


	PostfixAdmin supports vacation as well and users can manage it 
themselves. You can even integrate the vacation into Horde as well if 
you're willing to muck about in the internals.


http://high5.net/postfixadmin/

However as a low tech solution you could do something like the following:

[EMAIL PROTECTED] is a real account

create this in your alias table
[EMAIL PROTECTED] - [EMAIL PROTECTED],vacation

Then setup a general vacation program as user vacation on the system 
with the proper regex stuff and tracking of addresses it's has already 
responded to.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID 10 help

2005-10-29 Thread Qiangning Hong
A. Khattri wrote:
 On Sun, 30 Oct 2005, Qiangning Hong wrote:
 
 
As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.

Then I want both my / and /var are RAID10.  I use the following schema:

/dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
||||
+--(RAID1)---++---(RAID1)--+
  |  |
   /dev/md3   /dev/md4
  |  |
  +-(RAID0)--+
   |
/dev/md5

and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.

After mkraid, I followed the Gentoo Handbook and installed system, build
all RAID and driver mapping options into kernel.  But after reboot,
kernel panic!  The error message says it can not mount / on /dev/md5
because it doesn't exist.
 
 
 Is RAID support in your kernel?

Yes, I compiled in (not as module) all the options under Device Driver
-- Multi-device support (RAID and LVM)

 Did you use mdadm to make the arrays?

No, I create /etc/raidtab by hand and run mkraid for each md device,
following the steps of
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - mythbackend not binding to port. Why?

2006-10-05 Thread Michael Sullivan
My mythbackend is screwing up.  I called /usr/bin/mythbackend directly
so that I could see what exactly the problem is.  It gave me this:

camille ~ # mythbackend
2006-10-05 14:08:36.085 Using runtime prefix = /usr
2006-10-05 14:08:36.120 New DB connection, total: 1
2006-10-05 14:08:36.127 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.139 Current Schema Version: 1123
Running as a slave backend.
2006-10-05 14:08:36.153 New DB connection, total: 2
2006-10-05 14:08:36.154 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.156 mythbackend: MythBackend started as a slave
backend
2006-10-05 14:08:36.173 New DB connection, total: 3
2006-10-05 14:08:36.174 Connected to database 'mythconverg' at host:
localhost
2006-10-05 14:08:36.241 mythbackend version: 0.19.20060121-2
www.mythtv.org
2006-10-05 14:08:36.241 Enabled verbose msgs:  important general
2006-10-05 14:08:36.242 AutoExpire: Found 1 recorders w/max rate of 72
MiB/min
2006-10-05 14:08:36.244 AutoExpire: Required Free Space: 1.1 GB w/freq:
10 min
QServerSocket: failed to bind or listen to the socket
2006-10-05 14:08:36.247 Failed to bind port 6543. Exiting.


I tried it with and without the firewall running and I got the same
results.  Why can't it bind to the port?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Looking for a tool to produce 'reverse' SQL

2006-06-15 Thread kashani

Benjamin Blazke wrote:


--- kashani [EMAIL PROTECTED] wrote:


The tool you're looking for is called a DBA. :-)


I see. So it's up to QA to test extensively and up to
the DBA to recover from a disaster.

I hoped there would be a more automated solution but
it seems that it's not really doable. Thanks for such
a quick answer ;-) 


	That's pretty much the way we've been doing it, but if there is a 
better way I'd like to hear it too as I'm a poor imitation of a DBA. 
However I don't see any easy solutions for combined application, data, 
schema change rollbacks especially when changes to one cause 
dependencies in others.


	As an illustration you change u_user.login_name to varchar(64) from 
varchar(32). Users start creating longer users names. A few hours later 
you find some problems in how your application handles longer names. If 
you needed to rollback the alter table command is easy, but some of your 
data would now be invalid. Rather than rollback the easier fix is to 
update the application and hopefully the change is a single file update.


	I still think there are cases when you could rollback, but they'd have 
to be so simple that having a tool to generate the sql would be overkill.


Ramin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] RAID 1 over network

2009-06-16 Thread Daniel Iliev
On Tue, 16 Jun 2009 18:58:56 +0600
Mike Kazantsev mk.frag...@gmail.com wrote:

 On Tue, 16 Jun 2009 12:40:46 +0200
 Renat Golubchyk ragerm...@gmx.net wrote:
 
  Hi all!
  
  Short:
  What is the best way to setup something similar to RAID 1 over a
  WAN?
 
 ...
 
  One purpose of the setup is to have data redundancy. Thus we have to
  ensure that the data is replicated in a timely manner. Replicating
  MySQL data is not difficult. The problem is the file system data
  like uploaded documents and pictures. We can monitor changes in the
  file system and initiate rsync to copy files over the network, but
  I think it's not a good solution. What we are after is a network
  equivalent of RAID 1. Are there any viable solutions that could
  work over a WAN?
 
 If replication after file is completely hit the disk is not acceptable
 either because files are quite large or have to be really synchronous
 then I'll second DRBD-with-HA-cluster-fs suggestion.
 

DRBD is HA solution which is achieved by switching the role of the
nodes in case the active node goes offline. I think DRBD is not meant
for the schema OP has described, because only the active node is
accessible via FS. DRBD works between the FS and block device layers.
It catches the FS writes from the active node and sends them over the
network. DRBD on the backup node receives those and replicates them
directly to the disk driver. Thus you can't have mounted FS on the
backup node. If the active node goes offline, the backup node takes
over which means DRBD switches roles and the FS has to be mounted
afterwards.

-- 
Best regards,
Daniel



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-17 Thread Alan McKinnon
On Sunday 17 January 2010 22:14:06 Neil Walker wrote:
 Joerg Schilling wrote:
  how do we
  prevent that DeviceKit will become the same desaster as hald?
 
 The only way to be sure of that is to write your own replacement for HAL.
  ;)

That might not be a bad idea

I never agreed with the implementation of hal. An abstract layer sounds good, 
but why must it abstract ALL hardware? Most software already knows what type 
of devices it is going to use, so that software should either do it's own 
abstraction, or a utility library should do it, but be limited to what devices 
it deals with.

Most devices fall into one of two groups: storage and I/O. Auto-mounters do 
not care about your keyboard, whereas X needs to know about your monitor, 
card, keyboard, mouse. Why does hal try and abstract both? Seems silly to me.

One could also argue that the developer's state of mind is reflected in the 
chosen method of configuration - xml files. This just defies all 
understanding. Apart from the fact that real-world xml is almost unreadable, 
the conditions that make xml useful are simply not present in hal...

xml works well when you have system A talking to system B and neither A nor B 
(nor user C) know in advance exactly what the other is. They might not even 
know much about the data schema being used, so that metadata is in the xml. 
This is so completely not the case with hal on a local machine, that it defies 
description why the dev thought it might be useful. 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-18 Thread Neil Walker
Alan McKinnon wrote:
 The only way to be sure of that is to write your own replacement for HAL.
  ;)
 

 That might not be a bad idea

 I never agreed with the implementation of hal. An abstract layer sounds good, 
 but why must it abstract ALL hardware? Most software already knows what type 
 of devices it is going to use, so that software should either do it's own 
 abstraction, or a utility library should do it, but be limited to what 
 devices 
 it deals with.

 Most devices fall into one of two groups: storage and I/O. Auto-mounters do 
 not care about your keyboard, whereas X needs to know about your monitor, 
 card, keyboard, mouse. Why does hal try and abstract both? Seems silly to me.

 One could also argue that the developer's state of mind is reflected in the 
 chosen method of configuration - xml files. This just defies all 
 understanding. Apart from the fact that real-world xml is almost unreadable, 
 the conditions that make xml useful are simply not present in hal...

 xml works well when you have system A talking to system B and neither A nor B 
 (nor user C) know in advance exactly what the other is. They might not even 
 know much about the data schema being used, so that metadata is in the xml. 
 This is so completely not the case with hal on a local machine, that it 
 defies 
 description why the dev thought it might be useful.

I can't argue with any of that, which is why I decided to quote it in
full - it's worth
repeating.

It seems xml is the fashion with certain programmers. Totally
unnecessary. :(


Be lucky,

Neil
http://www.neiljw.com





Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-21 Thread BRM
- Original Message 

 From: pk pete...@coolmail.se
 BRM wrote:
  The point of the UI is that you ought not care what goes where, unless you 
  are 
 debugging the UI or the program itself.
  While a UI is important; a good UI is key.
 And a plain text editor is, imo, a good UI; everybody knows how to use
 it. Why bring in another extra (translation) layer?

That's only good if you always store all options - every possible combination, 
etc. - at all times.
Unfortunately, that's almost never the case.

Thus you need to be able to know how to create a good working configuration.
This requires having a tool the user can use to edit the configuration, with 
the tool
providing access to the options you otherwise would not know about that also
protects you by helping to ensure the configuration is in the valid format. Of 
course,
the tool also has to get upgraded with the changes in the program - so that it 
knows
how to build correct configurations.

This is where XML does somewhat shine for configurations - you can get by with 
a little
less by enabling the tool to use XML validation on the configuration file; then 
even if your
tool falls a little behind, it can still validate the configuration file 
against the DTD/RNG/Schema.
But it also means that you MUST have a tool.

Ben





[gentoo-user] Ldap authentication issues.

2010-05-03 Thread Indexer
 of times to double the sleep 
time
nss_reconnect_sleeptime 1   # initial sleep value
nss_reconnect_maxsleeptime 16   # max sleep value to cap at
nss_reconnect_maxconntries 2# how many tries before sleeping
nss_base_passwd ou=Admin,dc=chocolate,dc=lan?one
nss_base_passwd ou=People,dc=chocolate,dc=lan?one
nss_base_shadow ou=Admin,dc=chocolate,dc=lan?one
nss_base_shadow ou=People,dc=chocolate,dc=lan?one
nss_base_group  ou=Nemo,ou=Group,dc=chocolate,dc=lan?one
nss_base_group  ou=Marvin,ou=Group,dc=chocolate,dc=lan?one
ssl off

Here is /etc/openldap/slapd.conf

include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include  /usr/local/etc/openldap/schema/inetorgperson.schema
include  /usr/local/etc/openldap/schema/nis.schema
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args
modulepath  /usr/local/libexec/openldap
moduleload  back_bdb
access to attrs=userPassword
by dn=uid=william,ou=Admin,dc=chocolate,dc=lan write
by anonymous auth
by self write
by * none
 access to *
by self write
by users read
databasebdb
suffix  dc=chocolate,dc=lan
rootdn  cn=Manager,dc=chocolate,dc=lan
rootpw  {SSHA}pG0QHakwiNmJHXcyTB5H4RQtoDAGbEsm
directory   /var/db/openldap-data
index   objectClass eq 
index   uid eq
password-hash {SSHA}

Here is the /etc/openldap/ldap.conf from both the client and server

BASEdc=chocolate,dc=lan
URI ldap://ldap.srv.chocolate.lan

Any help with this would be greatly appreciated

William




[gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread James
Hello,

I have a large DVD(movie) collection, that I want
copied to hard drive(s) and a database set up
about the movies. Since disc is cheap
($75/2TB) I'm not even going to fool around
with conversion or compression, i.e. MPEG-2
is fine for now, unless the process can
be automated (see schema below). Naturally
being able to store video in different formats
would be a big plus.

I'm very flexible on the DB so any software 
package that already exists in a (gui) tool
form, so that I can set it up with simple
instructions for an adolescent to:
 load the dvd
 execute the script or simple procedure
 wait until dvd movie is stored on disk
 then swap out for another DVD...

rinse and repeat 500+ times


What software exists, or what software
would be easy to script up such an endeavor?
Tagging movies by rating, genre, year, etc
would be a bonus.

Hopefully, playing movies after this will
be a gui experience; so I can turn the kids
and less astute friends loose in a 
multimedia room where the computer is hooked
to a large screen LED device. Later on 
audio (music) tracks will be added to the menu 
or system, which hopefully supports a wide
range of audio files. 


Lots of pieces exist in software, but, I'm 
looking for recommendations on a complete
system, that is rather straight forward to
install new movies (and audio) and then play them
via an easy to use interface, seemlessly.


Any comments or suggestions are most welcome.


James






Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Fernando Freire
James,

It sounds like you want a complete solution for your multimedia, might I
suggest something like xbmc or boxee? They're both solid platforms,
unfortunately I cannot suggest a script for automating the disk
ripping/conversion process.

-Fernando
On Mar 8, 2011 11:04 AM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I have a large DVD(movie) collection, that I want
 copied to hard drive(s) and a database set up
 about the movies. Since disc is cheap
 ($75/2TB) I'm not even going to fool around
 with conversion or compression, i.e. MPEG-2
 is fine for now, unless the process can
 be automated (see schema below). Naturally
 being able to store video in different formats
 would be a big plus.

 I'm very flexible on the DB so any software
 package that already exists in a (gui) tool
 form, so that I can set it up with simple
 instructions for an adolescent to:
 load the dvd
 execute the script or simple procedure
 wait until dvd movie is stored on disk
 then swap out for another DVD...

 rinse and repeat 500+ times


 What software exists, or what software
 would be easy to script up such an endeavor?
 Tagging movies by rating, genre, year, etc
 would be a bonus.

 Hopefully, playing movies after this will
 be a gui experience; so I can turn the kids
 and less astute friends loose in a
 multimedia room where the computer is hooked
 to a large screen LED device. Later on
 audio (music) tracks will be added to the menu
 or system, which hopefully supports a wide
 range of audio files.


 Lots of pieces exist in software, but, I'm
 looking for recommendations on a complete
 system, that is rather straight forward to
 install new movies (and audio) and then play them
 via an easy to use interface, seemlessly.


 Any comments or suggestions are most welcome.


 James






Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Paul Hartman
On Tue, Mar 8, 2011 at 12:09 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I have a large DVD(movie) collection, that I want
 copied to hard drive(s) and a database set up
 about the movies. Since disc is cheap
 ($75/2TB) I'm not even going to fool around
 with conversion or compression, i.e. MPEG-2
 is fine for now, unless the process can
 be automated (see schema below). Naturally
 being able to store video in different formats
 would be a big plus.

 I'm very flexible on the DB so any software
 package that already exists in a (gui) tool
 form, so that I can set it up with simple
 instructions for an adolescent to:
  load the dvd
  execute the script or simple procedure
  wait until dvd movie is stored on disk
  then swap out for another DVD...

 rinse and repeat 500+ times


 What software exists, or what software
 would be easy to script up such an endeavor?

Basically all of the GUI DVD-ripping/recoding software are just shells
to run the commandline tools like transcode, ffmpeg, mencoder etc.

If you find a GUI tool to do as you wish, it should be trivial to look
in its logs and see exactly which commands it ran and then put that
into a shell script for repeated usage.

Ripping the original DVD contents is the easy part (just use vobcopy),
converting it to any other format can be more tricky because you get
problems like audio and video being out of sync that sometimes can't
be fixed without manual tuning.



Re: [gentoo-user] [~amd64] Anyone survive the big gnome update from this morning (July 25)?

2013-07-26 Thread Stefan G. Weichinger
Am 26.07.2013 03:10, schrieb walt:
 I'm very happy that I did the gnome update on a virtual gentoo
 machine instead of my real machine :)  The virtual gentoo is
 unusable at the moment because gnome is very sick indeed.
 
 I avoided the big update on my real machine when I saw that
 gnome-shell (I think it was) demanded the installation of
 systemd on my openrc-only system.
 
 Now, I've been running systemd on the virtual gentoo machine
 for months with no problems, so I wasn't worried about the
 big update on that machine.
 
 AFAICT the systemd update has nothing to do with gnome's sickness,
 systemd-206 seems to be working just fine on the virtual machine.
 
 The gnome desktop, however, is completely black except for one
 functioning gnome main-menu applet, which lets me open an xterm
 for potential debugging efforts.
 
 Running nautilus from the xterm prompt produces this error:
 
 GLib-GIO_ERROR: Settings schema 'org.gnome.desktop.background'
 does not contain a key named 'draw-background'
 Trace/breakpoint trap
 
 Has anyone else tried the same update yet?

I didn't notice anything today ... which might be related to the fact
that I unmasked gnome-3.8 months(?) ago.

So gnome-shell-3.8.3-r2 got keywords changed ... right?

I am sure you already did the usual revdep-rebuild-stuff etc?

Stefan




Re: [gentoo-user] [~amd64] Anyone survive the big gnome update from this morning (July 25)?

2013-07-26 Thread Todd Goodman
* walt w41...@gmail.com [130725 21:12]:
 I'm very happy that I did the gnome update on a virtual gentoo
 machine instead of my real machine :)  The virtual gentoo is
 unusable at the moment because gnome is very sick indeed.
 
 I avoided the big update on my real machine when I saw that
 gnome-shell (I think it was) demanded the installation of
 systemd on my openrc-only system.
 
 Now, I've been running systemd on the virtual gentoo machine
 for months with no problems, so I wasn't worried about the
 big update on that machine.
 
 AFAICT the systemd update has nothing to do with gnome's sickness,
 systemd-206 seems to be working just fine on the virtual machine.
 
 The gnome desktop, however, is completely black except for one
 functioning gnome main-menu applet, which lets me open an xterm
 for potential debugging efforts.
 
 Running nautilus from the xterm prompt produces this error:
 
 GLib-GIO_ERROR: Settings schema 'org.gnome.desktop.background'
 does not contain a key named 'draw-background'
 Trace/breakpoint trap
 
 Has anyone else tried the same update yet?

I blocked the whole update by adding entries to package.mask (don't know
if there was an easier way) because I don't want systemd on my ~amd work
machines.

Todd



[gentoo-user] Re: meld 3.12 can't save settings

2015-01-07 Thread Grant Edwards
On 2015-01-07, Grant Edwards grant.b.edwa...@gmail.com wrote:
 Meld 3.12.2 went stable a couple weeks ago and got upgraded from
 1.8.5.  After the 1.8-3.12 upgrade, the application preferences no
 longer worked. They neither affect the application nor do they get
 saved.

 If I block meld 3.x and go back to 1.8.5, everything works fine again.

 On the meld mailing list, they say settings have moved from gconf to
 gsettings/dconf, and if settings don't work it's a distro problem.

 The gsettings app seems to work find and can find/change settings for
 varioius other apps (gnumeric, evince, etc.), but it doesn't show any
 schema/keys for meld.

 Then I realized, I didn't even have dconf installed.  Is that a
 missing dependancy in the meld 3 ebuild?

 So I emerged dconf, and then re-emerged glib.

 No change; meld 3 preferences don't work, gsettings works the same as
 before.

After shutting down XFCE and X11, and then restarting, it looks like
meld preferences are now working (and gsettings has switched over from
using gconf to using dconf). 

AFAICT meld requires dconf, and it's missing as a dependancy in the
meld 3 ebuild.

-- 
Grant Edwards   grant.b.edwardsYow! Maybe I should have
  at   asked for my Neutron Bomb
  gmail.comin PAISLEY --




[gentoo-user] Re: repos.conf

2015-06-24 Thread James
Jc García jyo.garcia at gmail.com writes:


 I hope you find this useful.

Yes I did.

Sure sounds like an excellent topic  for one of our devs to post
to planet.gentoo.org about an example of how  diversified configurations for
our current migratory status on source codes from a wide variety of
places could be set up. Surely those leading us on this journey have crossed
 these bridges?


I tend to ignore such needs as long as possible, but with cluster code
development, I'm reading about or  fixing things from the kernel(s) to
functional programming (which until recently I strongly avoided) and every
thing possible in between. Some days, I think I'm going crazy..(but 
actually I'm OK with that idea, really I am).


Then I read about something like nitrous.io [1] and I realize  that I have
a far greater grip on the multifaceted aspects of diverse coding than some
of the clowns that are getting rich. Maybe, just maybe, we need to get some
'go daddy girls' to help us get organized ? I guess any documented formal or
structured approach, that would allow one to focus on just one problem
(piece of code) for a few days/weeks is strictly out of the question..


Please keep the ideas and schema coming, as I only want to solve this code
migration  organization problem once. Maybe I should just file a (bgo) bug
about when do we git nitrous.io on gentoo? 


(reminds me of the dentist :: a_hole).
But he does have an extremely attractive hygienist!

James


[1] https://pro.nitrous.io/



[gentoo-user] printing problems

2015-11-01 Thread Philip Webb
I am trying to get printing to work properly in my recently built machine.
'hp-probe' identifies my printer as 'HP Deskjet 2510 series'.
When I print a text file from Gvim or a ps file from LO,
there are blank bands across the page, omitting lines or parts of letters.

I have managed to get Kwrite to print properly
via  file -> print -> options -> layout -> schema :
when set to 'normal' 'KDE' 'Vim dark', everything comes out as it should
(there are some amusing color effects, but it's all there).

Alongside Gentoo, I installed Mint 17.2 (Xfce),
which started printing properly via Gedit + LO
after I set print quality to 'high' via the 'http://localhost:631' menu
(I didn't go back to test Gvim there, but assume it would work too).
Gedit has its own internal print-quality menu too.

I have compared  /etc/hp/hplip.conf  in Gentoo vs Mint :
the Gentoo version of Hplip is 3.14.10 , Mint has 3.15.2 ;
the Gentoo version of Cups is 2.0 , Mint has 1.7 ;
the Gentoo version of Hplip was built with 'foomatic-ppd-install=no',
the Mint version with '...=yes'.

I can contrive to print text + ps files easily
by copying them to an appropriate partition & rebooting into Mint,
but Gentoo is supposed to make these things easier, not more difficult.

Finally, I've never got the print icon in Gvim to work :
I use the 'prtdialog' plug-in, which prints, but only badly as above.

Can anyone offer advice or suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] printing problems

2015-11-02 Thread Philip Webb
151101 Daniel Frey wrote:
> On 11/01/2015 04:08 PM, Philip Webb wrote:
>> I am trying to get printing to work properly in my recently built machine.
>> 'hp-probe' identifies my printer as 'HP Deskjet 2510 series'.
>> When I print a text file from Gvim or a ps file from LO,
>> there are blank bands across the page, omitting lines or parts of letters.
>> 
>> I have managed to get Kwrite to print properly
>> via  file -> print -> options -> layout -> schema :
>> when set to 'normal' 'KDE' 'Vim dark', everything comes out as it should
>> (there are some amusing color effects, but it's all there).
>> 
>> Alongside Gentoo, I installed Mint 17.2 (Xfce),
>> which started printing properly via Gedit + LO
>> after I set print quality to 'high' via the 'http://localhost:631' menu
>> 
>> Finally, I've never got the print icon in Gvim to work :
>> I use the 'prtdialog' plug-in, which prints, but only badly as above.
 
> Have you tried with foomatic-ppd-install on Gentoo ?
> It's the `static-ppds` USE flag, which may also need the `hpijs` USE flag.

I've had  USE="hpijs"  all along & have now tried "static-ppds" too,
but there's no change with Gvim or LO ; Kwrite continues to print ok.

> I had so many problems with hplip I stopped using it.  I found another way
> to use my hp CP1025nw with foomatic and that works trouble-free.

Don't be coy ! -- What did you actually do which works (smile) ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] UEFI data corruption? [SOLVED, mostly]

2019-09-19 Thread Peter Humphrey
On Wednesday, 18 September 2019 19:31:10 BST Mick wrote:

> > # efibootmgr -v
> > BootCurrent: 
> > Timeout: 1 seconds
> > BootOrder: ,0001,0002
> > Boot* EFI Stub  HD(1,GPT,95b0a3f6-eae2-445c-
> > b098-3c8174588948,0x800,0x7f800)/File(\EFI\BOOT\BOOTX64.EFI)
> 
> Boot above is the first menu entry.
> 
> "EFI Stub" is the label of this entry.

And it's the label I wanted to change to something more descriptive.

> Thereafter you can see the path of the bootable entry:
> 
> HD - it is a hard drive
> 1  - on the first partition
> GTP - using a GPT partitioning schema
> 95b0a3f6-* - the UUID of the partition (not the fs)
> 0x800,0x7f800 - start-end of the partition in hex
> File - the filesystem path of the bootable image.
> 
> > Boot0001* CD/DVD Drive  BBS(CDROM,,0x0)..GO..NOo.T.S.S.T.c.o.r.p.
> > .C.D.D.V.D.W. .S.N.-.
> > 2.0.8.F.BA...>..Gd-.;.A..MQ..L
> > .
> > 1.S.3.2.Y.6.G.B.0.C.B.0.G.K. . . . . . BO
> 
> Boot0001 is the second boot entry and is a CD/DVD drive.  It seems you have
> a CD in it, without it you would probably see something like this:
> 
> Boot0001* UEFI:CD/DVD Drive   BBS(129,,0x0)
> 
> > Boot0002* Hard DriveBBS(HD,,0x0)..GO..NOo.C.T.1.0.0.0.B.X.
> > 1.0.0.S.S.D.
> > 1A...>..Gd-.;.A..MQ..L.
> > 5.1.4.0.0.F.2.0.8.3.4.6. . . . . . . . BO..NOo.C.T.
> > 1.0.0.0.B.X.1.0.0.S.S.D.
> > 1A...>..Gd-.;.A..MQ..L.
> > 5.1.4.0.0.F.2.0.8.3.F.8. . . . . . . .
> > BO..NO..S.A.M.S.U.N.G. .M.Z.V.P.V.2.5.6.H.D.G.L.-.
> > 0.0.0.0.0A...J..Gd
> > -. ;.A..MQ..L.S.A.M.S.U.N.G.
> > .M.Z.V.P.V.2.5.6.H.D.G.L.-.0.0.0.0.0BO

Actually, there was no CD in the drive.

> Boot0002 is the final entry by the looks of it refers to a Samsung SSD.

Yes, it's the NVMe drive where the system resides. There are two other SSDs, 
but I deleted their entries because they weren't required to boot.

--->8

Many thanks Mick.

-- 
Regards,
Peter.






Re: [gentoo-user] Verify uefi installation

2019-09-23 Thread Mick
On Monday, 23 September 2019 08:43:52 BST Adam Carter wrote:
> On Mon, Sep 23, 2019 at 3:38 PM J. Roeleveld  wrote:
> > On 23 September 2019 07:33:44 CEST, Adam Carter 
> > 
> > wrote:
> > >Follow on question; what does efibootmgr actually modify? Is it writing
> > >to
> > >motherboard EEPROM values similar what happens when you write changes
> > >in
> > >the BIOS setup pages?
> > >If you, does mean I may have been able to fix this issue in the BIOS?
> > 
> > It updates something in the CMOS, however, not all UEFI bioses support
> > manually editing this.
> > I haven't found a decent option for this on any system I own yet, apart
> > from efibootmgr.
> 
> Ok thanks.
> 
> Looks like the setting gets cleared with every BIOS update. I assume this
> is due to shitty coding by the MB manufacturer and not a limitation of UEFI.

An update of the firmware flashes the UEFI EEPROM and as far as I have 
experienced no settings are retained.  A fresh probe of MoBo devices at first 
boot re-lists anything bootable.

Desktop/workstation UEFI firmware have more features, which allow tweaking 
boot lists.  Some also offer a back up/restore facility for settings from a 
file.

Laptop UEFI boot menus are more sparce, in which case efibootmgr, or with 
systemd-boot the bootctl command allow managing UEFI boot entries.  I believe 
MSWindows have their own applications to do the same.

Regarding the message "GUID partition table header signature is wrong", this 
is probably indicative of an MBR partition table - but I'm not sure.  Have you 
installed some OS on an MBR partition schema?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Verify uefi installation

2019-09-23 Thread Adam Carter
>
> > Looks like the setting gets cleared with every BIOS update. I assume this
> > is due to shitty coding by the MB manufacturer and not a limitation of
> UEFI.
>
> An update of the firmware flashes the UEFI EEPROM and as far as I have
> experienced no settings are retained.


A backward step from older MBR / BIOS functionality then. I guess that
indicates that code and configuration are not separated.


> A fresh probe of MoBo devices at first boot re-lists anything bootable.
>

Do you find that the re-generated list only finds devices, not the .efi
files on those devices? (and therefore efibootmgr is still required?)


> Desktop/workstation UEFI firmware have more features, which allow tweaking
> boot lists.  Some also offer a back up/restore facility for settings from
> a
> file.
>
> Laptop UEFI boot menus are more sparce, in which case efibootmgr, or with
> systemd-boot the bootctl command allow managing UEFI boot entries.  I
> believe
> MSWindows have their own applications to do the same.
>

Ok thanks for the info.


> Regarding the message "GUID partition table header signature is wrong",
> this
> is probably indicative of an MBR partition table - but I'm not sure.  Have
> you
> installed some OS on an MBR partition schema?
>

# gdisk -l /dev/nvme0n1
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Number  Start (sector)End (sector)  Size   Code  Name
   12048 1955839   954.0 MiB   EF00  boot
   2 1955840   976771071   464.8 GiB   8300  root

Not sure where the 'MBR: protective' came from as the system has been linux
only from the start. I guess its either the default or I made an error
during the build. AFAIK this is still a valid configuration, so I assume
the signature message is not related to that.

I guess i could just try re-writing the partition table to see if that
clears it.


Re: [gentoo-user] Ext4 status - Alternative to ext2/3 for gentoo portage and more

2008-02-15 Thread Wael Nasreddine
This One Time, at Band Camp, Florian Philipp [EMAIL PROTECTED] said, On Fri, 
Feb 15, 2008 at 10:24:55PM +0100:

 On Fri, 2008-02-15 at 21:05 +0100, Wael Nasreddine wrote:
  Currently I have 2 partitions, a root and home partition, fortunately
  on LVM array, I was thinking of splitting them to /, /usr, /var, /home,
  /usr/portage, /mnt/storage the latter is to be used for Mp3z (around
  12000) and movies...

  I was thinking of having the below filesystem schema:
  /   : ext3 (-j -O dir_index,sparse_super,filetype) (Good mkfs 
  options ??)
  /usr: xfs (I never used it so please suggest mkfs.xfs options)
  /var: //
  /home   : ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
  mkfs options ??)
  /usr/portage: ReiserFS (3? 4? options??)
  /mnt/storage: ext3 (-m 0 -j -O dir_index,sparse_super,filetype) (Good 
  mkfs options ??)


  Could you please comment/complete/change the schema above ?? I really
  would like to speed up my system a little bit, My system is entirely
  built on LVM array, and LVM is on DM-CRYPT so as you can see it's a
  quite slow due to the encryption...

  Oh one last thing, What do you suggest for a server? I have a Gentoo
  server and uptime can be over 5/6 months, everytime I reboot the
  server I have to manually scan the filesystem due to errors
  everywhere, any suggestions??

  Thanks...

 First of all, if there are filesystem errors, check your cables, your
 controller and your disks. I don't think filesystem errors count as
 normal behavior ...
I should check that out, thanks

 To your filesystem scheme: Why do you use xfs for usr? AFAIK XFS is good
 at write speed but not worth the trouble when reading data and data in
 usr is usually written once, updated every few months and read many
 times a week (on rebooting Desktop PCs maybe once a day). I'd use
 reiserfs3.6, maybe even without notail to make it more space efficient.
I don't use XFS, curently I only have / and /home and I want to split
it to more smaller partitions, I'm on LVM so it's easy, anyway I'm
going with ReiserFS for /usr /var, would you please suggest
mkfs.reiserfs options as I have nerver used ReiserFS-3 before (yep 5
years using linux and I've always used ext3...) also You didn't mention
/var, would you say ReiserFS-3 is a good choice as well?

 I'd also use ext2 on /usr/portage. These data don't need journaling.
 Everything's got an MD5-sum to make sure it's unchanged after a crash
 and you can easily resync. I found ext2 with 2k blocks to be faster than
 reiserfs3.6, even on read-performance.
I've already made the partition as suggested in [1] I used this
command:
$ mke2fs -b 1024 -N 20 -m 0 -O dir_index

I guess 1K block size would be faster??

 If I were you, I'd also use separate volumes for /tmp and /var/tmp
 (without ccache) with xfs.
What did you mean by 'without ccache'? I have ccache and I use it...

 /home could use data=journal. Those data are precious and if I remember
 correctly, this setting even brings an obscure (i.e. undocumented) speed
 improvement with many parallel disk accesses, for example in a
 multi-user environment. 
it's done, thanks, BTW what's your home partition FS? your choice is
ext3 or reiserFS??

One last thing, since I'm on LVM resizing the partition is a must
feature, in ext3 I use resize2fs which works quite nicely, is
resize_reiserfs as reliable as resize2fs is??

[1]: 
http://gentoo-wiki.com/TIP_Speeding_up_portage#Make_A_Sparse_File_to_create_portage_in

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpZiQKZT26J8.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo, MySQL, UltraMonkey Clusters

2009-09-03 Thread kashani

Nick Khamis wrote:
I should also point out that we are interested in load balancing and 
high availability.
 
Regards,

Ninus.


Alright there's a lot going on here so I'm going to break down the last 
ten years of dealing with sort of thing into three pages. :-)


Stability vs Flexibility
	I'm a start up guy (five and counting) so I always prefer flexibility, 
but you need to decide based on your application. Also depends on how 
much money you have to build in fault tolerance, back ups, etc. You 
yourself as the admin also need to be disciplined in your methods. That 
means having actual QA processes, test/stage VMs, unit tests, and being 
able to enforce those processes. Gentoo allows enormous flexibility and 
being able to have things like glibc-2.9 immediately while RHEL4 shipped 
with 2.3 and RHEL5 with 2.5 means you can take advantage of incremental 
fixes in NPTL that is missing in stable distros. Also having gcc-4.4 is 
a big win on modern processors.


Mysql
	Definitely go with Mysql 5.1 and hell if you're going to be building 
your own or if it's already in an overlay somewhere look at Mysql 5.4. 
Basically it's 5.1 plus the Google, Percona, and everyone else that has 
been rolling custom patches for Mysql. If you don't want to be that far 
out on the bleeding edge look at using Percona's build, linked below.
	If you want to go way way way out to the bleeding edge and can wait a 
year to ramp up, Drizzle is very interesting.


http://dev.mysql.com/tech-resources/articles/mysql-54.html
http://www.percona.com/percona-lab.html
http://www.mysqlperformanceblog.com/
http://drizzle.org/wiki/Drizzle_Features

High Availability
	Round Robin db masters almost never works unless you've designed your 
schema from the ground up to work that way. If you're wondering if yours 
was, it wasn't. Even when you do it right it can be flakey. Easier and 
simpler to write to one master which then writes to a number of slaves. 
If you want to get fancy to you can have two round robin masters with 
two slave each. When a master fails you need to point to the other 
master as well as pull the two slaves from the broken master out or 
rotation. How to accomplish that is up to you, but I prefer a somewhat 
manual process. Swapping masters around automatically is usually a good 
way to end up with corrupt data somewhere. YMMV.
	Simple round robin VIPs should work with your Mysql slaves. Not sure if 
Ultramonkey does that. Connection pools usually suck and I wouldn't 
bother with them as modern OS threading makes it nearly pointless. Make 
sure your application is closing Mysql connections properly which I've 
had issue with far too often.


Storage Engines in Mysql
Sphinx
	Don't use myisam tables for full text searches. Hell if you have the 
time don't use your database for full text search, but if you do look at 
using the Sphinx full text engine. You'll need to build the plugin yourself.


Innodb
Use the innodb plugins, it's much faster

Myisam
Don't use. Really.

xtradb
Innodb fork by Percona. Looks interesting and I have tried it.

Things to remember about databases
	Buffers are configured on a per storage engine basis. If you give 12GB 
to Innodb you can't also give 12GB to Sphinx... unless you have a 32GB 
machine.
	RAID 10 is your friend, but RAM is almost always better *if* your 
database will fit into RAM. Make sure your RAID card has battery backup, 
write cache on your disks is turned off, and that you actually check 
your RAID card's config to make sure cache is turned on an DMA or 
whatever is enabled. It's almost never correct out of the box.
	Fixing your queries, index, and schema is 10-100x more effective than 
dicking around with Mysql settings, custom compile, and hardware tweaks 
unless you've done something really moronic.
	mysqldump will not give consistent backups of Innodb. Use a slave, stop 
the slave, take a backup preferably through LVM snapshotting so it 
doesn't take forever, bring the slave back up and put it into rotation.
	Stored procedures will make your life difficult. It's easy to say 
code-1.3.2 is on production. It's hard to say code-1.3.2 and 
stored-procs-1.1.1 are on production when the push process is different, 
the teams are different, etc. You *can* manage it, but given a choice it 
buys you very little and I never meet a DBA that didn't like to tweak 
things directly. Hell I've meet far too many that needed to taught how 
to checkin code.


kashani



Re: [gentoo-user] gentoo alternatives

2021-06-09 Thread Marat BN
Chrome OS is made by Google to run specifically on the Chromebooks.  I 
don't think it is intended for general computing and there is no 
enthusiast community around it like around other distros.


The closest cousin to Gentoo would be Funtoo.  It used to be that Gentoo 
Portage could only use rsync, while Funtoo Portage could use git which 
is much faster, but since then Gentoo Portage has also gained the 
functionality to use git for this purpose.


My biggest problem with Gentoo was not so much the time needed to 
compile huge ebuilds like Firefox, Thunderbird, or Chromium, but that 
say if you neglected doing updates for a while and then decided to start 
again, then you'd have serious problems.  This is because, at least the 
way I understood it, after some time old ebuilds would get deleted from 
the Portage servers to conserve space there, but some of those now 
deleted ebuilds would still be needed as dependencies to do iterative 
updates.  The sure-way to resolve this problem would be to re-emerge the 
whole @world set, which of course would take way-longer than just 
Firefox, and might work differently because the '/etc/' configuration 
schema might have changed.


In my case I had some weird problem either emerging some ebuild or 
keeping an old version of an ebuild to keep the functionality or the 
'/etc/' schema removed in the new versions.  I just let things sit, and 
moved on to other projects.  But when later on I tried to go back to the 
original issue, I had even more trouble because now I was even further 
behind @world, and more ebuilds would not upgrade because of deleted 
dependencies.


So to sum it up, my problem with Gentoo was that you could not just do 
iterative updates after long periods of inactivity.  You pretty much had 
to emerge daily and if you had some problem then drop everything and fix 
it right away, or else you'll fall even further behind and eventually 
might have to rebuild @world.  And so because constant attention 
intervention and trial and error was required you could not just compile 
huge ebuilds overnight and go about your life during the day.


The distro I would recommend to look at now is NixOS -- it is also 
source-based, but if you have problems with one package that will not 
prevent you from keeping the rest of the system up to date.  Upstream 
changes are pulled pretty regularly.  And even though it is 
source-based, you download most packages pre-compiled.  However if you 
want to you can tweak the source and re-compile locally.  You can also 
keep multiple versions of the same package.  You also do not mess 
directly with the '/etc/' files for individual packages, instead you 
specify a global configuration "recipe" in 
'/etc/nixos/configuration.nix', which is used to generate the 
package-specific '/etc/' files.  This layer of abstraction improves 
reliability and allows easy config cloning across machines.


The down-side is that NixOS has a radically-different paradigm that 
takes a while to wrap your head around, requires learning the Nix 
Expression Language (which is radically-different too), and is not yet 
that "mature" so theoretically things can break, but I would still 
recommend it over Chrome OS.



-- Marat


On 6/7/21 1:10 AM, n952162 wrote:
I'm looking for a gentoo alternative and am surprised to see that google 
chrome os is based on gentoo.


Does anybody have any experience with this?

Do they support multi-media and basic modern desktop capabilities?  I 
see that there's some concentration on a special browser, but I'd be 
running Firefox and FVWM anyway.


Do they use /portage/ and source packages?

Do they push down every single upstream modification, like gentoo does, 
or maybe have a bit of hysteresis?


I updated on May first and built firefox 78.10.*0*.  2+ days of 
building.  I updated on June first and built firefox  78.10.*1*. and 
spent 2+ days building.  I updated today because of the same old slot 
collision problems I've run into over a year


dev-python/setuptools:0
dev-python/setuptools_scm:0
dev-python/toml:0
dev-python/certifi:0
dev-python/jinja:0
dev-python/markupsafe:0

and now, on the 7th, I'm building firefox 78.11.   I just don't have the 
time for this.  It impacts my machines too much.


Yes, I know, there are binary versions, but if I wanted to use binary, I 
wouldn't use gentoo.  And anyway, there's always rust and gcc and ...







Re: [gentoo-user] OT: Filesystem permissions

2008-07-03 Thread Daniel Iliev
On Thu, 3 Jul 2008 17:40:01 +0200
Florian Philipp [EMAIL PROTECTED] wrote:

 Hi list!
 
 I'm a bit dissatisfied with the way umask and filesystem permissions
 work and I'd like to know if a) this is due to misunderstanding on my
 part and/or b) there is a clean workaround I'm unaware of.
 
 Let's say I have a system with various users working on some sensible
 data. Therefore I have to set up various security policies regarding
 file permissions and so forth.
 
 For example every $HOME-directory should be only readable to the user
 himself (e.g. for user phil_fl: chown phil_fl:phil:fl; umask 0077 or
 0007).
 
 Then there might be a common folder for all users in a specific group
 as a simple way of sharing files. These shall be accessible by every
 user in the group but by none else, so for the user phil_fl and the
 group users: chown phil_fl:users; umask 0007.
 
 As we see, the umask itself isn't the problem (in this special case)
 but the group is it, however, there might be cases in which need to
 change both for special folders. How do I do this without needing any
 interaction from the users?
 
 Thanks in advance!
 
 Florian Philipp


AFAIK it was RedHat who introduced the so called User Private Groups
scheme which is convenient exactly for situations like yours. Gentoo
also uses that scheme by default.

In short, instead of creating all user accounts as members of the group
users, now for every user account useradd(8) creates a private
group for the account in addition. Peter is created with main group
Peter, Ann is created with main group Ann and so on.

If you wanted Peter and Ann to share a common folder, you have to
create a common group for them (e.g. project) and add each of them to
that group. Then create a directory with owner root:project and the
GID bit on. The GID bit makes the newly created files in the directory
to be owned by the group project, instead by the group of the user
creating the file.

P.S.

This schema may be convenient for some things but as usual it also has
some disadvantages for others. I have asked here about one of the
disadvantages (my personal point of view) when I discovered there was a
new scheme:

http://thread.gmane.org/gmane.linux.gentoo.user/190110

-- 
Best regards,
Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Good Library Management software

2008-07-20 Thread kashani

Dirk Uys wrote:

Other than that there is also the added complexity to the
installation. You have to create a user in the database, create the
database and grant the user all the needed permission to that specific
database.

And what if one app prefers mySQL and another one postgreSQL? Now I
need to run two database servers that will be quite capable to fill
the data needs of two small businesses just because I want to use a
music player and a library utility for my ~50 books laying around.


	I can see your point and in many ways I agree. The issue is that local 
data storage limits the application in larger environments. A db 
provides a ready made and easily understandable way for multiple 
machines to read and write data. Being a large IT shop person I tend to 
avoid anything that does not use a db since it's unlikely that I will be 
able to use it at a job in the future. Nothing worse than having www07 
go down and take the company blog with it because we couldn't run the 
blog software on all ten machines because it had to use local storage. 
Additionally it's easier to backup one db cluster than twenty odd 
applications.


I can recommend a few things to make dealing with a db easier.

1. Settle on Mysql, 99% of anything you'll install can use it.
2. However apps that can use more than one database backened are 
*always* better written, more mature, and is usually a sign that the 
schema has been designed rather than tossing data in tables.
3. Don't mess with my.cnf unless you really need to. Default Mysql 
serving settings spec about 100MB of RAM usage which should be plenty 
for local apps with small storage needs.
4. Spend an hour learning about how your db works and come up with a 
system for user accounts and database names.


I always do something like this in Mysql:
create database kash_gallery2;
grant all privileges on kash_gallery2.* to [EMAIL PROTECTED] 
identified by 'mys3cr3tp2ss';


This way I know that only the kash_gallery2 user can access the 
kash_gallery2 db. I also know that kash_gallery2 is my Gallery install 
and not someone else's. I can easily add kash_gallery3 when a new 
version comes out and don't have to worry about how to deal with db 
'gallery' which I think is the default. You'll have to change the 
settings in the config file of the app to reflect your changes, but that 
should be simple.


kashani



[gentoo-user] postgresql replication with slony1

2008-08-28 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I need know if somebody here has installed/configured a postgresql 
replication where gentoo is a master host. I'm trying to make it using 
slony1, but have some mismatch configuration, look:

/
USER=postgres
CLUSTER=slave.host
DBUSER=snort
DBNAME=snort_log
DBHOST=master.host

LOGFILE=/var/lib/postgresql/data/slony1.log
LOGLEVEL=4   # 1(minimum)..4(maximum)/

I think that the error are in CLUSTER option looking in slony1's log:

/2008-08-28 15:16:57 BRT CONFIG main: slon version 1.2.10 starting up
2008-08-28 15:16:57 BRT DEBUG2 slon: watchdog process started
2008-08-28 15:16:57 BRT DEBUG2 slon: watchdog ready - pid = 22743
2008-08-28 15:16:57 BRT ERROR  cannot get sl_local_node_id - ERROR:  
schema _solaris.semfio.usp.br does not exi

st
2008-08-28 15:16:57 BRT FATAL  main: Node is not initialized properly - 
sleep 10s

2008-08-28 15:16:57 BRT DEBUG2 slon: worker process created - pid = 22751
2008-08-28 15:17:02 BRT DEBUG1 slon: shutdown requested
2008-08-28 15:17:02 BRT DEBUG2 slon: notify worker process to shutdown
2008-08-28 15:17:07 BRT DEBUG2 slon_retry() from pid=22751
2008-08-28 15:17:07 BRT DEBUG1 slon: retry requested
2008-08-28 15:17:07 BRT DEBUG2 slon: notify worker process to shutdown
2008-08-28 15:17:07 BRT FATAL  main: write to worker pipe failed -(9) 
Bad file descriptor

2008-08-28 15:17:07 BRT DEBUG2 slon: remove pid file
2008-08-28 15:17:07 BRT DEBUG2 slon: exit(-1)

/Then, if some smart guy has implemented yet this service have some 
trick or how-to to make it work in my gentoo box, i'll very gratefully.


If have any other method to make a postgresql repliction, like 
pgcluster, please talk to me.


Thanks for this time.

Zhu Sha Zang


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki29QcACgkQbLyL8mxGP9QO1gCgtv29yK1wiXcnGds/y+o4FieR
WpIAnjEyYlGmCnRoOEkBPBJqJjNI1sEF
=IIWx
-END PGP SIGNATURE-






___ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/




  1   2   >