Re: [gentoo-user] blocking facebook

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 08:03:14PM -0700, the...@sys-concept.com wrote
> Does anybody have an idea how to block facebook?
> 
> I'm using dd-wrt.  The "access restriction" can block http but not https
> and I'm not good in iptables :-/
> In addition users are using VirtualBox on the network as well.

  An excerpt from my /var/lib/iptables/rules-save ruleset...

[0:0] -A INPUT -s 31.13.24.0/21 -j FECESBOOK
[154:11168] -A INPUT -s 31.13.64.0/18 -j FECESBOOK
[0:0] -A INPUT -s 66.220.144.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.171.224.0/19 -j FECESBOOK
[0:0] -A INPUT -s 74.119.76.0/22 -j FECESBOOK
[0:0] -A INPUT -s 103.4.96.0/22 -j FECESBOOK
[0:0] -A INPUT -s 173.252.64.0/18 -j FECESBOOK
[0:0] -A INPUT -s 204.15.20.0/22 -j FECESBOOK

[0:0] -A OUTPUT -d 31.13.24.0/21 -j FECESBOOK
[3763325:225839770] -A OUTPUT -d 31.13.64.0/18 -j FECESBOOK
[56:3360] -A OUTPUT -d 66.220.144.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 69.63.176.0/20 -j FECESBOOK
[874:52440] -A OUTPUT -d 69.171.224.0/19 -j FECESBOOK
[0:0] -A OUTPUT -d 74.119.76.0/22 -j FECESBOOK
[0:0] -A OUTPUT -d 103.4.96.0/22 -j FECESBOOK
[3306:198360] -A OUTPUT -d 173.252.64.0/18 -j FECESBOOK
[0:0] -A OUTPUT -d 204.15.20.0/22 -j FECESBOOK

[3767715:226105098] -A FECESBOOK -j LOG --log-prefix "FECESBOOK:" --log-level 6
[3767715:226105098] -A FECESBOOK -j DROP

  It's OK to change the numbers in brackets to [0:0].  They represent
the number of [packets:bytes] since the rule was last updated.  Which
block has the most traffic depends on which part of the planet you're
on.  Here in Toronto, Canada outbound traffic to the 31.13.64.0/18
block, specifically 31.13.80.3, is the most common hit.  This comes from
websites with Facebook beacons trying to track every man and his dog.

  You'll notice the occasional website with a small rectangle that says
"...can't establish a connection to the server at...".  Insert your
browser's name at the left, and the website name (Facebook,
ad.doubleclick.net, etc) at the right.

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



Re: [gentoo-user] blocking facebook

2015-12-11 Thread John Runyon
I used to volunteer at the local high school. They would redirect both http and 
https through their content filter (I'm not sure how they worked around SSL 
warnings exactly - maybe just a wildcard certificate for *? I know it was 
signed by a CA they had generated and installed on every school computer).

Other than that the best you can hope for is preventing DNS from resolving it. 
Add to dnsmasq options on your router "-A /facebook.com/fbcdn.net/".

-A: Specify an IP address to return for any host in the given domains. Queries 
in the domains are never forwarded and always replied to with the specified IP 
address which may be IPv4 or IPv6. 
...
one or more domains with no address returns a no-such-domain answer, so 
--address=/example.com/ is equivalent to --server=/example.com/ and returns 
NXDOMAIN for example.com and all its subdomains.

-John
Sent from my phone

Simon Thelen  wrote:

>On 15-12-11 at 20:03, the...@sys-concept.com wrote:
>> Does anybody have an idea how to block facebook?
>The only way to blacklist facebook would be to create a whitelist and
>drop everything not on said whitelist.
>
>If you block DNS, they can use a different DNS server. If you block IP
>addresses they'll use a proxy/vpn. If you use deep packet inspection
>they'll use TLS or a VPN or an SSH tunnel.
>
>If you can control the systems so that they don't do any of the above,
>it's possible but you've admitted that you can't (unless you can
>control all the Virtualbox instances).
> 
>-- 
>Simon Thelen
>


Re: [gentoo-user] blocking facebook

2015-12-11 Thread Dale
the...@sys-concept.com wrote:
> On 12/11/2015 09:05 PM, Simon Thelen wrote:
>> On 15-12-11 at 20:03, the...@sys-concept.com wrote:
>>> Does anybody have an idea how to block facebook?
>> The only way to blacklist facebook would be to create a whitelist and
>> drop everything not on said whitelist.
>>
>> If you block DNS, they can use a different DNS server. If you block IP
>> addresses they'll use a proxy/vpn. If you use deep packet inspection
>> they'll use TLS or a VPN or an SSH tunnel.
>>
>> If you can control the systems so that they don't do any of the above,
>> it's possible but you've admitted that you can't (unless you can
>> control all the Virtualbox instances).
> The users are not that knowledgeable to do any of that DNS, proxy/vpn etc.
> I know VirtualBox IP address and can block the page "facebook" for
> individual IP or certain range in dd-wrt.  But my problem is getting the
> dd-wrt "access control" to recognize and block "https".
> Trying to block by URL: https://www.facebook.com/ doesn't work.
>
> --
> Thelma
>
>
>


They may not now but I just did a quick search on startpage on how to
unblock facebook and I got a ton of hits including videos on youtube. 
They may not know how right now but after you block it, they will
shortly after.  On the plus side, you may have some budding computer
geeks coming along. 

Anyone else remember those parental control programs that rarely if ever
worked?  ROFL   Most teens could get past those in seconds if not a
minute or two.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] blocking facebook

2015-12-11 Thread thelma
On 12/11/2015 09:05 PM, Simon Thelen wrote:
> On 15-12-11 at 20:03, the...@sys-concept.com wrote:
>> Does anybody have an idea how to block facebook?
> The only way to blacklist facebook would be to create a whitelist and
> drop everything not on said whitelist.
> 
> If you block DNS, they can use a different DNS server. If you block IP
> addresses they'll use a proxy/vpn. If you use deep packet inspection
> they'll use TLS or a VPN or an SSH tunnel.
> 
> If you can control the systems so that they don't do any of the above,
> it's possible but you've admitted that you can't (unless you can
> control all the Virtualbox instances).

The users are not that knowledgeable to do any of that DNS, proxy/vpn etc.
I know VirtualBox IP address and can block the page "facebook" for
individual IP or certain range in dd-wrt.  But my problem is getting the
dd-wrt "access control" to recognize and block "https".
Trying to block by URL: https://www.facebook.com/ doesn't work.

--
Thelma




Re: [gentoo-user] blocking facebook

2015-12-11 Thread Simon Thelen
On 15-12-12 at 05:05, Simon Thelen wrote:
> On 15-12-11 at 20:03, the...@sys-concept.com wrote:
> > Does anybody have an idea how to block facebook?
> The only way to blacklist facebook would be to create a whitelist and
> drop everything not on said whitelist.
Oh, and even that's not easy.

Finding and creating a whitelist that ensures necessary stuff gets done
without allowing people to bypass blocks is almost impossible. Getting
around these sorts of blocks isn't a matter of theoretical possibility,
it's a matter of someone putting in enough time and effort into
bypassing it. If you don't have complete control over all devices all
the time, you might as well just give up.

-- 
Simon Thelen



Re: [gentoo-user] blocking facebook

2015-12-11 Thread Simon Thelen
On 15-12-11 at 20:03, the...@sys-concept.com wrote:
> Does anybody have an idea how to block facebook?
The only way to blacklist facebook would be to create a whitelist and
drop everything not on said whitelist.

If you block DNS, they can use a different DNS server. If you block IP
addresses they'll use a proxy/vpn. If you use deep packet inspection
they'll use TLS or a VPN or an SSH tunnel.

If you can control the systems so that they don't do any of the above,
it's possible but you've admitted that you can't (unless you can
control all the Virtualbox instances).
 
-- 
Simon Thelen



Re: [gentoo-user] blocking facebook

2015-12-11 Thread Willie M
If you use nat on iptables, it will also bypass it while using NAT. Change
the DNS server on virtualbox with doing something on dd-wrt it will also
bypass it. You have to keep dealing with it. There will always be a way to
bypass.

On Fri, Dec 11, 2015, 7:38 PM   wrote:

> On 12/11/2015 08:29 PM, Willie M wrote:
> > If that is the only website you want to block use /etc/hosts. Point it
> > towards your own computer. "127.0.0.1  facebook.com".
>
> That will work, but if they will use boot VirtualBox Windows it will
> by-pass that setting.
>
> --
> Thelma
>
>
> > On Fri, Dec 11, 2015, 7:04 PM   wrote:
> >
> >> Does anybody have an idea how to block facebook?
> >>
> >> I'm using dd-wrt.  The "access restriction" can block http but not https
> >> and I'm not good in iptables :-/
> >> In addition users are using VirtualBox on the network as well.
>
> --


Willie Matthews
matthews.willi...@gmail.com
702-659-9966


Re: [gentoo-user] blocking facebook

2015-12-11 Thread thelma
On 12/11/2015 08:29 PM, Willie M wrote:
> If that is the only website you want to block use /etc/hosts. Point it
> towards your own computer. "127.0.0.1  facebook.com".

That will work, but if they will use boot VirtualBox Windows it will
by-pass that setting.

--
Thelma


> On Fri, Dec 11, 2015, 7:04 PM   wrote:
> 
>> Does anybody have an idea how to block facebook?
>>
>> I'm using dd-wrt.  The "access restriction" can block http but not https
>> and I'm not good in iptables :-/
>> In addition users are using VirtualBox on the network as well.



Re: [gentoo-user] blocking facebook

2015-12-11 Thread Willie M
If that is the only website you want to block use /etc/hosts. Point it
towards your own computer. "127.0.0.1  facebook.com".

On Fri, Dec 11, 2015, 7:04 PM   wrote:

> Does anybody have an idea how to block facebook?
>
> I'm using dd-wrt.  The "access restriction" can block http but not https
> and I'm not good in iptables :-/
> In addition users are using VirtualBox on the network as well.
>
> --
> Thelma
>
> --


Willie Matthews
matthews.willi...@gmail.com
702-659-9966


[gentoo-user] dovecot imap-login

2015-12-11 Thread jens wefer
hey,..

I set up a mail server, postfix/dovecot, ssl required.
test with mail-client, all ok
when I try to copy mails with imapsync (gentoo) comes timeout,
and imapsync will login again.
with each new login, a new process imap-login is generated.

I start imapsync on centos, all ok.
I configure postfix/dovecot without ssl and start imapsync (gentoo),
all ok.

need a hint, what could be wrong.

imapsync 1.592, 1.644 (gentoo)
1.644 (centos)

ima jw



[gentoo-user] blocking facebook

2015-12-11 Thread thelma
Does anybody have an idea how to block facebook?

I'm using dd-wrt.  The "access restriction" can block http but not https
and I'm not good in iptables :-/
In addition users are using VirtualBox on the network as well.

-- 
Thelma



Re: [gentoo-user] java virtual machine

2015-12-11 Thread Urs Schütz

On 12/11/15 20:47, Urs Schütz wrote:

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.



Correction: dev-java/icedtea-web seems to be the package providing 
javaws for icedtea.


--
Urs



[gentoo-user] Re: [SOLVED] What package provides gstreamer-app?

2015-12-11 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 12/11/2015 05:52 PM, waltd...@waltdnes.org wrote:
> On Fri, Dec 11, 2015 at 02:20:43AM -0500, waltd...@waltdnes.org
> wrote
>> I've successfully manually compiled Pale Moon (a Firefox fork),
>> but it doesn't play h264 files.  Apparently, I have to enable
>> gstreamer for that.  OK, I did it.  This time the build fails
>> with...
>> 
>> configure:20206: checking for gstreamer-0.10 >= 0.10.25 
>> gstreamer-app-0.10 gstreamer-plugins-base-0.10 *** Fix above
>> errors and then restart with "make -f client.mk build"
>> 
>> I built libgstreamer and the base plugins package.  It still
>> fails. I can't find which package provides gstreamer-app.
>> Searching Google reveals that a lot of other people have the same
>> problem. http://www.portagefilelist.de/ doesn't have any results.
>> Any ideas?
> 
> That error message is rather cryptic.  Apparently, it means that
> it needs specifically the 0.10-X series.  Searching through old
> threads in the Pale Moon support forum revealed that there are
> "major issues" with gstreamer-1.X support, so the build only
> supports the 0.10-X series of gstreamer and plugins.  This is also
> a problem in Firefox, from which Pale Moon is forked.  Fortunately,
> there are still 0.10-X series ebuilds in the tree.  Just to be
> safe, I set up a local overlay with only the 0.10-X series versions
> of media-libs/
> 
> gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly 
> gst-rtsp-server gstreamer
> 
> I unmerged the version 1.X gstreamer and plugins, masked out >=
> 0.11 versions and emerged gst-plugins-base, which also pulled in
> gstreamer. The Pale Moon build is churning along now, and I'll find
> out in a couple of hours how it works with h264.  The web site... 
> http://www.quirksmode.org/html5/tests/video.html has h264, webm,
> and ogg/theora test videos.  I currently have webm and ogg/theora
> working. The gstreamer-enabled build will hopefully also run the
> h264 video. This will also be useful for Youtube in HTML5 mode.
> 


There is no need to remove the 1.x version of gstreamer (unless you
just don't need it anymore).  The 0.8, 0.10, and 1.x branches of
gstreamer are each slotted (well, the ancient 0.8 release is gone from
the tree as nothing uses it any more) specifically so that they can be
installed in parallel, and upstream actually supports doing so (which
is why the ABI version number is in the name of every library, plugin
directory, and executable).

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

iQIcBAEBCgAGBQJWa10dAAoJEEIQbvYRB3mgUZwP/iE0P4saa7awfU6ry8oaS5Ev
T3rQK/ahtwURWbVKeFu82e9yv6qrt1d6T6Gi47Yfu836OC+DYfpvW27YjHtMDitT
Vab/nsjLIzj+qAu15XAnPvjqabtJWT60J75upeUnBUGVTTrd/IMHRuw41eiwbhGq
2NX7aY0izzAPgoFUs4eG38UinxF8BGWEIm/FjijgNOYdU8XOfGKEw33ED9Iv7jzW
clYstdmRPdtDpKCcbtFPDCULVqzBhoZwc5GO1yl+aC69GVopwrqm+we9B7eEF2AN
knk8vCOQH9c7iEnbAxtZJuMBBDGXAwSIJt4F1s6qq8d7X8ZMyUSz+Qxo3Etq4S3L
sKCDAO+8vyJKTi6CGknIee2tecA4W+rFj4C2uNcqv17ZybBwrbWu9yAkOglDdsgD
WOLc4yoz1n0IOUDCqzFIze4+t9A03tC3W102hdSBpGwEj/UCe/ey/SMBu9+gOZb2
MgDcrmUMdeFsVYhiUSqh4Gp8Rriqv5IMQWxwoQ74IvFGINtQ1QD+IvX7BqFa6OQU
obzb0ucclRfyyoYsgUtHo5utazXaHEhyH9pQERacn8qUFYjQVFSqlNRS8blHz7RC
LTgCUDZ9eVwz75XFFvwQvXcC75arqXM1qRGJLs9HUwpBL1hHfb8QanLBv18URBBA
6EUhURqyIOT68DRKaL/m
=+mys
-END PGP SIGNATURE-



[gentoo-user] [SOLVED] What package provides gstreamer-app?

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 02:20:43AM -0500, waltd...@waltdnes.org wrote
>   I've successfully manually compiled Pale Moon (a Firefox fork), but it
> doesn't play h264 files.  Apparently, I have to enable gstreamer for
> that.  OK, I did it.  This time the build fails with...
> 
> configure:20206: checking for gstreamer-0.10 >= 0.10.25
>   gstreamer-app-0.10
>   gstreamer-plugins-base-0.10
> *** Fix above errors and then restart with "make -f client.mk build"
> 
>   I built libgstreamer and the base plugins package.  It still fails.
> I can't find which package provides gstreamer-app.  Searching Google
> reveals that a lot of other people have the same problem.
> http://www.portagefilelist.de/ doesn't have any results.  Any ideas?

  That error message is rather cryptic.  Apparently, it means that it
needs specifically the 0.10-X series.  Searching through old threads in
the Pale Moon support forum revealed that there are "major issues" with
gstreamer-1.X support, so the build only supports the 0.10-X series of
gstreamer and plugins.  This is also a problem in Firefox, from which
Pale Moon is forked.  Fortunately, there are still 0.10-X series ebuilds
in the tree.  Just to be safe, I set up a local overlay with only the
0.10-X series versions of media-libs/

gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-rtsp-server
gstreamer

  I unmerged the version 1.X gstreamer and plugins, masked out >= 0.11
versions and emerged gst-plugins-base, which also pulled in gstreamer.
The Pale Moon build is churning along now, and I'll find out in a couple
of hours how it works with h264.  The web site...
http://www.quirksmode.org/html5/tests/video.html has h264, webm, and
ogg/theora test videos.  I currently have webm and ogg/theora working.
The gstreamer-enabled build will hopefully also run the h264 video.
This will also be useful for Youtube in HTML5 mode.

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



Re: [gentoo-user] java virtual machine

2015-12-11 Thread Urs Schütz

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.

--
Urs



[gentoo-user] bcache and vm's

2015-12-11 Thread Bill Kenworthy
Can anyone comment on using bcache for VM's? (kvm/qemu) - is it worthwhile?

BillK



Re: [gentoo-user] What package provides gstreamer-app?

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 09:02:53AM +, Neil Bothwick wrote
> On Fri, 11 Dec 2015 02:20:43 -0500, waltd...@waltdnes.org wrote:
> 
> >   I built libgstreamer and the base plugins package.  It still fails.
> > I can't find which package provides gstreamer-app.
> 
> % locate gstreamer-app 
> /usr/lib64/pkgconfig/gstreamer-app-0.10.pc
> /usr/lib64/pkgconfig/gstreamer-app-1.0.pc
> 
> % qfile /usr/lib64/pkgconfig/gstreamer-app-0.10.pc
> media-libs/gst-plugins-base (/usr/lib64/pkgconfig/gstreamer-app-0.10.pc)
> 
> % eix media-libs/gst-plugins-base
> [I] media-libs/gst-plugins-base
>  Available versions:  
>  (0.10) 0.10.36-r1 0.10.36-r2
>  (1.0)  1.2.4-r1 1.4.5 (~)1.6.0{tbz2} (~)1.6.1{tbz2}
>{X alsa +introspection ivorbis nls +ogg +orc +pango theora +vorbis 
> ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
>  Installed versions:  0.10.36-r2(0.10)(14:30:57 03/08/15)(introspection 
> nls orc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" 
> ABI_X86="64 -32 -x32") 1.6.1(1.0){tbz2}(09:58:51 09/11/15)(X alsa 
> introspection nls ogg orc theora vorbis -ivorbis -pango ABI_MIPS="-n32 -n64 
> -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
> 
> Are you using the same versions with the same USE flags?

  "find" finds /usr/lib/pkgconfig/gstreamer-app-1.0.pc and
/usr/lib/pkgconfig/gstreamer-plugins-base-1.0.pc on my 32-bit install.
I don't know if the Pale Moon build is looking specifically for version
0.10.  I'll check further on the Pale Moon support forum.

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



Re: [gentoo-user] Unknown problem causing incorrect mounting and daemons not starting

2015-12-11 Thread John Runyon
It seems to me the root of your problems is fsck failing because (it thinks) 
the partitions are already mounted.

Is your mtab a symlink to /proc/mounts as it "should" be?

Thomas Sigurdsen  wrote:

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA256
>
>There is an html version of this mail, that also has emerge --info and
>my kernel config, at:
>http://browniehive.net/tmp/hp-problems.html
>
>I've come to a dead end in troubleshooting this issue and turn to you
>for help in how to continue. The following is what I've discovered
>during troubleshooting.
>
># FS's not Mounted After Boot
>
>After login I need to remount `/` with rw. I always then mount `/boot`,
>`/mnt/hdd`, `/home/thomas/hdd` manually; that is --- with the `fixmnt`
>script I made pasted below.
>
>before doing the above `mount` command tells me that the FS's are
>mounted as they should be, but they contain no files.
>
>## `~/bin/fixmnt`
>
>
>#!/bin/bash
>
>sudo ip link set lo up
>sudo dhclient enp0s25
>
>cp /etc/mtab /home/thomas/mtab-$(date -Iminutes)
>wgp=$(wgetpaste /etc/mtab)
>
>sudo mount -o remount,rw /
>echo $wgp >> /home/thomas/wgp-$(date -Iminutes)
>sudo mount /boot
>sudo mount /mnt/hdd
>sudo mount /home/thomas/hdd
>sudo swapon /dev/sdb2
>#ip link set lo up
>#sudo ip link set lo up
>
>
>As I can't put a copy of `/etc/mtab` anywhere on a read only FS you
>won't see what it looks like before running the `fixmnt ` script. The
>script gives off an error for the call to cp that I've just ignored for
>now (also the wgetpaste doesn't work as it requires creating files in
>`/tmp/`, which at that point in time is not writable).
>
># Daemons Won't Start
>
>You can see from the above that `net.lo` does not get started and there
>are some daemons that haven't started and won't start when called. Some
>I can start through calling their commands directly (I do this with
>`privoxy` and `tor` at the moment in a `tmux` session for browsing).
>Other daemons won't start no matter what I try, like `dbus`.
>
>## `/etc/init.d/dbus start`
>
>
>* Checking local filesystems  .../dev/sda1 is mounted.
>e2fsck: Cannot continue, aborting.
>
>
>fsck.xfs: invalid option -- 'p'
>Usage: fsck.xfs [options] device
>
>Options:
>  -f   The device is a file
>  -L   Force log zeroing. Do this as a last resort.
>  -l logdevSpecifies the device where the external log resides.
>  -m maxmemMaximum amount of memory to be used in megabytes.
>  -n   No modify mode, just checks the filesystem for damage.
>  -P   Disables prefetching.
>  -r rtdev Specifies the device where the realtime section resides.
>  -v   Verbose output.
>  -c subopts   Change filesystem parameters - use xfs_admin.
>  -o subopts   Override default behaviour, refer to man page.
>  -t interval  Reporting interval in seconds.
>  -d   Repair dangerously.
>  -V   Reports version and exits.
>open: No such file or directory
>fsck.fat 3.0.28 (2015-05-16)
>
> * Filesystems couldn't be fixed
> [ !! ]
> * ERROR: fsck failed to start
> * Checking local filesystems  .../dev/sda1 is mounted.
>e2fsck: Cannot continue, aborting.
>
> snip 
>
> * Filesystems couldn't be fixed
> [ !! ]
> * ERROR: fsck failed to start
> * ERROR: cannot start root as fsck would not start
> * ERROR: cannot start mtab as fsck would not start
> * ERROR: cannot start localmount as fsck would not start
> * ERROR: cannot start dbus as fsck would not start
>
>
>Because of the above output I wonder if this is because of some FS or
>disk error (crossing fingers for software/config and not hardware) the
>culprit could be `fsck.xfs`.
>
>I have run fsck (including `xfs_repair` on the xfs partitions) on all
>partitions, with no problems reported from a trisquell livedisk. I also
>tried running fsck on `/dev/sda1` from the installed Gentoo instance;
>got no errors and didn't change any behaviour as far as I have noticed.
>
># Overview of System
>
>Sometime in the beginning of October I installed an ssd in this laptop
>and migrated to it. The problems started after this, but I am unsure
>precisely when as I didn't reboot much in between the migration; for all
>I remember now these problems might have started a while after the
>migration. `sdb` is the "new" ssd while `sda` is the old hdd.
>
>As you can see from `fstab` I tried putting `/dev/sdb3` as the boot
>partition when I installed the ssd.
>
>## `/etc/fstab`
>
>
>#/dev/sdb3 /boot   ext2noatime 1 2
>/dev/sda1  /boot   ext2noatime 1 2
>/dev/sdb1  /   ext4noatime,discard 0 1
>/dev/sdb2  noneswapsw  0 0
>## Old harddisk
>/dev/sda4  /mnt/hddxfs noatime 0 2
>/mnt/hdd/home/thomas /home/thomas/hdd  none  

[gentoo-user] Unknown problem causing incorrect mounting and daemons not starting

2015-12-11 Thread Thomas Sigurdsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

There is an html version of this mail, that also has emerge --info and
my kernel config, at:
http://browniehive.net/tmp/hp-problems.html

I've come to a dead end in troubleshooting this issue and turn to you
for help in how to continue. The following is what I've discovered
during troubleshooting.

# FS's not Mounted After Boot

After login I need to remount `/` with rw. I always then mount `/boot`,
`/mnt/hdd`, `/home/thomas/hdd` manually; that is --- with the `fixmnt`
script I made pasted below.

before doing the above `mount` command tells me that the FS's are
mounted as they should be, but they contain no files.

## `~/bin/fixmnt`


#!/bin/bash

sudo ip link set lo up
sudo dhclient enp0s25

cp /etc/mtab /home/thomas/mtab-$(date -Iminutes)
wgp=$(wgetpaste /etc/mtab)

sudo mount -o remount,rw /
echo $wgp >> /home/thomas/wgp-$(date -Iminutes)
sudo mount /boot
sudo mount /mnt/hdd
sudo mount /home/thomas/hdd
sudo swapon /dev/sdb2
#ip link set lo up
#sudo ip link set lo up


As I can't put a copy of `/etc/mtab` anywhere on a read only FS you
won't see what it looks like before running the `fixmnt ` script. The
script gives off an error for the call to cp that I've just ignored for
now (also the wgetpaste doesn't work as it requires creating files in
`/tmp/`, which at that point in time is not writable).

# Daemons Won't Start

You can see from the above that `net.lo` does not get started and there
are some daemons that haven't started and won't start when called. Some
I can start through calling their commands directly (I do this with
`privoxy` and `tor` at the moment in a `tmux` session for browsing).
Other daemons won't start no matter what I try, like `dbus`.

## `/etc/init.d/dbus start`


* Checking local filesystems  .../dev/sda1 is mounted.
e2fsck: Cannot continue, aborting.


fsck.xfs: invalid option -- 'p'
Usage: fsck.xfs [options] device

Options:
  -f   The device is a file
  -L   Force log zeroing. Do this as a last resort.
  -l logdevSpecifies the device where the external log resides.
  -m maxmemMaximum amount of memory to be used in megabytes.
  -n   No modify mode, just checks the filesystem for damage.
  -P   Disables prefetching.
  -r rtdev Specifies the device where the realtime section resides.
  -v   Verbose output.
  -c subopts   Change filesystem parameters - use xfs_admin.
  -o subopts   Override default behaviour, refer to man page.
  -t interval  Reporting interval in seconds.
  -d   Repair dangerously.
  -V   Reports version and exits.
open: No such file or directory
fsck.fat 3.0.28 (2015-05-16)

 * Filesystems couldn't be fixed
 [ !! ]
 * ERROR: fsck failed to start
 * Checking local filesystems  .../dev/sda1 is mounted.
e2fsck: Cannot continue, aborting.

 snip 

 * Filesystems couldn't be fixed
 [ !! ]
 * ERROR: fsck failed to start
 * ERROR: cannot start root as fsck would not start
 * ERROR: cannot start mtab as fsck would not start
 * ERROR: cannot start localmount as fsck would not start
 * ERROR: cannot start dbus as fsck would not start


Because of the above output I wonder if this is because of some FS or
disk error (crossing fingers for software/config and not hardware) the
culprit could be `fsck.xfs`.

I have run fsck (including `xfs_repair` on the xfs partitions) on all
partitions, with no problems reported from a trisquell livedisk. I also
tried running fsck on `/dev/sda1` from the installed Gentoo instance;
got no errors and didn't change any behaviour as far as I have noticed.

# Overview of System

Sometime in the beginning of October I installed an ssd in this laptop
and migrated to it. The problems started after this, but I am unsure
precisely when as I didn't reboot much in between the migration; for all
I remember now these problems might have started a while after the
migration. `sdb` is the "new" ssd while `sda` is the old hdd.

As you can see from `fstab` I tried putting `/dev/sdb3` as the boot
partition when I installed the ssd.

## `/etc/fstab`


#/dev/sdb3  /boot   ext2noatime 1 2
/dev/sda1   /boot   ext2noatime 1 2
/dev/sdb1   /   ext4noatime,discard 0 1
/dev/sdb2   noneswapsw  0 0
## Old harddisk
/dev/sda4   /mnt/hddxfs noatime 0 2
/mnt/hdd/home/thomas /home/thomas/hdd   nonebind0 0

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJWayVxAAoJEMUjE08Xv1s5rcoH/3Lz6J7FKByC7xWmkB4iwxx+
oApXUhVfG1+ZJbD6V/EWiPo47aXaen1vOMKadcyw2svpWzZlLpLTQDpOiiGGq9Wj
CCR9VuWlAxJMJZkTm0xEkp7GUAXOR6ln/MJvhbGqnrr1AENj7+QaOVr7rHDziH8M
Ew8oZIQctCFAD8m8dIKkF3E4Jqlu9G7Hyi0M

Re: [gentoo-user] java virtual machine

2015-12-11 Thread Frederico Moraes Ferreira
Has anybody happen to know which java distribution, except the oracle 
one, will carry javaws?

Thanks,
Fred

Em 10-12-2015 23:06, Urs Schütz escreveu:
I do not know the answer to your question. But here is how I switch 
java virtual machines:


$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   oracle-jre-bin-1.7

$ eselect java-vm set user 2
or
$ sudo eselect java-vm set system 2





Re: [gentoo-user] OT: i7-6700, anyone already?

2015-12-11 Thread Stefan G. Weichinger
Am 10.12.2015 um 19:52 schrieb waltd...@waltdnes.org:

>> Do I have to set that variable then (in make.conf?) ?
> 
>   Yes, you should.  While you're at it, you can remove the corresponding
> flags from the USE= variable.  I don't know if they're honored by
> portage any longer.  I assume you missed the news item back in January.
> It's archived and you can read it at...
> https://www.gentoo.org/support/news-items/2015-01-28-cpu_flags_x86-introduction.html

thanks for the pointer, did that right now (still on the i7-2600 ...
waiting).

I didn't have anything like that in USE= anymore, anyway.





Re: [gentoo-user] What package provides gstreamer-app?

2015-12-11 Thread Neil Bothwick
On Fri, 11 Dec 2015 02:20:43 -0500, waltd...@waltdnes.org wrote:

>   I built libgstreamer and the base plugins package.  It still fails.
> I can't find which package provides gstreamer-app.

% locate gstreamer-app 
/usr/lib64/pkgconfig/gstreamer-app-0.10.pc
/usr/lib64/pkgconfig/gstreamer-app-1.0.pc

% qfile /usr/lib64/pkgconfig/gstreamer-app-0.10.pc
media-libs/gst-plugins-base (/usr/lib64/pkgconfig/gstreamer-app-0.10.pc)

% eix media-libs/gst-plugins-base
[I] media-libs/gst-plugins-base
 Available versions:  
 (0.10) 0.10.36-r1 0.10.36-r2
 (1.0)  1.2.4-r1 1.4.5 (~)1.6.0{tbz2} (~)1.6.1{tbz2}
   {X alsa +introspection ivorbis nls +ogg +orc +pango theora +vorbis 
ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
 Installed versions:  0.10.36-r2(0.10)(14:30:57 03/08/15)(introspection nls 
orc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 
-32 -x32") 1.6.1(1.0){tbz2}(09:58:51 09/11/15)(X alsa introspection nls ogg orc 
theora vorbis -ivorbis -pango ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" 
ABI_S390="-32 -64" ABI_X86="64 -32 -x32")

Are you using the same versions with the same USE flags?


-- 
Neil Bothwick

Velilind's Laws of Experimentation:
1. If reproducibility may be a problem, conduct the test only once.
2. If a straight line fit is required, obtain only two data points.


pgp1uiYyOLpAG.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What package provides gstreamer-app?

2015-12-11 Thread Franz Fellner
❯ qlist gst-plugins-base:0.10 | grep app
/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gstreamer-app.html
/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-appsrc.html
/usr/share/gtk-doc/html/gst-plugins-base-libs-0.10/gst-plugins-base-libs-appsink.html
/usr/share/gtk-doc/html/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-appsrc.html
/usr/share/gtk-doc/html/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-plugin-app.html
/usr/share/gtk-doc/html/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-appsink.html
/usr/lib64/gstreamer-0.10/libgstapp.so
/usr/lib64/libgstapp-0.10.so.0.25.0
/usr/lib64/libgstapp-0.10.so.0
/usr/lib64/pkgconfig/gstreamer-app-0.10.pc
/usr/lib64/libgstapp-0.10.so
/usr/include/gstreamer-0.10/gst/app/gstappsink.h
/usr/include/gstreamer-0.10/gst/app/gstappbuffer.h
/usr/include/gstreamer-0.10/gst/app/gstappsrc.h

Probably you need to start a completely fresh build?
Also you might want to build against gstreamer:1.0 (AFAIK it is not the
default but there should be a configure switch)

2015-12-11 8:43 GMT+01:00 Dale :

> waltd...@waltdnes.org wrote:
> >   I've successfully manually compiled Pale Moon (a Firefox fork), but it
> > doesn't play h264 files.  Apparently, I have to enable gstreamer for
> > that.  OK, I did it.  This time the build fails with...
> >
> > configure:20206: checking for gstreamer-0.10 >= 0.10.25
> >   gstreamer-app-0.10
> >   gstreamer-plugins-base-0.10
> > *** Fix above errors and then restart with "make -f client.mk
> build"
> >
> >   I built libgstreamer and the base plugins package.  It still fails.
> > I can't find which package provides gstreamer-app.  Searching Google
> > reveals that a lot of other people have the same problem.
> > http://www.portagefilelist.de/ doesn't have any results.  Any ideas?
> >
>
>
> I have some gstreamer stuff installed here and I didn't find any matches
> either.  If that filelist site doesn't list it either, makes me wonder
> what does install that file.  :/
>
> Dale
>
> :-)  :-)
>
>