[gentoo-user] Re: new scanner : partial success

2017-05-03 Thread Ian Zimmerman
On 2017-05-03 15:13, Philip Webb wrote:

> It appears that the driver set-up includes a binary blob
> & that it can't be done simply by picking the correct SANE_BACKENDS item
> (the old scanner simply need 'plustek' to be chosen).
> So can anyone advise me how to get my new scanner working on Gentoo ?

Unpack the deb in mint with dpkg --extract and investigate or show us
the contents.

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



[gentoo-user] rpm changes file ownership in root dir

2017-05-03 Thread thelma
I was installing Brother printer driver on Gentoo (via rpm) this is the only 
available option:
http://support.brother.com/g/b/downloadhowto.aspx?c=us=en=hll5200dw_us_eu_as=127=dlf102556_000=4=560

rpm  -ihv  --nodeps  (lpr-drivername)
rpm  -ihv  --nodeps  (cupswrapper-drivername)

It worked OK but I've noticed the rpm change ownership of "usr" in "/" dir. 
from:
drwxr-xr-x  15 root root  4096 Sep 10  2014 usr

to:
drwxr-xr-x  15 thelma users  4096 Sep 10  2014 usr

Anybody know how to prevent it, or force it to use "root:root"

-- 
Thelma



Re: [gentoo-user] Re: htop wants cgroups

2017-05-03 Thread Daniel Campbell
On 05/01/2017 08:01 AM, Jorge Almeida wrote:
> On Mon, May 1, 2017 at 2:46 PM, Rich Freeman  wrote:
>> On Sun, Apr 30, 2017 at 4:17 PM, Kai Krakow  wrote:
>>> Am Sun, 30 Apr 2017 10:33:05 -0700
>>> schrieb Jorge Almeida :
>>>
 It makes sense that the kernel has it. Should it be enabled? For a
 server, probably. For a single-user workstation? Maybe.
>>>
> 
>>
>> Honestly, I can't think of why you wouldn't want to use it.
>>
>> The use cases of killing orphan processes and managing resources at a
>> service level have already been mentioned.
> 
> I don't usually have orphan processes (that process 1 doesn't reap).
> My services don't require fine tuning re resources.
> 
>>
>> Another use case is that the kernel automatically takes cgroups into
>> account when scheduling.  So, if one of your services launches a bunch
>> of children they'll be weighted together when allocating CPU.  That
>> means that a service with ten threads won't get 10x the CPU of a
>> service with one thread if CPU becomes limiting, assuming equal
>> niceness/etc.  On a multi-user system the same would apply to the user
>> running 100 processes vs 1.
>>
>> I also use cgroups to monitor memory use/etc at a service level.
> 
>  I don't have complex services (some might argue that very complex
> services are badly designed services, but I leave that discussion to
> pros). I only run single-user workstations.
> 
>>
>> Sure, they're somewhat optional, but they're a pretty useful kernel feature.
> 
> No arguing there. Still, it shouldn't be pushed. It's a bad sign.
> 
> Jorge
> 
cgroups are not being pushed in this case. Portage threw up a warning,
letting you know that some features of htop may not be available without
the CONFIG_CGROUPS flag on in the kernel. htop should work to your
liking as it is right now. Go try it out!

I'm having a little trouble understanding why this particular package
has you worried when there are dozens of others that spit out similar
"heads up" warnings, like qemu, anything relating to graphics and
virtualization... they're helpful messages that let you know that, if
something doesn't work as you expect, it's probably due to something you
have disabled. That's it.

Perfect example: I use an AMD processor, but still get 'warning'
messages about checking CONFIG_KVM_INTEL and other variables. qemu still
works, because my kernel is built to virtualize with my CPU. Someone
with an Intel CPU might really want that warning message, though.

I've not dabbled in cgroups but they seem very useful to those who need
to manage processes in ways the kernel itself can enforce. Cgroups
merely help htop do its job.
-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: htop wants cgroups

2017-05-03 Thread Marc Joliet
Am Montag, 1. Mai 2017, 21:37:32 CEST schrieb Kai Krakow:
> Am Mon, 1 May 2017 16:01:13 +0100
> 
> schrieb Jorge Almeida :
[...]
> > > Sure, they're somewhat optional, but they're a pretty useful kernel
> > > feature.
> > 
> > No arguing there. Still, it shouldn't be pushed. It's a bad sign.

Really, I think you should try not to read too much into that, and instead 
maybe consider that it's just a boilerplate statement that is generated by a 
helper function in linux-info.eclass ;-) .

> Well, I think the wording can be discussed. But I think it's not too
> bad: The Gentoo newbie/noob will simple follow the warning, enable it,
> and that results in a suggested configuration with all features
> possible. It saves developers from figuring out unexpected problems
> later. If you know better, go for it, with all the consequences that
> has... ;-)

Yeah, I agree with this, though.  It should be possible to extend the helper 
function to generate a different message for strictly optional kernel 
features, for example.  However, perhaps it is simply the case that almost 
always the kernel features are a hard requirement, so that nobody has yet seen 
the need to extend it in such a way.  *shrugs*

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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


Re: [gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread R0b0t1
On Wed, May 3, 2017 at 2:23 PM, Poison BL.  wrote:
>
> Looks like their primary documentation (under the 'Learn' section of their
> site) is a wiki, based on:
>
> https://docs.krita.org/Contributors_Readme
>
> And, a glance at the source looks suspiciously like mediawiki on the backend
> of it. Short of them adding in an extension to do it on the server side, I
> don't know a quick way to pull that out to PDF (or any other ebook
> format)...
>
> --
> Poison [BLX]
> Joshua M. Murphy

That's kind of unfortunate. Meino, you might want to file a bug about
the documentation being hard to use. In the meantime if using wget
hasn't worked I'm not sure there's much that can be done.

Instructions specifically for MediaWiki sites don't seem to differ
much from my first guess at what to do
(https://webmasters.stackexchange.com/questions/28702/how-to-dump-a-mediawiki-for-offline-use).
I can't really see how something unrenderable is provided to your
browser unless it is processed on your machine with JavaScript.



Re: [gentoo-user] having unavailable packages installed

2017-05-03 Thread Marc Joliet
Am Sonntag, 30. April 2017, 01:01:28 CEST schrieb lee:
> Hi,

Hi,

> how is it possible that a package is installed which is not available?
> 
> 
> eix glibmm
> [?] dev-cpp/glibmm
>  Verfügbare Versionen:   (2) 2.44.0 2.46.4 2.48.1 ~2.50.0
>{debug doc examples test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
> ABI_S390="32 64" ABI_X86="32 64 x32"} Installierte Versionen:
> 2.50.1(2)(16:58:00 24.04.2017)(-debug -doc -test ABI_MIPS="-n32 -n64 -o32"
> ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Startseite:
> http://www.gtkmm.org
>  Beschreibung:   C++ interface for glib2
> 
> 
> 2.50.1(2) appears to be installed but is not available.

This might be a moot point for you by now, but in addition to the previous 
suggestions, have you run eix-update recently (should happen automatically if 
you use eix-sync)?  Because I have this "unavailable" version of glibmm 
installed:

% eix glibmm
[I] dev-cpp/glibmm
 Verfügbare Versionen:   (2) 2.48.1 2.50.0 2.50.1
   {debug doc examples test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" 
ABI_S390="32 64" ABI_X86="32 64 x32"}
 Installierte Versionen: 2.50.1(2)(09:38:42 24.04.2017)(-debug -doc -test 
ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 
-x32")
 Startseite: http://www.gtkmm.org
 Beschreibung:   C++ interface for glib2

(Note also that the list of available versions is different on my system.)

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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


Re: [gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread Poison BL.
On Wed, May 3, 2017 at 2:50 PM, R0b0t1  wrote:

> On Wed, May 3, 2017 at 12:19 PM,   wrote:
> > Hi,
> >
> > sorry for being offtopic somehow...
> >
>
> If it's in portage (and in most cases even if it isn't) I don't
> suppose it's really offtopic.
>
> > I am looking for a documentation for the KRITA image software
> > to put onto my tablet. I want to read/learn on my way to and
> > back from work. My tablet has no internet connection then...
> >
> > Any (legal of course!) source for that docs -- I only
> > found the "read online stuff"... ???
> >
>
> Per https://packages.gentoo.org/packages/media-gfx/krita there doesn't
> seem to be a documentation useflag, which is generally what you want
> to look for for local documentation. I'm slightly confused as to how
> the documentation is maintained: on one hand it isn't formatted like a
> Wiki (which would only be accessible online), but on the other it
> seems to have enough user-contributed content to be online only. It
> seems to be tied in to KDE's identity system and might function as a
> Wiki.
>
> In which case, I suggest perusing the following:
> https://www.gnu.org/software/wget/manual/html_node/
> Recursive-Retrieval-Options.html
> http://stackoverflow.com/questions/273743/using-wget-
> to-recursively-fetch-a-directory-with-arbitrary-files-in-it
> https://unix.stackexchange.com/questions/25340/download-
> recursively-with-wget
> http://www.linuxjournal.com/content/downloading-entire-web-site-wget
>
>
> If you have time to answer, why Krita?
>
>
Looks like their primary documentation (under the 'Learn' section of their
site) is a wiki, based on:

https://docs.krita.org/Contributors_Readme

And, a glance at the source looks suspiciously like mediawiki on the
backend of it. Short of them adding in an extension to do it on the server
side, I don't know a quick way to pull that out to PDF (or any other ebook
format)...

-- 
Poison [BLX]
Joshua M. Murphy


Re: [gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread tuxic
On 05/03 01:50, R0b0t1 wrote:
> On Wed, May 3, 2017 at 12:19 PM,   wrote:
> > Hi,
> >
> > sorry for being offtopic somehow...
> >
> 
> If it's in portage (and in most cases even if it isn't) I don't
> suppose it's really offtopic.
> 
> > I am looking for a documentation for the KRITA image software
> > to put onto my tablet. I want to read/learn on my way to and
> > back from work. My tablet has no internet connection then...
> >
> > Any (legal of course!) source for that docs -- I only
> > found the "read online stuff"... ???
> >
> 
> Per https://packages.gentoo.org/packages/media-gfx/krita there doesn't
> seem to be a documentation useflag, which is generally what you want
> to look for for local documentation. I'm slightly confused as to how
> the documentation is maintained: on one hand it isn't formatted like a
> Wiki (which would only be accessible online), but on the other it
> seems to have enough user-contributed content to be online only. It
> seems to be tied in to KDE's identity system and might function as a
> Wiki.
> 
> In which case, I suggest perusing the following:
> https://www.gnu.org/software/wget/manual/html_node/Recursive-Retrieval-Options.html
> http://stackoverflow.com/questions/273743/using-wget-to-recursively-fetch-a-directory-with-arbitrary-files-in-it
> https://unix.stackexchange.com/questions/25340/download-recursively-with-wget
> http://www.linuxjournal.com/content/downloading-entire-web-site-wget
> 
> 
> If you have time to answer, why Krita?
> 

Hi R0b0t1,

before I wrote this email I tried wget recursively (I have a script
written for that kind of purposes) and it fetches a lot of
looks-like-xml-html-mix-no-browser-can-decipher stuff.

KRITA:
I do a lot of stuff with blender. KRITA often is used in tutorials
for texture painting and such...so KRITA and blender are like
Stan and Laurel ;)

Additional: I dont like GIMPs GUI for several reasons.

KRITA seems a little more polished to me...

Only my two cents...

Cheers
Meino





[gentoo-user] new scanner : partial success

2017-05-03 Thread Philip Webb
I bought an Epson V550 scanner & have been trying it out.

No joy on Gentoo : Xsane can't find it & various ploys fail.

I also have Mint Xfce 17.2 installed for this kind of occasion.
Epson offers a driver in .deb format for Mint, which I've downloaded.
After copying it to the Mint partition & following the install instruction,
Xsane there does indeed find the scanner & starts up.
I succeeded in scanning  1  test image :
it's much much quicker than my 2003 Epson & the image is quite adequate.

It appears that the driver set-up includes a binary blob
& that it can't be done simply by picking the correct SANE_BACKENDS item
(the old scanner simply need 'plustek' to be chosen).
So can anyone advise me how to get my new scanner working on Gentoo ?
-- I can reboot into Mint whenever I want to scan something,
but anything which cb done via another distro sb available with Gentoo too.

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




Re: [gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread R0b0t1
On Wed, May 3, 2017 at 12:19 PM,   wrote:
> Hi,
>
> sorry for being offtopic somehow...
>

If it's in portage (and in most cases even if it isn't) I don't
suppose it's really offtopic.

> I am looking for a documentation for the KRITA image software
> to put onto my tablet. I want to read/learn on my way to and
> back from work. My tablet has no internet connection then...
>
> Any (legal of course!) source for that docs -- I only
> found the "read online stuff"... ???
>

Per https://packages.gentoo.org/packages/media-gfx/krita there doesn't
seem to be a documentation useflag, which is generally what you want
to look for for local documentation. I'm slightly confused as to how
the documentation is maintained: on one hand it isn't formatted like a
Wiki (which would only be accessible online), but on the other it
seems to have enough user-contributed content to be online only. It
seems to be tied in to KDE's identity system and might function as a
Wiki.

In which case, I suggest perusing the following:
https://www.gnu.org/software/wget/manual/html_node/Recursive-Retrieval-Options.html
http://stackoverflow.com/questions/273743/using-wget-to-recursively-fetch-a-directory-with-arbitrary-files-in-it
https://unix.stackexchange.com/questions/25340/download-recursively-with-wget
http://www.linuxjournal.com/content/downloading-entire-web-site-wget


If you have time to answer, why Krita?



[gentoo-user] Somehow offtopic: KRITA documentation 'mobile version'

2017-05-03 Thread tuxic
Hi,

sorry for being offtopic somehow...

I am looking for a documentation for the KRITA image software
to put onto my tablet. I want to read/learn on my way to and
back from work. My tablet has no internet connection then...

Any (legal of course!) source for that docs -- I only
found the "read online stuff"... ???

Cheers
Meino



[gentoo-user] DRBD question

2017-05-03 Thread Coert

Hello all!

Currently I am using gentoo with custom compiled 4.8.17-hardened-r2
I see in /usr/src/linux-4.8.17-hardened-r2/include/linux/drbd.h that the 
version of the DRBD kernel module included is: 8.4.7
But the newest version of the userspace tools in portage is: 
drbd-8.4.3-r2


Everything works, but DRBD keeps telling me about the version disparity.
Is it a problem to run DRBD this way?

I tried emerging sys-cluster/drbd-kernel-8.3.8.1 and 
sys-cluster/drbd-8.3.8.1 but drbd-kernel fails to compile..


Thank you in advance,
Coert




Re: [gentoo-user] replacement for ftp?

2017-05-03 Thread Mick
On Monday 01 May 2017 22:36:00 Nils Freydank wrote:
> On Sat, 30 Apr 2017 19:04:06 +0200 Andrew Savchenko wrote:
> > [...]
> > I fail to see why FTP needs to be replaced: it works, it is
> > supported, it is secure when used with care, it is damn fast.
> 
> I’ll just drop the somewhat popular rant “FTP must die“[1] and a follow-up
> discussion about it[2]. IMHO the main reasons are missing data integrity and
> authentication security issues. The latter one can be solved with FTPS[3] -
> but honestly I never saw FTPS somewhere actually used in the wild.

I'm not sure what you mean "used in the wild".  I use lftp to connect via ftps 
with a number of webservers for updates and backups on a daily basis.  Some of 
the connections are scripted.


> [1] http://mywiki.wooledge.org/FtpMustDie
> [2] https://news.ycombinator.com/item?id=11251907
> [3] i.e. FTP over SSL/TLS (not to mix up with SFTP, which comes from the SSH
> family)
> 
> Greetings,
> Nils

-- 
Regards,
Mick

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