Re: [gentoo-user] I have two sound cards - and no sound

2017-02-09 Thread Mick
On Thursday 09 Feb 2017 22:19:24 the...@sys-concept.com wrote:
> On my new box I seem to have two sound cards but no sound.
> 
> cat /proc/asound/cards
>  0 [SB ]: HDA-Intel - HDA ATI SB
>   HDA ATI SB at 0xfe40 irq 16
>  1 [NVidia ]: HDA-Intel - HDA NVidia
>   HDA NVidia at 0xfe08 irq 50
> 
> lspci | grep -i audio
> 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
> (Intel HDA) (rev 40) 01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP
> Audio Controller (rev a1)
> 
> cat /usr/src/linux/.config | grep SND_HDA
> CONFIG_SND_HDA=y
> CONFIG_SND_HDA_INTEL=y
> CONFIG_SND_HDA_HWDEP=y
> # CONFIG_SND_HDA_RECONFIG is not set
> # CONFIG_SND_HDA_INPUT_BEEP is not set
> # CONFIG_SND_HDA_PATCH_LOADER is not set
> # CONFIG_SND_HDA_CODEC_REALTEK is not set
> # CONFIG_SND_HDA_CODEC_ANALOG is not set
> # CONFIG_SND_HDA_CODEC_SIGMATEL is not set
> # CONFIG_SND_HDA_CODEC_VIA is not set
> # CONFIG_SND_HDA_CODEC_HDMI is not set
> # CONFIG_SND_HDA_CODEC_CIRRUS is not set
> # CONFIG_SND_HDA_CODEC_CONEXANT is not set
> # CONFIG_SND_HDA_CODEC_CA0110 is not set
> # CONFIG_SND_HDA_CODEC_CA0132 is not set
> # CONFIG_SND_HDA_CODEC_CMEDIA is not set
> # CONFIG_SND_HDA_CODEC_SI3054 is not set
> # CONFIG_SND_HDA_GENERIC is not set
> CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
> CONFIG_SND_HDA_CORE=y
> CONFIG_SND_HDA_I915=y
> CONFIG_SND_HDA_PREALLOC_SIZE=64
> 
> #speaker-test
> 
> speaker-test 1.1.2
> 
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 1 channels
> Using 16 octaves of pink noise
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm_
> dmix.c:1041:(snd_pcm_dmix_open) unable to open slave Playback open error:
> -2,No such file or directory
> 
> What am I missing?

You are missing the correct sound driver for your hardware.


> Doesn't matter which card I select via "alsamixer" I get:
> 
> " This sound device does not have any controls."

You could use Google to find out which kernel module is required for your 
hardware; or, quicker and potentially more accurate would be to set up *every* 
driver as a module in your kernel and reboot.  The correct module will be 
loaded and will show up in dmesg and lsmod.  Then you can deselect the rest 
and rebuild your kernel.
-- 
Regards,
Mick

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


[gentoo-user] I have two sound cards - and no sound

2017-02-09 Thread thelma
On my new box I seem to have two sound cards but no sound.

cat /proc/asound/cards 
 0 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xfe40 irq 16
 1 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0xfe08 irq 50

lspci | grep -i audio
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia 
(Intel HDA) (rev 40)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)

cat /usr/src/linux/.config | grep SND_HDA 
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
# CONFIG_SND_HDA_GENERIC is not set
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64

#speaker-test

speaker-test 1.1.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1041:(snd_pcm_dmix_open)
 unable to open slave
Playback open error: -2,No such file or directory

What am I missing?
Doesn't matter which card I select via "alsamixer" I get:

" This sound device does not have any controls."

-- 
Thelma



Re: [gentoo-user] systemd - pulled IN "can not win" :-/

2017-02-09 Thread Alan McKinnon
On 10/02/2017 06:15, the...@sys-concept.com wrote:
> On 02/09/2017 08:37 PM, the...@sys-concept.com wrote:
>> On 02/09/2017 08:30 PM, the...@sys-concept.com wrote:
>>> I have in 
>>> USE="gnome -qt4 -hal -arts -berkdb X qtk -qt3 -kde dvd alsa cdr cups 
>>> apache2 ssl foomaticdb ppds mysql -acl \
>>> java tiff png usb scanner gimp gimpprint cgi fam nptl truetype kpathsea 
>>> type1 opengl tetex spell consolekit dbus policykit -systemd"
>>>
>>> But some application managed to pull it IN. 
>>> How to fix this blockage?
>>>
> [snip]
> 
> Solved. libreoffice-bin was pulling "systemd".  I was trying to save
> time on emerge.
> 
> --
> Thelma
> 


Every time you fins yourself asking these questions:

> But some application managed to pull it IN.
> How to fix this blockage?

ALWAYS run emerge with -t option and the output will give the answer you
seek.

Most replies on this list will ask you do it, so just get in the habit
of doing it yourself


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




Re: [gentoo-user] systemd - pulled IN "can not win" :-/

2017-02-09 Thread thelma
On 02/09/2017 08:37 PM, the...@sys-concept.com wrote:
> On 02/09/2017 08:30 PM, the...@sys-concept.com wrote:
>> I have in 
>> USE="gnome -qt4 -hal -arts -berkdb X qtk -qt3 -kde dvd alsa cdr cups apache2 
>> ssl foomaticdb ppds mysql -acl \
>> java tiff png usb scanner gimp gimpprint cgi fam nptl truetype kpathsea 
>> type1 opengl tetex spell consolekit dbus policykit -systemd"
>>
>> But some application managed to pull it IN. 
>> How to fix this blockage?
>>
[snip]

Solved. libreoffice-bin was pulling "systemd".  I was trying to save
time on emerge.

--
Thelma



Re: [gentoo-user] systemd - pulled IN "can not win" :-/

2017-02-09 Thread thelma
On 02/09/2017 08:30 PM, the...@sys-concept.com wrote:
> I have in 
> USE="gnome -qt4 -hal -arts -berkdb X qtk -qt3 -kde dvd alsa cdr cups apache2 
> ssl foomaticdb ppds mysql -acl \
> java tiff png usb scanner gimp gimpprint cgi fam nptl truetype kpathsea type1 
> opengl tetex spell consolekit dbus policykit -systemd"
> 
> But some application managed to pull it IN. 
> How to fix this blockage?
> 
> 
> [blocks B ] sys-apps/gentoo-systemd-integration 
> ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-225-r1)
> [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking 
> sys-apps/systemd-226-r2)
> [blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking 
> sys-fs/udev-225-r1)
> [blocks B ] sys-fs/udev ("sys-fs/udev" is blocking 
> sys-apps/gentoo-systemd-integration-6)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (sys-apps/systemd-226-r2:0/2::gentoo, ebuild scheduled for merge) pulled in 
> by
> >=sys-apps/systemd-207 required by 
> (sys-apps/gentoo-systemd-integration-6:0/0::gentoo, ebuild scheduled for 
> merge)
> sys-apps/systemd:0= required by (sys-apps/dbus-1.10.12:0/0::gentoo, 
> ebuild scheduled for merge)
> 
>   (sys-fs/udev-225-r1:0/0::gentoo, installed) pulled in by
> >=sys-fs/udev-208-r1 required by (virtual/udev-215:0/0::gentoo, installed)
> 
> >=sys-fs/udev-208-r1:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?]
>  (>=sys-fs/udev-208-r1:0/0[abi_x86_32(-),abi_x86_64(-)]) required by 
> (virtual/libudev-215-r1:0/1::gentoo, installed)
> 
> # equery d sys-apps/systemd
> 
>  * These packages depend on sys-apps/systemd:
> app-admin/syslog-ng-3.7.3 (systemd ? sys-apps/systemd)
> dev-lang/php-5.6.29 (systemd ? sys-apps/systemd)
> gnome-base/gvfs-1.28.3-r1 (systemd ? sys-apps/systemd:0)
> media-gfx/sane-backends-1.0.25-r1 (systemd ? sys-apps/systemd:0)
> net-fs/samba-4.2.14 (systemd ? sys-apps/systemd:0)
> net-libs/libvncserver-0.9.11-r1 (systemd ? sys-apps/systemd)
> net-misc/openvpn-2.3.12 (systemd ? sys-apps/systemd)
> net-nds/rpcbind-0.2.3-r1 (systemd ? sys-apps/systemd)
> net-print/cups-2.1.4 (systemd ? sys-apps/systemd)
> net-wireless/bluez-5.43 (systemd ? sys-apps/systemd)
> sys-apps/dbus-1.10.12 (systemd ? sys-apps/systemd:0)
> sys-apps/util-linux-2.28.2 (systemd ? sys-apps/systemd)
> sys-auth/pambase-20150213 (systemd ? >=sys-apps/systemd-204[pam])
> sys-auth/polkit-0.113 (systemd ? sys-apps/systemd:0)
> sys-fs/udisks-2.1.8 (systemd ? >=sys-apps/systemd-209)
> sys-process/procps-3.3.12 (systemd ? >=sys-apps/systemd-209)
> virtual/libudev-215-r1 (systemd ? 
> >=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
> virtual/logger-0 (>=sys-apps/systemd-38)
> virtual/service-manager-0 (kernel_linux ? sys-apps/systemd)
> virtual/udev-215 (systemd ? >=sys-apps/systemd-208:0)
> x11-base/xorg-server-1.18.4 (systemd ? sys-apps/systemd)

I forgo to add:

grep systemd /etc/portage/package.use
# required by virtual/libudev-215-r1[-systemd]
# required by sys-apps/systemd-226-r2::gentoo
>=sys-apps/dbus-1.10.12 systemd

--
Thelma



[gentoo-user] systemd - pulled IN "can not win" :-/

2017-02-09 Thread thelma
I have in 
USE="gnome -qt4 -hal -arts -berkdb X qtk -qt3 -kde dvd alsa cdr cups apache2 
ssl foomaticdb ppds mysql -acl \
java tiff png usb scanner gimp gimpprint cgi fam nptl truetype kpathsea type1 
opengl tetex spell consolekit dbus policykit -systemd"

But some application managed to pull it IN. 
How to fix this blockage?


[blocks B ] sys-apps/gentoo-systemd-integration 
("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-225-r1)
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-226-r2)
[blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking 
sys-fs/udev-225-r1)
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking 
sys-apps/gentoo-systemd-integration-6)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-226-r2:0/2::gentoo, ebuild scheduled for merge) pulled in by
>=sys-apps/systemd-207 required by 
(sys-apps/gentoo-systemd-integration-6:0/0::gentoo, ebuild scheduled for merge)
sys-apps/systemd:0= required by (sys-apps/dbus-1.10.12:0/0::gentoo, ebuild 
scheduled for merge)

  (sys-fs/udev-225-r1:0/0::gentoo, installed) pulled in by
>=sys-fs/udev-208-r1 required by (virtual/udev-215:0/0::gentoo, installed)

>=sys-fs/udev-208-r1:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?]
 (>=sys-fs/udev-208-r1:0/0[abi_x86_32(-),abi_x86_64(-)]) required by 
(virtual/libudev-215-r1:0/1::gentoo, installed)

# equery d sys-apps/systemd

 * These packages depend on sys-apps/systemd:
app-admin/syslog-ng-3.7.3 (systemd ? sys-apps/systemd)
dev-lang/php-5.6.29 (systemd ? sys-apps/systemd)
gnome-base/gvfs-1.28.3-r1 (systemd ? sys-apps/systemd:0)
media-gfx/sane-backends-1.0.25-r1 (systemd ? sys-apps/systemd:0)
net-fs/samba-4.2.14 (systemd ? sys-apps/systemd:0)
net-libs/libvncserver-0.9.11-r1 (systemd ? sys-apps/systemd)
net-misc/openvpn-2.3.12 (systemd ? sys-apps/systemd)
net-nds/rpcbind-0.2.3-r1 (systemd ? sys-apps/systemd)
net-print/cups-2.1.4 (systemd ? sys-apps/systemd)
net-wireless/bluez-5.43 (systemd ? sys-apps/systemd)
sys-apps/dbus-1.10.12 (systemd ? sys-apps/systemd:0)
sys-apps/util-linux-2.28.2 (systemd ? sys-apps/systemd)
sys-auth/pambase-20150213 (systemd ? >=sys-apps/systemd-204[pam])
sys-auth/polkit-0.113 (systemd ? sys-apps/systemd:0)
sys-fs/udisks-2.1.8 (systemd ? >=sys-apps/systemd-209)
sys-process/procps-3.3.12 (systemd ? >=sys-apps/systemd-209)
virtual/libudev-215-r1 (systemd ? 
>=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
virtual/logger-0 (>=sys-apps/systemd-38)
virtual/service-manager-0 (kernel_linux ? sys-apps/systemd)
virtual/udev-215 (systemd ? >=sys-apps/systemd-208:0)
x11-base/xorg-server-1.18.4 (systemd ? sys-apps/systemd)

-- 
Thelma



Re: [gentoo-user] Firefox : tab grouping

2017-02-09 Thread Dale
Frank Steinmetzger wrote:
> On Thu, Feb 09, 2017 at 02:21:09AM -0600, Dale wrote:
>
>>> 170208 Philip Webb wrote:
>>> […]
>>> I had understood that tab-grouping had been dropped by FF,
>>> but was available via an add-on, Panorama something.
>>> However, the new FF seems to have restored tab-grouping itself.
>>>
>>> Is it back by popular demand ?  Info is very welcome.
>>>
>>
>> I use this add-on:
>>
>> https://addons.mozilla.org/en-US/firefox/addon/tabgroups-manager-revived/
>>
>> I do things that require a large number of open tabs at times, I also
>> use this:
>>
>> https://addons.mozilla.org/en-US/firefox/addon/tab-utilities-fixed/
>>
>> Hope that helps.
> To keep track of a lot of tabs visually, I use Tab Tree:
> https://addons.mozilla.org/en-US/firefox/addon/tab-tree/
> This also makes much better use of screen real estate, now that you can only
> get 16:9 “viewing slits” these days.
>
> As for all those actions you get from the tab utilities, nothing beats a
> command line à la vim for that (pentadactyl/vimperator). :o)


That wouldn't handle the number of open tabs I have here.  Not even
close.  There are times where I have close to and even exceeding 200
tabs open.  I use the group add-on to sort them into groups.  Depending
on what I'm into at the time, or looking for, I go to the group that
should have it.

I tried vim once, didn't like it. 

This may help the OP tho.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] new wireless router

2017-02-09 Thread allan gottlieb
On Wed, Feb 08 2017, the...@sys-concept.com wrote:

> On 02/08/2017 07:42 PM, allan gottlieb wrote:
>> On Wed, Feb 08 2017, allan gottlieb wrote:
>> 
>>> Our old Linksys wireless router is starting to hang more frequently.  It
>>> always comes back by cycling the power, but it is probably time to
>>> upgrade.
>>>
>>> I am looking at the Linksys EA6900 AC1900 Samar Wi-Fi dual-band router.
>>> It is wireless-AC so will be big speed improvement over our wireless G.
>>>
>>> We have mundane usage (laptops and cell phones) and a simple connection
>>> to the internet via a optimum/cablevision modem.
>>>
>>> Am I correct in believing that I should be able to simply plug it in and
>>> it will "just work".  I run gentoo exclusively on my laptops and my wife
>>> runs some modern Windows on hers.  Cell phones are android and ios.
>>>
>>> Advanced security is not needed.
>>>
>>> thanks in advance,
>>> allan
>> 
>> I hadn't realized the model I quoted is the refurbished version.
>> I will be buying the new version.
>> 
>>  Linksys AC1900 Wi-Fi Wireless Dual-Band+ Router with Gigabit & USB 3.0
>>  Ports, (EA6900)
>> 
>> sorry for the confusion.
>> allan
>
> Does it support DD-WRT?
> I always replace rotor's  firmware with DD-WRT or other open source one.
>
> --
> Thelma

Apparently not (from the DD-WRT site).

We have vanilla usage and no serious security issues.  I am hoping I can
just plug it in, connect some ethernet jacks, perhaps answer some
questions, and find that both the hardwired and wireless devices can
reach each other as well as our cable modem and hence the internet.

allan



Re: [gentoo-user] Firefox : tab grouping

2017-02-09 Thread Frank Steinmetzger
On Thu, Feb 09, 2017 at 02:21:09AM -0600, Dale wrote:

> > 170208 Philip Webb wrote:
> > […]
> > I had understood that tab-grouping had been dropped by FF,
> > but was available via an add-on, Panorama something.
> > However, the new FF seems to have restored tab-grouping itself.
> >
> > Is it back by popular demand ?  Info is very welcome.
> >
> 
> 
> I use this add-on:
> 
> https://addons.mozilla.org/en-US/firefox/addon/tabgroups-manager-revived/
> 
> I do things that require a large number of open tabs at times, I also
> use this:
> 
> https://addons.mozilla.org/en-US/firefox/addon/tab-utilities-fixed/
> 
> Hope that helps.

To keep track of a lot of tabs visually, I use Tab Tree:
https://addons.mozilla.org/en-US/firefox/addon/tab-tree/
This also makes much better use of screen real estate, now that you can only
get 16:9 “viewing slits” these days.

As for all those actions you get from the tab utilities, nothing beats a
command line à la vim for that (pentadactyl/vimperator). :o)
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any social network.

Heisenberg may have been here.


signature.asc
Description: Digital signature


Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-09 Thread Rich Freeman
On Thu, Feb 9, 2017 at 8:47 AM, Walter Dnes  wrote:
> On Wed, Feb 08, 2017 at 08:27:41PM -0500, Rich Freeman wrote
>
>> As you can see, there is limited ability for even root to accidentally
>> mess something up.  If you bind-mount /dev in a regular chroot
>> (without a hardening technology on top) and something running as root
>> in the chroot tries to write to /dev/sda, then it will have the
>> obvious result.  Note that Linux containers are not yet 100% secure so
>> this should be viewed as a protection against accidental damage, not
>> as equivalent to a VM.  Non-root processes inside a container are
>> considered to be pretty secure I believe, and I believe root is
>> supposed to be OK if it is running in a container in a separate user
>> namespace (so it is non-root on the host).
>
>   If building Pale Moon inside a chroot as a regular user is a security
> issue...  then what can I say about doing personal 64-bit Pale Moon
> builds directly on my desktop (*NOT* chrooted) as a regular user???

I was speaking of containers in general, not the concerns specific to
building Pale Moon.

-- 
Rich



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 08:41:00 -0500, Michael Orlitzky wrote:
> On 02/09/2017 08:27 AM, Bertram Scharpf wrote:
> > 
> > The use flag "postgresql" is _not_ set. Deinstalling pgadmin3
> > did not help.
> > 
> > Besides that, masking 9.5 helps. Yet, it doesn't tell
> > _where_ the dependency arises from.
> > 
> 
> A wild guess: you keyworded a specific version of postgresql:9.6 in
> package.accept_keywords. When you installed that version, portage was
> happy. Later, there was a version bump of the 9.6 series in the tree.
> Afterwards, your keyword no longer matches any 9.6 version in the tree,
> so portage falls back to the newest stable postgres (9.5.x).
> 
> Fix: update the entry in package.accept_keywords to match the latest 9.6
> series ebuild.

Indeed, there was a line in /ec/portage/package.keywords/custom,
written on 2016-10-04 (git blame):

  =dev-db/postgresql-9.6.0 ~amd64

The installed version was still 9.6.0. In the meantime
the ebuild belonging to 9.6.0 disappeared. I changed the =
into a >=, then the "emerge -avuDNT @world" updated to 9.6.1
and forgot about 9.5.5.

Thank you all!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-09 Thread Walter Dnes
On Wed, Feb 08, 2017 at 08:27:41PM -0500, Rich Freeman wrote

> As you can see, there is limited ability for even root to accidentally
> mess something up.  If you bind-mount /dev in a regular chroot
> (without a hardening technology on top) and something running as root
> in the chroot tries to write to /dev/sda, then it will have the
> obvious result.  Note that Linux containers are not yet 100% secure so
> this should be viewed as a protection against accidental damage, not
> as equivalent to a VM.  Non-root processes inside a container are
> considered to be pretty secure I believe, and I believe root is
> supposed to be OK if it is running in a container in a separate user
> namespace (so it is non-root on the host).

  If building Pale Moon inside a chroot as a regular user is a security
issue...  then what can I say about doing personal 64-bit Pale Moon
builds directly on my desktop (*NOT* chrooted) as a regular user???  Or
emerging using the Pale Moon overlay???  Or emerging Firefox, from which
Pale Moon is forked?  Unlike my personal build, which I install in
$HOME, emerge uses root-level permissions to install the binaries in
directories which can only be written to by root.

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



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Michael Orlitzky
On 02/09/2017 08:27 AM, Bertram Scharpf wrote:
> 
> The use flag "postgresql" is _not_ set. Deinstalling pgadmin3
> did not help.
> 
> Besides that, masking 9.5 helps. Yet, it doesn't tell
> _where_ the dependency arises from.
> 

A wild guess: you keyworded a specific version of postgresql:9.6 in
package.accept_keywords. When you installed that version, portage was
happy. Later, there was a version bump of the 9.6 series in the tree.
Afterwards, your keyword no longer matches any 9.6 version in the tree,
so portage falls back to the newest stable postgres (9.5.x).

Fix: update the entry in package.accept_keywords to match the latest 9.6
series ebuild.




Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 14:04:09 +0200, Alan McKinnon wrote:
> On 09/02/2017 13:49, Bertram Scharpf wrote:
> > On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote:
> >> On 09/02/2017 11:52, Bertram Scharpf wrote:
> >>> On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
>  On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> 
> > Every time I try to do an upgrade, it wants to pull
> > in the former PostgreSQL into an own slot:
> >
> >   # emerge -avuDN @world
> >   ...
> >   Calculating dependencies... done!
> >   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo 
> > [9.6.0:9.6::gentoo] USE="..." ... ...
> >   Would you like to merge these packages? [Yes/No] 
> >
> > How can I find out why this happens?
> 
>  Add --tree to you emerge invocation.
> >>>
> >>> There seems to be no dependency at all!?
> >>
> >> That usually means you have the package in your world file
> > 
> >   $ grep postgres /var/lib/portage/world | uniq -c
> > 1 dev-db/postgresql
> > 
> > This does not specify a version. I only want 9.6, not 9.5.
> 
> 
> equery depends postgresql
> 
> This scours the tree to find deps, it doesn't mean *your* system will
> use all of them. With that output, we start looking to see which apply
> to you

  # equery d postgresql 
  
   * These packages depend on postgresql:
  dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0)
  dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql)
  dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql)
  dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql)
  mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql)
  # equery d =dev-db/postgresql-9.5.5   
  
   * These packages depend on dev-db/postgresql-9.5.5:
  dev-db/pgadmin3-1.22.1-r1 (>=dev-db/postgresql-8.4.0)
  dev-libs/apr-util-1.5.4 (postgres ? dev-db/postgresql)
  dev-libs/cyrus-sasl-2.1.26-r9 (postgres ? dev-db/postgresql)
  dev-qt/qtsql-4.8.6-r1 (postgres ? dev-db/postgresql)
  mail-mta/postfix-3.1.2-r2 (postgres ? dev-db/postgresql)

The use flag "postgresql" is _not_ set. Deinstalling pgadmin3
did not help.

Besides that, masking 9.5 helps. Yet, it doesn't tell
_where_ the dependency arises from.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Alan McKinnon
On 09/02/2017 13:49, Bertram Scharpf wrote:
> On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote:
>> On 09/02/2017 11:52, Bertram Scharpf wrote:
>>> On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
 On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:

> Every time I try to do an upgrade, it wants to pull
> in the former PostgreSQL into an own slot:
>
>   # emerge -avuDN @world
>   ...
>   Calculating dependencies... done!
>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo 
> [9.6.0:9.6::gentoo] USE="..." ... ...
>   Would you like to merge these packages? [Yes/No] 
>
> How can I find out why this happens?

 Add --tree to you emerge invocation.
>>>
>>> There seems to be no dependency at all!?
>>
>> That usually means you have the package in your world file
> 
>   $ grep postgres /var/lib/portage/world | uniq -c
> 1 dev-db/postgresql
> 
> This does not specify a version. I only want 9.6, not 9.5.


equery depends postgresql

This scours the tree to find deps, it doesn't mean *your* system will
use all of them. With that output, we start looking to see which apply
to you


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




Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 12:24:52 +0200, Alan McKinnon wrote:
> On 09/02/2017 11:52, Bertram Scharpf wrote:
> > On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
> >> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> >>
> >>> Every time I try to do an upgrade, it wants to pull
> >>> in the former PostgreSQL into an own slot:
> >>>
> >>>   # emerge -avuDN @world
> >>>   ...
> >>>   Calculating dependencies... done!
> >>>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo 
> >>> [9.6.0:9.6::gentoo] USE="..." ... ...
> >>>   Would you like to merge these packages? [Yes/No] 
> >>>
> >>> How can I find out why this happens?
> >>
> >> Add --tree to you emerge invocation.
> > 
> > There seems to be no dependency at all!?
> 
> That usually means you have the package in your world file

  $ grep postgres /var/lib/portage/world | uniq -c
1 dev-db/postgresql

This does not specify a version. I only want 9.6, not 9.5.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Alan McKinnon
On 09/02/2017 11:52, Bertram Scharpf wrote:
> On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
>> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
>>
>>> Every time I try to do an upgrade, it wants to pull
>>> in the former PostgreSQL into an own slot:
>>>
>>>   # emerge -avuDN @world
>>>   ...
>>>   Calculating dependencies... done!
>>>   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo] 
>>> USE="..." ... ...
>>>   Would you like to merge these packages? [Yes/No] 
>>>
>>> How can I find out why this happens?
>>
>> Add --tree to you emerge invocation.
> 
> There seems to be no dependency at all!?


That usually means you have the package in your world file


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




Re: [gentoo-user] Dependecy problem: PortgreSQL twice

2017-02-09 Thread Bertram Scharpf
On Thursday, 09. Feb 2017, 00:35:05 +, Neil Bothwick wrote:
> On Wed, 8 Feb 2017 22:52:51 +0100, Bertram Scharpf wrote:
> 
> > Every time I try to do an upgrade, it wants to pull
> > in the former PostgreSQL into an own slot:
> > 
> >   # emerge -avuDN @world
> >   ...
> >   Calculating dependencies... done!
> >   [ebuild  NS] dev-db/postgresql-9.5.5:9.5::gentoo [9.6.0:9.6::gentoo] 
> > USE="..." ... ...
> >   Would you like to merge these packages? [Yes/No] 
> > 
> > How can I find out why this happens?
> 
> Add --tree to you emerge invocation.

There seems to be no dependency at all!?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] OT: webmail for mobile devices

2017-02-09 Thread Bill Kenworthy
On 09/02/17 17:08, Neil Bothwick wrote:
> On Thu, 9 Feb 2017 09:31:49 +0800, Bill Kenworthy wrote:
> 
>> I needed webmail access to the home mailserver for a family member
>> on holiday yesterday whose VPN couldn't connect and so successfully
>> installed roundcube - works but the user experience on phone screen is
>> "poor".
> 
> If this is really a VPN problem rather than a webmail problem, I would
> try installing ZeroTier[1] on both the server and phone. There's an
> ebuild for ZeroTier at [2].
> 
> [1] https://www.zerotier.com/
> [2] https://bugs.gentoo.org/show_bug.cgi?id=588324
> 
> 

I have a stable (years) openvpn setup - its just that iphones are crap :)

zerotier looks interesting though I prefer to avoid 3rd party, even if
its just in a coordination roll (and in this case some modes fall back
to traffic relaying). Other than this, they seem to have the right idea.

BillK




Re: [gentoo-user] [SOLVED] Can I run a 32-bit CentOS chroot on a 64-bit Gentoo host?

2017-02-09 Thread Neil Bothwick
On Wed, 8 Feb 2017 20:27:41 -0500, Rich Freeman wrote:

> > It shouldn't matter that they are bind-mounted. The -x switch excludes
> > anything on a different filesystem.
> >  
> 
> Agree, but I will note that one of the advantages of using a container
> and mounting a new /dev is that you get a greatly reduced /dev which
> helps protect your physical devices.

+1 for containers. They are also so much easier as they take care of
these fiddly bits for you.


-- 
Neil Bothwick

WinErr 00A: Promotional literature overflow - Mailbox full


pgpxjWznRQUv1.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] OT: webmail for mobile devices

2017-02-09 Thread Neil Bothwick
On Thu, 9 Feb 2017 09:31:49 +0800, Bill Kenworthy wrote:

> I needed webmail access to the home mailserver for a family member
> on holiday yesterday whose VPN couldn't connect and so successfully
> installed roundcube - works but the user experience on phone screen is
> "poor".

If this is really a VPN problem rather than a webmail problem, I would
try installing ZeroTier[1] on both the server and phone. There's an
ebuild for ZeroTier at [2].

[1] https://www.zerotier.com/
[2] https://bugs.gentoo.org/show_bug.cgi?id=588324


-- 
Neil Bothwick

If Yoda so strong in force is, why words in right order he cannot put?


pgpFEefdVTx0l.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Firefox : tab grouping

2017-02-09 Thread Dale
Philip Webb wrote:
> 170208 Philip Webb wrote:
>> I tried to do a search for 'Thomas Telford' with the default Google :
>> nothing happened nor when I substituted Wikipedia in the search-engine box ;
>> OTOH in that box DuckDuckGo successfully found the Wikipedia entry.
>> I also tried my bookmark for Wikipedia, which also refuses to work.
> This problem was solved by updating to FF 45.7.0 ,
> the latest stable (the latest testing 51.0 failed to compile).
>
> I had understood that tab-grouping had been dropped by FF,
> but was available via an add-on, Panorama something.
> However, the new FF seems to have restored tab-grouping itself.
>
> Is it back by popular demand ?  Info is very welcome.
>


I use this add-on:

https://addons.mozilla.org/en-US/firefox/addon/tabgroups-manager-revived/

I do things that require a large number of open tabs at times, I also
use this:

https://addons.mozilla.org/en-US/firefox/addon/tab-utilities-fixed/

Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] Firefox : tab grouping

2017-02-09 Thread Philip Webb
170208 Philip Webb wrote:
> I tried to do a search for 'Thomas Telford' with the default Google :
> nothing happened nor when I substituted Wikipedia in the search-engine box ;
> OTOH in that box DuckDuckGo successfully found the Wikipedia entry.
> I also tried my bookmark for Wikipedia, which also refuses to work.

This problem was solved by updating to FF 45.7.0 ,
the latest stable (the latest testing 51.0 failed to compile).

I had understood that tab-grouping had been dropped by FF,
but was available via an add-on, Panorama something.
However, the new FF seems to have restored tab-grouping itself.

Is it back by popular demand ?  Info is very welcome.

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