Re: [gentoo-user] QA notices during font install

2015-02-09 Thread Alan McKinnon
On 10/02/2015 00:03, Walter Dnes wrote:
>   I've been itching for an excuse to do a re-install on my desktop.
> The original install some years ago was 32-bit because, back then,
> a few programs were not available in 64-bit mode.  Right after an
> upgrade on Friday, Flash entirely stopped working on my machine.  No
> Youtube, no internet radio, no NHL GameCentre Live.  After wasting a few
> hours trying to get Flash working, I decided it was time for a total
> re-install.  I'm now going to 64-bit no-multilib.
> 
>   Anyways, during the course of installing fonts for X, several of them
> came up with the following notice.  Is it a problem, or can I ignore it?
> 
>  * QA Notice: Unrecognized configure options:
>  *
>  *  --disable-iso8859-2
>  *  --disable-iso8859-3
>  *  --disable-iso8859-4
>  *  --disable-iso8859-5
>  *  --disable-iso8859-6
>  *  --disable-iso8859-7
>  *  --disable-iso8859-8
>  *  --disable-iso8859-9
>  *  --disable-iso8859-10
>  *  --disable-iso8859-11
>  *  --disable-iso8859-12
>  *  --disable-iso8859-13
>  *  --disable-iso8859-14
>  *  --disable-iso8859-15
>  *  --disable-iso8859-16
>  *  --disable-jisx0201
>  *  --disable-koi8-r
>  *  --disable-iso8859-2
>  *  --disable-iso8859-3
>  *  --disable-iso8859-4
>  *  --disable-iso8859-5
>  *  --disable-iso8859-6
>  *  --disable-iso8859-7
>  *  --disable-iso8859-8
>  *  --disable-iso8859-9
>  *  --disable-iso8859-10
>  *  --disable-iso8859-11
>  *  --disable-iso8859-12
>  *  --disable-iso8859-13
>  *  --disable-iso8859-14
>  *  --disable-iso8859-15
>  *  --disable-iso8859-16
>  *  --disable-jisx0201
>  *  --disable-koi8-r
> 

I haven't looked at the ebuilds, but I imagine they are safe to ignore.

All those options will enable character sets for European languages
using the latin alphabet (usually accented vowels and so forth). The
fonts you are installing don't have those character sets, so the option
should not have been enabled at all.

It looks like the ebuild is likely using a template configure step that
tries everything


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Making a new frame-buffer console font

2015-02-09 Thread wabenbau
Am Montag, 09.02.2015 um 08:49
schrieb Alan McKinnon :

> On 09/02/2015 00:50, Peter Humphrey wrote:
> > On Sunday 08 February 2015 17:31:33 waben...@gmail.com wrote:
> >> Am Sonntag, 08.02.2015 um 15:30 schrieb Alan McKinnon
> >> :
> >>> I actively seek out and use fonts with a stroked zero (or at least
> >>> with a dot in the middle of the zero. I can never remember if the
> >>> digit is the fat one or the thin one
> >>
> >> It's the same with me. :-)
> > 
> > I'd have thought it was easy enough: the zero is the same width as
> > the other numerals. The O is bigger.
> > 
> 
> 
> I have a horrible suspicion all 3 of us wear spectacles :-)

I have three spectacles. One for reading phone and books, one for screen
reading and other indoor activities and one for outdoor orientation. :-)
 
> And it's been a few years since I could spot a difference of 2 pixels
> wide!

If I wear the right glasses for the respective distance I luckily have
a relative good eyesight. But I must let adjust my glasses every year
by an optician because of aging.

Nevertheless I prefer easy readable fonts and big screens. They just
causing less stress.

Regards
wabe



[gentoo-user] Re: Manipulating ext2 image without root access.

2015-02-09 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 02/09/2015 10:23 PM, Fernando Rodriguez wrote:
> Hi,
> 
> I need a way to manipulate a ext2 HD image as a regular user
> (without mounting it). All I need is to copy a file to the image
> (possibly overwritting an existing file). For FAT it can be done
> with mtools, is there anything like it of ext?
> 
> 
> 

It is possible to do this with debugfs(8), although you probably want
to run e2fsck(8) on the filesystem after modifying it via debugfs.
Keeping a backup copy of the image might not be a bad idea as well.

- -- 
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJU2YN0AAoJEEIQbvYRB3mg3DsQANCqRmtuMtlMfq8TbGfUhtPu
4nzMkVgDaWoVmWjh6aYnjEfvU44wayPAZB82mJiyorJxLSX4s3br0A5aZgILsXhw
hT3V/htSIjJCPEo86hq2KOuN0HBmqacEPbJu+CEEYgMIn1K3aUA8chFUKmNmr1UN
qvI+6JYcbj5Ik9SqtthSHtD9TqgiVobT1p4jAE9qOBl9CfHZo1kzzMmpJH28+2WM
Ae8zLje+ngZCzDkbk+IyCNeTBjArHnj/PADrxkOUuGBUV6+aS0QytzHhXrouqVVZ
2vxN92LRSh2SnhAfL98flobLTCwmRolwRwW0pMwYNFpZn91ED9N8cxyM3LE5WDTA
xp5ajHjiDXelxpkXzWdl1qFpZQ9KkSVxfKeblda6pgU6BwLsGIO77aXWNjKaCoRm
KJRtN5q0TSeGWUZvtG001r0Hfo8s5wbloUVk2cZ1owugjToy2+LzEdORSo1iA6eI
W4HV/AED13di6VNxg05osjf37iBnk284DLzF39B1PlmHbBx19GSSYgFulfB4+hrt
ub/8ML30NflhWAHqRio0FPtKs3Q9yvwfKNIZtrPL5QrfNI4bl5D8BRY3V6E4LsFE
TAbbZkHjUqaPLnUEbeoPJ7whoYi2JK9VfYDcfGqNojiOOK11Ql/MKV1Ft58oduSU
DZ3tlCW+AFtYLIGcNjfH
=BR1D
-END PGP SIGNATURE-



Re: [gentoo-user] netbook connects to Internet automatically, desktop doesn't

2015-02-09 Thread Philip Webb
150209 Neil Bothwick wrote:
> On Sun, 8 Feb 2015 19:54:07 -0500, Philip Webb wrote:
>> I discovered that my ASUS EEE connects automatically to the Internet
>> when the physical connection is plugged in,
>> while my desktop machine (AMD + Gigabyte mobo) has to be told by 'dhcpcd'.
>> I've checked  /etc/runlevels/default  &  /etc/udev  in both machines,
>> but can't see anything different between the two.
> Check /etc/rc.conf, especially the hotplug section.

There's no difference.

> Also check whether you have ifplugd or netplug installed on your laptop
> but not on the desktop.

Neither has either installed.

Looking at a 'gvimdiff' of the  2  extracts from 'syslog',
I notice  3  differences : (1) when the connection is broken,
the desktop machine receives an ALRM signal,
which causes a process to exit (PID 997),
whereas the netbook shows only "carrier lost, deleting route" ;
(2) when the connection is restored, the netbook says "carrier acquired"
& then there's a kernel msg re a NIC link, whereas the desktop is blank ;
(3) the kernel msgs refer to different chips 'r8169' 'atl1c'.

Does any of this ring a bell for anyone ?

Thanks so far.

Desktop msgs :

Feb  8 09:26:09 localhost dhcpcd[980]: version 6.6.7 starting
Feb  8 09:26:09 localhost dhcpcd[980]: dev: loaded udev
Feb  8 09:26:09 localhost dhcpcd[980]: no interfaces have a carrier
Feb  8 09:26:09 localhost dhcpcd[980]: forked to background, child pid 997
Feb  8 09:26:09 localhost dhcpcd[997]: enp5s0: waiting for carrier
Feb  8 09:26:09 localhost kernel: r8169 :05:00.0 enp5s0: link down
Feb  8 09:26:09 localhost kernel: r8169 :05:00.0 enp5s0: link down
Feb  8 09:26:09 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): enp5s0: link is 
not ready
Feb  8 09:26:11 localhost dhcpcd[997]: enp5s0: carrier acquired
Feb  8 09:26:11 localhost kernel: r8169 :05:00.0 enp5s0: link up
Feb  8 09:26:11 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link 
becomes ready
Feb  8 09:26:11 localhost dhcpcd[997]: DUID 
00:01:00:01:1a:1b:b4:7e:50:e5:49:c6:10:3a
Feb  8 09:26:11 localhost dhcpcd[997]: enp5s0: IAID 49:c6:10:3a
Feb  8 09:26:11 localhost dhcpcd[997]: enp5s0: rebinding lease of 192.168.1.2
Feb  8 09:26:14 localhost dhcpcd[997]: enp5s0: NAK: from 192.168.1.1
Feb  8 09:26:14 localhost dhcpcd[997]: enp5s0: soliciting a DHCP lease
Feb  8 09:26:16 localhost dhcpcd[997]: enp5s0: offered 192.168.1.2 from 
192.168.1.1
Feb  8 09:26:21 localhost dhcpcd[997]: enp5s0: leased 192.168.1.2 for 86400 
seconds
Feb  8 09:26:21 localhost dhcpcd[997]: enp5s0: adding route to 192.168.1.0/24
Feb  8 09:26:21 localhost dhcpcd[997]: enp5s0: adding default route via 
192.168.1.1
Feb  8 09:26:22 localhost ntpd[837]: Listen normally on 2 enp5s0 192.168.1.2:123
...
# PP : 'ioff', remove conn'n
Feb  8 18:54:26 localhost dhcpcd[11404]: sending signal ARLM to pid 997
Feb  8 18:54:26 localhost dhcpcd[11404]: waiting for pid 997 to exit
Feb  8 18:54:26 localhost dhcpcd[997]: received signal ALRM from PID 11404, 
releasing
Feb  8 18:54:26 localhost dhcpcd[997]: enp5s0: removing interface
Feb  8 18:54:26 localhost dhcpcd[997]: enp5s0: releasing lease of 192.168.1.2
Feb  8 18:54:26 localhost dhcpcd[997]: enp5s0: deleting route to 192.168.1.0/24
Feb  8 18:54:26 localhost dhcpcd[997]: enp5s0: deleting default route via 
192.168.1.1
Feb  8 18:54:26 localhost dhcpcd[997]: exited
...
Feb  8 18:54:35 localhost kernel: r8169 :05:00.0 enp5s0: link down
...
# PP : restore conn'n
Feb  8 19:18:11 localhost kernel: r8169 :05:00.0 enp5s0: link up
# PP : Firefox can't find site

Netbook msgs :

Dec 31 19:00:23 localhost dhcpcd[1323]: version 6.4.7 starting
Dec 31 19:00:23 localhost dhcpcd[1323]: dev: loaded udev
Dec 31 19:00:23 localhost dhcpcd[1323]: no interfaces have a carrier
Dec 31 19:00:23 localhost dhcpcd[1323]: forked to background, child pid 1346
Dec 31 19:00:23 localhost kernel: atl1c :01:00.0: Unable to allocate MSI 
interrupt Error: -38
Dec 31 19:00:23 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is 
not ready
Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: waiting for carrier
Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: carrier acquired
Dec 31 19:00:23 localhost dhcpcd[1346]: DUID 
00:01:00:01:03:c3:b8:97:00:26:18:79:64:16
Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: IAID 18:79:64:16
Dec 31 19:00:23 localhost dhcpcd[1346]: enp1s0: carrier lost
Dec 31 19:00:29 localhost dhcpcd[1346]: enp1s0: using IPv4LL address 
169.254.91.169
Dec 31 19:00:29 localhost dhcpcd[1346]: enp1s0: adding route to 169.254.0.0/16
Dec 31 19:00:33 localhost dhcpcd[1346]: enp1s0: soliciting a DHCP lease
...
Feb  8 18:54:59 localhost dhcpcd[1346]: enp1s0: carrier acquired
...
Feb  8 18:54:59 localhost dhcpcd[1346]: enp1s0: IAID 18:79:64:16
Feb  8 18:54:59 localhost dhcpcd[1346]: enp1s0: soliciting a DHCP lease
Feb  8 18:55:07 localhost dhcpcd[1346]: enp1s0: offered 192.168.1.3 from 
192.168.1.1
Feb  8 18:55:11 localhost dhcpcd[1346]: enp1s0: leased 192.168.1.3 for 86400 
seconds
Feb

[gentoo-user] Manipulating ext2 image without root access.

2015-02-09 Thread Fernando Rodriguez
Hi,

I need a way to manipulate a ext2 HD image as a regular user (without mounting 
it). All I need is to copy a file to the image (possibly overwritting an 
existing file). For FAT it can be done with mtools, is there anything like it 
of ext?


-- 
Fernando Rodriguez


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


Re: [gentoo-user] nomachine <--> nxserver-freenx

2015-02-09 Thread Joseph

On 02/10/15 11:01, Guillaume Poulin wrote:

When I was using it back in ~2008, it was working. However, freenx
seems to be an abandoned project, no update since 2008
(http://sourceforge.net/projects/freenx.berlios/files/?source=navbar).
ArchWiki suggests to use x2go instead
(https://wiki.archlinux.org/index.php/FreeNX).

2015-02-10 10:49 GMT+08:00 Joseph :

Will "nomachine" talk to "nxserver-freenx"
I've installed "nxserver-freenx" on Gentoo but on the other end I have
"nomachine" running on ubuntu.
I couldn't find/install freenx on ubuntu.


I'm still using "nxserver-freenx" and "nxclient" they are working OK with XFCE
and they are still valid packages.

Does it mean, they might be pulled out of gentoo packages?
Is x2go stable on XFCE4?

--
Joseph



Re: [gentoo-user] nomachine <--> nxserver-freenx

2015-02-09 Thread Guillaume Poulin
When I was using it back in ~2008, it was working. However, freenx
seems to be an abandoned project, no update since 2008
(http://sourceforge.net/projects/freenx.berlios/files/?source=navbar).
ArchWiki suggests to use x2go instead
(https://wiki.archlinux.org/index.php/FreeNX).

2015-02-10 10:49 GMT+08:00 Joseph :
> Will "nomachine" talk to "nxserver-freenx"
> I've installed "nxserver-freenx" on Gentoo but on the other end I have
> "nomachine" running on ubuntu.
> I couldn't find/install freenx on ubuntu.
>
> --
> Joseph
>



[gentoo-user] nomachine <--> nxserver-freenx

2015-02-09 Thread Joseph

Will "nomachine" talk to "nxserver-freenx"
I've installed "nxserver-freenx" on Gentoo but on the other end I have 
"nomachine" running on ubuntu.
I couldn't find/install freenx on ubuntu.

--
Joseph



[gentoo-user] Re: rebuild of graphviz failed

2015-02-09 Thread James
  gmail.com> writes:


> > > cp: cannot stat '/usr/share/libtool/config/install-sh': No such
> > > file or directory

Just got the same result. Probably gotta sync tomorrow and try again.

hth,
James









Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Dutch Ingraham
On Mon, Feb 09, 2015 at 07:06:15PM -0700, Joseph wrote:
> On 02/09/15 02:24, waben...@gmail.com wrote:
> >Am Sonntag, 08.02.2015 um 18:05
> >schrieb Joseph :
> >
> >> I have an old Asus EEE PC 1000 and I don't think it will run Gentoo,
> >> it would be too slow to compile anything. It is running Ubuntu 11.10
> >> and I think I'll need to re-install lighter version of Linux on it.
> >> What are my alternatives?
> >>
> >> I'll would like to run VPN, some browser on it and skype.
> >>
> >
> >On slow machines I tend to install xubuntu.
> >
> >Regards
> >wabe
> 
> I've tried "xubuntu" but I can not install freenx on it.  The documentation 
> doesn't exist and it is not in default repository.
> What alternatives are there.  I know Gentoo might work, I would need to boot 
> strap, configure kernel and setup distcc, one week work.
> 
> -- 
> Joseph


On my oldest machine (Dell laptop from 1998), with 4GiB HDD and 128 mb of ram,
I run OpenBSD and it works perfectly, given the circumstances.  All binaries, 
so no compiling.  True, I can't use Firefox, Thunderbird, or other real 
RAM hogs, but I can use X, lightweight graphical browsers, mutt, etc.  
Install time is about one-half hour.



Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Joseph

On 02/09/15 02:24, waben...@gmail.com wrote:

Am Sonntag, 08.02.2015 um 18:05
schrieb Joseph :


I have an old Asus EEE PC 1000 and I don't think it will run Gentoo,
it would be too slow to compile anything. It is running Ubuntu 11.10
and I think I'll need to re-install lighter version of Linux on it.
What are my alternatives?

I'll would like to run VPN, some browser on it and skype.



On slow machines I tend to install xubuntu.

Regards
wabe


I've tried "xubuntu" but I can not install freenx on it.  The documentation 
doesn't exist and it is not in default repository.
What alternatives are there.  I know Gentoo might work, I would need to boot 
strap, configure kernel and setup distcc, one week work.

--
Joseph



Re: [gentoo-user] Re: rebuild of graphviz failed

2015-02-09 Thread wabenbau
Am Montag, 09.02.2015 um 19:15
schrieb »Q« :

> On Tue, 10 Feb 2015 01:10:42 +0100
> bitlord  wrote:
> 
> > On Tue, 10 Feb 2015 00:55:00 +0100
> >  wrote:
>  
> > > after the last update, rebuild of graphviz failed with:
> 
> > Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
> > I did a trick, downgraded libtool, installed graphviz, upgraded
> > libtool ... (worked for me on two systems)
> 
> Another option is to just let graphviz keep using the preserved lib(s)
> until it gets sorted out.

Yes, that would really be an option. But I've chosen the workaround
that Adam told me and it worked for me. Nevertheless I hope that the
next update of graphviz will solve the problem in a proper way.

Regards
wabe



Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread wabenbau
Am Dienstag, 10.02.2015 um 11:06
schrieb Adam Carter :

> >
> > cp: cannot stat '/usr/share/libtool/config/install-sh': No such
> > file or directory
> >
> 
>  $ qlist libtool | grep install
> /usr/share/libtool/build-aux/install-sh
> 
> So that path is wrong, or maybe a link is missing. Maybe rebuild
> libtool? FWIW im at 2.4.4

THX for the answer but that didn't help.

Regards
wabe



Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread wabenbau
Am Dienstag, 10.02.2015 um 01:10
schrieb bitlord :

> On Tue, 10 Feb 2015 00:55:00 +0100
>  wrote:
> 
> > Hi folks,
> > 
> > after the last update, rebuild of graphviz failed with:
> > 
> >  * Package:media-gfx/graphviz-2.26.3-r4
> >  * Repository: gentoo
> >  * Maintainer: graph...@gentoo.org
> >  * USE:abi_x86_64 amd64 cairo doc elibc_glibc examples gtk
> > kernel_linux nls perl python userland_GNU
> >  * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
> > >>> Unpacking source...
> > >>> Unpacking graphviz-2.26.3.tar.gz
> > >>> to /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
> > >>> Source unpacked
> > >>> in /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
> > >>> Preparing source
> > >>> in 
> > >>> /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3
> > >>>  ...
> >  * Applying graphviz-2.26.3-libtool.patch ...
> >  [ ok ]
> >  * Applying graphviz-2.26.3-automake-1.11.2.patch ...
> >  [ ok ]
> > cp: cannot stat '/usr/share/libtool/config/install-sh': No such file
> > or directory
> >  * ERROR: media-gfx/graphviz-2.26.3-r4::gentoo failed (prepare
> > phase):
> >  *   (no error message)
> >  * 
> >  * Call stack:
> >  * ebuild.sh, line  93:  Called src_prepare
> >  *   environment, line 5681:  Called die
> >  * The specific snippet of code:
> >  *   cp "${EPREFIX}"/usr/share/libtool/config/install-sh
> > config || die;
> >  * 
> >  * If you need support, post the output of `emerge --info
> > '=media-gfx/graphviz-2.26.3-r4::gentoo'`,
> >  * the complete build log and the output of `emerge -pqv
> > '=media-gfx/graphviz-2.26.3-r4::gentoo'`.
> >  * The complete build log is located at
> > '/var/log/portage/media-gfx:graphviz-2.26.3-r4:20150209-234745.log'.
> >  * The ebuild environment file is located at
> > '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/temp/environment'.
> >  * Working directory:
> > '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
> >  * S:
> > '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
> > 
> > Any recommendations how I can solve this problem?
> > 
> > Regards
> > wabe
> > 
> 
> Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
> I did a trick, downgraded libtool, installed graphviz, upgraded
> libtool ... (worked for me on two systems)

THX a lot for the information and the workaround. It also worked for me.

Regards
wabe



[gentoo-user] Re: rebuild of graphviz failed

2015-02-09 Thread »Q«
On Tue, 10 Feb 2015 01:10:42 +0100
bitlord  wrote:

> On Tue, 10 Feb 2015 00:55:00 +0100
>  wrote:
 
> > after the last update, rebuild of graphviz failed with:

> Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
> I did a trick, downgraded libtool, installed graphviz, upgraded
> libtool ... (worked for me on two systems)

Another option is to just let graphviz keep using the preserved lib(s)
until it gets sorted out.




Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Joseph

On 02/09/15 23:54, Andrew Savchenko wrote:

Hello,

On Sun, 8 Feb 2015 18:05:44 -0700 Joseph wrote:

I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would 
be too slow to compile anything.
It is running Ubuntu 11.10 and I think I'll need to re-install lighter version 
of Linux on it.
What are my alternatives?


Just use Gentoo. I have an EeePC 1000H and it runs fine.

Well, I replaced memory bank with 2GB one and setup my system to
be slightly overclocked (1700 MHz) when on AC power using SHE
technology (available in linux kernel). But even without memory
upgrade hardware is fine.


I'll would like to run VPN, some browser on it and skype.


VPNs are lightweight packages (e.g. openvpn). Both firefox and
chromium are not a problem. Skype is binary only, so no difference
from other distributions here.

The only real problem with this hardware are @world updates. To
facilitate this process use ccache and distcc. You most likely have
another more powerful box (e.g. a desktop or more powerful laptop),
so you can setup distcc there regardless of the distribution. So
powerful box will compile C/C++/ObjC code for you, while EeePC will
handle

If by some chance you have another peace of very powreful
hardware (e.g. 2x recent Xeon) there is another approach to follow.
You may export root filesystem from EeePC to that host via NFS,
setarch and chroot to it and run all stuff from your powerful box.
This way the only bottleneck will be 100 Mbps network interface,
which is quite bearable, especially using caching (like
cachefilesd).

Yet again, all these tricks are required for @world updates only,
for other stuff EeePC is self sufficient box.

Best regards,
Andrew Savchenko


I've installed xubuntu as I need it fast. I know it will take me a week or so 
to configure and compile Gentoo on it, just to boot strap.
And it would take me some time to configure distcc on my faster boxes for 
compilation, especially that it was a long time ago when I plaid with it.

--
Joseph



Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread bitlord
On Tue, 10 Feb 2015 00:55:00 +0100
 wrote:

> Hi folks,
> 
> after the last update, rebuild of graphviz failed with:
> 
>  * Package:media-gfx/graphviz-2.26.3-r4
>  * Repository: gentoo
>  * Maintainer: graph...@gentoo.org
>  * USE:abi_x86_64 amd64 cairo doc elibc_glibc examples gtk
> kernel_linux nls perl python userland_GNU
>  * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
> >>> Unpacking source...
> >>> Unpacking graphviz-2.26.3.tar.gz
> >>> to /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
> >>> Source unpacked
> >>> in /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
> >>> Preparing source
> >>> in 
> >>> /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3
> >>>  ...
>  * Applying graphviz-2.26.3-libtool.patch ...
>  [ ok ]
>  * Applying graphviz-2.26.3-automake-1.11.2.patch ...
>  [ ok ]
> cp: cannot stat '/usr/share/libtool/config/install-sh': No such file
> or directory
>  * ERROR: media-gfx/graphviz-2.26.3-r4::gentoo failed (prepare phase):
>  *   (no error message)
>  * 
>  * Call stack:
>  * ebuild.sh, line  93:  Called src_prepare
>  *   environment, line 5681:  Called die
>  * The specific snippet of code:
>  *   cp "${EPREFIX}"/usr/share/libtool/config/install-sh
> config || die;
>  * 
>  * If you need support, post the output of `emerge --info
> '=media-gfx/graphviz-2.26.3-r4::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=media-gfx/graphviz-2.26.3-r4::gentoo'`.
>  * The complete build log is located at
> '/var/log/portage/media-gfx:graphviz-2.26.3-r4:20150209-234745.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
>  * S:
> '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
> 
> Any recommendations how I can solve this problem?
> 
> Regards
> wabe
> 

Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
I did a trick, downgraded libtool, installed graphviz, upgraded
libtool ... (worked for me on two systems)



Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread Adam Carter
>
> cp: cannot stat '/usr/share/libtool/config/install-sh': No such file or
> directory
>

 $ qlist libtool | grep install
/usr/share/libtool/build-aux/install-sh

So that path is wrong, or maybe a link is missing. Maybe rebuild libtool?
FWIW im at 2.4.4


[gentoo-user] rebuild of graphviz failed

2015-02-09 Thread wabenbau
Hi folks,

after the last update, rebuild of graphviz failed with:

 * Package:media-gfx/graphviz-2.26.3-r4
 * Repository: gentoo
 * Maintainer: graph...@gentoo.org
 * USE:abi_x86_64 amd64 cairo doc elibc_glibc examples gtk kernel_linux 
nls perl python userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking graphviz-2.26.3.tar.gz to 
>>> /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
>>> Source unpacked in 
>>> /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
>>> Preparing source in 
>>> /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3 
>>> ...
 * Applying graphviz-2.26.3-libtool.patch ...
 [ ok ]
 * Applying graphviz-2.26.3-automake-1.11.2.patch ...
 [ ok ]
cp: cannot stat '/usr/share/libtool/config/install-sh': No such file or 
directory
 * ERROR: media-gfx/graphviz-2.26.3-r4::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 * ebuild.sh, line  93:  Called src_prepare
 *   environment, line 5681:  Called die
 * The specific snippet of code:
 *   cp "${EPREFIX}"/usr/share/libtool/config/install-sh config || die;
 * 
 * If you need support, post the output of `emerge --info 
'=media-gfx/graphviz-2.26.3-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=media-gfx/graphviz-2.26.3-r4::gentoo'`.
 * The complete build log is located at 
'/var/log/portage/media-gfx:graphviz-2.26.3-r4:20150209-234745.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/temp/environment'.
 * Working directory: 
'/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
 * S: 
'/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'

Any recommendations how I can solve this problem?

Regards
wabe



[gentoo-user] Anyone familiar with virt-manager?

2015-02-09 Thread walt
I just installed virt-manager to experiment with and this is the first
time I've used it.  I think I've misconfigured something but I don't
know what:

I have an old WinXP qemu guest that has been working well when I run
it directly with qemu from the command line.  I imported the XP guest
into virt-manager and fired it up.

The XP guest seems to be running normally in virt-manager except that
the mouse never captures, though the keyboard is working fine.

Anyone have any wild guesses what I might be doing wrong?

(BTW, after I shut down virt-manager I re-ran the XP guest directly with
qemu and the mouse capture still works, so there's nothing corrupted in
the XP image file.)




[gentoo-user] Re: Making a new frame-buffer console font

2015-02-09 Thread Grant Edwards
On 2015-02-08,   wrote:
> Am Sonntag, 08.02.2015 um 15:30
> schrieb Alan McKinnon :
>
>> On 08/02/2015 13:00, Neil Bothwick wrote:
>> > On Sun, 08 Feb 2015 09:33:59 +, Peter Humphrey wrote:
>> > 
>> >>> I don't know what you mean with oblique stroke. Do you mean the
>> >>> slash through the letter zero? Anyway, I don't know how to remove
>> >>> it.  
>> > 
>> >> I've always been puzzled by that form of zero, and recently since
>> >> it started causing me difficulty I've come to loathe it. :-(
>> > 
>> > It dates back to the days when fonts were much coarser and it was
>> > the only reliable way to distinguish between a zero and a capital
>> > o. Less useful nowadays and many fonts no longer use it.
>> > 
>> > 
>> 
>> 
>> I actively seek out and use fonts with a stroked zero (or at least
>> with a dot in the middle of the zero. I can never remember if the
>> digit is the fat one or the thin one
>
> It's the same with me. :-) 

Me too.

-- 
Grant Edwards   grant.b.edwardsYow! My mind is a potato
  at   field ...
  gmail.com




[gentoo-user] QA notices during font install

2015-02-09 Thread Walter Dnes
  I've been itching for an excuse to do a re-install on my desktop.
The original install some years ago was 32-bit because, back then,
a few programs were not available in 64-bit mode.  Right after an
upgrade on Friday, Flash entirely stopped working on my machine.  No
Youtube, no internet radio, no NHL GameCentre Live.  After wasting a few
hours trying to get Flash working, I decided it was time for a total
re-install.  I'm now going to 64-bit no-multilib.

  Anyways, during the course of installing fonts for X, several of them
came up with the following notice.  Is it a problem, or can I ignore it?

 * QA Notice: Unrecognized configure options:
 *
 *  --disable-iso8859-2
 *  --disable-iso8859-3
 *  --disable-iso8859-4
 *  --disable-iso8859-5
 *  --disable-iso8859-6
 *  --disable-iso8859-7
 *  --disable-iso8859-8
 *  --disable-iso8859-9
 *  --disable-iso8859-10
 *  --disable-iso8859-11
 *  --disable-iso8859-12
 *  --disable-iso8859-13
 *  --disable-iso8859-14
 *  --disable-iso8859-15
 *  --disable-iso8859-16
 *  --disable-jisx0201
 *  --disable-koi8-r
 *  --disable-iso8859-2
 *  --disable-iso8859-3
 *  --disable-iso8859-4
 *  --disable-iso8859-5
 *  --disable-iso8859-6
 *  --disable-iso8859-7
 *  --disable-iso8859-8
 *  --disable-iso8859-9
 *  --disable-iso8859-10
 *  --disable-iso8859-11
 *  --disable-iso8859-12
 *  --disable-iso8859-13
 *  --disable-iso8859-14
 *  --disable-iso8859-15
 *  --disable-iso8859-16
 *  --disable-jisx0201
 *  --disable-koi8-r

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Andrew Savchenko
Hello,

On Sun, 8 Feb 2015 18:05:44 -0700 Joseph wrote:
> I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would 
> be too slow to compile anything.
> It is running Ubuntu 11.10 and I think I'll need to re-install lighter 
> version of Linux on it.
> What are my alternatives?

Just use Gentoo. I have an EeePC 1000H and it runs fine.

Well, I replaced memory bank with 2GB one and setup my system to
be slightly overclocked (1700 MHz) when on AC power using SHE
technology (available in linux kernel). But even without memory
upgrade hardware is fine.

> I'll would like to run VPN, some browser on it and skype.

VPNs are lightweight packages (e.g. openvpn). Both firefox and
chromium are not a problem. Skype is binary only, so no difference
from other distributions here.

The only real problem with this hardware are @world updates. To
facilitate this process use ccache and distcc. You most likely have
another more powerful box (e.g. a desktop or more powerful laptop),
so you can setup distcc there regardless of the distribution. So
powerful box will compile C/C++/ObjC code for you, while EeePC will
handle 

If by some chance you have another peace of very powreful
hardware (e.g. 2x recent Xeon) there is another approach to follow.
You may export root filesystem from EeePC to that host via NFS,
setarch and chroot to it and run all stuff from your powerful box.
This way the only bottleneck will be 100 Mbps network interface,
which is quite bearable, especially using caching (like
cachefilesd).

Yet again, all these tricks are required for @world updates only,
for other stuff EeePC is self sufficient box.

Best regards,
Andrew Savchenko


pgpyDJl2Xegal.pgp
Description: PGP signature


[gentoo-user] eudev

2015-02-09 Thread James
Hello


So, I've been wanting to test eudev for a while now. I found these
instructions in many places, so I have it a whirl:

# emerge -Ca udev 
# emerge -1a eudev 
# etc-update 
# emerge @preserved-rebuild

Problem is I had the 'udev' flag set in the make.conf, so it just
reinstalled udev (216). so I figured I'd better ask about the 
convsion of udev-216 to eudev-1.10-r2  (stable) or if I should
run eudev-2.1.1 ?

Beside also removing the 'udev' flag, do I have any other issues
or caveats? I'd like to also go with manually naming the ethernet
interfaces under eudev; I have not found any specific docs on that
either.

Discussion and Suggestions are most welcome.


James






Re: [gentoo-user] openvpn

2015-02-09 Thread Alon Bar-Lev
On Mon, Feb 9, 2015 at 8:57 PM, Joseph  wrote:
>
> On 02/09/15 13:47, Michael Orlitzky wrote:
>>
>> On 02/09/2015 01:42 PM, Joseph wrote:
>>>
>>> I've openvpn installed:
>>> ...
>>>
>>> amd I'm trying to generate server key but I don't have directory: 
>>> /usr/share/openvpn/easy-rsa/
>>> does "openvpn" creates this directory or I do it manually?
>>>
>>
>> It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was
>> split off.
>
>
> I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't 
> created.

the following command will be handy for you:

$ equery files easy-resa



Re: [gentoo-user] openvpn

2015-02-09 Thread Michael Orlitzky
On 02/09/2015 01:57 PM, Joseph wrote:
>>
>> It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was
>> split off.
> 
> I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't 
> created.
> 

That's because

>> It moved to /usr/share/easy-rsa

=)




Re: [gentoo-user] openvpn

2015-02-09 Thread Joseph

On 02/09/15 11:57, Joseph wrote:

On 02/09/15 13:47, Michael Orlitzky wrote:

On 02/09/2015 01:42 PM, Joseph wrote:

I've openvpn installed:
...

amd I'm trying to generate server key but I don't have directory: 
/usr/share/openvpn/easy-rsa/
does "openvpn" creates this directory or I do it manually?



It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was
split off.


I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't 
created.


now it is:
/usr/share/easy-rsa/

--
Joseph



Re: [gentoo-user] openvpn

2015-02-09 Thread Joseph

On 02/09/15 13:47, Michael Orlitzky wrote:

On 02/09/2015 01:42 PM, Joseph wrote:

I've openvpn installed:
...

amd I'm trying to generate server key but I don't have directory: 
/usr/share/openvpn/easy-rsa/
does "openvpn" creates this directory or I do it manually?



It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was
split off.


I've emerged easy-rsa but the /usr/share/openvpn/easy-rsa/ directory wasn't 
created.

--
Joseph



Re: [gentoo-user] openvpn

2015-02-09 Thread Joseph


On 02/09/15 11:42, Joseph wrote:

I've openvpn installed:
Installed versions:  2.3.6(11:44:47 PM 01/30/2015)(lzo pam plugins ssl 
-down-root -examples -iproute2 -passwordsave -pkcs11 -polarssl -selinux -static 
-systemd
USERLAND="-BSD")

amd I'm trying to generate server key but I don't have directory: 
/usr/share/openvpn/easy-rsa/
does "openvpn" creates this directory or I do it manually?

--
Joseph


Thanks I found it.
"...Openvpn prior to 2.3 have easy-rsa scripts included, not the current one"

--
Joseph



Re: [gentoo-user] openvpn

2015-02-09 Thread Alon Bar-Lev
you can install app-crypt/easyrsa

On Mon, Feb 9, 2015 at 8:42 PM, Joseph  wrote:

> I've openvpn installed:
> Installed versions:  2.3.6(11:44:47 PM 01/30/2015)(lzo pam plugins ssl
> -down-root -examples -iproute2 -passwordsave -pkcs11 -polarssl -selinux
> -static -systemd USERLAND="-BSD")
>
> amd I'm trying to generate server key but I don't have directory:
> /usr/share/openvpn/easy-rsa/
> does "openvpn" creates this directory or I do it manually?
>
> --
> Joseph
>
>


Re: [gentoo-user] openvpn

2015-02-09 Thread Michael Orlitzky
On 02/09/2015 01:42 PM, Joseph wrote:
> I've openvpn installed:
> ...
> 
> amd I'm trying to generate server key but I don't have directory: 
> /usr/share/openvpn/easy-rsa/
> does "openvpn" creates this directory or I do it manually?
> 

It moved to /usr/share/easy-rsa when the app-crypt/easy-rsa package was
split off.




[gentoo-user] openvpn

2015-02-09 Thread Joseph

I've openvpn installed:
Installed versions:  2.3.6(11:44:47 PM 01/30/2015)(lzo pam plugins ssl -down-root -examples -iproute2 -passwordsave -pkcs11 -polarssl -selinux -static -systemd 
USERLAND="-BSD")


amd I'm trying to generate server key but I don't have directory: 
/usr/share/openvpn/easy-rsa/
does "openvpn" creates this directory or I do it manually?

--
Joseph



Re: [gentoo-user] libvirt: lsisas1068 controller

2015-02-09 Thread Stefan G. Weichinger
On 09.02.2015 16:37, Stefan G. Weichinger wrote:
> 
> Does anyone know why I can't use the
> 
> 
> 
> when I do a "virsh edit myvm" while there is a model "lsisas1078" available?
> 
> According to https://libvirt.org/formatdomain.html#elementsControllers
> there should be both.
> 
> I have to convert/migrate a VMware VM using that lsisas1068-controller
> and it doesn't boot with something else so far (windows server 2012r2
> inside ...)
> 
> libvirt-1.2.10-r3 installed ...
> 
> If anyone has an idea or pointer ?

obsolete ... (but still interesting) -> it booted with default
IDE-drivers :-P

now for virtio. sure!






Re: [gentoo-user] libvirt: lsisas1068 controller

2015-02-09 Thread Stefan G. Weichinger
On 09.02.2015 16:37, Stefan G. Weichinger wrote:
> 
> Does anyone know why I can't use the
> 
> 
> 
> when I do a "virsh edit myvm" while there is a model "lsisas1078" available?
> 
> According to https://libvirt.org/formatdomain.html#elementsControllers
> there should be both.
> 
> I have to convert/migrate a VMware VM using that lsisas1068-controller
> and it doesn't boot with something else so far (windows server 2012r2
> inside ...)
> 
> libvirt-1.2.10-r3 installed ...
> 
> If anyone has an idea or pointer ?

obsolete ... (but still interesting) -> it booted with default
IDE-drivers :-P

now for virtio. sure!






[gentoo-user] libvirt: lsisas1068 controller

2015-02-09 Thread Stefan G. Weichinger

Does anyone know why I can't use the



when I do a "virsh edit myvm" while there is a model "lsisas1078" available?

According to https://libvirt.org/formatdomain.html#elementsControllers
there should be both.

I have to convert/migrate a VMware VM using that lsisas1068-controller
and it doesn't boot with something else so far (windows server 2012r2
inside ...)

libvirt-1.2.10-r3 installed ...

If anyone has an idea or pointer ?

Thanks, Stefan



[gentoo-user]

2015-02-09 Thread alexandra vargas
 
  

Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread covici
Rich Freeman  wrote:

> On Mon, Feb 9, 2015 at 9:26 AM,   wrote:
> >
> > I wonder if the original poster is using systemd?
> 
> He already said he isn't.  He just was looking for the wrong filename.
> 
> > Also, I find journalctl very clumsy to find things about a specific
> > program, such as mail logs or whatever -- unless I am missing
> > something.
> 
> Well, the journal only contains stuff sent to it.  So, if apache dumps
> some stuff to stdout or to /dev/log or whatever then it will be in the
> journal.  If apache dumps its logs directly to a file in
> /var/log/apache then the journal won't contain it.  Many files in
> /var/log were not created by syslog-ng, and this would not show up in
> the journal.
> 
> >  I use syslog-ng, although I get a lot of messages which say
> > forwarding to syslog missed n messages from system journal, so maybe
> > its a problem, but how would you use logwatch without something like
> > syslog-ng?
> 
> You'd need to use a systemd-aware log watcher.

Is there such a thing?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 9:26 AM,   wrote:
>
> I wonder if the original poster is using systemd?

He already said he isn't.  He just was looking for the wrong filename.

> Also, I find journalctl very clumsy to find things about a specific
> program, such as mail logs or whatever -- unless I am missing
> something.

Well, the journal only contains stuff sent to it.  So, if apache dumps
some stuff to stdout or to /dev/log or whatever then it will be in the
journal.  If apache dumps its logs directly to a file in
/var/log/apache then the journal won't contain it.  Many files in
/var/log were not created by syslog-ng, and this would not show up in
the journal.

>  I use syslog-ng, although I get a lot of messages which say
> forwarding to syslog missed n messages from system journal, so maybe
> its a problem, but how would you use logwatch without something like
> syslog-ng?

You'd need to use a systemd-aware log watcher.

-- 
Rich



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread covici
Rich Freeman  wrote:

> On Mon, Feb 9, 2015 at 6:52 AM, Alec Ten Harmsel
>  wrote:
> >
> > On 02/09/2015 06:49 AM, Mick wrote:
> >> On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote:
> >>> You don't have to export them from anything unless you need their
> >>> content in a text file.  If you just run "journalctl" that is the
> >>> equivalent of typing cat /var/log/messages.  If you do want to parse
> >>> them with an external tool then you get your choice of several text
> >>> formats and json.
> >> The thing is I never use cat.  I invariably use less, rview, or grep, to
> >> browse or search the log files.
> >>
> >> How will this work with journalctl, will I have to export them first into a
> >> different format?
> >>
> >
> > You can run `journalctl | grep whatever`. I don't know what rview is,
> > but as long as whatever you're using supports pipes you should be fine.
> >
> 
> Keep in mind that if you're grepping logs, there is probably a better
> way to accomplish what you want to do with journalctl's options.
> Finding all output from a particular daemon is going to be more
> reliable if you filter by unit, versus getting verbose log output from
> your mail server that has "mysql" somewhere in it or whatever.  That
> is the main reason for using a binary log format.
> 
> But, yes, you can just pipe the output into the tool of your choice.
> If you keep a lot of logs like I do it might be wiser to prefilter it
> a bit, such as by adding -b to the options to limit it to entries
> since the last reboot.
> 
> I also tend to keep a journalctl -f running in a screen session, which
> is the equivalent of a tail -f.
> 
> If you're using an automated tool you can also use cursors to bookmark
> the last entry you read and then ask journalctl for entries since that
> one.  Of course, an automated tool would probably just read the logs
> via dbus or whatever (I haven't taken the time to look into the APIs).

I wonder if the original poster is using systemd?  Also, I find
journalctl very clumsy to find things about a specific program, such as
mail logs or whatever -- unless I am missing something.  I use
syslog-ng, although I get a lot of messages which say forwarding to
syslog missed n messages from system journal, so maybe its a problem,
but how would you use logwatch without something like syslog-ng?
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alec Ten Harmsel

On 02/09/2015 08:02 AM, Rich Freeman wrote:
> Keep in mind that if you're grepping logs, there is probably a better
> way to accomplish what you want to do with journalctl's options.
> Finding all output from a particular daemon is going to be more
> reliable if you filter by unit, versus getting verbose log output from
> your mail server that has "mysql" somewhere in it or whatever.  That
> is the main reason for using a binary log format.

Of course, of course. I should have expanded a little more, but I was on
my way to work out. I don't use systemd at work, but for my server I
generally find the most helpful command to check a particular service is
`systemctl status ` to see how it got screwed up. I imagine it
would be pretty useful to grab the JSON output from every host and put
it in elastic search or mongodb or something, but I don't have any
experience doing that. At the same time, though, the message would still
have to be parsed by something and a lot of the metadata looks to be not
extremely useful (atm anyways).

> If you're using an automated tool you can also use cursors to bookmark
> the last entry you read and then ask journalctl for entries since that
> one.  Of course, an automated tool would probably just read the logs
> via dbus or whatever (I haven't taken the time to look into the APIs).
>

Using the low-level DBus C API makes me cry just a little bit; I've been
doing a ton of DBus stuff to add good systemd support to bossman. That
said, the API systemctl exposes over DBus is pretty common-sensical, so
I'm sure the journalctl one is straightforward as well.

Alec



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote:
> 
> On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote:
>> (it's also constantly tailed on vt12, just in case you need to see
>> what's going on it right now)
> 
> I didn't know that.  Wow!  Is this something relatively new, or has it
> always been there?

I installed my first Gentoo server (which is still operating)
on 4/13/2006, and I'm pretty sure I could press ALT+F12 at the
console for reading syslog (=messages) even then.

-Matt




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 6:52 AM, Alec Ten Harmsel
 wrote:
>
> On 02/09/2015 06:49 AM, Mick wrote:
>> On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote:
>>> You don't have to export them from anything unless you need their
>>> content in a text file.  If you just run "journalctl" that is the
>>> equivalent of typing cat /var/log/messages.  If you do want to parse
>>> them with an external tool then you get your choice of several text
>>> formats and json.
>> The thing is I never use cat.  I invariably use less, rview, or grep, to
>> browse or search the log files.
>>
>> How will this work with journalctl, will I have to export them first into a
>> different format?
>>
>
> You can run `journalctl | grep whatever`. I don't know what rview is,
> but as long as whatever you're using supports pipes you should be fine.
>

Keep in mind that if you're grepping logs, there is probably a better
way to accomplish what you want to do with journalctl's options.
Finding all output from a particular daemon is going to be more
reliable if you filter by unit, versus getting verbose log output from
your mail server that has "mysql" somewhere in it or whatever.  That
is the main reason for using a binary log format.

But, yes, you can just pipe the output into the tool of your choice.
If you keep a lot of logs like I do it might be wiser to prefilter it
a bit, such as by adding -b to the options to limit it to entries
since the last reboot.

I also tend to keep a journalctl -f running in a screen session, which
is the equivalent of a tail -f.

If you're using an automated tool you can also use cursors to bookmark
the last entry you read and then ask journalctl for entries since that
one.  Of course, an automated tool would probably just read the logs
via dbus or whatever (I haven't taken the time to look into the APIs).

-- 
Rich



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alec Ten Harmsel

On 02/09/2015 06:49 AM, Mick wrote:
> On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote:
>> You don't have to export them from anything unless you need their
>> content in a text file.  If you just run "journalctl" that is the
>> equivalent of typing cat /var/log/messages.  If you do want to parse
>> them with an external tool then you get your choice of several text
>> formats and json.
> The thing is I never use cat.  I invariably use less, rview, or grep, to 
> browse or search the log files.
>
> How will this work with journalctl, will I have to export them first into a 
> different format?
>

You can run `journalctl | grep whatever`. I don't know what rview is,
but as long as whatever you're using supports pipes you should be fine.



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Mick
On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote:
> You don't have to export them from anything unless you need their
> content in a text file.  If you just run "journalctl" that is the
> equivalent of typing cat /var/log/messages.  If you do want to parse
> them with an external tool then you get your choice of several text
> formats and json.

The thing is I never use cat.  I invariably use less, rview, or grep, to 
browse or search the log files.

How will this work with journalctl, will I have to export them first into a 
different format?

-- 
Regards,
Mick


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


Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2015 11:29:24 +, Mick wrote:

> I noticed the same on a recent installation.  /var/log/syslog is not
> created by default any more, when installing syslog-ng. 

I've using syslog-ng on Gentoo for well over ten years and it's always
defaulted to /var/log/messages in that time. Other loggers may use a
different file by default.


-- 
Neil Bothwick

0 and 1. Now what could be so hard about that?


pgp0j6nLaaJAf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 9 Feb 2015 11:23:52 +, Alan Mackenzie wrote:

> No, I've never used systemd either.  It's useful to be able to read
> /var/log/messages with less, probe it with grep/awk/perl, etc., without
> having to learn some special purpose script language.

journalctl outputs to less (or whatever $PAGER contains) by default or
you can pipe its output to anything else. Running journalctl with no
arguments is the equivalent of cat /var/log/messages.

I do have syslog installed, but that's a holdover from when I was
experimenting with systemd, I really could get rid of it now.


-- 
Neil Bothwick

How do you know when it's time to tune your bagpipes?


pgpVYzlfoZdHv.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Mick
On Monday 09 Feb 2015 10:19:20 Alan McKinnon wrote:
> On 09/02/2015 11:48, Alan Mackenzie wrote:
> > Hello, Gentoo!
> > 
> > I've pretty much got my new system up and running.  It took me less than
> > a week (compared with the month it took me when I first installed Gentoo
> > a few years ago).  The most time consuming bit was getting my email
> > server (qmail) going.  I've still got to go through my old
> > /var/lib/portage/world file, and see which packages I had I still want
> > installed.
> > 
> > However, I don't seem to have a system log.  There is no file named
> > /var/log/syslog, or anything like it.
> > 
> > I've got syslog-ng installed, and "rc-update show" shows that it is
> > in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
> > /var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
> > logfile is indeed called.  (The syslog-ng manpages don't make this
> > clear.)
> > 
> > Do I actually need to configure the name of a log file in
> > /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
> > even hint at, such being necessary.
> > 
> > Clearly, I'm missing something obvious here.  What is it?
> > 
> > Thanks in advance for the help.
> 
> Gentoo defaults to calling it /var/log/messages
> 
> (it's also constantly tailed on vt12, just in case you need to see
> what's going on it right now)

I noticed the same on a recent installation.  /var/log/syslog is not created 
by default any more, when installing syslog-ng.  I haven't looked in the 
/etc/syslog-ng/syslog-ng.conf file of the new install to see what's different, 
but it used to be that something like this would do the trick:
=
destination d_syslog { file("/var/log/syslog"); };

filter f_syslog { not facility(authpriv, mail); }

log { source(src); filter(f_syslog); destination(d_syslog); };
=

I am not sure if the format has changed since the last time I looked at it.

-- 
Regards,
Mick


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


Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hi, Alan.

On Mon, Feb 09, 2015 at 12:19:20PM +0200, Alan McKinnon wrote:
> On 09/02/2015 11:48, Alan Mackenzie wrote:
> > Hello, Gentoo!

> > I've pretty much got my new system up and running.  It took me less than
> > a week (compared with the month it took me when I first installed Gentoo
> > a few years ago).  The most time consuming bit was getting my email
> > server (qmail) going.  I've still got to go through my old
> > /var/lib/portage/world file, and see which packages I had I still want
> > installed.

> > However, I don't seem to have a system log.  There is no file named
> > /var/log/syslog, or anything like it.

> > I've got syslog-ng installed, and "rc-update show" shows that it is
> > in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
> > /var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
> > logfile is indeed called.  (The syslog-ng manpages don't make this
> > clear.)

> > Do I actually need to configure the name of a log file in
> > /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
> > even hint at, such being necessary.

> > Clearly, I'm missing something obvious here.  What is it?

> > Thanks in advance for the help.



> Gentoo defaults to calling it /var/log/messages

Yes.  :-)

> (it's also constantly tailed on vt12, just in case you need to see
> what's going on it right now)

I didn't know that.  Wow!  Is this something relatively new, or has it
always been there?

> -- 
> Alan McKinnon
> alan.mckin...@gmail.com

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hello, Matthias.

On Mon, Feb 09, 2015 at 11:06:42AM +0100, Matthias Hanft wrote:
> Alan Mackenzie wrote:

> > Do I actually need to configure the name of a log file in
> > /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
> > even hint at, such being necessary.

> The names of the log files (and much more) are configured in
> /etc/syslog-ng/syslog-ng.conf - since I have some special
> configuration there, I don't know if /var/log/syslog is the
> default, but /var/log/messages is a good guess, too.

Yes, I've got a /var/log/messages.  I've even looked at it many times in
the past.  But I didn't know that it was THE system log.  Thanks!

> And (from what I have heard) if you use systemd instead of
> openrc, there are no syslog files at all - you have to export
> them (from some binary database) manually to some human-
> readable format. But I don't know much about that - never
> used systemd on any Gentoo Linux yet.

No, I've never used systemd either.  It's useful to be able to read
/var/log/messages with less, probe it with grep/awk/perl, etc., without
having to learn some special purpose script language.

> -Matt

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Rich Freeman
On Mon, Feb 9, 2015 at 5:06 AM, Matthias Hanft  wrote:
>
> And (from what I have heard) if you use systemd instead of
> openrc, there are no syslog files at all - you have to export
> them (from some binary database) manually to some human-
> readable format. But I don't know much about that - never
> used systemd on any Gentoo Linux yet.

You don't have to export them from anything unless you need their
content in a text file.  If you just run "journalctl" that is the
equivalent of typing cat /var/log/messages.  If you do want to parse
them with an external tool then you get your choice of several text
formats and json.

And yes, you can also run syslog, though I never really got the point
of that.  The value of the journal is that you capture full metadata
for your log entries and you can just query it vs having to parse
undelimited text files.  Heck, it seems like half the enterprise
monitoring tools start out by grabbing that log file that has
discarded most of the context and then putting it in a database and
attempting to re-create it all.

-- 
Rich



Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Adam Carter
One little corner case; if you're running systemd 216 and syslog-ng <3.6,
you need to add ForwardToSyslog=yes to /etc/systemd/journald.conf. With
systemd 215 and earlier, messages are forwarded to syslog by default, and
syslog-ng 3.6 is journald aware.


Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan McKinnon
On 09/02/2015 11:48, Alan Mackenzie wrote:
> Hello, Gentoo!
> 
> I've pretty much got my new system up and running.  It took me less than
> a week (compared with the month it took me when I first installed Gentoo
> a few years ago).  The most time consuming bit was getting my email
> server (qmail) going.  I've still got to go through my old
> /var/lib/portage/world file, and see which packages I had I still want
> installed.
> 
> However, I don't seem to have a system log.  There is no file named
> /var/log/syslog, or anything like it.
> 
> I've got syslog-ng installed, and "rc-update show" shows that it is
> in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
> /var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
> logfile is indeed called.  (The syslog-ng manpages don't make this
> clear.)
> 
> Do I actually need to configure the name of a log file in
> /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
> even hint at, such being necessary.
> 
> Clearly, I'm missing something obvious here.  What is it?
> 
> Thanks in advance for the help.
> 


Gentoo defaults to calling it /var/log/messages

(it's also constantly tailed on vt12, just in case you need to see
what's going on it right now)



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Neil Bothwick
On Mon, 09 Feb 2015 11:06:42 +0100, Matthias Hanft wrote:

> > Do I actually need to configure the name of a log file in
> > /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention,
> > or even hint at, such being necessary.  
> 
> The names of the log files (and much more) are configured in
> /etc/syslog-ng/syslog-ng.conf - since I have some special
> configuration there, I don't know if /var/log/syslog is the
> default, but /var/log/messages is a good guess, too.

The default is /var/log/messages.

> And (from what I have heard) if you use systemd instead of
> openrc, there are no syslog files at all - you have to export
> them (from some binary database) manually to some human-
> readable format. But I don't know much about that - never
> used systemd on any Gentoo Linux yet.

Or just install syslog-ng. systemd's journal doesn't preclude the use of
a traditional logger too.


-- 
Neil Bothwick

WinErr 003: Dynamic linking error - Your mistake is now in every file


pgpdnJPtEkPQk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Making a new frame-buffer console font

2015-02-09 Thread Peter Humphrey
On Monday 09 February 2015 01:00:32 Dale wrote:

> Anyone besides me use the ctrl + shortcut to zoom in?

Yes, often.

> I do that and I have bi-focals on.  I also have a magnifying glass
> right in front of my monitor.

I tried varifocals but had to give them up. I now have three single-
focus pairs. At least with those, things are in focus at some distance, 
but with the varies nothing was ever in focus. Not good for driving.

I too have a magnifying glass to hand.

> Sounds bad don't it?

Things are never as bad as they seem. ;-)

-- 
Rgds
Peter.




Re: [gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Matthias Hanft
Alan Mackenzie wrote:
> 
> Do I actually need to configure the name of a log file in
> /etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
> even hint at, such being necessary.

The names of the log files (and much more) are configured in
/etc/syslog-ng/syslog-ng.conf - since I have some special
configuration there, I don't know if /var/log/syslog is the
default, but /var/log/messages is a good guess, too.

And (from what I have heard) if you use systemd instead of
openrc, there are no syslog files at all - you have to export
them (from some binary database) manually to some human-
readable format. But I don't know much about that - never
used systemd on any Gentoo Linux yet.

-Matt




[gentoo-user] I don't seem to have a system log. Help, please!

2015-02-09 Thread Alan Mackenzie
Hello, Gentoo!

I've pretty much got my new system up and running.  It took me less than
a week (compared with the month it took me when I first installed Gentoo
a few years ago).  The most time consuming bit was getting my email
server (qmail) going.  I've still got to go through my old
/var/lib/portage/world file, and see which packages I had I still want
installed.

However, I don't seem to have a system log.  There is no file named
/var/log/syslog, or anything like it.

I've got syslog-ng installed, and "rc-update show" shows that it is
in runlevel default.  Indeed, there exists /var/run/syslog-ng.pid and
/var/run/syslog-ng.ctl.  But no /var/log/syslog, if that's what the
logfile is indeed called.  (The syslog-ng manpages don't make this
clear.)

Do I actually need to configure the name of a log file in
/etc/conf.d/syslog-ng?  The Gentoo installation guide didn't mention, or
even hint at, such being necessary.

Clearly, I'm missing something obvious here.  What is it?

Thanks in advance for the help.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Making a new frame-buffer console font

2015-02-09 Thread Neil Bothwick
On Mon, 09 Feb 2015 05:11:25 +, Peter Humphrey wrote:

> In a mono font the O looks bigger because it fills more of the "tile", 
> so just remember The Big O.

So instead of a font with a line through the zero, you have one where the
capital o wears dark glasses?


-- 
Neil Bothwick

PCMCIA: People Can't Memorize Computer Industry Acronyms


pgpAZZ80Y0r4t.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] old EEE PC 1000

2015-02-09 Thread Hinnerk van Bruinehsen
On Sun, Feb 08, 2015 at 06:05:44PM -0700, Joseph wrote:
> I have an old Asus EEE PC 1000 and I don't think it will run Gentoo, it would 
> be too slow to compile anything.
> It is running Ubuntu 11.10 and I think I'll need to re-install lighter 
> version of Linux on it.
> What are my alternatives?
>
> I'll would like to run VPN, some browser on it and skype.

Hi
I ran Gentoo on my EEE PC 1000 some time ago. It wasn't that bad. building
stuff took some time but I even had suff like (then) openoffice, webkit-gtk and
chromium on it.
It'll take a while to build, but I was finde with that. It even felt more
performant than Ubuntu on the same device.
Judging from my current setup (no DE, dwm+other suckless stuff) I guess it's no
problem at all: skype is binary only anyways and there are at least two binary
browsers: firefox-bin and google-chrome.
I'd recomment to give Gentoo a try as long as you don't have other,
non-Gentoo-satisfiably motives...

WKR
Hinnerk

PS: I don't think that there is a lighter version of Linux that Gentoo if you
configure it for "lightness".
PPS: If you really want something else I can recommend Alpine Linux, though it
still isn't Gentoo.


signature.asc
Description: Digital signature