[gentoo-user] Kaspersky Rescue Disk

2013-02-11 Thread Michael Sondow
Hi, Gentoo users.

I'm new to this list, and also new to Gentoo and to Linux in general. Despite 
that, I think my questions are reasonable ones. They have to do with the 
Kaspersky Rescue Disk (KRD), which uses Gentoo, as you probably know.

I installed the KRD to a 4Gb USB flash drive, in order to have an antivirus 
rescue disk if my computer (Asus eeepc 1000HA, Windows XP) won't boot, or has 
some other problem that makes running one of my usual antivirus programs 
impossible.

KRD installed fine on the flash drive and runs just like it's supposed to. No 
problem there. It even connected to my wireless network right off, which sort 
of amazed me. I did a virus database update and a scan. Great!

Being a curious person, though, I've been using the Gentoo apps provided in KRD 
(Terminal, Dolphin, Konqueror) to look at Gentoo. I see that many folders and 
operating system files are present. BASH works, although not all the commands 
are available.

What I'm wondering, and it's the reason for joining this list and for this 
email, is: What, if anything, is lacking in KRD Gentoo to keep it from 
functioning as a full-fledged Linux-like operating system?

Would it be possible, for example, to download any essential files that may be 
missing? Can application packages be added (a PDF reader, a media player, 
etc.)? Can missing shell commands be activated or, if absent, be added?

I've been thinking of putting a Linux-type OS onto a USB flash drive anyway, 
and Gentoo seems to work well (Kaspersky chose it for good reasons, I assume). 
So maybe I can soup up the KRD and use it as my alternative OS. Is that 
possible?

Any help with this, even if it's just "You can't do it", will be much 
appreciated.

Cheers!

Mike






Re: [gentoo-user] Embed video into LO 4.0 presentation

2013-02-11 Thread v_2e
  Hello again!

On Mon, 11 Feb 2013 01:59:51 +0200
v...@ukr.net wrote:

>   Hello!
> 
> On Sun, 10 Feb 2013 21:52:41 +
> Neil Bothwick  wrote:
> 
> > On Sun, 10 Feb 2013 23:47:58 +0200, v...@ukr.net wrote:
> > 
> > >   After a recent upgrade to LibreOffice 4.0.0.3 Impress refuses to
> > > import a video file in .mpg format. I had no such problems with
> > > LO-3.6 before. Maybe some dependencies have also changed -- I
> > > don't know. So, my question is: what is necessary to install in
> > > order to be able to embed video files into Impress presentations
> > > and display those files?
> > 
> > ISTR this question came up not too long ago. Have you searched the
> > list archives?
> > 
>   Yes, I searched Gentoo-related lists and LibreOffice lists, but
> unfortunately, did not find the answer. There were some reports about
> earlier versions of LO, but in my case the earlier version worked
> fine.
> 
  In fact I have found the same problem mentioned in this post:
http://forums.gentoo.org/viewtopic-p-7229114.html#7229114
on Gentoo forums, but no solution is actually suggested there. The
users say that the reason it happens is a transition from ffmpeg to
libav, but this seems a bit strange to me, because I always believed
that libav provides the compatible functions to those in ffmpeg, and it
makes it possible for the applications written with ffmpeg functions in
mind be built against libav. Am I wrong?

  Regards,
Vladimir


- 
 



Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-11 Thread Stefan G. Weichinger
Am 10.02.2013 20:47, schrieb Canek Peláez Valdés:

> Yep, had the same problem, solved with:
> 
> LidSwitchIgnoreInhibited=no
> 
> in /etc/systemd/logind.conf. Since then it has happened again maybe a
> couple of times (I have no idea why), but most of the time (and I'm
> talking above 99%), it works as intended.
> 
> These options are pretty new, I think they went live after GNOME 3.6,
> so I hope that with GNOME 3.8 we will be able to comment that line
> again and everything will work automagically.

hopefully ...

Unfortunately that parameter didn't help so far.

Do you have acpid installed/enabled? Anything aside the default
acpi-scripts?

I removed hibernate-script from my system now just to check things.

Stefan




Re: [gentoo-user] Kaspersky Rescue Disk

2013-02-11 Thread Mick
On Monday 11 Feb 2013 08:09:17 Michael Sondow wrote:
> Hi, Gentoo users.
> 
> I'm new to this list, and also new to Gentoo and to Linux in general.
> Despite that, I think my questions are reasonable ones. They have to do
> with the Kaspersky Rescue Disk (KRD), which uses Gentoo, as you probably
> know.
> 
> I installed the KRD to a 4Gb USB flash drive, in order to have an antivirus
> rescue disk if my computer (Asus eeepc 1000HA, Windows XP) won't boot, or
> has some other problem that makes running one of my usual antivirus
> programs impossible.
> 
> KRD installed fine on the flash drive and runs just like it's supposed to.
> No problem there. It even connected to my wireless network right off,
> which sort of amazed me. I did a virus database update and a scan. Great!

Check and remove the updates file that KRD creates on your WinXP filesystem.  
After the scan is completed this is no longer needed and takes up space.


> Being a curious person, though, I've been using the Gentoo apps provided in
> KRD (Terminal, Dolphin, Konqueror) to look at Gentoo. I see that many
> folders and operating system files are present. BASH works, although not
> all the commands are available.
> 
> What I'm wondering, and it's the reason for joining this list and for this
> email, is: What, if anything, is lacking in KRD Gentoo to keep it from
> functioning as a full-fledged Linux-like operating system?
> 
> Would it be possible, for example, to download any essential files that may
> be missing? Can application packages be added (a PDF reader, a media
> player, etc.)? Can missing shell commands be activated or, if absent, be
> added?

Yes, you can add any applications you see fit, but the LiveCD/USB image will 
grow as a result.


> I've been thinking of putting a Linux-type OS onto a USB flash drive
> anyway, and Gentoo seems to work well (Kaspersky chose it for good
> reasons, I assume). So maybe I can soup up the KRD and use it as my
> alternative OS. Is that possible?

Yes, but if you want to install it permanently on the hard disk, you would be 
better of doing a proper installation by following the Gentoo Guide.


> Any help with this, even if it's just "You can't do it", will be much
> appreciated.

"You can't do it"  :-)

Like this:

  http://en.gentoo-wiki.com/wiki/Build_Your_Own_LiveCD_or_LiveDVD


Google could also offer more up to date suggestions.
-- 
Regards,
Mick


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


Re: [gentoo-user] New USE flags for lvm2?

2013-02-11 Thread Tanstaafl

On 2013-02-10 3:43 PM, Neil Bothwick  wrote:

On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:


Here's what IUSE says are enabled for the currently installed lvm2:

readline +static +static-libs clvm cman +lvm1 selinux


IUSE shows the flags that were available to that build, USE shows the
flags that were used.


Ah, thanks for that...

Ok, so the current one was installed with::

amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs 
userland_GNU


And the update wants to install with:

USE="lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static* 
-static-libs*"


So, what is with the differences?

+ thin udev

Why is amd64, elibc_glibc, kernel_linux, multilib & userland_GNU not 
included?


and why omitting

- static, static-libs

?

Just trying to understand why the changes, and want to make sure lvm 
isn't going to end up failing on me the next reboot...


Thanks



Re: [gentoo-user] New USE flags for lvm2?

2013-02-11 Thread Alan McKinnon
On 11/02/2013 14:09, Tanstaafl wrote:
> On 2013-02-10 3:43 PM, Neil Bothwick  wrote:
>> On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:
>>
>>> Here's what IUSE says are enabled for the currently installed lvm2:
>>>
>>> readline +static +static-libs clvm cman +lvm1 selinux
>>
>> IUSE shows the flags that were available to that build, USE shows the
>> flags that were used.
> 
> Ah, thanks for that...
> 
> Ok, so the current one was installed with::
> 
> amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs
> userland_GNU
> 
> And the update wants to install with:
> 
> USE="lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static*
> -static-libs*"
> 
> So, what is with the differences?
> 
> + thin udev
> 
> Why is amd64, elibc_glibc, kernel_linux, multilib & userland_GNU not
> included?
> 
> and why omitting
> 
> - static, static-libs
> 
> ?
> 
> Just trying to understand why the changes, and want to make sure lvm
> isn't going to end up failing on me the next reboot...
> 
> Thanks
> 

The answers to most of the questions you asked are in the ebuild file
and in the ChangeLog. You can find them at

$PORTDIR/sys-fs/lvm2/



amd64, elibc_glibc, kernel_linux, multilib & userland_GNU are not in
emerge output as those are not USE flags in the regular sense of the
word. Don't worry about them, they define the basic settings upon which
portage built your host. Change any of them only at your peril, you will
break things horribly (and keep N pieces, where N is a big number). You
can see the full lot near the end of

emerge --info

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




Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-11 Thread Stefan G. Weichinger
Am 07.02.2013 22:38, schrieb Canek Peláez Valdés:

> For what is worth, you also don't need to specify neither /dev nor
> /proc in fstab with systemd. I'm not sure the init system has anything
> to do with it, though; I believe is udev work, so with a recent
> version of udev, no matter the init system (I think), /dev and /proc
> are unnecessary (and perhaps even problematic) in /etc/fstab.

In my fstab there is the line(s):

# NOTE: The next line is critical for boot!
proc/proc   procdefaults0 0

both outdated?

;-)

Stefan



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-11 Thread Mick
On Monday 11 Feb 2013 15:38:28 Stefan G. Weichinger wrote:
> Am 07.02.2013 22:38, schrieb Canek Peláez Valdés:
> > For what is worth, you also don't need to specify neither /dev nor
> > /proc in fstab with systemd. I'm not sure the init system has anything
> > to do with it, though; I believe is udev work, so with a recent
> > version of udev, no matter the init system (I think), /dev and /proc
> > are unnecessary (and perhaps even problematic) in /etc/fstab.
> 
> In my fstab there is the line(s):
> 
> # NOTE: The next line is critical for boot!
> proc/proc   procdefaults0 0
> 
> both outdated?
> 
> ;-)

I would think so.

This is the only line that I have in mine and the system boots fine:

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
tmpfs   /dev/shmtmpfs   nodev,nosuid,noexec 0 0

-- 
Regards,
Mick


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


[gentoo-user] Re: multiple installs

2013-02-11 Thread James
walt  gmail.com> writes:


> The only obvious problem I can see is that grub2 will need zfs support
> if your /boot is going to be zfs.  I don't recall all of the details,
> but at one point during the grub2 install you can tell it to pre-load
> the zfs module (and any other modules you may want) during the install.

thanks to everyone for the input ideas

I'm experimenting right now on multiple cloned installs

thx,
James







[gentoo-user] http://wiki.gentoo.org/wiki/Kicktoo

2013-02-11 Thread James

Anyone given kicktoo a test drive?

If so, what did you think?


James






Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-11 Thread Dale
Mick wrote:
> I would think so. This is the only line that I have in mine and the system 
> boots fine: # glibc 2.2
and above expects tmpfs to be mounted at /dev/shm for # POSIX shared
memory (shm_open, shm_unlink). # (tmpfs is a dynamically
expandable/shrinkable ramdisk, and will # use almost no memory if not
populated with files) tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0

+1

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/2013 12:05 AM, Grant wrote:
>>> The responses all come back successfully within a few seconds.
>>>  Can you give me a really general description of the sort of 
>>> problem that could behave like this?
>> 
>> Your server is just a single computer, running multiple
>> processes. Each request from a user (be it you or someone else)
>> requires a certain amount of resources while it's executing. If
>> there aren't enough resources, some of the requests will have to
>> wait until enough others have finished in order for the resources
>> to be freed up.
> 
> Here's where I'm confused.  The requests are made via a browser and
>  the response is displayed in the browser.  There is no additional
>  processing besides the display of the response.

You're running a client-side script that causes the *server* to do work.
The more work the server has to do, the slower it will perform for both
serving up your requests and those of other users. This is completely
independent of the work the client has to do.


> The responses are received and displayed within about 3 seconds of
>  when the requests are made.  Shouldn't this mean that all
> processing related to these transactions is completed within 3
> seconds?

There's client-side processing in handling the server's response, but
there's also server-side processing in handling the client's request.
What Stroller called a wall of text was a crash course in how a server
can have too many things to do in a short amount of time, and some of
the side-effects you can see--like having two nominally-3s queries both
appear to take 6s, from the client's perspective.

> If so, I don't understand why apache2 seems to bog down a bit for 
> about 10 minutes afterward.

Now that's a new (and important!) piece of information. Your server
runs slow for 10 *minutes* after your script has made its request?

To me, that indicates that important data wound up getting swapped to
disk on the server, and the slow behavior reported by other users is
the result of that data being swapped back in on-demand.

That also indicates that your script's requests (and, possibly,
request pattern) cause some process in the server to allocate far more
memory than usual, which is why the server is swapping things to disk.

Why, exactly, the server is consuming so much memory depends on a lot
of factors.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRGS3FAAoJED5TcEBdxYwQs7oH/3Xy0d85bNJ2QtQ4YcTF7g9E
TPZbwAUrwxrYf828AMlCUMOww2d1wr0DQOm4lBrzOb/93C8iwGKTjtu1dBaOspdC
mEdVmkFXF8YUB8yA3SiSgteHNCDrN27UyJQNP7mOK8PXwri4BYyxTUEJ0UyZXc4F
oIoSweHQg7tmyKN7Rudd69axREJ9yIpKt4lw7JZWHhX25hTVxWYF1zRDxNNC1vJ+
kQWSE3ZcP8EdotmcpARPF7N4leHOyU1+Rw9XatLVbb2W23Fza/4+Mqeam9fbObgH
w1mdMCzIUxlUL91nU7Zc0zzb2qYS7Te1N7bOcFr1fXowcCBagUdzOKjEcshket0=
=sWpw
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/2013 08:53 PM, Stroller wrote:
> 
> On 10 February 2013, at 05:05, Grant wrote:
>>> ... Your server is just a single computer, running multiple
>>> processes. Each request from a user (be it you or someone else)
>>> requires a certain amount of resources while it's executing. If
>>> there aren't enough resources, some of the requests will have
>>> to wait until enough others have finished in order for the
>>> resources to be freed up.
>> 
>> Here's where I'm confused.  …   The responses are received and
>> displayed within about 3 seconds of when the requests are made.
>> … , I don't understand why apache2 seems to bog down a bit for
>> about 10 minutes afterward.
> 
> Seriously, after finishing Mr Mol's wall-of-text (learn to snip,
> Grant!) I wondered if he'd even read your question!
> 
> Stroller.
> 
> 

I've been using online communications for twenty years...and nobody
tempts me to create my first killfile like you do.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRGS4wAAoJED5TcEBdxYwQZEsIAI7eJacq8rIMP87EIVGvGrt+
z2xYvNohVovAI9b4sIwddL5spf4GLdVvvzjJNQqQb4e9wNgu08qPYCJCFNceSvE3
Hs/LNworkwFwFnNMK7jNfMaCp/GETFLMoaG/6A/jniKd1N/b/S5XBYfEqStbaaO8
vfqXCY6uem8p9zLig31eWDLzkIwanarp0LCUbZvDJbxaPpP6r9uRFVBBP/2IuvpS
u+XUEqYoeBBlzVo3wFqAUJMaSP5hLt6fEYXvId2VVcLwUfg653KwFgAXseYHDEci
vM39FeYUzwHevp7G7A1SYdKi0QmcIdfn2Pv96ZedSnjx/T0TglLJe3Y9DoY0x4c=
=TpVE
-END PGP SIGNATURE-



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-11 Thread Stefan G. Weichinger
Am 11.02.2013 18:36, schrieb Dale:
> Mick wrote:
>> I would think so. This is the only line that I have in mine and the system 
>> boots fine: # glibc 2.2
> and above expects tmpfs to be mounted at /dev/shm for # POSIX shared
> memory (shm_open, shm_unlink). # (tmpfs is a dynamically
> expandable/shrinkable ramdisk, and will # use almost no memory if not
> populated with files) tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
> 
> +1

Addition:

I even had that wrong and it worked:

"patch" ->

-shm/dev/shmtmpfs
nodev,nosuid,noexec 0 0
+tmpfs  /dev/shmtmpfs
nodev,nosuid,noexec 0 0

Stefan



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Alan McKinnon
On 11/02/2013 19:43, Michael Mol wrote:
> Now that's a new (and important!) piece of information. Your server
> runs slow for 10 *minutes* after your script has made its request?
> 
> To me, that indicates that important data wound up getting swapped to
> disk on the server, and the slow behavior reported by other users is
> the result of that data being swapped back in on-demand.
> 
> That also indicates that your script's requests (and, possibly,
> request pattern) cause some process in the server to allocate far more
> memory than usual, which is why the server is swapping things to disk.


I agree. My rule of thumb was always that I must prevent Apache swapping
at all costs as the performance impact is horrific.

It doesn't have to mean installing more RAM (which is quick, easy, cheap
and often rather effective), sensible optimizations can work wonders
too, as can nginx as a proxy in front of Apache.



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




Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-11 Thread Canek Peláez Valdés
On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger  wrote:
> Am 10.02.2013 20:47, schrieb Canek Peláez Valdés:
>
>> Yep, had the same problem, solved with:
>>
>> LidSwitchIgnoreInhibited=no
>>
>> in /etc/systemd/logind.conf. Since then it has happened again maybe a
>> couple of times (I have no idea why), but most of the time (and I'm
>> talking above 99%), it works as intended.
>>
>> These options are pretty new, I think they went live after GNOME 3.6,
>> so I hope that with GNOME 3.8 we will be able to comment that line
>> again and everything will work automagically.
>
> hopefully ...
>
> Unfortunately that parameter didn't help so far.
>
> Do you have acpid installed/enabled? Anything aside the default
> acpi-scripts?

The last time I installed acpid was in November of 2010, and I
uninstalled for the last time in April 2011. My machines are all acpid
free since then; systemd + UPower takes cares of everything AFAIK.

> I removed hibernate-script from my system now just to check things.

I haven't used scripts to suspend or hibernate in ages; again UPower
does everything, or perhaps some other part of the GNOME stack.
sys-power/pm-utils is still being pulled in by upower-0.9.19, but it
only calls pm-is-supported (src/linux/up-backend.c:363-390) to
determine if the machine can suspend/hibernate. Which is kinda stupid,
since pm-is-supported is only a set of scripts which test files in the
/sys directory. UPower should test for those files directly (is in the
linux backend anyway), and remove the pm-utils dependency.

For the kernel I use vanilla-sources unstable; I haven't used
gentoo-sources in ages (long before systemd), and I never used
tuxonice-sources.

Suspend/hibernate works perfectly in all my machines; I haven't had a
failed resume in (literally) years.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-11 Thread Stefan G. Weichinger
Am 11.02.2013 22:03, schrieb Canek Peláez Valdés:
> On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger  wrote:
>> Do you have acpid installed/enabled? Anything aside the default
>> acpi-scripts?
> 
> The last time I installed acpid was in November of 2010, and I
> uninstalled for the last time in April 2011. My machines are all acpid
> free since then; systemd + UPower takes cares of everything AFAIK.

I see. I take this as an impulse to cleanup my system even more ...
removing acpi means getting rid of those app-laptop/laptop-mode-tools as
well afai understand ... they relied on ACPI to switch stuff ...

Both removed now ...

> I haven't used scripts to suspend or hibernate in ages; again UPower
> does everything, or perhaps some other part of the GNOME stack.
> sys-power/pm-utils is still being pulled in by upower-0.9.19, but it
> only calls pm-is-supported (src/linux/up-backend.c:363-390) to
> determine if the machine can suspend/hibernate. Which is kinda stupid,
> since pm-is-supported is only a set of scripts which test files in the
> /sys directory. UPower should test for those files directly (is in the
> linux backend anyway), and remove the pm-utils dependency.

Yep, another issue (bug-report ;-) ).

> For the kernel I use vanilla-sources unstable; I haven't used
> gentoo-sources in ages (long before systemd), and I never used
> tuxonice-sources.

I see. gentoo-sources here, 3.7.6 at the moment, from time to time I
"git pull" some kernel from linux-git or linux-stable (Linus or Greg ...).

> Suspend/hibernate works perfectly in all my machines; I haven't had a
> failed resume in (literally) years.

Good to hear.

I see upower.service as active but disabled ... ? hmm..

Stefan




Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-11 Thread Canek Peláez Valdés
On Mon, Feb 11, 2013 at 3:19 PM, Stefan G. Weichinger  wrote:
> Am 11.02.2013 22:03, schrieb Canek Peláez Valdés:
>> On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger  wrote:
>>> Do you have acpid installed/enabled? Anything aside the default
>>> acpi-scripts?
>>
>> The last time I installed acpid was in November of 2010, and I
>> uninstalled for the last time in April 2011. My machines are all acpid
>> free since then; systemd + UPower takes cares of everything AFAIK.
>
> I see. I take this as an impulse to cleanup my system even more ...
> removing acpi means getting rid of those app-laptop/laptop-mode-tools as
> well afai understand ... they relied on ACPI to switch stuff ...
>
> Both removed now ...
>
>> I haven't used scripts to suspend or hibernate in ages; again UPower
>> does everything, or perhaps some other part of the GNOME stack.
>> sys-power/pm-utils is still being pulled in by upower-0.9.19, but it
>> only calls pm-is-supported (src/linux/up-backend.c:363-390) to
>> determine if the machine can suspend/hibernate. Which is kinda stupid,
>> since pm-is-supported is only a set of scripts which test files in the
>> /sys directory. UPower should test for those files directly (is in the
>> linux backend anyway), and remove the pm-utils dependency.
>
> Yep, another issue (bug-report ;-) ).
>
>> For the kernel I use vanilla-sources unstable; I haven't used
>> gentoo-sources in ages (long before systemd), and I never used
>> tuxonice-sources.
>
> I see. gentoo-sources here, 3.7.6 at the moment, from time to time I
> "git pull" some kernel from linux-git or linux-stable (Linus or Greg ...).
>
>> Suspend/hibernate works perfectly in all my machines; I haven't had a
>> failed resume in (literally) years.
>
> Good to hear.
>
> I see upower.service as active but disabled ... ? hmm..

It's OK; disabled means that it's not enabled, i.e., there is no link
to it from /etc/systemd/system/*.wants. It's Dbus activable, so the
first time someone calls a method from org.freedesktop.UPower via
dbus, the service is activated automatically. There is no need to
enable the service (which will mean that it starts even if no other
process calls a method from org.freedesktop.UPower).

Enabled/Disabled is orthogonal to Active/Inactive; the first means
"the service will start when reaching its target no matter what", and
the latter means "the service is running".

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2

2013-02-11 Thread Stefan G. Weichinger
Am 11.02.2013 22:30, schrieb Canek Peláez Valdés:
> On Mon, Feb 11, 2013 at 3:19 PM, Stefan G. Weichinger  wrote:
>> I see upower.service as active but disabled ... ? hmm..
> 
> It's OK; disabled means that it's not enabled, i.e., there is no link
> to it from /etc/systemd/system/*.wants. It's Dbus activable, so the
> first time someone calls a method from org.freedesktop.UPower via
> dbus, the service is activated automatically. There is no need to
> enable the service (which will mean that it starts even if no other
> process calls a method from org.freedesktop.UPower).

I assumed something like that, yes. Thanks for explaining.

Still seeing that immediate suspend after resume ... it looks as if it
actually gets the signal to suspend twice somehow. Maybe some
ACPI-related issue on the thinkpad, I read about something like that
back with HAL etc. (the lid-open-event was interpreted as lid-close or
similar ...).

Anyway, enough for today. Late here.

Thanks, greets, Stefan




[gentoo-user] How to stem the flood of new packages?

2013-02-11 Thread Grant Edwards

I tried doing an "emerge -auvND world" today.  It's been three days
since the previous update, and today portage wants to update 1 package
and install _35_new_ones_.

Seriously?  35 new packages that I have to install on Monday that I
didn't have to have the previous Friday?  A few of them are virtual
packages, but the vast majority are actual package that I neither want
nor need (other than to satisfy a requirement imposed by a new USE
flag that defaults to "on" when it should have defaulted to "off").

I realize that every developer thinks think their pariticular package
is the greatest thing ever and should be installed on everything since
the TI SR-54 calculator, but this seems a bit silly...


-- 
Grant Edwards   grant.b.edwardsYow! Here we are in America
  at   ... when do we collect
  gmail.comunemployment?




Re: [gentoo-user] How to stem the flood of new packages?

2013-02-11 Thread Dale
Grant Edwards wrote:
> 
> I tried doing an "emerge -auvND world" today.  It's been three days
> since the previous update, and today portage wants to update 1 package
> and install _35_new_ones_.
>
> Seriously?  35 new packages that I have to install on Monday that I
> didn't have to have the previous Friday?  A few of them are virtual
> packages, but the vast majority are actual package that I neither want
> nor need (other than to satisfy a requirement imposed by a new USE
> flag that defaults to "on" when it should have defaulted to "off").
>
> I realize that every developer thinks think their pariticular package
> is the greatest thing ever and should be installed on everything since
> the TI SR-54 calculator, but this seems a bit silly...
> 
>

Well, use the -t option to see what pulls in what.  Also, disable some
USE flags that you don't want/need.  Also, could some of this be the
profile change? 

Just a thought.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] How to stem the flood of new packages?

2013-02-11 Thread Alan McKinnon
On 11/02/2013 23:55, Grant Edwards wrote:
> 
> I tried doing an "emerge -auvND world" today.  It's been three days
> since the previous update, and today portage wants to update 1 package
> and install _35_new_ones_.
> 
> Seriously?  35 new packages that I have to install on Monday that I
> didn't have to have the previous Friday?  A few of them are virtual
> packages, but the vast majority are actual package that I neither want
> nor need (other than to satisfy a requirement imposed by a new USE
> flag that defaults to "on" when it should have defaulted to "off").
> 
> I realize that every developer thinks think their pariticular package
> is the greatest thing ever and should be installed on everything since
> the TI SR-54 calculator, but this seems a bit silly...
> 
> 

I know you put in the  tags, but I'll take it as obvious you are
also asking a real question :-)

What new stuff did you get? It's hard to respond to without knowing what
you got. The only big change I got recently was KDE-4.10

Did you change your profile to 13.0 and now have a ton of USE flags set
on that were previously off?

I've been noticing a trend over the last two years or so where devs take
a big packages and break it up into several smaller ones that are easier
to manage, sort of like monolithic X to modular X on a smaller scale.
This is a good thing overall.

There's also evidence of unbundling going on where packages like
libreoffice and chromium have tons of bundled libs ripped out and the
ebuild rewritten to use the system libs instead. This too is a good
thing, you do get more packages installed but you also get easier
maintained code overall. And you can blame/congratulate flameyes for
most of that :-)

Without seeing your emerge list it's hard to comment with more specifics





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




Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Stroller

On 11 February 2013, at 17:43, Michael Mol wrote:
> ...
>> If so, I don't understand why apache2 seems to bog down a bit for 
>> about 10 minutes afterward.
> 
> Now that's a new (and important!) piece of information. Your server
> runs slow for 10 *minutes* after your script has made its request?

This information is not new - it was in Grant's first post in this thread, 
hence the reason I wondered if you'd read it.

I am sorry if I have caused you offence on any other occasion - if so, please 
feel free to explain why. 

Stroller.


[gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Grant Edwards
On 2013-02-11, Dale  wrote:
> Grant Edwards wrote:
>> 
>> I tried doing an "emerge -auvND world" today.  It's been three days
>> since the previous update, and today portage wants to update 1 package
>> and install _35_new_ones_.
>>
>> Seriously?  35 new packages that I have to install on Monday that I
>> didn't have to have the previous Friday?  A few of them are virtual
>> packages, but the vast majority are actual package that I neither want
>> nor need (other than to satisfy a requirement imposed by a new USE
>> flag that defaults to "on" when it should have defaulted to "off").
>>
>> I realize that every developer thinks think their pariticular package
>> is the greatest thing ever and should be installed on everything since
>> the TI SR-54 calculator, but this seems a bit silly...
>> 
>>
>
> Well, use the -t option to see what pulls in what.

I did.  I turned off about a half-dozen new USE flags and elminated 30
of the new packages.  My point was that in general when new stuff is
added, the default behavior should be "same as before" (IMO).

> Also, disable some USE flags that you don't want/need.  Also, could
> some of this be the profile change? 

Ah, that could be.  When the old profile went away I picked the
generic "desktop" option.  Eselect didn't seem to be able to tell me
what profile I had selected previously.

-- 
Grant Edwards   grant.b.edwardsYow! I Know A Joke!!
  at   
  gmail.com




[gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Grant Edwards
On 2013-02-11, Alan McKinnon  wrote:
> On 11/02/2013 23:55, Grant Edwards wrote:
>> 
>> I tried doing an "emerge -auvND world" today.  It's been three days
>> since the previous update, and today portage wants to update 1 package
>> and install _35_new_ones_.
>> 
>> Seriously?  35 new packages that I have to install on Monday that I
>> didn't have to have the previous Friday?  A few of them are virtual
>> packages, but the vast majority are actual package that I neither want
>> nor need (other than to satisfy a requirement imposed by a new USE
>> flag that defaults to "on" when it should have defaulted to "off").
>> 
>> I realize that every developer thinks think their pariticular package
>> is the greatest thing ever and should be installed on everything since
>> the TI SR-54 calculator, but this seems a bit silly...
>> 
>
> I know you put in the  tags, but I'll take it as obvious you are
> also asking a real question :-)

Well, sort of. 

> What new stuff did you get?

As best I can remember: a handful of bluetooth stuff, openldap,
consolekit, policykit, thunar, wxwidgets, libnotify, fam, a bunch of
gst plugins, and another dozen or two things pulled in by those.

> Did you change your profile to 13.0 and now have a ton of USE flags set
> on that were previously off?

It didn't occur to me until afterwards, but yes, the "new" USE flags
did correspond with the change to a 13.0 desktop profile.  I'm now
wondering if my 10.0 profile was the non-desktop "generic" one.  When
I saw all the "new" USE flags, my assumption was that the USE flags
had just been added -- but now I'm betting they were newly enabled by
the 13.0 profile.

> I've been noticing a trend over the last two years or so where devs
> take a big packages and break it up into several smaller ones that
> are easier to manage, sort of like monolithic X to modular X on a
> smaller scale. This is a good thing overall.

Yes, that's a good thing (I think we all remember when it happened in
a big way to X a while back).  This didn't _seem_ to be that.  I'm
pretty sure things like thunar, openldap, bluetooth stuff, and various
others have been separate packages all along.

I think the switch to the 13.0 profile was probably the underlying
cause.

-- 
Grant Edwards   grant.b.edwardsYow! Oh, I get it!!
  at   "The BEACH goes on", huh,
  gmail.comSONNY??




Re: [gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Dale
Grant Edwards wrote:
> On 2013-02-11, Dale  wrote:
>> Grant Edwards wrote:
>>> 
>>> I tried doing an "emerge -auvND world" today.  It's been three days
>>> since the previous update, and today portage wants to update 1 package
>>> and install _35_new_ones_.
>>>
>>> Seriously?  35 new packages that I have to install on Monday that I
>>> didn't have to have the previous Friday?  A few of them are virtual
>>> packages, but the vast majority are actual package that I neither want
>>> nor need (other than to satisfy a requirement imposed by a new USE
>>> flag that defaults to "on" when it should have defaulted to "off").
>>>
>>> I realize that every developer thinks think their pariticular package
>>> is the greatest thing ever and should be installed on everything since
>>> the TI SR-54 calculator, but this seems a bit silly...
>>> 
>>>
>> Well, use the -t option to see what pulls in what.
> I did.  I turned off about a half-dozen new USE flags and elminated 30
> of the new packages.  My point was that in general when new stuff is
> added, the default behavior should be "same as before" (IMO).
>
>> Also, disable some USE flags that you don't want/need.  Also, could
>> some of this be the profile change? 
> Ah, that could be.  When the old profile went away I picked the
> generic "desktop" option.  Eselect didn't seem to be able to tell me
> what profile I had selected previously.
>


Well, like with everything else, I think they are working on making
eselect tell you what you had or "suggest" the replacement for you. 
Naturally, this is a few days late.  I think Alan pointed out this has
been happening a good bit here lately.  Does someone need a switch to
dust some britches with or what?  Someone is being naughty.  lol

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Paul Hartman
On Mon, Feb 11, 2013 at 5:32 PM, Dale  wrote:
> Grant Edwards wrote:
>> On 2013-02-11, Dale  wrote:
>>> Grant Edwards wrote:
 
 I tried doing an "emerge -auvND world" today.  It's been three days
 since the previous update, and today portage wants to update 1 package
 and install _35_new_ones_.

 Seriously?  35 new packages that I have to install on Monday that I
 didn't have to have the previous Friday?  A few of them are virtual
 packages, but the vast majority are actual package that I neither want
 nor need (other than to satisfy a requirement imposed by a new USE
 flag that defaults to "on" when it should have defaulted to "off").

 I realize that every developer thinks think their pariticular package
 is the greatest thing ever and should be installed on everything since
 the TI SR-54 calculator, but this seems a bit silly...
 

>>> Well, use the -t option to see what pulls in what.
>> I did.  I turned off about a half-dozen new USE flags and elminated 30
>> of the new packages.  My point was that in general when new stuff is
>> added, the default behavior should be "same as before" (IMO).
>>
>>> Also, disable some USE flags that you don't want/need.  Also, could
>>> some of this be the profile change?
>> Ah, that could be.  When the old profile went away I picked the
>> generic "desktop" option.  Eselect didn't seem to be able to tell me
>> what profile I had selected previously.
>>
>
>
> Well, like with everything else, I think they are working on making
> eselect tell you what you had or "suggest" the replacement for you.
> Naturally, this is a few days late.  I think Alan pointed out this has
> been happening a good bit here lately.  Does someone need a switch to
> dust some britches with or what?  Someone is being naughty.  lol

I see Gentoo as the daily crossword puzzle of distros. People who use
it every day need to be challenged, forced to read up on current
events, and have to solve puzzles in order to progress. Other people
need super-stable things like RHEL with 10-year support... they're
like the dusty set of encyclopedias sitting on the shelf. Expensive
and reliable, if a bit outdated near the end of their life-cycle. :)



Re: [gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Dale
Paul Hartman wrote:
> On Mon, Feb 11, 2013 at 5:32 PM, Dale  wrote:
>> Grant Edwards wrote:
>>> On 2013-02-11, Dale  wrote:
 Grant Edwards wrote:
> 
> I tried doing an "emerge -auvND world" today.  It's been three days
> since the previous update, and today portage wants to update 1 package
> and install _35_new_ones_.
>
> Seriously?  35 new packages that I have to install on Monday that I
> didn't have to have the previous Friday?  A few of them are virtual
> packages, but the vast majority are actual package that I neither want
> nor need (other than to satisfy a requirement imposed by a new USE
> flag that defaults to "on" when it should have defaulted to "off").
>
> I realize that every developer thinks think their pariticular package
> is the greatest thing ever and should be installed on everything since
> the TI SR-54 calculator, but this seems a bit silly...
> 
>
 Well, use the -t option to see what pulls in what.
>>> I did.  I turned off about a half-dozen new USE flags and elminated 30
>>> of the new packages.  My point was that in general when new stuff is
>>> added, the default behavior should be "same as before" (IMO).
>>>
 Also, disable some USE flags that you don't want/need.  Also, could
 some of this be the profile change?
>>> Ah, that could be.  When the old profile went away I picked the
>>> generic "desktop" option.  Eselect didn't seem to be able to tell me
>>> what profile I had selected previously.
>>>
>>
>> Well, like with everything else, I think they are working on making
>> eselect tell you what you had or "suggest" the replacement for you.
>> Naturally, this is a few days late.  I think Alan pointed out this has
>> been happening a good bit here lately.  Does someone need a switch to
>> dust some britches with or what?  Someone is being naughty.  lol
> I see Gentoo as the daily crossword puzzle of distros. People who use
> it every day need to be challenged, forced to read up on current
> events, and have to solve puzzles in order to progress. Other people
> need super-stable things like RHEL with 10-year support... they're
> like the dusty set of encyclopedias sitting on the shelf. Expensive
> and reliable, if a bit outdated near the end of their life-cycle. :)
>
>

True but . . . they change something then a few days later, issue a news
item or do something to provide other info on how to deal with the
change.  It should be the reverse.  Inform first THEN change things. 
Here lately, they have been a bit late. 

This makes me think, if a Government suddenly decided for people to
switch which side of the road they are supposed to drive on.  They don't
announce it widely or change any signs along the way BUT enough people
know about it to cause a HUGE number of head on collisions.  Some of the
changes here lately have been big, affected a lot of systems and caused
some havoc to boot. Change can be a good thing but just like changing
the side of the road people are driving on, we need to have advance
notice. 

Just saying.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/11/2013 06:07 PM, Stroller wrote:
> 
> On 11 February 2013, at 17:43, Michael Mol wrote:
>> ...
>>> If so, I don't understand why apache2 seems to bog down a bit
>>> for about 10 minutes afterward.
>> 
>> Now that's a new (and important!) piece of information. Your 
>> server runs slow for 10 *minutes* after your script has made its 
>> request?
> 
> This information is not new - it was in Grant's first post in this 
> thread, hence the reason I wondered if you'd read it.

*goes back in the thread*

Indeed it is, and I missed it. Whoops. I assembled my understanding of
the problem from subsequent posts, rather than the initial one.

> 
> I am sorry if I have caused you offence on any other occasion - if 
> so, please feel free to explain why.

Primarily, what bothers me is your typically acerbic tone, and that
your posts often (at least to my perception) carry more pejorative
than useful information. I greatly appreciate your more conciliatory
tone here!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRGYckAAoJED5TcEBdxYwQ4u0IAKniOy6z8N890fi0YJPE96af
BOTI8jMZ/C2Qdgbg67vHb1yXR7LW+7RYk889PKLDkd3KYIG3KP2Zf1AN9bugjxEv
hiNHLLUSQhdjbuoDw1EVQCt8r1m7XbQdSRTAlVGWTf7H+MlPGR06JJRtQxCxOuIY
QChGpqeQEClR84D8Ml+bg3gkybYAratm2AY+mKv2GbVXydEu6guCN/1uje73F1dJ
fQO6/zQr285YrRYWGrRDM4xMosqEgubL0QDMJYHOaPtvvUE5M4wulelx41jYrD0D
wtGDxq0X01qDRRYWzs5tyDGgICYSp/YvxYs6SOCx6Asd4e0UwOW00RELkMB3bMA=
=40Yp
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Peter Humphrey
On Tuesday 12 February 2013 00:04:52 Michael Mol wrote:

> Primarily, what bothers me is your typically acerbic tone, and that
> your posts often (at least to my perception) carry more pejorative
> than useful information.

I've not noticed that, for what it's worth.

-- 
Peter



Re: [gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Peter Humphrey
On Tuesday 12 February 2013 00:01:00 Dale wrote:

> This makes me think, if a Government suddenly decided for people to
> switch which side of the road they are supposed to drive on.

This happened in my lifetime in, I think, Sweden. I can't remember when 
though.

-- 
Peter



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Stroller

On 12 February 2013, at 00:04, Michael Mol wrote:
>> I am sorry if I have caused you offence on any other occasion - if 
>> so, please feel free to explain why.
> 
> Primarily, what bothers me is your typically acerbic tone, and that
> your posts often (at least to my perception) carry more pejorative
> than useful information.

I have always attempted the very opposite.

I'm a little shocked, and will attempt to reassess with fresh eyes before 
posting in the future.

I can only hope you may have confused me with someone else.

I will occasionally make a terse response to a problem, asking no more than 
"have you checked X? what does /var/log/Y say? please post the output of 
`exec-Z`". In my experience, the right questions (i.e. the right choice of X, Y 
& Z) will most usually lead the poster to the solution.

Stroller.




Re: [gentoo-user] Re: How to stem the flood of new packages?

2013-02-11 Thread Stroller

On 12 February 2013, at 00:30, Peter Humphrey wrote:
> On Tuesday 12 February 2013 00:01:00 Dale wrote:
> 
>> This makes me think, if a Government suddenly decided for people to
>> switch which side of the road they are supposed to drive on.
> 
> This happened in my lifetime in, I think, Sweden. I can't remember when 
> though.

They had a special day for it, with no driving permitted between certain hours 
whilst they changed road signs over:
http://en.wikipedia.org/wiki/Dagen_H

This image probably looks worse than it was in Stockholm, but it illustrates 
Dale's point:
http://en.wikipedia.org/wiki/File:Kungsgatan_1967.jpg

Stroller.




Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/11/2013 08:05 PM, Stroller wrote:
> 
> On 12 February 2013, at 00:04, Michael Mol wrote:
>>> I am sorry if I have caused you offence on any other occasion -
>>> if so, please feel free to explain why.
>> 
>> Primarily, what bothers me is your typically acerbic tone, and
>> that your posts often (at least to my perception) carry more
>> pejorative than useful information.
> 
> I have always attempted the very opposite.
> 
> I'm a little shocked, and will attempt to reassess with fresh eyes
> before posting in the future.
> 
> I can only hope you may have confused me with someone else.
> 
> I will occasionally make a terse response to a problem, asking no
> more than "have you checked X? what does /var/log/Y say? please
> post the output of `exec-Z`". In my experience, the right questions
> (i.e. the right choice of X, Y & Z) will most usually lead the
> poster to the solution.
> 
> Stroller.

I sincerely apologize. I will try to read your messages more clearly
in the tone they're obviously intended. Perhaps I do have you confused
with someone else. I hope so...either way, I apologize.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRGZiRAAoJED5TcEBdxYwQOfcIALZvCUe0G8yCNjkCZc57C6OW
ZwQLXErz+vPSo3U8FomwNrFFUVC5L726msPB6aKkuAZUSIA51Q0PLwLItxOJP2VJ
LwhmDyskbaqrYj1WIhmb7ASabGovpzo0GIOgvJuC2n/srAmb3qBeqlag9Zy/WwFt
miIwjXNqH1Nd0d6HlpX/O3f9kL1TBoohcUC4AwsQKWJfClohzkMalyls+OAWUs/r
5DD4nOv/53WjPLyVaKgeoNqPSaprAvuU2Em16y8ThUIrf2z/idxO+tUid4PfKscZ
s5GBxyDSqg+hzYyDQpfwx49ks7/NS9bvC/cIZKU0jeXhO+hXCOMl3Kzxu1ZDUEs=
=VPZ/
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-11 Thread Stroller

On 12 February 2013, at 01:19, Michael Mol wrote:
> ...
> I sincerely apologize. I will try to read your messages more clearly
> in the tone they're obviously intended. Perhaps I do have you confused
> with someone else. I hope so...either way, I apologize.

No problem, thank you and I'm glad we're all cool, now. :)

Stroller.





[gentoo-user] Amazon-Instant video

2013-02-11 Thread Kevin Brandstatter
I just got amazon prime for the instant videos (among other things) and
figured i should
be able to watch it on linux since its in flash.
However, I have had no luck getting it to play an instant video,
i've narrowed it down to videos with DRM, (because trailers play fine
and DRM screws up everything)
Google searches come up that it needs HAL (which is deprecated)
I even managed to install HAL, and still no luck

i keep getting "error occurred and your player cannot be updated"
I have the latest flash, chrome and firefox. (tried both)

Just wondering if others are having the same trouble or if someone has a
solution.

-Kevin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Bug in spidermonkey?

2013-02-11 Thread Elias Diem
Hi there

Well I did reinstall my whole system but without luck. 
Emerging gnome-light showed the very same error when 
compiling spidermonkey.

Then I thought I will install awesome, because it does not 
need spidermonkey. But the same problem here when compiling 
awesome. `Illegal statement' in the build.log.

Next I thought about installing xmonad. And this time it 
worked. So I will use xmonad for the future.

Thanks for your help Nilesh and Walt!

-- 
Greetings
Elias





Re: [gentoo-user] Bug in spidermonkey?

2013-02-11 Thread Elias Diem
On 2013-02-12,  Elias Diem wrote:

> `Illegal statement' in the build.log.

The above should read `Illegal instruction'.

-- 
Greetings
Elias