Re: [gentoo-user] Easiest way to block domains?

2017-08-28 Thread J. Roeleveld
On 29 August 2017 07:38:42 GMT+02:00, Walter Dnes  wrote:
>  I'm running a Core2-duo desktop from 2008 with 3 gigs of ram.  I want
>to run it into the ground, not throw it away while it's still
>functional.  With Gentoo optimization, pluse using ICEWM, it's
>generally
>snappy.  But there are a few web pages that throw the kitchen sink of
>3rd-pary adservers+trackers.  178 unique servers for one web page will
>peg the load from the web browser to 150% of 1 cpu core.  On a 2-core
>machine, that is bad.  The browser is unresponsive for a few seconds at
>a time.
>
>  I'm building up a rather large hosts file, but the adservers have a
>gazillion subnames for each domain, in a deliberate attempt to bypass
>hosts files.  It would be more effective block entire domains.  Is
>there
>a lightweight DNS server, or some iptables trick, or whatever, that'll
>block specified domains?

Look into proxy servers.
I think privoxy should be able to do the trick.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] initial compile time

2017-08-28 Thread J. Roeleveld
On 28 August 2017 20:37:30 GMT+02:00, allan gottlieb  wrote:
>On Mon, Aug 28 2017, Alan McKinnon wrote:
>
>> I forgot to mention there are things that /significantly/ improve
>> compile times. Top of the list is /var/tmp/portage on tmpfs.
>
>Does this mean that, if the build fails, you build again not on tmpfs
>so
>as to capture build.log?
>
>thanks,
>allan

As long as you don't reboot, the entire contents will remain.

If you set PORT_LOGDIR, the build.log will be copied to the specified location 
even if the build fails.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] certbot confusion

2017-08-28 Thread J. Roeleveld
On 27 August 2017 02:30:51 GMT+02:00, "Canek Peláez Valdés"  
wrote:
>On Sat, Aug 26, 2017 at 1:40 AM, Ian Zimmerman 
>wrote:
>>
>> I don't understand the letsencrypt certbot renewal process,
>specifically
>> the hooks.
>>
>> I have two certificates: one for webserver, one for mailserver.  I
>got
>> them only very recently so I until now the renewal cronjob has always
>> been a no-op, but the real thing will happen very soon.  When it
>does,
>> presumably I need to have both daemons restarted so that they read
>the
>> renewed certificates.  So, how do I do this?  Right now my cronjob is
>> just
>>
>> certbot renew -n --standalone --preferred-challenges tls-sni
>>
>> which should renew any and all certificates when they're "close" to
>> expiring.  But the documentation doesn't say if I can have multiple
>> --pre-hook and --post-hook options and what the semantics would be. 
>The
>> closest it comes is:
>>
>>  When renewing several certificates that have identical pre-hooks,
>only
>>  the first will be executed.
>>
>> which doesn't make any sense: what does it mean for a certificate to
>> "have" a pre-hook?  The pre-hook is just there on the command line,
>> there is no association with a particular certificate that a machine
>> could infer.
>>
>> The cop-out solution is to have a single pre-hook and a single
>> post-hook, which stop (resp. start) both daemons, but that is ugly. 
>How
>> do people handle this?
>
>I just need to restart apache, so my daily cron job is:
>
>certbot renew --standalone --quiet \
>--pre-hook  'systemctl stop  apache2.service' \
>--post-hook 'systemctl start apache2.service'
>
>With systemd, I just need one command to stop/start/restart several
>services. With OpenRC I suppose you could do:
>
>certbot renew --standalone --quiet \
>   --pre-hook  '/etc/init.d/apache2 stop && /etc/init.d/postfix stop' \
>   --post-hook '/etc/init.d/apache2 start && /etc/init.d/postfix start'
>
>The documentation says that the hooks are "command to be run in a
>shell",
>so it should work.
>
>Another solution is to have a simple script:
>
># Controls apache and postfix: /usr/local/bin/certbot-aux
>
>if [ $# != 1 ]; then
>echo 'Need a parameter'
>exit 1
>fi
>
>/etc/init.d/apache2 ${1}
>/etc/init.d/postfix ${1}
>
>And then the cron job is:
>
>certbot renew --standalone --quiet \
>--pre-hook  '/usr/local/bin/certbot-aux stop' \
>--post-hook '/usr/local/bin/certbot-aux start'
>
>Regards.
>--
>Dr. Canek Peláez Valdés
>Profesor de Carrera Asociado C
>Departamento de Matemáticas
>Facultad de Ciencias
>Universidad Nacional Autónoma de México

Your postfix is dependent on apache?

The same can be easily configured with openrc.

Having both controlled seperately makes more sense to me though.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-25 Thread J. Roeleveld
On Thursday, August 24, 2017 11:12:52 PM CEST Alan McKinnon wrote:
> On 24/08/2017 22:20, J. Roeleveld wrote:
> > On Thursday, August 24, 2017 9:35:23 PM CEST Dale wrote:
> >> Alan McKinnon wrote:
> >>> On 24/08/2017 18:41, Dale wrote:
> >>>> J. Roeleveld wrote:
> >>>>> On 24 August 2017 17:15:25 GMT+02:00, Alan McKinnon
> > 
> > <alan.mckin...@gmail.com> wrote:
> >>>>>> Thunderbird.
> >>>>>> 
> >>>>>> I have no formatting or storage problems as local mail is kept in
> >>>>>> dovecot imap folders and every client out there can read them. MUA
> >>>>>> incompatibilities just do not happen to me anymore.
> >>>>>> 
> >>>>>> I prefer my MUA to be a reader and an editor and a sender and a
> >>>>>> fetcher.
> >>>>>> Never a storer.
> >>>>> 
> >>>>> I use Cyrus IMAP for storage and postfix for SMTP.
> >>>>> My mail clients only use IMAP and SMTP to my own server.
> >>>>> 
> >>>>> With multiple devices, local storage makes no sense.
> >>>>> 
> >>>>> --
> >>>>> Joost
> >>>> 
> >>>> I store mine locally because I search them when I run into a issue.
> >>>> I've got emails going back to 2006.  Even if my internet is down, at
> >>>> least I can search old list emails to see if I can find a clue to fix
> >>>> what I'm running into.  Of course when you do that, you run into this:
> >>>> 
> >>>> root@fireball / # du -shc
> >>>> /home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> >>>> 3.9G/home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> >>>> 3.9Gtotal
> >>>> root@fireball / #
> >>> 
> >>> 4G is that all???
> >>> 
> >>> pressed for space much? :-)
> >> 
> >> I don't recall the limits on gmail but I know sometimes, I have to go
> >> clean house on the google web mail site itself.  It is supposed to
> >> delete after downloading but sometimes it doesn't for some reason.  Who
> >> knows.
> > 
> > GMail used to be at 1GB when they started. Already back then that would
> > not
> > have been enough for me. My mailstore has been cleaned up occasionally
> > (spam and alert-mails being cleaned up regularly):
> > 
> > mailstore1 ~ # du -sh /var/spool/imap/j/user/joost
> > 42G /var/spool/imap/j/user/joost
> > 
> > (This is only my personal email, the email archive of my wife and the
> > shared stuff isn't in this)
> 
> If I let them, the eejits running the telco where I work would dump that
> much mail in my inbox yearly![1] But it's Office 365[2] and they pay, so
> I don't care - stupid must feel pain[3]

Office365... company I work for uses that.
We got bought by another company that migrated over last week...

I STILL have 2 seperate accounts, good thing Office365 supports POP3. I'll do 
the integration myself.

> [1] The eejits all feel so important they HAVE TO announce to the whole
> company as a mail every change in every procedure, every new
> appointment, every marketing splurb and every event being held. All in
> HTML with pictures and shit, and giant sigs. And half the eejit
> recipients feel the need to reply to all saying only "Ooooh! shiny!"

Let me guess, there is also the obligatory disclaimer about how the email is 
only for the intended recipient in lawyer-speak which means every email gets 
at least twice the size (for most emails, that text is actually 80-90% of the 
entire volume.

> [2] Which has still to learn the trick of how to delete all attachments
> except the first copy

Always useful. I got filesystem compression enabled for the mailstore, which 
works quite well:
san1 ~ # zfs get all zdata/services/mailstore1/imapmail | grep compressratio

   
zdata/services/mailstore1/imapmail  compressratio 1.25x 
 
zdata/services/mailstore1/imapmail  refcompressratio  1.31x

> [3] In this case, I'd be willing to
> s/pain/enormous amounts of pain, on shaming youtube video/g

Don't forget to share the link to that video...

--
Joost



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On Thursday, August 24, 2017 9:35:23 PM CEST Dale wrote:
> Alan McKinnon wrote:
> > On 24/08/2017 18:41, Dale wrote:
> >> J. Roeleveld wrote:
> >>> On 24 August 2017 17:15:25 GMT+02:00, Alan McKinnon 
<alan.mckin...@gmail.com> wrote:
> >>>> Thunderbird.
> >>>> 
> >>>> I have no formatting or storage problems as local mail is kept in
> >>>> dovecot imap folders and every client out there can read them. MUA
> >>>> incompatibilities just do not happen to me anymore.
> >>>> 
> >>>> I prefer my MUA to be a reader and an editor and a sender and a
> >>>> fetcher.
> >>>> Never a storer.
> >>> 
> >>> I use Cyrus IMAP for storage and postfix for SMTP.
> >>> My mail clients only use IMAP and SMTP to my own server.
> >>> 
> >>> With multiple devices, local storage makes no sense.
> >>> 
> >>> --
> >>> Joost
> >> 
> >> I store mine locally because I search them when I run into a issue.
> >> I've got emails going back to 2006.  Even if my internet is down, at
> >> least I can search old list emails to see if I can find a clue to fix
> >> what I'm running into.  Of course when you do that, you run into this:
> >> 
> >> root@fireball / # du -shc
> >> /home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> >> 3.9G/home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> >> 3.9Gtotal
> >> root@fireball / #
> > 
> > 4G is that all???
> > 
> > pressed for space much? :-)
> 
> I don't recall the limits on gmail but I know sometimes, I have to go
> clean house on the google web mail site itself.  It is supposed to
> delete after downloading but sometimes it doesn't for some reason.  Who
> knows.

GMail used to be at 1GB when they started. Already back then that would not 
have been enough for me. My mailstore has been cleaned up occasionally (spam 
and alert-mails being cleaned up regularly):

mailstore1 ~ # du -sh /var/spool/imap/j/user/joost
42G /var/spool/imap/j/user/joost

(This is only my personal email, the email archive of my wife and the shared 
stuff isn't in this)

--
Joost



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On Thursday, August 24, 2017 6:41:58 PM CEST Dale wrote:
> J. Roeleveld wrote:
> > On 24 August 2017 17:15:25 GMT+02:00, Alan McKinnon 
<alan.mckin...@gmail.com> wrote:
> >> Thunderbird.
> >> 
> >> I have no formatting or storage problems as local mail is kept in
> >> dovecot imap folders and every client out there can read them. MUA
> >> incompatibilities just do not happen to me anymore.
> >> 
> >> I prefer my MUA to be a reader and an editor and a sender and a
> >> fetcher.
> >> Never a storer.
> > 
> > I use Cyrus IMAP for storage and postfix for SMTP.
> > My mail clients only use IMAP and SMTP to my own server.
> > 
> > With multiple devices, local storage makes no sense.
> > 
> > --
> > Joost
> 
> I store mine locally because I search them when I run into a issue.
> I've got emails going back to 2006.  Even if my internet is down, at
> least I can search old list emails to see if I can find a clue to fix
> what I'm running into.  Of course when you do that, you run into this:

Cyrus supports server-side search using a local index. Makes searching through 
emails really fast for webmail clients.
Kmail uses akonadi+co to build an index and searching through that goes quite 
well. Current "unstable" versions seem quite nice. I do use PostgreSQL as 
backend though.

> root@fireball / # du -shc
> /home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> 3.9G/home/dale/.mozilla/seamonkey/q6o6ulhz.default/Mail/
> 3.9Gtotal
> root@fireball / #

Mine is at about 40G

> I use folders to filter my emails.  Gentoo for example has a folder for
> each list, one for -user, one for -dev etc etc.  Since most are text
> only, they are tiny things anyway.  I also have folders for my financial
> stuff too.  Few emails outside of spam stay in the regular inbox.  Any
> email that doesn't end up in a folder is suspicious to me.  I'd never
> click or tell it to show remote content on any email that is in the
> inbox.  Rarely do it on one that is filtered.

Same here, using sieve-scripts on the server. Eg. mail-filtering is not 
dependent on the MUA either.

> I switched from Kmail long ago.  I can't recall what I ran into that
> made me change tho.

My guess is akonadi. It's what most people don't like, but tbh, I do 
understand why it was done and after getting it working with PostgreSQL, I 
haven't had to rebuild it.

--
Joost




Re: [gentoo-user] Silly colours in drop-down menus

2017-08-24 Thread J. Roeleveld
On 24 August 2017 17:16:05 GMT+02:00, Peter Humphrey  
wrote:
>Hello list,
>
>Recently I've been plagued with KDE's (or plasma's) silly rendering of
>drop-
>down lists in dialogue boxes. It happens on the desktop, in Firefox,
>Chrome 
>and Seamonkey but not in KMail.
>
>The problem is white text on a pale grey background. I can just about
>make 
>it out with a large magnifying glass, provided I know where to look. 
>Otherwise I just can't see anything.
>
>Can anyone suggest what might be wrong? I've searched through all the 
>settings I can find, with no luck.

Sounds like an issue with Gnome settings as the affected programs are Gnome 
based instead of KDE/QT.

If it helps, I don't have this issue and if you can point me in specific 
directions, I can provide you with my settings.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On 24 August 2017 17:15:25 GMT+02:00, Alan McKinnon <alan.mckin...@gmail.com> 
wrote:
>On 24/08/2017 16:50, Dale wrote:
>> Mick wrote:
>>> On Thursday, 24 August 2017 09:36:43 BST J. Roeleveld wrote:
>>>
>>>> I can handle HTML emails and won't complain. (As long as they don't
>set some
>>>> idiotic font or background colours)
>>> I don't mind messages which contain both formats and let the mail
>client 
>>> render the content according to the preferences of the recipient;
>i.e. a 
>>> message with:
>>>
>>> Content-Type: multipart/alternative;
>>>
>>> which contains:
>>>
>>> Content-Type: text/plain;
>>> and 
>>> Content-Type: text/html;
>>>
>>> However, I have found some mail clients, especially Microsoft web
>based 
>>> mailers, send a Base64 blob which *only* contains HTML.  I don't
>like 
>>> receiving these and depending on the sender I delete them.
>>>
>>>
>>>> But top-posting when replying to emails makes for unnecessary
>difficult
>>>> reading.
>>>>
>>>> --
>>>> Joost
>>> Top-posting when the message is a threaded conversation does not
>help.  Some 
>>> mobile apps and webmail interfaces make it really difficult to
>respond inline, 
>>> so I don't mind being flexible on this matter.
>>>
>>> PS.  I like this list just as it is.  Plain text and no-top posting
>- thank 
>>> you.  :-)
>> 
>> 
>> OK.  I'm nosy now.  Can you folks share what email software you are
>> using?  Is it GUI based etc?   Stable and doesn't change settings to
>> something stupid like Seamonkey/thunderbird just did. 
>> 
>> To put it simply, I'm considering switching away from Seamonkey here
>and
>> just may do it.  One thing I'd like tho, being able to transfer my
>> emails from Seamonkey to whatever new program I'm using.  When I
>> switched from Kmail, I was able to do that, can't recall how now.
>> 
>> Just curious as to my options here.  May as well learn some stuff
>while
>> we on the topic.  ;-) 
>
>Thunderbird.
>
>I have no formatting or storage problems as local mail is kept in
>dovecot imap folders and every client out there can read them. MUA
>incompatibilities just do not happen to me anymore.
>
>I prefer my MUA to be a reader and an editor and a sender and a
>fetcher.
>Never a storer.

I use Cyrus IMAP for storage and postfix for SMTP.
My mail clients only use IMAP and SMTP to my own server.

With multiple devices, local storage makes no sense.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On 24 August 2017 16:50:32 GMT+02:00, Dale <rdalek1...@gmail.com> wrote:
>Mick wrote:
>> On Thursday, 24 August 2017 09:36:43 BST J. Roeleveld wrote:
>>
>>> I can handle HTML emails and won't complain. (As long as they don't
>set some
>>> idiotic font or background colours)
>> I don't mind messages which contain both formats and let the mail
>client 
>> render the content according to the preferences of the recipient;
>i.e. a 
>> message with:
>>
>> Content-Type: multipart/alternative;
>>
>> which contains:
>>
>> Content-Type: text/plain;
>> and 
>> Content-Type: text/html;
>>
>> However, I have found some mail clients, especially Microsoft web
>based 
>> mailers, send a Base64 blob which *only* contains HTML.  I don't like
>
>> receiving these and depending on the sender I delete them.
>>
>>
>>> But top-posting when replying to emails makes for unnecessary
>difficult
>>> reading.
>>>
>>> --
>>> Joost
>> Top-posting when the message is a threaded conversation does not
>help.  Some 
>> mobile apps and webmail interfaces make it really difficult to
>respond inline, 
>> so I don't mind being flexible on this matter.
>>
>> PS.  I like this list just as it is.  Plain text and no-top posting -
>thank 
>> you.  :-)
>
>
>OK.  I'm nosy now.  Can you folks share what email software you are
>using?  Is it GUI based etc?   Stable and doesn't change settings to
>something stupid like Seamonkey/thunderbird just did. 
>
>To put it simply, I'm considering switching away from Seamonkey here
>and
>just may do it.  One thing I'd like tho, being able to transfer my
>emails from Seamonkey to whatever new program I'm using.  When I
>switched from Kmail, I was able to do that, can't recall how now.
>
>Just curious as to my options here.  May as well learn some stuff while
>we on the topic.  ;-) 
>
>Thanks.
>
>Dale
>
>:-)  :-)  

Latest ~amd64 kmail (entire kontact suite) on my laptop and desktop.

K9-mail on my phone

Also using eGroupware for webmail access (along with calendar, addressbook and 
few other things)

All is GUI based.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On 24 August 2017 10:55:52 GMT+02:00, Mick <michaelkintz...@gmail.com> wrote:
>On Thursday, 24 August 2017 09:36:43 BST J. Roeleveld wrote:
>
>> I can handle HTML emails and won't complain. (As long as they don't
>set some
>> idiotic font or background colours)
>
>I don't mind messages which contain both formats and let the mail
>client 
>render the content according to the preferences of the recipient; i.e.
>a 
>message with:
>
>Content-Type: multipart/alternative;
>
>which contains:
>
>Content-Type: text/plain;
>and 
>Content-Type: text/html;
>
>However, I have found some mail clients, especially Microsoft web based
>
>mailers, send a Base64 blob which *only* contains HTML.  I don't like 
>receiving these and depending on the sender I delete them.
>
>
>> But top-posting when replying to emails makes for unnecessary
>difficult
>> reading.
>> 
>> --
>> Joost
>
>Top-posting when the message is a threaded conversation does not help. 
>Some 
>mobile apps and webmail interfaces make it really difficult to respond
>inline, 
>so I don't mind being flexible on this matter.
>
>PS.  I like this list just as it is.  Plain text and no-top posting -
>thank 
>you.  :-)

The mobile app I use on my phone (k9mail) can be configured to put the reply 
underneath.

I type in a field that is at the top. But it is pasted at the bottom.

I can also reply inline, but that is more cumbersome using a phone.

I do not see why technical people still claim bottom posting is impossible 
using mobile apps. And claiming it is because of some hypersecure email account 
doesn't make sense for a publicly archived mailing list.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-24 Thread J. Roeleveld
On 23 August 2017 22:10:10 GMT+02:00, Alan McKinnon  
wrote:
>On 23/08/2017 21:26, Dale wrote:
>> Alan McKinnon wrote:
>>> On 23/08/2017 09:03, Thomas Mueller wrote:
 You (Dale) seem to have corrected the multipart/alternative
>problem, except one message (Subject: Re: [gentoo-user] Re: downgrading
>glibc) where multipart/alternative went through.

 I would never design an email client to send multipart/alternative
>by default, and might design an email client to not support
>multipart/alternative at all in composed messages.
>>>
>>> And that's why your mail client will never rule the world, but
>Outlook
>>> and GMail's web interface does.
>>>
>>> I think it's high time we techies all got over the HTML thing now.
>We
>>> all have high speed internet these days, you can't buy a spinning
>drive
>>> smaller than 1TB anymore and apart from a few holdfasts like decent
>>> Mailman lists (eg this one and kernel.org), email is a thing that
>idiots
>>> at work use like it was IM. Most other folks moved on...
>>>
>> 
>> I tend to agree with that.  Mine shows both plain text and HTML just
>> fine.  Either one works.  By default, it blocks remote content which
>> generally results in a somewhat plain text email anyway, until I tell
>it
>> to show remote stuff.  The only reason I do set it up this way is for
>> gentoo.org and kde.org.  Everyone else gets HTML, all the time. 
>> 
>> I suspect the percentage of even Gentoo mailing list users that use
>> software that can't show HTML is small. I wouldn't be surprised if it
>is
>> single digits even.  That said, Seamonkey is starting to rub me the
>> wrong way.  The only reason I'm still using it is because of email
>since
>> some websites don't load correctly anymore.  Since they changed that
>> reply to list to reply to sender, that has thrown me a serious curve
>> ball.  Before mentioning Thunderbird, it has the same default.  I
>found
>> that out while trying to figure out Seamonkey.  So, if I switch from
>> Seamonkey for email, it'll be something totally new and may even have
>> the same stupid "feature". 
>> 
>> Maybe one day someone can post in HTML and no one says anything.  o_O
>
>
>The only cases I see nowadays of really needing non-HTML mail is a)
>this
>list and b) mutt (or alike terminal MUA) for server mails which is
>invariably always text-only anyway...
>
>People who send me mails with excessive HTML just go in my kill file on
>Office 365, and it's the company spending $brazillions on that storage,
>not me

I agree as well

I can handle HTML emails and won't complain. (As long as they don't set some 
idiotic font or background colours)

But top-posting when replying to emails makes for unnecessary difficult reading.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Is this working correctly??

2017-08-23 Thread J. Roeleveld
On 23 August 2017 18:49:39 GMT+02:00, Dale  wrote:
>Thomas Mueller wrote:
>> You (Dale) seem to have corrected the multipart/alternative problem,
>except one message (Subject: Re: [gentoo-user] Re: downgrading glibc)
>where multipart/alternative went through.
>>
>> I would never design an email client to send multipart/alternative by
>default, and might design an email client to not support
>multipart/alternative at all in composed messages.
>>
>> Tom
>>
>
>Someone pointed out that it likely did that with that message because
>the message I was replying to was HTML.  It seems that if I reply to a
>HTML message, it ignores my settings.  I think it should obey the
>settings regardless myself as settings should override what it is
>replying too. 
>
>At least I know that messages by default are being sent correctly. 
>That
>should correct the vast majority of them. 
>
>Thanks again to all.
>
>Dale
>
>:-)  :-) 

Some mail clients have a different setting for when replying. Maybe you missed 
that one?
Or that should be added.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Question on install

2017-08-21 Thread J. Roeleveld
On 21 August 2017 20:04:30 GMT+02:00, Rasmus Thomsen 
<rasmus.thom...@protonmail.com> wrote:
>The problem with email providers which store all emails encrypted ( as
>in end-to-end ) is that they usually require a specific app ( providers
>could be protonmail, tutanota etc. ). Both of which don't support
>bottom posting ( well ), at least on mobile devices
>
>Rasmus
>
> Original Message --------
>On 21 Aug 2017, 19:56, J. Roeleveld wrote:
>
>> On Monday, August 21, 2017 6:44:07 PM CEST Dale wrote:
>>> mad.scientist.at.la...@tutanota.com wrote:
>>> > precisely what happened, sorry i didn't realize that chainging the
>>> > "subject" line causes confusion. now i know, now i can avoid that
>>> > mistake.
>>>
>>> > 21. Aug 2017 09:37 by rdalek1...@gmail.com  :
>>> No problem. By the way, top posting is sort of frowned on. However,
>we
>>> also realize some devices don't play well with bottom posting. If
>>> possible, set it to bottom post. If not possible, oh well. ;-)
>>
>> I use multiple devices. All of which can be set to bottom-post.
>> Might need a better email app, but that should not be an issue.
>>
>> --
>> Joost
>>
>> @gmail.com>

IMAP over SSL works and allows plenty lf different clients.

How well do you trust a cloud provider to keep your data secure? I haven't 
found a cloud provider yet where I am willing to store my data unencrypted.

My backups (stored in the cloud) are encrypted on my own systems before they 
are uploaded to cloud storage. They claim encryption and secure storage, but 
they can always decrypt their own storage. And so can anyone else who gets the 
right access.

And what is the point of using encrypted storage when the emails are sent 
unencrypted between SMTP servers?

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Question on install

2017-08-21 Thread J. Roeleveld
On Monday, August 21, 2017 6:44:07 PM CEST Dale wrote:
> mad.scientist.at.la...@tutanota.com wrote:
> > precisely what happened, sorry i didn't realize that chainging the
> > "subject" line causes confusion.  now i know, now i can avoid that
> > mistake.
> 
> > 21. Aug 2017 09:37 by rdalek1...@gmail.com :
> No problem.  By the way, top posting is sort of frowned on.  However, we
> also realize some devices don't play well with bottom posting.  If
> possible, set it to bottom post.  If not possible, oh well.  ;-)

I use multiple devices. All of which can be set to bottom-post.
Might need a better email app, but that should not be an issue.

--
Joost



Re: [gentoo-user] Install on ZFS

2017-08-16 Thread J. Roeleveld
On Wednesday, August 16, 2017 6:12:03 AM CEST Grant wrote:
> >>I'm trying to get started on my first Gentoo install on ZFS.  My
> >>remote server is booted to a Gentoo LiveCD and I've SSH'ed in but it
> >>looks like the CD doesn't have ZFS tools:
> >>
> >>livecd ~ # zpool status
> >>-bash: zpool: command not found
> >>
> >>Can I pull this off from here or do I need to mail a different CD to my
> >>host?
> >>
> >>This server has 6 SSDs and I'm planning to set up a 2-way stripe and
> >>3-way mirror.  Any tips that might help me pull this off?
> >>
> >>- Grant
> >>
> > I did this not too long ago, using the boot disc and howto from
> > FearedBliss: https://wiki.gentoo.org/wiki/User:Fearedbliss
> 
> This looks like a great guide.  Are there instructions for extracting
> a portage archive over my running LiveCD OS so I can then emerge zfs
> and execute this guide without mailing another CD-R to my host?
> 
> - Grant

On this, I don't know.
There are guides on how to build a sysresccd yourself with additional software 
added. I was thinking of having to do that myself.
But when I found this one, I stopped investigating that.

--
Joost




Re: [gentoo-user] efibootmgr "Could not prepare Boot variable: Read-only file system"

2017-08-15 Thread J. Roeleveld
On 15 August 2017 20:17:20 GMT+02:00, Rich Freeman  wrote:
>On Tue, Aug 15, 2017 at 11:04 AM, Mick 
>wrote:
>>
>> I can't recall if I did this myself in a moment of security induced
>> inspiration.  I doubt I did.  So how did this happen?  What is
>responsible for
>> mounting this fs?
>>
>
>It looks like this never did turn into a news item:
>https://archives.gentoo.org/gentoo-dev/message/35304b0db4de9e06fea322275379fa81
>
>You can remount it as rw if your tools don't do it automatically.  It
>might not hurt to file a bug if one doesn't already exist for the tool
>that isn't remounting it.

I think mounting it as RO makes sense. Similarly to mounting /boot as RO.

Difference is, and this is why a newsitem would have been useful, /boot is in 
your fstab and you (should) know you set it to not automount and/or RO.

The efi mount is done automagically and any flags are usually not set by the 
user/admin.

At least I now know this to be the case when I end up updating the few machines 
I set up to boot directly using EFI without a bootloader.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Install on ZFS

2017-08-15 Thread J. Roeleveld
On 15 August 2017 16:13:37 GMT+02:00, "C."  wrote:
>Rich Freeman  writes:
>> Is this your first Gentoo install, or your first Gentoo+ZFS install?
>> If the former, you're definitely not doing this the easy way...
>
>Not easy, no. But definitely possible. I managed to do so.
>
>One thing to keep in mind, though, is that it might be best to _not_
>put
>"/boot" on ZFS. I did and can't upgrade my zpool just yet, because - as
>far as I know (please corret me if I am wrong)- Grub ain't able to boot
>from a zpool that has been upgraded to latest ZoL (> 0.7). It works
>just
>fine with 0.6.5.11 though.
>
>Kind regards
>Christian.

That's why the one I linked to actually tells you to create 2 zpools. 1 for 
/boot and 1 for the rest.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Install on ZFS

2017-08-15 Thread J. Roeleveld
On 15 August 2017 15:44:21 GMT+02:00, Dale  wrote:
>John Covici wrote:
>> On Tue, 15 Aug 2017 08:52:45 -0400,
>> Alan McKinnon wrote:
>>> On 15/08/2017 14:49, Grant wrote:
 I'm trying to get started on my first Gentoo install on ZFS.  My
 remote server is booted to a Gentoo LiveCD and I've SSH'ed in but
>it
 looks like the CD doesn't have ZFS tools:

 livecd ~ # zpool status
 -bash: zpool: command not found

 Can I pull this off from here or do I need to mail a different CD
>to my host?

 This server has 6 SSDs and I'm planning to set up a 2-way stripe
>and
 3-way mirror.  Any tips that might help me pull this off?

 - Grant

>>>
>>> The Gentoo LiveCD is really nothing more than a feel-nice tool for
>>> people who want to install Gentoo from a Gentoo tool; it is very
>much
>>> completely not required.
>>>
>>> Do your install from any medium you feel like as long as it has all
>the
>>> tools you need.
>>>
>>> I suppose you *could* emerge the zfs tools on the running LiveCD
>system
>>> if it supports fs merging but it's probably easier to use a medium
>that
>>> already has everything you want
>>
>> I would like to know which cd has zfs support.  I could not find one,
>> so I wrote some catalyst stuff to make an install cd with zfs
>support,
>> but it would be nice if I would not have to do that, a fair bit of
>> work.
>>
>
>Just for giggles, SystemRescueCd maybe??  Gentoo based and it has a lot
>of tools just not sure on that one.
>
>Dale
>
>:-)  :-) 

Not systemresccd. But the one I linked to is a rebuild of that with zfs and 
multipathing added.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Install on ZFS

2017-08-15 Thread J. Roeleveld
On 15 August 2017 14:49:43 GMT+02:00, Grant  wrote:
>I'm trying to get started on my first Gentoo install on ZFS.  My
>remote server is booted to a Gentoo LiveCD and I've SSH'ed in but it
>looks like the CD doesn't have ZFS tools:
>
>livecd ~ # zpool status
>-bash: zpool: command not found
>
>Can I pull this off from here or do I need to mail a different CD to my
>host?
>
>This server has 6 SSDs and I'm planning to set up a 2-way stripe and
>3-way mirror.  Any tips that might help me pull this off?
>
>- Grant

I did this not too long ago, using the boot disc and howto from FearedBliss:
https://wiki.gentoo.org/wiki/User:Fearedbliss

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] mount: Permission Denied in CHROOT

2017-08-15 Thread J. Roeleveld
On 15 August 2017 05:32:48 GMT+02:00, symack  wrote:
>Hello Everyone,
>
>New installation on an older x346 system that has a HW raid
>serveraid7k. I
>have the appropriate kernel driver compiled `aic79xx`.
>
>lscpi:
>
>00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev
>0c)
>00:00.1 Unassigned class [ff00]: Intel Corporation E7525/E7520 Error
>Reporting Registers (rev 0c)
>00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express
>Port A
>(rev 0c)
>00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B
>(rev
>0c)
>00:05.0 PCI bridge: Intel Corporation E7520 PCI Express Port B1 (rev
>0c)
>00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c)
>00:08.0 System peripheral: Intel Corporation E7525/E7520/E7320 Extended
>Configuration Registers (rev 0c)
>00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB
>UHCI
>Controller #1 (rev 02)
>00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB
>UHCI
>Controller #2 (rev 02)
>00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2
>EHCI
>Controller (rev 02)
>00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
>00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC
>Interface
>Bridge (rev 02)
>00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
>Controller (rev 02)
>00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus
>Controller
>(rev 02)
>01:06.0 VGA compatible controller: Advanced Micro Devices, Inc.
>[AMD/ATI]
>RV100 [Radeon 7000 / Radeon VE]
>02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge
>A
>(rev 09)
>02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge
>B
>(rev 09)
>03:03.0 Network controller: MYRICOM Inc. Myrinet 2000 Scalable Cluster
>Interconnect (rev 06)
>05:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit
>Ethernet PCI Express (rev 11)
>06:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit
>Ethernet PCI Express (rev 11)
>07:00.0 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor
>(A-Segment Bridge) (rev 07)
>07:00.2 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor
>(B-Segment Bridge) (rev 07)
>08:0e.0 RAID bus controller: Adaptec ServeRAID Controller (rev 07)
>
>
>
>emerge --info
>
>
>Portage 2.3.6 (python 3.4.5-final-0, hardened/linux/amd64, gcc-5.4.0,
>glibc-2.23-r4, 4.8.17-hardened-r2 x86_64)
>=
>System uname:
>Linux-4.8.17-hardened-r2-x86_64-Intel-R-_Xeon-TM-_CPU_3.60GHz-with-gentoo-2.3
>KiB Mem: 8061620 total,   6539044 free
>KiB Swap:  0 total, 0 free
>Timestamp of repository gentoo: Mon, 07 Aug 2017 15:30:01 +
>sh bash 4.3_p48-r1
>ld GNU ld (Gentoo 2.28 p1.2) 2.28
>app-shells/bash:  4.3_p48-r1::gentoo
>dev-lang/perl:5.24.1-r2::gentoo
>dev-lang/python:  2.7.12::gentoo, 3.4.5::gentoo
>dev-util/pkgconfig:   0.28-r2::gentoo
>sys-apps/baselayout:  2.3::gentoo
>sys-apps/openrc:  0.28::gentoo
>sys-apps/sandbox: 2.10-r3::gentoo
>sys-devel/autoconf:   2.69::gentoo
>sys-devel/automake:   1.15-r2::gentoo
>sys-devel/binutils:   2.28-r2::gentoo
>sys-devel/gcc:5.4.0-r3::gentoo
>sys-devel/gcc-config: 1.7.3::gentoo
>sys-devel/libtool:2.4.6-r3::gentoo
>sys-devel/make:   4.2.1::gentoo
>sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
>sys-libs/glibc:   2.23-r4::gentoo
>Repositories:
>
>gentoo
>location: /usr/portage
>sync-type: rsync
>sync-uri: rsync://rsync.gentoo.org/gentoo-portage
>priority: -1000
>
>ACCEPT_KEYWORDS="amd64"
>ACCEPT_LICENSE="* -@EULA"
>CBUILD="x86_64-pc-linux-gnu"
>CFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe"
>CHOST="x86_64-pc-linux-gnu"
>CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc
>/usr/share/gnupg/qualified.txt"
>CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
>/etc/gentoo-release /etc/sandbox.d /etc/terminfo"
>CXXFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe"
>DISTDIR="/usr/portage/distfiles"
>FCFLAGS="-O2 -pipe"
>FEATURES="assume-digests binpkg-logs config-protect-if-modified
>distlocks
>ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
>protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
>unmerge-orphans userfetch userpriv usersandbox usersync xattr"
>FFLAGS="-O2 -pipe"
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/;
>LANG="en_US.utf8"
>LDFLAGS="-Wl,-O1 -Wl,--as-needed"
>MAKEOPTS="-j2"
>PKGDIR="/usr/portage/packages"
>PORTAGE_CONFIGROOT="/"
>PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
>--omit-dir-times --compress --force --whole-file --delete --stats
>--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
>--exclude=/packages 

Re: [gentoo-user] No beep.

2017-08-14 Thread J. Roeleveld
On 14 August 2017 20:22:54 GMT+02:00, Alan Mackenzie  wrote:
>Hello, Gentoo.
>
>I've almost got my new(ish) machine up and running.  In particular,
>I've
>got an email server (s/qmail) running on it, the most difficult part of
>bringing up a new box.
>
>However, during the building, I discovered to my disgust that there was
>no loudspeaker in my new case.  So, none of the helpful booting beeps
>that the motherboard uses to tell us that something's wrong.  Still, I
>got past that stage.
>
>But just typing into a virtual tty, sometimes the system (should) beep.
>It doesn't.  It should.
>
>It should, because I compiled the kernel with CONFIG_SND_HDA_INPUT_BEEP
>and CONFIG_SND_HDA_INPUT_BEEP_MODE set to 1.
>
>My loudspeakers are working, as shown by running speaker-test.  I'm
>using the kernel I think I am, verified by checking those two config
>settings in /proc/config.gz.
>
>Would somebody please suggest to me where I am going wrong, here?
>
>Thanks!

Silly question, but did you check the volume settings?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] install of vbox guest-additions failing

2017-07-09 Thread J. Roeleveld
On July 9, 2017 5:07:20 PM GMT+02:00, Harry Putnam  wrote:
>Setup: Running gentoo updated as vbox vm on a
>   Solaris x86 host
>
>Having a problem installing vbox guest additions.
>
>Hard for me to tell if the problem is with vbox-guestadditions or if
>the newest kernel (4.12.0) really has shortcomings.
>
>Like always with guest-additions... I ran:
>
> `bash /media/VBoxLinuxAdditions.run'
>
>It went thru the process... and failed to announce that it failed as
>I've seen in the past when something went wrong.
>
>It just tells you to look at "/var/log/vboxadd-install.log' 'to see
>what happened".  I've included it below.
>
>The log suggests two things to do, to keep this from happening.
>"Run make oldconfig && make prepare"
>
>I did that but installing guest-additions ended as below again.
>
>Have I just failed to include something in the kernel build? Or is it
>likely to be a problem with guest-additions"
>
>I had these same guest additions installed successfully prior to
>building the new kernel.  And built the new kernel by inserting the
>`.config' from my prior kernel (4.9.10) and running make oldconfig.
>And finally checking things with make menuconfig.
>
>It seems likely I failed to include something that was included in
>prior kernel build... but not sure what it might be.
>
>Below is the vboxadd-install.log ... I've included the main error
>message inline... but attached the full content of the massive pile of
>mess output from actual build of guest-additions to try to make this
>post a bit easier to read.
>
>---   ---   ---=---   ---   --- 
>
>grep: /lib/modules/4.12.0-gentoo/build/include/linux/version.h: No such
>file or directory
>make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C
>/lib/modules/4.12.0-gentoo/build SUBDIRS=/tmp/vbox.0
>SRCROOT=/tmp/vbox.0 modules
>test -e include/generated/autoconf.h -a -e include/config/auto.conf ||
>(  \
>echo >&2;  \
>echo >&2 "  ERROR: Kernel configuration is invalid.";  \
>echo >&2 " include/generated/autoconf.h or
>include/config/auto.conf are missing.";\
>echo >&2 " Run 'make oldconfig && make prepare' on kernel src
>to fix it.";   \
>echo >&2 ; \
>/bin/false)
>
>---   ---   ---=---   ---   --- 
>
>Full output of attempted build of vbox guest-additions:

Do you have module support enabled?

Is the /usr/src/linux symlink pointing to the correct kernel version?

In a VBOX VM, you would normally need to compile a kernel, the commands given 
are only needed when the sources are not used to compile the kernel.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] SR-IOV for RAID/HBA's? anyone tried it?

2017-07-03 Thread J. Roeleveld
On Monday, July 3, 2017 8:30:08 AM CEST taii...@gmx.com wrote:
> On 07/03/2017 12:24 AM, J. Roeleveld wrote:
> > On July 2, 2017 7:36:02 PM GMT+02:00, "taii...@gmx.com" <taii...@gmx.com> 
wrote:
> >> On 07/02/2017 02:51 AM, J. Roeleveld wrote:
> >>> On July 1, 2017 11:23:06 PM GMT+02:00, "taii...@gmx.com"

> >> VM with quality performance.
> >> It'll always be faster than an emulated disk.
> > 
> > Never noticed any performance issues. Using Xen and raw disk format to the
> > VMs.
> http://semiaccurate.com/2009/09/30/lsi-virtualizes-storage-hardware/

I am missing how to accessed the disks here in both options.
The difference in performance is far more then I ever saw, even with older 
hardware.
With that difference, it seems their KVM configuration is rubbish.

> For me I have 3/4 the native copy speed, and the I/O for example
> extracting a zip is terrible.

I never noticed any real difference, even when the host managed the HBA.
How do you configure your VMs and which technology do you use?

> >>> Either the VM needs a fraction of a single disk. Or it needs multiple
> >> 
> >> disks.
> >> 
> >>> For the latter case, I prefer to pass an entire HBA.
> >> 
> >> Which one do you have and does yours support FLR?
> > 
> > Using a Supermicro card based on a LSI3008 chipset and dual expander
> > backplane. I can always add a second HBA of I need more bandwidth.
> > 
> > What is FLR? Googling that gives me a lot of non IT related results.
> 
> Function level reset, it is required to be able to assign devices to
> VM's without annoyance.

Passing to VM works flawlessly with this card. Didn't have any issues with 
setting it all up.

> The 3K series supports SR-IOV so you probably have it.
> Could you run # lspci -vv?

Results from the VM attached.
I don't see any mention of SR-IOV in there.

My network-card does have this, but unless I can have the card do the bonding 
and vlans, I see no use for it there either.

--
Joost# lspci -vv
00:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS3008 
PCI-Express Fusion-MPT SAS-3 (rev 02)
Subsystem: Super Micro Computer Inc SAS3008 PCI-Express Fusion-MPT SAS-3
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [190 v1] #16
Capabilities: [148 v1] Alternative Routing-ID Interpretation (ARI)
ARICap: MFVC- ACS-, Next Function: 0
ARICtl: MFVC- ACS-, Function Group: 0
Kernel driver in use: mpt3sas
Kernel modules: mpt3sas


Re: [gentoo-user] SR-IOV for RAID/HBA's? anyone tried it?

2017-07-02 Thread J. Roeleveld
On July 2, 2017 7:36:02 PM GMT+02:00, "taii...@gmx.com" <taii...@gmx.com> wrote:
>On 07/02/2017 02:51 AM, J. Roeleveld wrote:
>
>> On July 1, 2017 11:23:06 PM GMT+02:00, "taii...@gmx.com"
><taii...@gmx.com> wrote:
>>> I am wondering if anyone has tried this, apparently several LSI
>>> controllers support portioning out drives to VF's so the guest sees
>a
>>> controller with those drives attached to it.
>>>
>>> What was your experience like? and what controllers did you use?
>>>
>>>
>>> - Thanks
>> I am wondering when I would want this?
>So you only need one HBA/RAID card per system if you want more than one
>
>VM with quality performance.
>It'll always be faster than an emulated disk.

Never noticed any performance issues. Using Xen and raw disk format to the VMs.

>> Either the VM needs a fraction of a single disk. Or it needs multiple
>disks.
>>
>> For the latter case, I prefer to pass an entire HBA.
>Which one do you have and does yours support FLR?

Using a Supermicro card based on a LSI3008 chipset and dual expander backplane.
I can always add a second HBA of I need more bandwidth.

What is FLR? Googling that gives me a lot of non IT related results.

--
Joost


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] SR-IOV for RAID/HBA's? anyone tried it?

2017-07-02 Thread J. Roeleveld
On July 1, 2017 11:23:06 PM GMT+02:00, "taii...@gmx.com"  
wrote:
>I am wondering if anyone has tried this, apparently several LSI 
>controllers support portioning out drives to VF's so the guest sees a 
>controller with those drives attached to it.
>
>What was your experience like? and what controllers did you use?
>
>
>- Thanks

I am wondering when I would want this?

Either the VM needs a fraction of a single disk. Or it needs multiple disks.

For the latter case, I prefer to pass an entire HBA.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: Copy'n'Paste...but not for all?

2017-06-25 Thread J. Roeleveld
On June 26, 2017 3:19:49 AM GMT+02:00, Nikos Chantziaras  
wrote:
>On 25/06/2017 09:12 μμ, tu...@posteo.de wrote:
>> On my Gentoo Linux box I am running Virtualbox and
>> on that virtual box Linux again.
>> 
>> When trying to cut text from a terminal or another
>> text-based apolication and past that into a firefox
>> running on the virtualized Linux it fails.
>> 
>> But when I start a firefox on the host system,
>> cut text from a terminal or another text-based
>> application and paste that into the URL-field
>> of the firefox on the host sustem, then cut
>> it from there and paste it into the firefox
>> on the viryalized Linux...it works.
>> 
>> Looks a little weird to me...
>> Is that an error, which fails to fail completly
>> or is a half working feature (or do I fail
>> in both cases ... ;) ?
>
>Similar things happen with VMware. It seems that many applications do 
>not set the clipboard contents in a way that VB or VMw can recognize.
>
>Never found a solution to this myself.

How do you try to copy/paste?

I find it only works when I explicitly use 'edit->copy' and 'edit->paste'. Or 
CTRL-C and CTRL-V.

In other words, just like in MS Windows.

Selecting text and then pasting using the middle mouse button doesn't work.

It seems these are two different clipboards.

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] e2fsck -a /dev/sdb1

2017-06-15 Thread J. Roeleveld
On June 15, 2017 7:24:09 PM GMT+02:00, the...@sys-concept.com wrote:
>On 06/15/2017 10:48 AM, Helmut Jarausch wrote:
>> On 06/15/2017 06:21:44 PM, the...@sys-concept.com wrote:
>> 
>[snip]
>>>
>> 
>> This looks like a hardware failure. You could try to use 
>sys-fs/ddrescue
>> to recover all / most files.
>> If this doesn't work as expected, you can try to use
>app-admin/testdisk.
>> 
>> Then you can format the drive and copy the files back.
>> 
>> P.S. Have you used the "save eject feature" of Windows before
>> disconnection the drive from your PC?
>> 
>> (Cheap) USB sticks are by no means a safe data storage.
>> 
>> If you don't change any data while the drive is attached to Windows
>try
>> using a stick with a write protection toggle.
>> If you have to write to the drive from Windows it would be better to
>> format it as NTFS which can be read/written on Linux.
>> 
>> Helmut
>
>I don't really need any of the files that were on this USB stick.
>I was trying to recover the ext4 file system on this USB but it didn't
>work.
>
>I was under impression that ext4 file system was much better (not prone
>to these kind of damages) but I was wrong.
>
>--
>Thelma

Ext4, and any other filesystem, is only as reliable as the implementation.

Using a random, rarely tested, implementation is often a bad idea.

Simply unplugging a USB drive can easily kill the entire filesystem. If I see a 
person simply pulling it out without ejecting first will never get one of 
mine...

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] e2fsck -a /dev/sdb1

2017-06-15 Thread J. Roeleveld
On June 15, 2017 5:26:36 PM GMT+02:00, the...@sys-concept.com wrote:
>I'm trying to repair USB disk (64GB) originally formatted with ext4
>
>I read the USB stick on Windows via some kind of windows ext4 driver
>now I can not open it on Linux box.
>
>e2fsck -a /dev/sdb1
>64gb: recovering journal
>
>(just stays there and does nothing).
>when I unplug it I get:
>
>e2fsck: No such file or directory while trying to re-open 64gb
>
>64gb: ** WARNING: Filesystem still has errors **
>
>(dmesg):
>usb-storage 8-1:1.0: USB Mass Storage device detected
>[1175553.773966] scsi host8: usb-storage 8-1:1.0
>[1175554.790598] scsi 8:0:0:0: Direct-Access Verbatim STORE N GO   
>   5.00 PQ: 0 ANSI: 6
>[1175554.791142] sd 8:0:0:0: Attached scsi generic sg2 type 0
>[1175558.511554] sd 8:0:0:0: [sdb] 120933888 512-byte logical blocks:
>(61.9 GB/57.7 GiB)
>[1175558.511720] sd 8:0:0:0: [sdb] Write Protect is off
>[1175558.511722] sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
>[1175558.511890] sd 8:0:0:0: [sdb] No Caching mode page found
>[1175558.511891] sd 8:0:0:0: [sdb] Assuming drive cache: write through
>[1175558.514906]  sdb: sdb1
>[1175558.515986] sd 8:0:0:0: [sdb] Attached SCSI removable disk
>[1176008.633223] usb 8-1: USB disconnect, device number 46
>[1176008.641063] sd 8:0:0:0: [sdb] tag#0 FAILED Result:
>hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
>[1176008.641069] sd 8:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 01 38 08
>00 00 00 08 00
>[1176008.641073] blk_update_request: I/O error, dev sdb, sector
>20449280
>[1176008.641076] Buffer I/O error on dev sdb1, logical block 2555904,
>lost async page write
>[1176008.641113] sd 8:0:0:0: [sdb] tag#0 FAILED Result:
>hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
>[1176008.641116] sd 8:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 01 3c 08
>00 00 00 08 00
>[1176008.641118] blk_update_request: I/O error, dev sdb, sector
>20711424
>[1176008.641120] Buffer I/O error on dev sdb1, logical block 2588672,
>lost async page write
>[1176008.651400] VFS: Dirty inode writeback failed for block device
>sdb1 (err=-5).

Try increasing verbosity of the e2fsck

And why would you trust some random ms windows ext4 driver in RW mode?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] KDE 5 MTP failure

2017-06-14 Thread J. Roeleveld
On June 14, 2017 10:43:33 PM GMT+02:00, Daniel Frey  wrote:
>On 06/14/2017 12:47 PM, Mick wrote:
>> 
>> A long shot, but you never know if it will help in your case. 
>(Re)install 
>> kde-apps/kwalletd-16.04.3-r1 and see if all this multiple-asking for 
>> permission goes away.  It may just be that the KDE application in
>question was 
>> working well with kwalletd:4, but not kwalletd:5.
>> 
>
>I'll try that later on, too busy digging in my yard. Stopped for a
>break.
>
>I should mention I don't use kwallet, I turn that crap off.
>
>The device doing all the prompting was the phone itself. The phone
>usually would ask once for permission but it seems to ask so quickly
>you
>can't respond to them causing the mtp driver to barf.
>
>Dan

Android and iphones can be accessed as a USB drive. Doesn't this work?

I found MTP unreliable both with Linux and MS Windows.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: local file containing a web site

2017-06-12 Thread J. Roeleveld
On June 13, 2017 5:37:22 AM GMT+02:00, allan gottlieb  wrote:
>On Sun, Jun 11 2017, Kai Krakow wrote:
>
>> Am Sat, 10 Jun 2017 12:12:09 -0400
>> schrieb allan gottlieb :
>>
>>> I was interviewed and the material was put on a website 
>>> (news.mit.edu/2017/reflections-puzzle-keeper-allan-gottlieb-0608).
>>> 
>>> For someone to view this they need that
>>> 1.  They are on the net.
>>> 2.  MIT has not removed it.
>>> 
>>> I would like to produce a file containing what is seen when viewing
>>> that web page (it brings in other pages).  A pdf would be good, but
>>> others would be OK.
>>
>> If only single pages are of interest, I'd probably suggest PDF indeed
>> as it is universally viewable.
>>
>>> The goal is to be able to put this on a flash drive and be able to
>>> view in without net access.
>>
>> Try httrack which is a web site mirror and offline browsing software.
>
>Thanks.  Since I don't need the whole tree.  Just the print-to-pdf
>suffices.  I can't explain why I didn't think of it.
>
>allan

The puzzle is too simple? :)

--
Joost

Ps. Are those puzzles archived somewhere?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] What gives with all these file collisions?

2017-06-02 Thread J. Roeleveld
On June 2, 2017 9:07:57 AM GMT+02:00, Kent Fredric  wrote:
>On Fri, 2 Jun 2017 08:23:22 +0200
>Alan McKinnon  wrote:
>
>> Or you could use Ubuntu.
>
>Can you please refrain from such phrases.

Based on the history of emails from the OP, this is quite justified.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Can't rebuild gentoo kernel-4.9.16 with gcc-5.4.0

2017-05-30 Thread J. Roeleveld
On May 30, 2017 12:56:18 PM GMT+02:00, Mick  wrote:
>I tried to change the kernel config file and then rebuild the kernel,
>but it 
>fails like this on two up to date stable systems:
>
># make && make modules_install && make firmware_install
>  HOSTCC  scripts/kconfig/conf.o
>  HOSTLD  scripts/kconfig/conf
>scripts/kconfig/conf  --silentoldconfig Kconfig
>  HOSTCC  arch/x86/tools/relocs_32.o
>  HOSTCC  arch/x86/tools/relocs_64.o
>  HOSTCC  arch/x86/tools/relocs_common.o
>  HOSTLD  arch/x86/tools/relocs
>  CHK include/config/kernel.release
>  CHK include/generated/uapi/linux/version.h
>  CHK include/generated/utsrelease.h
>  CC  arch/x86/purgatory/purgatory.o
>  AS  arch/x86/purgatory/stack.o
>  AS  arch/x86/purgatory/setup-x86_64.o
>  CC  arch/x86/purgatory/sha256.o
>  AS  arch/x86/purgatory/entry64.o
>  CC  arch/x86/purgatory/string.o
>  LD  arch/x86/purgatory/purgatory.ro
>  BIN2C   arch/x86/purgatory/kexec-purgatory.c
>  CC  kernel/bounds.s
>  CHK include/generated/bounds.h
>  CHK include/generated/timeconst.h
>  CC  arch/x86/kernel/asm-offsets.s
>  CHK include/generated/asm-offsets.h
>  CALLscripts/checksyscalls.sh
>  DESCEND  objtool
>make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-
>gnu/4.9.4/include/stddef.h', needed by '/usr/src/linux-4.9.16-
>gentoo/tools/objtool/fixdep.o'.  Stop.
>make[3]: *** [Makefile:42:
>/usr/src/linux-4.9.16-gentoo/tools/objtool/fixdep-
>in.o] Error 2
>make[2]: ***
>[/usr/src/linux-4.9.16-gentoo/tools/build/Makefile.include:4: 
>fixdep] Error 2
>make[1]: *** [Makefile:60: objtool] Error 2
>make: *** [Makefile:1614: tools/objtool] Error 2
>
>
># gcc-config -l
> [1] x86_64-pc-linux-gnu-5.4.0 *
>
>
>Why is this happening and how can I fix it?  Running fix_libtool.sh on
>4.9.4 
>doesn't change anything.  :-/
>
>Am I supposed to emerge a later version gentoo-sources to be able to
>build a 
>kernel with gcc-5.4.0?

After gcc-config, make sure you run:
# env-update
# source /etc/profile

It looks like something still points to your old compiler.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
On May 25, 2017 6:06:45 PM GMT+02:00, Rich Freeman <ri...@gentoo.org> wrote:
>On Thu, May 25, 2017 at 10:16 AM, J. Roeleveld <jo...@antarean.org>
>wrote:
>> On May 25, 2017 1:04:07 PM GMT+02:00, Kai Krakow
><hurikha...@gmail.com> wrote:
>>>Am Thu, 25 May 2017 08:34:10 +0200
>>>schrieb "J. Roeleveld" <jo...@antarean.org>:
>>>
>>>> It is possible. I have it set up like that on my laptop.
>>>> Apart from a small /boot partition. The whole drive is encrypted.
>>>> Decryption keys are stored encrypted in the initramfs, which is
>>>> embedded in the kernel.
>>>
>>>And the kernel is on /boot which is unencrypted, so are your
>encryption
>>>keys. This is not much better, I guess...
>>
>> A file full of random characters is encrypted using GPG.
>> Unencrypted, this is passed to cryptsetup.
>>
>> The passphrase to decrypt the key needs to be entered upon boot.
>> How can this be improved?
>>
>
>The need to enter a passphrase was the missing bit here.  I thought
>you were literally just storing the key in the clear.
>
>As far as I can tell gpg symmetric encryption does salting and
>iterations by default, so you're probably fairly secure.  I'm not sure
>if the defaults were always set up this way - if you set up that file
>a long time ago you might just want to check that, unless your
>passphrase is really complex.

Not sure how long ago this was. I'm planning on redoing the whole laptop in the 
near future anyway.

If anyone knows of a better way (that works without TPM) I would like to hear 
about it.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
On May 25, 2017 1:04:07 PM GMT+02:00, Kai Krakow <hurikha...@gmail.com> wrote:
>Am Thu, 25 May 2017 08:34:10 +0200
>schrieb "J. Roeleveld" <jo...@antarean.org>:
>
>> It is possible. I have it set up like that on my laptop.
>> Apart from a small /boot partition. The whole drive is encrypted.
>> Decryption keys are stored encrypted in the initramfs, which is
>> embedded in the kernel.
>
>And the kernel is on /boot which is unencrypted, so are your encryption
>keys. This is not much better, I guess...

A file full of random characters is encrypted using GPG.
Unencrypted, this is passed to cryptsetup.

The passphrase to decrypt the key needs to be entered upon boot.
How can this be improved?

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld


On May 25, 2017 5:38:35 AM GMT+02:00, Kai Krakow  wrote:
>Am Wed, 24 May 2017 12:30:36 -0700
>schrieb Rich Freeman :
>
>> On Wed, May 24, 2017 at 11:34 AM, Ian Zimmerman 
>> wrote:
>> > On 2017-05-24 08:00, Kai Krakow wrote:
>> >  
>> >> Unix semantics suggest that /tmp is not expected to survive
>reboots
>> >> anyways (in contrast, /var/tmp is expected to survive reboots), so
>> >> tmpfs is a logical consequence to use for /tmp.  
>> >
>> > /tmp is wiped by the bootmisc init job anyway.
>> >  
>> 
>> In general I haven't found anything that is bothered by /var/tmp
>being
>> lost on reboot, but obviously that is something you need to be
>> prepared for if you put it on tmpfs.
>> 
>> One thing that wasn't mentioned is that having /tmp in tmpfs might
>> also have security benefits depending on what is stored there, since
>> it won't be written to disk.  If you have a filesystem on tmpfs and
>> your swap is encrypted (which you should consider setting up since it
>> is essentially "free") then /tmp also becomes a useful dumping ground
>> for stuff that is decrypted for temporary processing.  For example,
>if
>> you keep your passwords in a gpg-encrypted file you could copy it to
>> /tmp, decrypt it there, do what you need to, and then delete it. 
>That
>> wouldn't leave any recoverable traces of the file.
>
>Interesting point... How much performance impact does encrypted swap
>have? I don't mean any benchmark numbers but real life experience from
>your perspective when the system experiences memory pressure?

I have my laptop encrypted. Has 16GB and occasionally it does use swap. With it 
all being on SSD.
I am not noticing any slowdowns because of it.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: tmp on tmpfs

2017-05-25 Thread J. Roeleveld
It is possible. I have it set up like that on my laptop.
Apart from a small /boot partition. The whole drive is encrypted.
Decryption keys are stored encrypted in the initramfs, which is embedded in the 
kernel.

--
Joost

On May 25, 2017 12:40:12 AM GMT+02:00, Rich Freeman  wrote:
>On Wed, May 24, 2017 at 2:16 PM, Andrew Savchenko 
>wrote:
>>
>> Apparently it is pointless to encrypt swap if unencrypted
>> hibernation image is used, because all memory is accessible through
>> that image (and even if it is deleted later, it can be restored
>> from hdd and in some cases from ssd).
>>
>
>Yeah, that was my main concern with an approach like that.  I imagine
>you could use a non-random key and enter it on each boot and restore
>from the encrypted swap, though I haven't actually used hibernation on
>linux so I'd have to look into how to make that work.  I imagine with
>an initramfs it should be possible.
>
>-- 
>Rich

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] [OT] Horrible English

2017-05-12 Thread J. Roeleveld
On May 12, 2017 6:15:05 PM GMT+02:00, Alan McKinnon <alan.mckin...@gmail.com> 
wrote:
>On 12/05/2017 09:37, J. Roeleveld wrote:
>> On May 11, 2017 11:20:49 AM GMT+02:00, Alan McKinnon
><alan.mckin...@gmail.com> wrote:
>>> On 11/05/2017 02:09, Peter Humphrey wrote:
>>>> On Wednesday 10 May 2017 23:33:37 Alan McKinnon wrote:
>>>>
>>>>> I you read -dev, you could have replied to the original with a
>>> correct
>>>>> fix :-)
>>>>
>>>> No good. I can't read C. I gave up in the '80s and reverted to
>>> assembler.
>>>>
>>>>> The author isn't English mother-tongue btw [1]
>>>>
>>>> Maybe not, but he's only following what the typical American is
>>> doing.
>>>>
>>>>>> (By way of explanation, 35 years ago I was made the documentation
>>>>>> manager of a 200-man-year software project. Ever since then I've
>>> been
>>>>>> unable to read anything at all without the eye of an editor -
>it's
>>>>>> ruined my enjoyment of everything I read. There's no hope any
>>> longer.)
>>>>>
>>>>> Oh noes. So you can't enjoy Pratchett? poor, poor you 
>:-)
>>>>
>>>> Sadness.
>>>>
>>>>> [1] Living in a country with 11 (yes, eleven!) official languages,
>>> all
>>>>> considered legally valid for purposes of government with equal
>>> status, I
>>>>> had to let go of English bias and accept that languages get
>mangled.
>>> All
>>>>> the time.
>>>>
>>>> I sympathise. I couldn't live in a place like that.
>>>>
>>>>> Except for this new meaning for "revert". can't bring myself to
>>> accept
>>>>> that one, too much like gouging out eyeballs with a blunt spoon.
>>>>
>>>> Eh? What meaning is that? I seem to have missed it.
>>>>
>>>
>>> In Africa, "revert" has become synonymous with "reply".
>>>
>>> Causes no end of confusion when the firewall admin replies to a
>ticket
>>> saying he'll do it and revert.
>> 
>> I'd be complaining about someone like that the whole time.
>> "Why the *beep* will you revert all changes before we can even test
>them? You *beep*"
>
>True story:
>
>I used to do exactly that, then got into horrible trouble with HR, and
>disciplinary hearing and $DEITY knows what else.
>
>Turned out one of the fellows I called a *beep* was the CEO of our
>subsidiary in Ghana

Hehe
Which language has 'revert' and 'reply' being the same word?

Personally, I'd challenge HR for allowing people with such an obvious lack of 
education into the company.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] [OT] Horrible English

2017-05-12 Thread J. Roeleveld
On May 11, 2017 11:20:49 AM GMT+02:00, Alan McKinnon  
wrote:
>On 11/05/2017 02:09, Peter Humphrey wrote:
>> On Wednesday 10 May 2017 23:33:37 Alan McKinnon wrote:
>> 
>>> I you read -dev, you could have replied to the original with a
>correct
>>> fix :-)
>> 
>> No good. I can't read C. I gave up in the '80s and reverted to
>assembler.
>> 
>>> The author isn't English mother-tongue btw [1]
>> 
>> Maybe not, but he's only following what the typical American is
>doing.
>> 
 (By way of explanation, 35 years ago I was made the documentation
 manager of a 200-man-year software project. Ever since then I've
>been
 unable to read anything at all without the eye of an editor - it's
 ruined my enjoyment of everything I read. There's no hope any
>longer.)
>>>
>>> Oh noes. So you can't enjoy Pratchett? poor, poor you  :-)
>> 
>> Sadness.
>> 
>>> [1] Living in a country with 11 (yes, eleven!) official languages,
>all
>>> considered legally valid for purposes of government with equal
>status, I
>>> had to let go of English bias and accept that languages get mangled.
>All
>>> the time.
>> 
>> I sympathise. I couldn't live in a place like that.
>> 
>>> Except for this new meaning for "revert". can't bring myself to
>accept
>>> that one, too much like gouging out eyeballs with a blunt spoon.
>> 
>> Eh? What meaning is that? I seem to have missed it.
>> 
>
>In Africa, "revert" has become synonymous with "reply".
>
>Causes no end of confusion when the firewall admin replies to a ticket
>saying he'll do it and revert.

I'd be complaining about someone like that the whole time.
"Why the *beep* will you revert all changes before we can even test them? You 
*beep*"

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Risks of making traceroute suid root

2017-05-10 Thread J. Roeleveld
On May 11, 2017 1:49:05 AM GMT+02:00, Adam Carter  wrote:
>I want to allow some fairly well trusted users the ablilty to do traces
>with icmp. I can give them sudo, but how high is the risk of making
>traceroute suid root? AFAIK making text editors or anything that has an
>ability to run shell commands suid root is effectively giving them root
>access, but other than exploiting vulnerabilities in traceroute itself,
>are
>there any other issues?

Vulnerabilities in appications can always be exploited. Traceroute (and 
similar) are not written with the idea of making it super secure.
I also once heard that it was possible to abuse a random suid program to gain 
root shell. Not sure if that is (still) true. I never saw evidence for it, but 
with the push to use sudo instead of suid-root, I wonder how well that part is 
being tested.

If I had to give some power users access to traceroute, I would allow them to 
use "sudo traceroute". Or fix it so they can run traceroute from their own 
accounts without the use of suid.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet

2017-05-08 Thread J. Roeleveld
On May 8, 2017 1:47:22 PM GMT+02:00, Dale  wrote:
>Raffaele Belardi wrote:
>> During the weekend I 'emerge -e' a couple of ~amd64 systems with
>> gcc-6.3.0:
>>
>> 1. gnome desktop, 1000 packages, all build fine except:
>> - net-libs/webkit-gtk, rebuilding it again after world fixed it
>> (possibly an issue with -j MAKEOPTS, a similar build failure is
>> mentioned in bug 515968 although it's for an older package version)
>> - sci-electronics/gnucap (bug 594184)
>> - games-action/armagetronad (bugs 610844, 617768)
>>
>> 2. lxde media center, 850 packages, all fine except:
>> - games-sports/trigger
>> - games-sports/torcs
>> Haven't had time to process these yet.
>>
>> Looks like it's still better to keep a gcc-5.x version around.
>>
>> raffaele
>>
>>
>
>
>I'm glad you posted this.  I read on -dev the other day about them
>thinking about skipping to gcc 7 or something.  I was thinking about
>jumping to gcc 6 for now.  I was curious as to the problems tho since
>it
>is not likely to widely used yet.  Then here comes your post about it. 
>You pretty much answered my question except that I use KDE where it
>seems you use Gnome. 
>
>You have ESP or something??  lol 
>
>Anyone using KDE and gcc 6 yet?  Problems?
>
>Dale
>
>:-)  :-) 

Only recently got my desktop converted to 5.4.
Next is my laptop. 

When that is done, I could risk 6 on my desktop. But if Dev is thinking of 
skipping it

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] scanning using the sheet feeder (HP 8600 + xsane)

2017-05-06 Thread J. Roeleveld
On May 6, 2017 4:05:26 AM GMT+02:00, allan gottlieb  wrote:
>I have an hp 8600 all-in-one and use net-print/hplip.
>Printing is fine.
>
>I use xsane for scanning, which also works well ...
>
>... except I can't figure out how to use the sheet feeder for multipage
>scanning.
>
>I can select multipage and can the scan each page singly and hit
>"save multipage file".  This works.  But I can't put say 10 pages in
>the
>feeder, hit something, get coffee, and find a 10 page document on my
>computer.
>
>In case it is relevant, I run gentoo stable / gnome-3 / systemd.
>
>thanks in advance,
>allan

I use 'hp-scan' for that:
# hp-scan --adf -m color

It scans all the pages as ppm, then combines it into a single PDF.

It has a bunch of different options, but this is what I start with.

Downside is that the PDF is quite large. I solve that by reconverting the 
images to jpeg.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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

2017-05-04 Thread J. Roeleveld
On May 4, 2017 3:21:08 PM GMT+02:00, Philip Webb  wrote:
>170503 Ian Zimmerman wrote:
>> 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',
>> then extract and investigate or show us the contents.
>
>In another thread today, Thelma wrote :
>
>> I was installing Brother printer driver on Gentoo via rpm
>>   rpm  -ihv  --nodeps  (lpr-drivername)
>>   rpm  -ihv  --nodeps  (cupswrapper-drivername)
>
>There is also a .rpm version of the Epson driver pkg
>& I see a Gentoo pkg 'rpm', which presumably gives the above commands.
>Would it perhaps be easiest to install 'rpm' & get the .rpm driver,
>then install the driver in a similar way to Thelma's printer driver ?

I wouldn't use 2 different package managers on the same system.
Dependencies and updates will not be handled correctly that way.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] new scanner

2017-05-01 Thread J. Roeleveld
On May 1, 2017 4:28:03 PM GMT+02:00, Philip Webb  wrote:
>I have an Epson 1260 scanner, which has served me well since 2003.
>However, there has always been a hardware-software problem,
>whose effect cb seen at  http://chass.utoronto.ca/~purslow/test/ :
>after a number of scans, something gets reset wrongly
>& half of the image is shaded or discolored
>(it's always vertical, but the bw images have been rotated) ;
>the only solution is to close Xsane & re-open it.
>This used to happen after a dozen or so scans, which was tolerable,
>but recently it has started to occur after just one, which is not.
>I could never find an explanation, but attribute it to some hardware
>glitch,
>which sends a bad signal to the software.
>
>There's a scanner available at my local store (Canada Computers) as
>below,
>with a cheaper alternative.  There is a Linux driver for the Epson,
>which I assume cb found in Sane-Backends ; Canon unknown.
>I do a lot of scanning & the Epson price is not a deterrent.
>I suspect an upto-date scanner wb faster than a 2003 model.
>
>Can anyone advise me (1) what mb causing the problem described above
>& (2) whether there mb any reasons not to buy the Epson or Canon ?
>
>Item Code : SNES000346  Part Number : B11B198022
>Epson Perfection V600 Photo Flatbed Scanner
> 48-bit Color, 6400 x 9600 dpi, USB 2.0
>   
>Regular Price CAD 299.99
>Our Price CAD 275.99
>Discount  CAD  20.00
>Sale PriceCAD 255.99
>Instant Savings end 2017-05-04.
>
>Brand  EPSON
>Model  V600
>Type   Flatbed
>Scanning Speed 21.00 ms/line (Colour and monochrome)
>Optical Resolution  6400 dpi
>Max. Document Size  Maximum 8.5" x 11.7"
>Auto Doc Feeder No
>Connectivity   USB
>Dimensions (WxDxH)  11" x 19" x 4.6" (W x D x H)
>Weight 9 lb
>Power Consumption   Normal : 16.5 W  Ready : 5.5 W  Sleep : 1.6W  Off :
>0.4 W
>Manufacturer Warranty  1 Year Limited
>
>Toronto Downtown : 1
>
>Driver downloaded fr
>http://support.epson.net/linux/en/iscan.php?model=gt-x820=1.0.1
>
>
>Item Code: SNCN000652  Part Number: 9622B003
>Canon CanoScan LiDE120 Flatbed Scanner
>  2400 x 4800 dpi - 48-bit Colour , USB
>   
>Regular Price  CAD 99.99
>Our Price  CAD 79.99
>
>Brand CANON
>Model LiDE120
>Type  Flatbed
>Optical Resolution 2400 x 4800 dpi
>Connectivity  USB
>Dimensions (WxDxH) 9.9" x 14.6" x 1.6"
>Weight3.4 lbs
>Power Consumption  Operating : 2.5 W , Standby : 1.4 W
>Manufacturer Warranty  1 Year Limited
>
>Toronto Downtown : 2

Again. Don't know about these. But the scanner from.the HP all-in-1s are quite 
reliable. Can easily put in multi-page documents through the sheet feeder. (20 
pages in 1 go isn't a problem)

Getting the pages in the correct order when they are double sided takes some 
work, but isn't a big problem using command line tools to edit PDFs.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] new printer

2017-05-01 Thread J. Roeleveld
On May 1, 2017 4:23:54 PM GMT+02:00, Philip Webb  wrote:
>I have an HP inkjet printer, which I bought very cheaply on sale.
>It works well enough, but I rarely use it
>-- it mb  12 mth  between prints -- & the ink cartridge dries up.
>
>Probably, what I need is a laser printer, as IIRC toner doesn't dry up.
>There's a printer available at my usual store (Canada Computers) as
>below.
>
>Can anyone advise me (1) whether I'm correct re ink/toner drying up,
>(2) whether there's any reason to beware of the Brother model below
>& (3) if I buy it, how to I install the driver ?
>-- I'm used to using Hplip & Brother drivers may need a different
>method.
>
>Item Code : PRBR001571  Part Number : HL-L2320D
>Brother HL-L2320D Monochrome Laser Printer
> 30 PPM Mono, 2400 x 600 DPI, Duplex Printing, USB Connectivity
>   
>Our Price CAD 99.99
>
>Brand Brother
>Model HL-L2320D
>Printer Type  Black & White Printer
>Print Technology   Laser
>Output Type   Monochrome
>Print Resolution   2400 x 600 DPI
>Black Print Speed  30 PPM
>Color Print Speed  No
>Connectivity  USB
>DuplexYes
>Max. Duty Cycle   1 Pages / Month
>Input Capacity250 Sheet
>Media SizeLetter, Legal, Executive, A4, A5, A6, B5, B6
>Processor 266 MHz
>Memory8 MB
>Function  Print
>Copy  No
>Fax CapabilityNo
>Scanner   No
>Scan Resolution   N/A
>Auto Doc Feeder   N/A
>Power Consumption  Sleep 0.9W/ Ready 65W/ Printing 495W
>Dimensions47.5 x 45.4 x 33.1 cm (W x D x H)
>Weight18.10 lb
>Cartridges Compatible  TN630 Black, TN660 Hi-Yield Black, DR630 Drum
>Manufacturer Warranty  1 Year Limited
>
>Toronto Downtown : 6
>
>http://www.brother.ca/en-CA/Printers/1/ProductDetail/HLL2320D/Specifications
>:
>Linux driver available

Can't help you with the Brother. Others might.

I got an all-in-1 colour laser printer from HP myself after finding ink 
cartridges useless again. The printer can be left for months and months and 
when I need something printed, it simply works. In the past 5.5 years, I only 
had to replace the black cartridge once. (Late last year).

Am looking into getting a new one that does duplex printing and scanning. Along 
with sending scanned documents directly to a NAS and/or email without the use 
of a computer. And the current one will then be relocated for use by family 
members.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: gcc with graphite flag?

2017-04-30 Thread J. Roeleveld
On Sunday, April 30, 2017 2:18:42 PM CEST Nikos Chantziaras wrote:
> On 04/30/2017 05:25 AM, Walter Dnes wrote:
> >   So much for that wiki entry.  BTW, I ended up putting...
> > 
> > sys-devel/gcc graphite
> > 
> > ...in package.use.  The "graphite" USE flag means something entirely
> > different for harfbuzz, i.e. build against media-libs/harfbuzz against
> > media-gfx/graphite2
> 
> Btw, I don't think that USE flag is useful for anything, unless you put
> the graphite optimization flags in your CFLAGS (-floop-interchange
> -floop-strip-mine -floop-block). If you don't use those, there shouldn't
> be a reason to enable the graphite flag.


Is there any benefit from using graphite and these CFLAGS on a current Gentoo 
system?

Using a simple google-search, I can't find anything recent.

--
Joost



Re: [gentoo-user] Pseudo first impressions

2017-04-29 Thread J. Roeleveld
On April 29, 2017 4:39:13 PM GMT+02:00, Alan Mackenzie  wrote:
>Hello, Gentoo.
>
>Now able to boot into my new hardware, one of the first things I did
>was
>
># emerge --sync
>
>.  Fine.  The next thing I tried was
>
># emerge -auND @world
>
>, which is probably recommended in the handbook.  This was anything but
>fine.
>
>I'm glad I'm not a real Gentoo newby, because I would have been
>completely flumoxed by what came up on my screen.
>
>For a start, I could barely read parts of it, which were displayed in
>dark blue text on a black background.  Setting up
>/etc/portage/color.map
>is not the first thing a new user should have to do to be able to read
>messages from emerge.  This is, however, something I knew had to be
>done, and I did it.
>
>The error message was "Multiple package instances within a single
>package slot have been pulled into the dependency graph, resulting in a
>slot conflict:".  Uhh???
>
>Is this gobbledegook really what a new user should be seeing, having
>not
>yet installed any packages, bar a very few, beyond what is requisite to
>bringing a new machine up?
>
>The actual conflict packages are:
>dev-lang/perl-5.24.1-r1:0/5.24::gentoo
>  and
>dev-lang/perl-5.22.3-rc4:0/5.22::gentoo
>, "pulled in" by internal system packages I've got no direct interest
>in, plus, shockingly, "and 2 more with the same problem" and "and 5
>more
>with the same problem".
>
>I'm glad I've got the experience with Gentoo to know it's worth
>ploughing on through these messes.
>
>Other than that, it seems like a pretty ghastly mistake by Gentoo's
>quality control.  I know none of you get paid for it, and you all do it
>for love.  I admit I probably wouldn't have done the job much better
>myself.  But for Gentoo's sake, something needs to get better.

Alan,

I found on several systems that using "--backtrack=100" actually resolved the 
latest blockers with perl.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] New AMD hardware. Still can't boot (but making progress).

2017-04-29 Thread J. Roeleveld
On Saturday, April 29, 2017 1:17:11 AM CEST Daniel Frey wrote:
> On 04/28/2017 12:51 PM, Alan Mackenzie wrote:
> > Hello, Mick and the whole World.
> > 
> > # Load a linux kernel, passing the root filesystem and init process as
> > parameters echo "Loading kernel..."
> > echo "grub_platform = " $grub_platform
> > gfxpayload=text # For debugging.
> > linux /vmlinuz-4.9.16-gentoo root=/dev/md127 #rootfstype=btrfs
> > init=/usr/lib/systemd/systemd echo "just loaded kernel"
> > boot
> > 
> > #echo "Loading initramfs..."
> > #initrd /initramfs-4.7.2.img
> > 
> > }
> 
> Just FYI, I boot off of a RAID10 on imsm, albiet on older hardware. Some
> time ago there was a change that the kernel would not autoassemble a
> RAID with a kernel only, you need to use an initramfs. (OK, I just
> looked and all I find are "my raid won't boot" results rather than the
> changes I found a couple years ago. But I did try.)
> 
> I spent a couple of days trying to get mine to boot and eventually went
> hell with it and used dracut to create an initramfs, and it was smooth
> sailing after that.

Raid-autoassemble still works, but you need to use the "0.9" metadata for 
that.
If you use the new metadata (1.x), you will need an initramfs. Same when using 
"imsm". I would assume the same is true when using "ddf".

I use my own initramfs embedded into the kernel, had too many issues with the 
genkernel initramfs and dracut when I tried full disk encryption on my laptop. 
My own version is a lot smaller and simpler to maintain and (more importantly) 
debug.

--
Joost



Re: [gentoo-user] New AMD hardware. Still can't boot (but making progress).

2017-04-28 Thread J. Roeleveld
On April 28, 2017 9:51:07 PM GMT+02:00, Alan Mackenzie  wrote:
>Hello, Mick and the whole World.
>
>On Tue, Apr 25, 2017 at 00:00:07 +0100, Mick wrote:
>
>> Have a look here in case it helps:
>
>> https://wiki.archlinux.org/index.php/GRUB#RAID
>
>In the end, I went with grub2, and it has taken a lot of effort to get
>not very far.  Grub's documentation is suboptimal.
>
>The state I've managed to get to is that grub appears to have loaded my
>kernel (it no longer gives an error message about it not being loaded),
>but then hangs without the kernel outputting even a single message.  At
>this point, only the reset-button will do anything - Ctrl-Alt-Del does
>nothing.
>
>Just for reference's sake, my boot setup is EFI on GPT.  I have two
>NVMe
>SSDs, which will be working together in several mdadm RAID pairs.  grub
>can read my SSDs, reporting correctly their partitioning and being able
>to cat the grub configuration file.
>
>So, why, after apparently loading the kernel, does grub fail to start
>it?
>Any ideas, anybody?
>
>Here are the relevant bits of my grub.cfg:
>
>#
>
># Example configuration for GRUB
># Much of this example configuration was taken from the GRUB manual.
>
># Menu timeout
>timeout=5
>
># Default menu entry
>default=0
>
># If we have a font available, start graphical output.
>if loadfont unifont; then
>   echo "Loading unifont"
>   # Output resolution for GRUB (eg. 1024x768 or 'auto').
>   gfxmode=auto
>
>   # Output resolution for Linux (VESAFB only).
>   # 'keep' means use the same resolution as GRUB.
>   # For other framebuffer drivers, pass a resolution using the video=
>kernel param.
>   gfxpayload=keep
>
>   # Load all video drivers.
>   insmod all_video
>
>   # Switch to graphical output.
>   terminal_output gfxterm
>fi
>
># Load modules necessary to find any boot files (/boot).
>
># Partition table(s).
>#insmod part_msdos
>insmod part_gpt
>
># Necessary for the root partition
>insmod mdraid1x
>insmod mdraid09
>
># Necessary for kernel messages to show
>insmod efi_gop
>insmod efi_uga
>insmod font
>if loadfont ${prefix}/fonts/unicode.pf2
>then
>   insmod gfxterm
>   set gfxmode=auto
>   set gfxpayload=keep
>   terminal_output gfxterm
>fi
>
>menuentry "Gentoo Linux 4.9.16-1" {
>   # Filesystem for /boot
>   #insmod btrfs
>   insmod fat
>   insmod exfat
>   insmod ext2
>   #insmod xfs
>   #insmod zfs
>
>   # Search all block devices for a matching UUID (for /boot)
>   #search --set=root --fs-uuid 33d4013a-ec25-4462-a540-8078aeb8ed17
>   #search --set=root (md/127)
>   #root=(md/127)
>   set root=(hd1,gpt2) # i.e. /boot
>   echo "Just set root"
>
>   # Load a linux kernel, passing the root filesystem and init process as
>parameters
>   echo "Loading kernel..."
>   echo "grub_platform = " $grub_platform
>   gfxpayload=text # For debugging.
>   linux /vmlinuz-4.9.16-gentoo root=/dev/md127 #rootfstype=btrfs
>init=/usr/lib/systemd/systemd
>   echo "just loaded kernel"
>   boot
>
>   #echo "Loading initramfs..."
>   #initrd /initramfs-4.7.2.img
>}
>
>#
>
>> -- 
>> Regards,
>> Mick

Have you tried connecting using ssh after boot?
Also, do you have the EFI console support in your kernel?

Not near my desktop to check which ones exactly.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] System borked after emerge -e world

2017-04-27 Thread J. Roeleveld
On April 27, 2017 7:20:29 PM GMT+02:00, wabe  wrote:
>Hi folks,
>
>it seems that my system is broken after recompiling everything with 
>the new gcc5.
>
>I even cannot execute any command or start new programs. It is also 
>not possible to open a terminal or to login on console.
>
>When I type something in an already opened Xterm it says "Ungültiger 
>Maschinenbefehl" (in English probably something like "invalid machine 
>command").
>
>On tty12 I can see messages like this:
>
>traps: ls[4055] trap invalid opcode ip:3cd3d91e024 sp:3d6a804abb0
>error:0 in libc-2.23.so[3cd3d865000+19d000]
>grsec: Illegal instruction occured at 03cd3d91e026 in
>/bin/ls[ls:4055] uid/euid:0/0 gid/egid:0/0, parent...
>
>kernel is 4.8.17-hardened-r2
>
>(uname -a is still working).
>
>I don't dare to reboot my system because I'm not sure that it will
>boot.
>
>I don't even know if this email will reach the list, because claws mail
>
>also dropped some errors about "bogofilter doesn't work".
>
>Any help would really appreciated.
>
>--
>Regards
>wabe

Did you run the revdep-rebuild command?
Keep running that until it completes succesfully.

Do NOT use binaries to speed things up. That didn't work for me.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] GCC 5.4.0

2017-04-24 Thread J. Roeleveld
On April 24, 2017 5:45:58 PM GMT+02:00, Peter Humphrey  
wrote:
>On Monday 24 Apr 2017 14:47:32 Mick wrote:
>> On Monday 24 Apr 2017 14:36:01 Peter Humphrey wrote:
>> > Speaking of long emerge times, so far this box has spent nearly six
>> > hours on two systems simultaneously (one being a chroot for a
>slower
>> > machine) and still hasn't finished. And qtwebkit has just failed;
>I'd
>> > better look into that.
>> 
>> I've had the odd rebuild failure here & there, don't bother
>re-emerging it
>> until revdep-rebuild has finished.  Any dependencies it needs would
>have
>> been rebuilt by then and it should complete without problem.
>
>Quite so, but it was an internal compiler error, so that may not help.
>I'll 
>remerge it when the machine's quiet and see.
>
>Only another four systems to go...  :-)

Usually an emerge -e @world works. But this time the dependency tree has some 
issues as I have had several failures. 

Now just running the revdeprebuild line till it completes without error. Then 
will try an emerge -e again.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] crypto with dolphin:5

2017-04-23 Thread J. Roeleveld
On April 23, 2017 10:04:50 AM GMT+02:00, Marc Joliet <mar...@gmx.de> wrote:
>On Sonntag, 23. April 2017 07:56:05 CEST J. Roeleveld wrote:
>> Ok. /etc/portage/package.use.unmask doesn't work.
>
>First, there is no package.use.unmask (although I'll grant that that
>would be 
>the intuitive name for such a file).  There is only package.use.mask
>and 
>package.use.stable.mask, which can reside in the portage tree and in
>/etc/
>portage/profile/.  portage(5) has this to say (see especially the
>second 
>example):
>
>package.use.mask and package.use.stable.mask
> Per-package USE flag masks.
>
>Note: In a cascading profile setup, you can remove USE 
>flags in children profiles which were added by parent profiles by
>prefixing 
>the flag with a '-'.
>
> Format:
> - comments begin with # (no inline comments)
>  - one DEPEND atom per line with space-delimited USE flags
>
> Example:
> # mask docs for GTK 2.x
> =x11-libs/gtk+-2* doc
> # unmask mysql support for QT
> x11-libs/qt -mysql
>
>In this particular case, both files can be used, it seems (I'm not sure
>what 
>the "stable" refers to in this case, it's probably explained on the
>Gentoo 
>wiki somewhere or in the developer documentation).
>
>HTH

Thanks. This worked.

I have been using the kde/plasma version for kmail for a while. After the 
gcc5.4 upgrade, I wanted to rebuild everything and encountered this issue.

I'll need to read up on the profile directory options.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] crypto with dolphin:5

2017-04-22 Thread J. Roeleveld
On April 23, 2017 7:48:27 AM GMT+02:00, "J. Roeleveld" <jo...@antarean.org> 
wrote:
>On April 21, 2017 6:37:46 PM GMT+02:00, "Arthur Țițeică"
><art...@cloud.titeica.ro> wrote:
>>În ziua de vineri, 21 aprilie 2017, la 12:34:13 EEST, Mick a scris:
>>> I've updated dolphin to kde-apps/dolphin-16.12.3 and elog advised
>me:
>>> 
>>> * Messages for package kde-apps/dolphin-16.12.3:
>>> 
>>>  * For crypto actions, please install kde-apps/kleopatra:5
>>> 
>>> So off I went keywording kleopatra:5, only to discover that it needs
>>USE
>>> flags [cxx,qt5] which I recall were disabled recently, or gpgme
>would
>>not
>>> install. This is the output I get.
>>> 
>>> # emerge -1aNDv kde-apps/kleopatra:5
>>> 
>>> These are the packages that would be merged, in order:
>>> 
>>> Calculating dependencies... done!
>>> 
>>> emerge: there are no ebuilds to satisfy
>>">=app-crypt/gpgme-1.7.1[cxx,qt5]".
>>> (dependency required by "kde-apps/kleopatra-17.04.0::gentoo"
>>[ebuild])
>>> (dependency required by "kde-apps/kleopatra:5" [argument])
>>> 
>>> 
>>> So, what's the recommended way forward?
>>
>>In
>/usr/portage/profiles/targets/desktop/plasma/package.use.stable.mask
>>
>>there's an explanation why 'cxx' and 'qt5' are masked.
>>
>>If you don't use kdepim4 I think it's safe to unmask those use flags
>>for 
>>gpgme.
>
>What is the best way to unmask those use flags?
>Editing that file in the profile isn't a good idea.
>
>Is a file 'package.use.unmask' in /etc/portage sufficient?
>
>Thanks,
>
>Joost
>
>Ps. Not at the computer, so can't try it at the moment.

Ok. /etc/portage/package.use.unmask doesn't work.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] crypto with dolphin:5

2017-04-22 Thread J. Roeleveld
On April 21, 2017 6:37:46 PM GMT+02:00, "Arthur Țițeică" 
 wrote:
>În ziua de vineri, 21 aprilie 2017, la 12:34:13 EEST, Mick a scris:
>> I've updated dolphin to kde-apps/dolphin-16.12.3 and elog advised me:
>> 
>> * Messages for package kde-apps/dolphin-16.12.3:
>> 
>>  * For crypto actions, please install kde-apps/kleopatra:5
>> 
>> So off I went keywording kleopatra:5, only to discover that it needs
>USE
>> flags [cxx,qt5] which I recall were disabled recently, or gpgme would
>not
>> install. This is the output I get.
>> 
>> # emerge -1aNDv kde-apps/kleopatra:5
>> 
>> These are the packages that would be merged, in order:
>> 
>> Calculating dependencies... done!
>> 
>> emerge: there are no ebuilds to satisfy
>">=app-crypt/gpgme-1.7.1[cxx,qt5]".
>> (dependency required by "kde-apps/kleopatra-17.04.0::gentoo"
>[ebuild])
>> (dependency required by "kde-apps/kleopatra:5" [argument])
>> 
>> 
>> So, what's the recommended way forward?
>
>In /usr/portage/profiles/targets/desktop/plasma/package.use.stable.mask
>
>there's an explanation why 'cxx' and 'qt5' are masked.
>
>If you don't use kdepim4 I think it's safe to unmask those use flags
>for 
>gpgme.

What is the best way to unmask those use flags?
Editing that file in the profile isn't a good idea.

Is a file 'package.use.unmask' in /etc/portage sufficient?

Thanks,

Joost

Ps. Not at the computer, so can't try it at the moment.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Palemoon again - again

2017-04-18 Thread J. Roeleveld
On April 18, 2017 11:06:12 AM GMT+02:00, Peter Humphrey  
wrote:
>On Monday 17 Apr 2017 13:05:59 Walter Dnes wrote:
>>   A couple of things to note, which also apply to building Firefox
>> 
>> 1) When using the Palemoon overlay, I found that USE="optimize" turns
>> off Gentoo's optimization, and replaces it with limited
>"optimization"
>> by the mozconfig.  If you're going to build it, I recommend
>> USE="-optimize"
>> 
>> 2) USE="-system-libs" is recommended.  Yes, this does make the binary
>> slightly larger.  But it avoids problems where changing API/ABI in
>the
>> system lib causes subtle problems for the program.  It may also
>reduce
>> dependancies pulled in, depending on what your other programs have
>> pulled in.
>
>I don't see any of those USE flags. This is from the octopus overlay:
>
>[ebuild   R   ~] www-client/palemoon-27.2.1::octopus  USE="alsa dbus
>ffmpeg 
>gtk2 official-branding optimize printing speech spell wave webm
>-devtools -
>gtk3 -jemalloc -necko-wifi -pulseaudio -shared-js -strip-binaries
>-system-
>cairo -system-compress -system-images -system-libevent -system-pixman -
>system-spell -system-sqlite -system-vpx -valgrind -webrtc" 0 KiB
>
>If I remove that overlay and install the palemoon overlay, I get this:
>
>!!! All ebuilds that could satisfy "palemoon" have been masked.
>!!! One of the following masked packages is required to complete your 
>request:
>- www-client/palemoon-27.2.1-r1::palemoon (masked by: package.mask)
>/var/lib/layman/palemoon/profiles/package.mask:
># When built with gcc >=5 Pale Moon is highly unstable, so you are
># prevented from building it if you are on a 5.* profile. You can use
># gcc-config to change your compiler profile, just remember to change
>it 
>back
># afterwards. You need to have the appropriate versions of gcc
>installed for
># them to be shown in gcc-config.
>
>- www-client/palemoon-27.2.1::palemoon (masked by: package.mask)
>- www-client/palemoon-27.2.0::palemoon (masked by: package.mask)
>- www-client/palemoon-27.1.2::palemoon (masked by: package.mask)
>- www-client/palemoon-27.1.0::palemoon (masked by: package.mask)
>- www-client/palemoon-27.0.3-r1::palemoon (masked by: package.mask)
>
>This is in spite of having "www-client/palemoon" (no qualifiers) in 
>package.keywords, and having only version 4.9.4 p1.0 of GCC installed.
>
>Really, sometimes I doubt the evidence of my own eyes.  :-(

If you are certain you don't have gcc in slot 5.x installed. You can add 
palemoon to /etc/portage/package.unmask

That will override the package.mask from the overlay.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Palemoon again - again

2017-04-18 Thread J. Roeleveld
On April 17, 2017 2:41:45 PM GMT+02:00, Peter Humphrey  
wrote:
>Hello list,
>
>After following the "Palemoon again" thread I wanted to try Pale Moon,
>so I
>installed layman and added the octopus overlay. Here's a snippet from
>the
>build log:
>
>Configure complete!
>Be sure to run |mach build| to pick up any changes
 Source configured.
 Compiling source in
>/var/tmp/portage/www-client/palemoon-27.2.1/work/palemoon-27.2.1 ...
> 0:00.71 /usr/bin/gmake -f client.mk -l 60 MOZ_PARALLEL_BUILD=24 -s
>0:03.25 Adding client.mk options from
>/var/tmp/portage/www-client/palemoon-27.2.1/work/pale
>moon-27.2.1/.mozconfig:
> 0:03.25 PYTHON=/usr/bin/python2
> 0:03.25 AUTOCONF=/usr/bin/autoconf-2.13
> 0:03.25 MOZ_MAKE_FLAGS=-j 24 -l 60
>0:03.25
>MOZ_OBJDIR=/var/tmp/portage/www-client/palemoon-27.2.1/work/palemoon-27.2.1/obj
>-x86_64-unknown-linux-gnu
>0:03.25
>OBJDIR=/var/tmp/portage/www-client/palemoon-27.2.1/work/palemoon-27.2.1/obj-x86_64-unknown-linux-gnu
>0:03.25
>FOUND_MOZCONFIG=/var/tmp/portage/www-client/palemoon-27.2.1/work/palemoon-27.2.1/.mozconfig
> 0:03.30 gmake[2]: *** No rule to make target '24'.  Stop.
>0:03.30 gmake[1]: ***
>[/var/tmp/portage/www-client/palemoon-27.2.1/work/palemoon-27.2.1/client.mk:398:
>realbuild] Error 2
> 0:03.30 gmake: *** [client.mk:171: build] Error 2
> 0:03.34 0 compiler warnings present.
>
>You see it couldn't even find a rule to make the object files. I tried
>setting MAKEOPTS="-j 1" to override the --jobs=24 that I usually have
>set,
>but that just changed the logged error, substituting 1 for 24.
>
>Does this ring a bell with anyone? I wanted to look for clues in the
>make
>file, but /usr/bin/find returns well over 1000 results.

I had some issues in the past (can't remember when this was) where "-j" was 
misinterpreted.
I ended up using the longer version: "--jobs"

This might work for you as well.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Clang has gone walkabout

2017-04-10 Thread J. Roeleveld
On April 10, 2017 12:41:54 PM GMT+02:00, Andrew Lowe  wrote:
>On 10/04/17 18:08, Neil Bothwick wrote:
>> On Mon, 10 Apr 2017 17:13:28 +0800, Andrew Lowe wrote:
>>
>>> Do we have any clang users out there? I've had clang installed
>>> on my machine for ages and a simple "clang test.c" will result in an
>>> executable. I can even nearly build my whole machine using clang, so
>>> its up and running. I've now just updated clang, from a working
>3.9.1
>>> to a 4.0.0-r1 and clang has now disappeared. If I type in "clang
>>> --version", I get "command not found". "whereis clang" only gives me
>>> the library dir. Doing "ls -la /usr/bin/cla*" gives me "No such file
>or
>>> directory"
>>
>> Try "qlist clang" so see what is installed, "qlist clang | grep bin/"
>> should find the executables.
>>
>> qlist is part of portage-utils, which you probably already have.
>>
>>
>
>   Done as requested. There are 41 files found with clang in their name 
>and they are all on the dir:
>
>   /usr/lib/llvm/4/bin/
>
>   I'm no whiz bang sys-admin but that doesn't seem right to me. There is
>
>clang and clang++ and a whole lot of stuff sym linked to provide all
>the 
>various permutations and combinations of names in there. But there is 
>nothing in my path that points to that dir. I'll have to have a look at
>
>the ebuild to see if a symlink or something is not being applied.
>
>   Any other thoughts appreciated,
>
>   Andrew

Try those and see if they respond correctly.
If yes, add that dir to your PATH.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-29 Thread J. Roeleveld
On March 29, 2017 5:34:48 PM GMT+02:00, wabe <waben...@gmail.com> wrote:
>"J. Roeleveld" <jo...@antarean.org> wrote:
>
>> On March 29, 2017 7:24:15 AM GMT+02:00, the...@sys-concept.com wrote:
>> >On 03/28/2017 10:57 PM, the...@sys-concept.com wrote:
>> >[snip  
>> >>>>[69.49.] said: 550 5.7.1 <>... Too many
>> >>>> invalid recipients. (in reply to MAIL FROM command))
>> >>>>
>> >>>> How to setup postfix correctly?
>> >>>>
>> >>>> The only syscon7.localdomain is the entry from /etc/hosts
>> >>>>
>> >>>> in: /etc/mail/aliases I have:
>> >>>> root:   the...@sys-concept.com
>> >>>>
>> >>>> So why postfix is sending it to: <root@syscon7.localdomain>  
>> >>>
>> >>> "man aliases" will probably give you the answer.
>> >>>
>> >>> --
>> >>> Regards
>> >>> wabe  
>> >> 
>> >> No, it will not! 
>> >> 
>> >> The explanation is here:
>> >>  
>>
>>https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html
> 
>> >> 
>> >> --
>> >> Thelma  
>> >
>> >I don't run an internal mail server but was wondering is there an
>> >easy way to configure the postfix so it will keep local mail
>(portage
>> >notifications, hylafax etc) away from system provider.
>> >My boxes are connected over VPN.
>> >
>> >When I was setting up a new box today, something happen to cron
>email
>> >notification I started receiving bunch of emails like:
>> >Cron <root@i5> root test -x /usr/sbin/run-crons
>> >&& /usr/sbin/run-crons
>> >
>> >So provide mail server block my internal system emails from passing
>> >through their server.
>> >
>> >--
>> >Thelma  
>> 
>> There are plenty of howtos, guides and documents online detailing how
>> to do this with a variety of mail servers.
>> 
>> Please use Google.
>
>Hint: Search for "postfix mydestination"
>
>--
>Regards
>wabe

That will only work when postfix knows where to send local mail to.
As I said, there are plenty of howtos on how to setup a local mailserver. It 
will require more software, Postfix is only part of the solution.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Too many invalid recipients. (in reply to MAIL FROM command))

2017-03-28 Thread J. Roeleveld
On March 29, 2017 7:24:15 AM GMT+02:00, the...@sys-concept.com wrote:
>On 03/28/2017 10:57 PM, the...@sys-concept.com wrote:
>[snip
[69.49.] said: 550 5.7.1 <>... Too many
 invalid recipients. (in reply to MAIL FROM command))

 How to setup postfix correctly?

 The only syscon7.localdomain is the entry from /etc/hosts

 in: /etc/mail/aliases I have:
 root:  the...@sys-concept.com

 So why postfix is sending it to: 
>>>
>>> "man aliases" will probably give you the answer.
>>>
>>> --
>>> Regards
>>> wabe
>> 
>> No, it will not! 
>> 
>> The explanation is here:
>>
>https://www.experts-exchange.com/questions/21895287/SMTP-550-Too-many-invalid-recipients.html
>> 
>> --
>> Thelma
>
>I don't run an internal mail server but was wondering is there an easy
>way to configure the postfix so it will keep local mail (portage
>notifications, hylafax etc) away from system provider.
>My boxes are connected over VPN.
>
>When I was setting up a new box today, something happen to cron email
>notification I started receiving bunch of emails like:
>Cron  roottest -x /usr/sbin/run-crons && /usr/sbin/run-crons
>
>So provide mail server block my internal system emails from passing
>through their server.
>
>--
>Thelma

There are plenty of howtos, guides and documents online detailing how to do 
this with a variety of mail servers.

Please use Google.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread J. Roeleveld
On March 28, 2017 9:26:05 PM GMT+02:00, Dan Johansson  
wrote:
>Slight Off-topic, but at least the host are Gentoo.
>
>Is it possible, using iptables or something equivalent, to redirect 
>traffic to some specific TCP ports to another gateway than the 
>default-gateway?
>
>Eg.
>
>Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
>Now I want to send all traffic from this host to destination-tcp-port
>80 
>to gateway 192.168.2.1 instead (the host has a second interface with
>the 
>address 192.168.2.100/24 as well).
>I only want the traffic to port 80 to go thru this GW (and then to its 
>final destination).
>And port 80 is just an example, it could be port 12345 as well.
>
>Is this possible? If yes, any suggestion on how to do it?
>
>Regards,

A quick google led to:

http://unix.stackexchange.com/questions/85932/how-can-i-redirect-outbound-traffic-to-port-80-using-iptables-locally

I am not certain this will correctly work or not. If the other server has a 
proxy server running, you might need to change its configuration accordingly.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Booting from USB

2017-03-28 Thread J. Roeleveld
On March 28, 2017 6:23:40 PM GMT+02:00, Dale <rdalek1...@gmail.com> wrote:
>J. Roeleveld wrote:
>> On March 28, 2017 5:32:04 PM GMT+02:00, Dale <rdalek1...@gmail.com>
>wrote:
>>> Mick wrote:
>>>> On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
>>>>> Danny YUE wrote:
>>>>>> Just curious: why is top-posting forbidden here?
>>>>>> I have never found any reference for that.
>>>>>>
>>>>>> I would appreciate it if you could tell me something about that.
>>>>>>
>>>>>> Danny
>>>>> Here is one but there are tons of others.
>>>>>
>>>>>
>>>
>https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
>>>>> 5147880
>>>>>
>>>>>
>>>>> Also, on this list, html is frowned upon as well.  Plain text is
>>>>> requested, although some devices may not have the option.
>>>>>
>>>>> Dale
>>>>>
>>>>> :-)  :-)
>>>> I thought the original joke went like this:
>>>>
>>>> A. Top posters
>>>> Q. What's the most annoying thing on Usenet?
>>>>
>>>> A: Because it upsets the logical flow of the thread.
>>>> Q: Why is top posting a bad idea?
>>>>
>>>>
>>>> Anyway, Gentoo users often ask multifaceted questions which require
>>> more than 
>>>> a single answer.  With top posting we would need to send many
>>> response emails 
>>>> to respond with clarity to all points the OP may have raised.  With
>>> inline 
>>>> responses we can interlace the answers in the OP's message and the
>>> logical 
>>>> flow of the conversation is retained within a single response
>email.
>>>>
>>> I have actually seen that in people's sig before.  I can't recall
>who
>>> it
>>> was and haven't seen it in a while. 
>>>
>>> I bottom post if it is somewhat a single subject or inline post if
>it
>>> has more than one topic.  As you say, it makes it easier to know
>what
>>> one is talking about.  I use what I feel will work best.  Top
>posting
>>> tho, as your example/joke points out, makes it hard to figure out
>what
>>> is going on, even if one is following the thread.  Of course, I also
>>> realize that some devices make that hard or impossible.  Most who
>use
>>> those devices say they are. 
>>>
>>> Dale
>>>
>>> :-)  :-) 
>> I use multiple devices. All modern phones have apps that allow bottom
>posting as default.
>> Inline is more difficult, which is why I leave those replies for when
>I have a real PC.
>>
>> --
>> Joost
>
>So those "smart" devices are finally catching up.  Good for them to
>finally catch up to the world huh?  ROFL 
>
>Dale
>
>:-)  :-) 

I use k9 mail, which has the option to bottom post by default.

Inline is difficult with touch screen. But not impossible.

But I have yet to find a real smart device. The ones that are sold as such are 
quite stupid. A 3 year old is smarter.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Booting from USB

2017-03-28 Thread J. Roeleveld
On March 28, 2017 5:32:04 PM GMT+02:00, Dale  wrote:
>Mick wrote:
>> On Tuesday 28 Mar 2017 09:05:04 Dale wrote:
>>> Danny YUE wrote:
 Just curious: why is top-posting forbidden here?
 I have never found any reference for that.

 I would appreciate it if you could tell me something about that.

 Danny
>>> Here is one but there are tons of others.
>>>
>>>
>https://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html#idp5
>>> 5147880
>>>
>>>
>>> Also, on this list, html is frowned upon as well.  Plain text is
>>> requested, although some devices may not have the option.
>>>
>>> Dale
>>>
>>> :-)  :-)
>> I thought the original joke went like this:
>>
>> A. Top posters
>> Q. What's the most annoying thing on Usenet?
>>
>> A: Because it upsets the logical flow of the thread.
>> Q: Why is top posting a bad idea?
>>
>>
>> Anyway, Gentoo users often ask multifaceted questions which require
>more than 
>> a single answer.  With top posting we would need to send many
>response emails 
>> to respond with clarity to all points the OP may have raised.  With
>inline 
>> responses we can interlace the answers in the OP's message and the
>logical 
>> flow of the conversation is retained within a single response email.
>>
>
>I have actually seen that in people's sig before.  I can't recall who
>it
>was and haven't seen it in a while. 
>
>I bottom post if it is somewhat a single subject or inline post if it
>has more than one topic.  As you say, it makes it easier to know what
>one is talking about.  I use what I feel will work best.  Top posting
>tho, as your example/joke points out, makes it hard to figure out what
>is going on, even if one is following the thread.  Of course, I also
>realize that some devices make that hard or impossible.  Most who use
>those devices say they are. 
>
>Dale
>
>:-)  :-) 

I use multiple devices. All modern phones have apps that allow bottom posting 
as default.
Inline is more difficult, which is why I leave those replies for when I have a 
real PC.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread J. Roeleveld
On March 28, 2017 11:19:00 AM GMT+02:00, Jorge Almeida <jjalme...@gmail.com> 
wrote:
>On Tue, Mar 28, 2017 at 10:02 AM, J. Roeleveld <jo...@antarean.org>
>wrote:
>> On March 28, 2017 10:39:22 AM GMT+02:00, Jorge Almeida
><jjalme...@gmail.com> wrote:
>
>>>>
>
>>
>> My laptop uses the integrated GPU 95÷ of the time. For the occasional
>game I want to play, I can enable the NVidia chip.
>>
>> Support for Intel graphics is in the vanilla kernel, courtesy of
>Intel developers. With  6th generation i7, I can do most things. Only
>need the Nvidia chip for 3D games that need the higher performance.
>>
>> With just the Intel GPU, I can enable all the eye-candy that KDE has
>to offer and still have a responsive desktop. I don't use it all as it
>can make the interface unusable due to the actual effects.
>>
>OK, I need no 3D, and I don't game (not even occasionally :)) And I'm
>just an openbox user!
>
>Maybe someone with a 7th generation can share experience?
>
>The gentoo WiKI has a page about this stuff. Reading now...
>
>
>Thanks
>
>Jorge

If you just want 2D, then any GPU should work. Intel has very good support on 
Linux.

For desktop effect, the '3D' capabilities of the GPU are being used. Intel GPUs 
can handle those without issues. Unless the gen7 version isn't in the kernel 
yet, expect to have to wait. But I wouldn't expect to have to wait very long. 
But I wouldn't go for a newer gen7 CPU just for the GPU if not interested in 3D 
games.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] drivers for INTEL integrated GPU?

2017-03-28 Thread J. Roeleveld
On March 28, 2017 10:39:22 AM GMT+02:00, Jorge Almeida  
wrote:
>I'm resending this because "HD 630" is a title bound to elicit no
>response at all. Sorry, I was tired.
>
>On Mon, Mar 27, 2017 at 11:03 PM, Jorge Almeida 
>wrote:
>> This may be a stupid question, for one of two possible reasons, but
>> here it goes:
>>
>> I'm thinking of buying a recent Intel CPU (7th generation, in
>> saleslang), say an i5-7400, and it came to mind, not too late yet,
>> that the integrated GPU may not be supported in linux. I'm talking
>> about the latest kernels, not necessarily the gentoo-packaged one.
>> Anyone knows something about it? And if not supported, is it likely
>> that it will be sometime soon? I can use a spare Radeon card
>> meanwhile...
>>
>> (And, for someone who is not a gamer, is a 7th generation CPU worth
>it
>> at all, as opposed to a 6th generation one?)
>>
>> Any input is appreciated
>>
>> Jorge Almeida

My laptop uses the integrated GPU 95÷ of the time. For the occasional game I 
want to play, I can enable the NVidia chip.

Support for Intel graphics is in the vanilla kernel, courtesy of Intel 
developers. With  6th generation i7, I can do most things. Only need the Nvidia 
chip for 3D games that need the higher performance.

With just the Intel GPU, I can enable all the eye-candy that KDE has to offer 
and still have a responsive desktop. I don't use it all as it can make the 
interface unusable due to the actual effects.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Booting from USB

2017-03-27 Thread J. Roeleveld
On March 28, 2017 6:41:30 AM GMT+02:00, Danny YUE  wrote:
>Not sure about mini-PC, but you may try another USB stick.
>Seriously, Kingston isI never succeeded with it.
>
>Danny
>
>On 2017-03-28 04:02, the...@sys-concept.com wrote:
>> On 03/27/2017 09:52 PM, tu...@posteo.de wrote:
>>> On 03/27 09:46, the...@sys-concept.com wrote:
 I just got some Mini-PC from China with Windows 10 on it and trying
>to boot from USB to install Gentoo on it.  
 But it will not boot from USB, I've tried front and back USB ports.
>Windows start regardless what I do.

 Yes, I set in Bios 1st boot is USB. I've tried pressing F12. Tried
>to follow some instruction from google:

>https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html

 Doesn't help.

 I used rufus to make bootable USB sticks (have two of them). 
 -- 
 Thelma

>>> 
>>> Hi,
>>> 
>>> ...from my experience with SoC and such:
>>> Some boards have a button on the board, which lets the board
>>> boot from USB/sdcard while pressed...
>>> 
>>> Only a shot in the dark...
>>> 
>>> HTH!
>>> Cheers
>>> Meino
>>
>> I hope there is an easier option? I booted OK from USB my main server
>> two months ago, but this Mini PC from China is different.

Please stop top-posting.
It is not accepted on this list.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-27 Thread J. Roeleveld
On March 26, 2017 4:57:00 AM GMT+02:00, Stroller 
 wrote:
>Hello,
>
>In the next few weeks I need to move my email server (a very old Gentoo
>installation) from the closet in my home, into the cloud so that I can
>go travelling and access my mail from anywhere.
>
>I've never used VM's before, but my understanding is that they look
>just like a normal machine to the users inside them, and there
>shouldn't be any problem with me getting used to them. My current mail
>server is an old 700mhz Pentium III (I think), so performance is
>unimportant. I guess VM's have some kind of web or VNC console I can
>log into for the initial install (and if I screw up remote access)?
>
>1. Are these suppositions right?
>2. Any recommendations for cheap / reliable hosting providers, please?
>
>I expect to use Gentoo because I've hardly used any other distro for
>years, and find others less intuitive. 
>
>Thanks,
>
>Stroller.

Forgot the other question:
Most use 'NoVNC' for the webinterface.
Gives you direct console access through the web for installing and when SSH 
doesn't work.

Mine allows me to disable that part of the interface and any changes involve a 
code send to my mobile. I would assume others can offer a similar level of 
security.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Online hosting recommendation - VMs?

2017-03-27 Thread J. Roeleveld
On March 26, 2017 4:57:00 AM GMT+02:00, Stroller 
 wrote:
>Hello,
>
>In the next few weeks I need to move my email server (a very old Gentoo
>installation) from the closet in my home, into the cloud so that I can
>go travelling and access my mail from anywhere.
>
>I've never used VM's before, but my understanding is that they look
>just like a normal machine to the users inside them, and there
>shouldn't be any problem with me getting used to them. My current mail
>server is an old 700mhz Pentium III (I think), so performance is
>unimportant. I guess VM's have some kind of web or VNC console I can
>log into for the initial install (and if I screw up remote access)?
>
>1. Are these suppositions right?
>2. Any recommendations for cheap / reliable hosting providers, please?
>
>I expect to use Gentoo because I've hardly used any other distro for
>years, and find others less intuitive. 
>
>Thanks,
>
>Stroller.

I use a Dutch VPS provider:
http://www.vpsdirect.nl

They are quite good and reliable (and not expensive either). Don't officially 
support Gentoo, but they support uploading your own ISO image to boot from.

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] [SOLVED]eix-test-obsolete

2017-03-27 Thread J. Roeleveld
On March 27, 2017 9:59:31 AM GMT+02:00, Peter Humphrey  
wrote:
>On Sunday 26 Mar 2017 18:47:50 the...@sys-concept.com wrote:
>> On 03/26/2017 06:27 PM, wabe wrote:
>> > Maybe an eix-update will help.
>> 
>> Thank you Wabe, yes that was it. Not the list is much smaller and
>makes
>> sense.
>
>If you use a simple script like mine you won't fall into that again:
>
># cat /usr/local/bin/sync-update
>emerge --sync; echo
>eix-update; echo
>  emerge $1 $2 $3 -avuDU --jobs=24 --load-average=48 --keep-going world
>echo

' eix-sync ' updates the portage tree and eix database in one go along with 
showing a list of changes to the tree.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Difficulty setting up apache, php and joomla

2017-03-26 Thread J. Roeleveld
On March 26, 2017 7:53:09 PM GMT+02:00, Mick  wrote:
>On Sunday 26 Mar 2017 17:20:09 Peter Humphrey wrote:
>> On Sunday 26 Mar 2017 09:45:09 Michael Orlitzky wrote:
>> > On 03/26/2017 04:28 AM, Peter Humphrey wrote:
>> > > Pelican looks interesting; I may follow it up. I didn't say this
>before
>> > > (one thing at a time, eh?) but I need to build a site that
>another
>> > > choirman can take over from me at some time. That seems to rule
>out
>> > > anything that smacks of script writing, because as far as I know,
>> > > nobody else has the slightest interest in computers, never mind
>> > > programming.
>> > > 
>> > > I notice that no-one has mentioned WordPress. I had a look at it,
>but
>> > > was
>> > > scared off by the Gentoo devs' waving around of garlic and
>crosses.
>> > 
>> > Choosing a CMS is a textbook example of "pick your poison." We
>usually
>> > go with either Wordpress or Drupal.
>> > 
>> > The design of Drupal is much better, technically. Every feature is
>part
>> > of a "module" that you can turn off. The API is well-documented,
>and
>> > it's easy to write new modules. A "content type" in Drupal is a
>thin
>> > abstraction over a database table, and you can build pretty much
>> > anything you want by creating the right content type and then
>creating a
>> > "view" to display it how you want.
>> > 
>> > The end result can be nicer for end users; for example, you can
>give
>> > them a button to create a new employee, or a newsletter, or a blog
>> > entry... and each one of those content types will have separate
>fields
>> > and a separate UI. The trade-off is that nothing works
>out-of-the-box in
>> > Drupal, and it will take you two weeks to get all of that set up.
>> > 
>> > With Wordpress, you get a nice, clean, easy-to-use site in about
>five
>> > minutes. If that site will work for you -- i.e. if all you need is
>> > pages, menu items, a contact form, and whatever else you can get
>from
>> > pre-existing plugins -- do that!
>> > 
>> > Wordpress is made for non-technical users but I don't mean that in
>a bad
>> > way. I've been doing Wordpress updates on some sites for over five
>> > years, and it's never crashed and made me stop what I was doing to
>fix
>> > it. Plugin updates are similarly easy, but I can echo what Mick
>said:
>> > you need to pay attention to the update notifications, and they
>come
>> > frequently.
>> > 
>> > All CMSes have terrible security records, so the fact that
>Wordpress
>> > gets hacked all the time shouldn't lead you to believe that another
>CMS
>> > would fare any better. You can make any CMS a lot more secure in
>two
>> > 
>> > simple ways:
>> >1. Always update ASAP.
>> >2. Don't make your website writable by the anonymous web user.
>> > 
>> > The second one means that you will have to update over SSH, at
>least as
>> > long as you maintain the site, but severely limits the damage that
>a
>> > hacker can do with a tiny exploit.
>> 
>> Interesting. Another contributor, another opinion. :-)
>> 
>> I already have books on WordPress and Joomla, and I've just ordered
>one on
>> Drupal. Then I can take my time experimenting and comparing.
>> 
>> Thanks again to all. I'm certainly learning today.
>
>Michael O. is spot on.  Drupal 8 is more of a framework for developing 
>websites.  Wordpress is less of a development workhorse, but will give
>you an 
>acceptable website relatively effortlessly.  This is one of the reasons
>many 
>people use it for blog sites.
>
>Two quick points on the ease of maintenance between CMS':
>
>Some ISPs offer a GUI-fied update facility for Wordpress, whereby you
>click a 
>button and the latest core installation and modules are updated for
>you.  I 
>have also seen this with Drupal, but less frequently and the version
>offered 
>by the ISP may not be the latest one.  So with Drupal, updates have
>always 
>been a manual exercise for me.  Drush, a CLI tool, simplifies Drupal 
>maintenance for those who are not limited to point & click computer 
>operations.
>
>Depending on your website development needs you may need more than one
>site.  
>A production site and a development site is a typical minimum
>requirement. 
>More active sites have prod/pre-prod/dev/testing versions.  This means
>you 
>will be exporting database content and importing it from one site to
>another.  
>Unlike Drupal where exporting and importing database dumps is a
>straight 
>forward activity, with Wordpress you will need to change some of the
>database 
>content manually before you import it.  This is because Wordpress uses 
>serialised PHP arrays and hard-codes URLs in the database cells and its
>
>upgrade.php scripts do not deal auto-magically with database migration.
> There 
>are 3rd party scripts and plugins to deal with this, but it is an
>additional 
>step and a manual exercise:
>
>https://interconnectit.com/blog/2009/10/07/migrating-a-wordpresswpmubuddypress-website/
>
>If you only have one production version on a single 

Re: [gentoo-user] Few blockers left

2017-03-26 Thread J. Roeleveld
On March 25, 2017 8:36:01 PM GMT+01:00, Alan McKinnon  
wrote:
>On 25/03/2017 16:37, the...@sys-concept.com wrote:
>> On 03/25/2017 03:00 AM, Alan McKinnon wrote:
>>> On 25/03/2017 09:49, the...@sys-concept.com wrote:
 I'm upgrading my last system and have few blockers left:
>>>
>>> Those are not blockers.
>>>
>>> The part of emerge output above this, the bit you snipped out, shows
>>> *what* portage wants to do.
>>>
>>> The bits below show you *why* it's doing that - usually why it's not
>>> upgrading to the latest version of a number of packages.
>>>
>>> Learn to read the portage output. It is vastly more complicated with
>way
>>> too many !!! and *** and ### characters to alarm you needlessly, but
>it
>>> cna nevertheless be understood.
>>>
>>> And those are not blockers. A blocker is a very specific thing,
>which
>>> these are not
>>>
>>>
>>>

 !!! Multiple package instances within a single package slot have
>been
 pulled
 !!! into the dependency graph, resulting in a slot conflict:

 x11-libs/libxcb:0

   (x11-libs/libxcb-1.12:0/1.12::gentoo, ebuild scheduled for merge)
 pulled in by
 (no parents that aren't satisfied by other packages in this
>slot)

   (x11-libs/libxcb-1.11.1:0/1.11.1::gentoo, ebuild scheduled for
 merge) pulled in by
 >=x11-libs/libxcb-1.9.3:0/1.11.1=[abi_x86_32(-),abi_x86_64(-)]
 required by (media-libs/mesa-12.0.1:0/0::gentoo, installed)
^^

 sys-fs/eudev:0

   (sys-fs/eudev-3.1.5:0/0::gentoo, ebuild scheduled for merge)
>pulled
 in by
 (no parents that aren't satisfied by other packages in this
>slot)

   (sys-fs/eudev-3.1.5:0/0::gentoo, installed) pulled in by

>
>=sys-fs/eudev-1.3: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?]
 required by (virtual/libudev-215-r1:0/1::gentoo, installed)


 sys-libs/libcap:0

   (sys-libs/libcap-2.24-r2:0/0::gentoo, ebuild scheduled for merge)
 pulled in by
 (no parents that aren't satisfied by other packages in this
>slot)

   (sys-libs/libcap-2.24-r2:0/0::gentoo, installed) pulled in by


>sys-libs/libcap[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(-)?]
 required by (sys-fs/udev-225-r1:0/0::gentoo, ebuild scheduled for
>merge)

 -
 Would clean-up some USE flags help?

 USE="-gnome -kde -minimal -qt3 -qt4 -hal X branding lock consolekit
 session \
 startup-notification thunar alsa cdr cups apache2 ssl foomaticdb
>ppds
 mysql -acl \
 java tiff jpeg png usb fbdev scanner gimp cgi fam nplt type1 opengl
 tetex \
 dbus policykit spell -systemd"
>>
>> I did not "snip" any relevant information. I try to run:
>>
>> emerge --update -q --newuse --deep --with-bdeps=y --tree  @system
>>
>> and there are no blockers showing up but a slot conflict.
>
>
>You got no other output? Portage then quit quickly, decided to d
>nothing 
>and then gave you the below?
>
>
>
>>
>> !!! Multiple package instances within a single package slot have been
>pulled
>> !!! into the dependency graph, resulting in a slot conflict:
>>
>> sys-apps/util-linux:0
>>
>>   (sys-apps/util-linux-2.28.2:0/0::gentoo, ebuild scheduled for
>merge) pulled in by
>> (no parents that aren't satisfied by other packages in this slot)
>>
>>   (sys-apps/util-linux-2.26.2:0/0::gentoo, installed) pulled in by
>>
>>=sys-apps/util-linux-2.24.1-r3[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(-)?]
>required by (x11-libs/libSM-1.2.2-r1:0/0::gentoo, installed)
>>
>>
>> !!! All ebuilds that could satisfy
>">=sys-libs/ncurses-5.2-r2:0/5=[unicode]" have been masked.
>> !!! One of the following masked packages is required to complete your
>request:
>> - sys-libs/ncurses-5.9-r5::gentoo (masked by: )
>>
>> (dependency required by "sys-apps/util-linux-2.26.2::gentoo"
>[installed])
>> (dependency required by "@__auto_slot_operator_replace_installed__"
>[argument])
>^^^
>I missed this earlier. That is new, I have no idea what it means
>>
>>
>> I can not unmerge sys-apps/util-linux as I might damage the system.
>> I've unmerge sys-libs/ncurses-6.0-r1 but it still giving me that
>error.
>
>
>with ncurses above, portage says it needs ncurses version >5.2-r2 with 
>subslot 0/5 and unicode set in USE. It doesn't say WHY it needs it,
>only 
>that it does, but something in your system configs prevents it.
>
>Start with:
>grep -r unicode /etc/portage
>grep -r ncurses /etc/portage
>
>That tends to show quickly why 

Re: [gentoo-user] Firefox occasionally stalls

2017-03-22 Thread J. Roeleveld
On Tuesday, March 21, 2017 9:11:58 PM CET Alan McKinnon wrote:
> On 21/03/2017 22:04, J. Roeleveld wrote:
> > On March 21, 2017 8:35:36 PM GMT+01:00, Alan McKinnon 

> > > Good idea. For posterity so's I don;t forget:
> 
> - gentoo home page
> - one or more readthedocs sites (especially docs.ansible.com)
> - 1 or more jira pages (work stuff)
> - 1 or more confluence pages (work stuff)
> - a local gitlab site
> - 1 or more python html apps for, errr, usenets stuffs
> - 1 or more python apps running in flask (work stuff)

I actually just had mine freeze (using up 100% of 1 cpu-core).
this was after removing all the tabs left open from last night and going to a 
single website. (extremely light on scripts or images).
Killing firefox and reopening that resolved the issue.

Am suspecting some memory or cpu leak somewhere where it tries to keep track 
of all the tabs that were closed. 

--
Joost




Re: [gentoo-user] Firefox occasionally stalls

2017-03-21 Thread J. Roeleveld
On March 21, 2017 8:35:36 PM GMT+01:00, Alan McKinnon  
wrote:
>This post is rather vague, sorry about that in advance.
>
>I've spent much time on this and gotten absolutely nowhere. So I 
>conclude all my thoughts and assumptions are wrong and not worth even 
>sharing (on account of them being so wrong).
>
>I have firefox like this:
>
>[I] www-client/firefox
>  Available versions:  45.7.0^d 45.8.0^d (~)51.0.1^d {bindist 
>custom-cflags custom-optimization dbus debug ffmpeg +gmp-autoupdate 
>+gstreamer gtk2 hardened hwaccel jack +jemalloc +jemalloc3 +jit neon
>pgo 
>pulseaudio rust selinux +skia startup-notification system-cairo 
>system-harfbuzz system-icu system-jpeg system-libevent system-libvpx 
>system-sqlite test wifi L10N="ach af an ar as ast az be bg bn-BD bn-IN 
>br bs ca cak cs cy da de dsb el en-GB en-ZA eo es-AR es-CL es-ES es-MX 
>et eu fa ff fi fr fy ga gd gl gn gu he hi hr hsb hu hy id is it ja ka
>kk 
>km kn ko lij lt lv mai mk ml mr ms nb nl nn or pa pl pt-BR pt-PT rm ro 
>ru si sk sl son sq sr sv ta te th tr uk uz vi xh zh-CN zh-TW"}
>  Installed versions:  51.0.1^d(21:30:20 21/02/2017)(dbus 
>gmp-autoupdate jemalloc pulseaudio skia startup-notification 
>system-harfbuzz system-icu system-jpeg system-libevent system-libvpx 
>system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug 
>-gtk2 -hardened -hwaccel -jack -neon -pgo -rust -selinux -system-cairo 
>-test L10N="en-GB en-ZA -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN
>
>-br -bs -ca -cak -cs -cy -da -de -dsb -el -eo -es-AR -es-CL -es-ES 
>-es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb
>
>-hu -hy -id -is -it -ja -ka -kk -km -kn -ko -lij -lt -lv -mai -mk -ml 
>-mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl 
>-son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW")
>  Homepage:http://www.mozilla.com/firefox
>  Description: Firefox Web Browser
>
>with these plugins:
>- adblockplus
>- flashblock
>- foxyproxy standard
>- restart browser
>- user agent switcher
>- youtube all html5
>
>Occasionally, according to no discernable pattern, all my tabs on all 
>some/most/all Firefox windows stop responding. Clicking and scrolling
>in 
>the content has no effect. Can't open new tabs, can't close tabs, can't
>
>switch to existing tabs. Sometimes it affects only one firefox window, 
>sometimes all firefox windows.
>
>Imagine if you will that firefox is coded with one global loop that
>gets 
>user actions and responds, then that loop gets stuck somewhere. The 
>firefox window will not be affected (controlled by KDE), and neither is
>
>the X-server but the tabs can all do nothing till the loop unsticks. 
>It's an effect like that.
>
>Sometimes it does work after a delay >30s.
>The sysadmin in me says 30s? Hah, check DNS resolver timeouts. Checked,
>
>found nothing unusual. Proxy looks OK, VPN looks OK, Chrome never has 
>this problem so it's firefox specific.
>
>Firefox itself is up, it responds correctly to moving around the menus,
>
>just can't do some of the actions like open the Addons page (that is 
>regular content in a tab).
>
>The issue ALWAYS goes away if I restart firefox, either with the
>restart 
>addon or Alt-F4 and start from KDE menu. I have "load previous tabs"
>set 
>to true so those actions are pretty equivalent.
>
>DE is Plasma 5, and the problem isn't from a recent upgrade, I've been 
>battling with this for ages through MANY kde and firefox updates.
>
>My question:
>Where the hell do I start to figure out what's really going on?
>I used up all my sysadmin troubleshooting knowledge and have had to 
>revert back to n00b status on this one.

I see this with some websites that do some weird stuff.
CPU for at least one core then also goes to 100÷.
Make a list of websites open in tabs when it happens to see if there are common 
ones that are always there when you have the issue.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] cmake - howto

2017-03-21 Thread J. Roeleveld
On Tuesday, March 21, 2017 5:30:28 PM CET Helmut Jarausch wrote:
> Hi,
> 
> I'm trying to generate an ebuild (for sci-libs/opencascade-7.1.0) which
> uses cmake as build system.
> I have copied the ebuild for opencascade-7.0 from the 'xmw' overlay.
> 
> The ebuild nearly works. But during installation I get the following
> error message:
> 
> CMake Error: File
> /var/tmp/Big_Tmp/portage/sci-libs/opencascade-7.1.0/work/opencascade-7.1.0_b
> uild/ OpenCASCADECompileDefinitionsAndFlags-gentoo.cmake does not exist.
> 
> How can one generate this gentoo-specific cmake file?
> 
> Many thanks for any hints, even for a hint where to ask elsewhere,
> 
> Helmut

did you copy the files for that ebuild as well?
There could be a "files" directory in the overlay where you found the ebuild.
If yes, copy that directory along.

--
Joost




Re: [gentoo-user] switching adapter - power supply

2017-03-20 Thread J. Roeleveld
On March 20, 2017 6:36:25 PM GMT+01:00, the...@sys-concept.com wrote:
>I have a small box "VIA Eden Processor 1200MHz" it runs my asterisk and
>hylafax but it is powered by those external 12V adapters (12V 5A).
>
>They don't usually last long, max 2-years or less.  I have a spare
>unit:
>Switching Adapter Power Supply.
>The box is in remote location so if it goes down due to PS I have to
>there and restart it, it shut down twice on me this morning; I think
>this adapter is going slowly.
>
>If find/connect 12V adapter with higher Amps 10A or 15A will it help
>extend the live of the these external power supplies?
>
>Or take one of the old PS from an old case and solder the tip to 12V
>line is better solution?

Most cheap 12V adapters are just that. Cheap. I would invest in a quality unit 
that is actually designed for long term 24/7 use.

A higher amp might help as it won't be stressed as much. But also consider 
adding cooling as it's the high temperatures and inadequate cooling that kills 
them.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread J. Roeleveld
On March 18, 2017 7:44:59 PM GMT+01:00, tu...@posteo.de wrote:
>No.
>Starting mpv as root "fixes" the problem...so it is 
>a permission problem (see my second mail). But mpv
>does not complain about missing permissions and plays
>the fileafter 5 seconds (when used as unpriveledged
>user).
>
>I am member of group "video" though and -- for example -- Blender
>gets full access to video infrastructure without problems...
>
>
>
>On 03/18 12:35, Maxim Wexler wrote:
>> Do the files repose on a on a big(terabytes!) outboard drive? This
>> could cause a delay on account of the OS having to read the thing
>> first.
>> 
>> On 3/18/17, tu...@posteo.de  wrote:
>> > Hi,
>> >
>> > very often I use mpv to watch videos.
>> >
>> > On my old root, the start of that tool
>> > was nearly instantly.
>> >
>> > With my new root, it seems, that mpv
>> > is waiting for something. For example:
>> >
>> > Playing: 
>> > [ffmpeg/demuxer] flv: video stream discovered after head already
>parsed
>> > [ffmpeg/demuxer] flv: audio stream discovered after head already
>parsed
>> >  (+) Video --vid=1 (h264)
>> >  (+) Audio --aid=1 (aac)
>> > AO: [alsa] 48000Hz stereo 2ch float
>> > VO: [opengl] 480x360 yuv420p
>> >
>> > The above is printed instantly onto the console...than it waits
>> > ~5 seconds, then the video is started and this is printed
>> > and updated:
>> >
>> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>> >
>> >
>> > . This happens with flv, mp4 but it happens to pure audio
>> > files like ogg and wav also.
>> >
>> > I have no idea, for what mpv is waiting for --  but it annoys me.
>> >
>> >
>> > Is it fixable...and
>> > if( true )
>> > then
>> > how( "?" )
>> > fi
>> >
>> > :)
>> >
>> > Cheers
>> > Meino
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 

If it also happens with pure audio files, I would suspect an issue with the 
audio subsystem.
Maybe it tries direct access. Doesn't work, so it switches to something else 
(maybe pulseaudio)
Root being allowed direct access, doesn't suffer from this?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: How am I supposed to block the KDE update?

2017-03-14 Thread J. Roeleveld
On March 14, 2017 6:05:17 PM GMT+01:00, Nikos Chantziaras  
wrote:
>On 03/14/2017 06:34 PM, Alan McKinnon wrote:
>> Eek. That's not nice. You have masked frameworks-5.32.0 and
>plasma-5.9.3
>> packages (presumably you got all of them), and you missed something
>in
>> the huge chain that needs one or more of them.
>
>Oops, you are absolutely correct. In fact, what I didn't mask is 
>=kde-frameworks/plasma-5.32.0-r1.
>
>And here's the funny part: I specifically only masked =*/*-5.32.0 
>instead of ~*/*-5.32.0 so that I'll know when the bug gets potentially 
>fixed; it would result in this exact kind of breakage I got, reminding 
>me to try the update again.
>
>So I'll be trying the update again to see if the plasma revbumb is
>there 
>to actually fix the desktop again. (The issue was that hovering over 
>icons or other items would highlight them but they would stay 
>highlighted forever even after the mouse moved somewhere else or even
>if 
>you click somewhere else. So everything would be full of highlighted
>icons.)
>
>Moral of the story: more coffee before posting :-P

I have seen this happen on MS Windows machines. (Customer supplied ones)

I think it is related to some accessibility thing that accidentally gets 
enabled.
(I simply reboot Windows as I prefer not to fight my way through a stupidly 
locked down system)

Could be a similar cause with your KDE/Plasma issue?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: OpenGL problem after upgrading mesa and xorg-server

2017-03-14 Thread J. Roeleveld
On March 14, 2017 6:57:59 AM GMT+01:00, Miroslav Rovis 
 wrote:
>On 170314-05:32+0100, wabe wrote:
>> wabe  wrote:
>> 
>> > Since I've upgraded mesa (12.0.1 to 13.0.5) and xorg-server 
>> > (1.18.4 to 1.19.2), OpenGL programs don't work any longer for 
>> > non-root users, even when these users are members of the group 
>> > "video".
>...
>> > 
>> > I searched the web and also read the gentoo xserver wiki but
>> > couldn't find a solution.
>> 
>> P.S.: After downgrading mesa to 12.0.1 everything works fine again.
>> So the problem has nothing to do with xorg-server.
>
>Lots of bugs with mesa, esp. recently:
>https://bugs.gentoo.org/buglist.cgi?quicksearch=mesa
>
>I masked it for now (if I had time, I'd contribute reports...):
>
>/etc/portage/package.mask/package.mask.file:>=media-libs/mesa-13.0.0
>
>( Btw. how does one search for only recent bugs, anybody? )

To see most recent bugs, sort on ID.
To see most recently modified bug, sort on changed.

(Click on the column headers)
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: CIFS mounts started misbehaving

2017-03-06 Thread J. Roeleveld
On March 6, 2017 8:17:37 PM GMT+01:00, Grant Edwards 
<grant.b.edwa...@gmail.com> wrote:
>On 2017-03-06, J. Roeleveld <jo...@antarean.org> wrote:
>> On March 6, 2017 5:14:39 PM GMT+01:00, Grant Edwards
><grant.b.edwa...@gmail.com> wrote:
>>>On 2017-03-06, Kai Krakow <hurikha...@gmail.com> wrote:
>>>
>>>>> I'm going to try to set up a Wireshark capture in ring-buffer mode
>>>and
>>>>> somehow detect the failure and stop the capture...
>>>>
>>>> Did something on the Windows side change?
>>>
>>>Probaby, but I've learned not to ask questions like that.  They never
>>>get answered, and it just causes problems when it is revealed that
>the
>>>client having problems is a Linux machine.
>>>
>>>> Maybe force Windows down to a lower SMB version or reduce/disable
>>>> SMB client side caching?
>>
>> Windows sharing is designed as a 'link when used' option. Not as a
>> permanent mount like Linix treats it.
>>
>> Even 'mounting' in Windows doesn't mean the share is actually
>> accessed.
>>
>> A windows CIFS server will not be reliable enough for long term
>> mounting. With Samba, it does work more reliable. (In my experience)
>
>It's worked perfectly fine for 10+ years, and apparently continues to
>do so for other Linux users in the office.

And trying to troubleshoot it is not simple. Especially as MS Windows event 
viewer never shows anything remotely useful. (I tried to troubleshoot various 
issues, never got anything usefull from the windows admins or event viewer)
How do the other Linux users access the shares?

>> For this reason, I use KDE/Dolphin to access CIFS shares. It is
>> closer to how Windows expects the shares to be treated.
>
>I don't see how things like shell scripts or other applications that
>need to access files on the CIFS mounts would use something like that.

Did you test if a small script that touches a file on the share every minute 
resolves the issue?

--
Joost


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: CIFS mounts started misbehaving

2017-03-06 Thread J. Roeleveld
On March 6, 2017 5:14:39 PM GMT+01:00, Grant Edwards 
 wrote:
>On 2017-03-06, Kai Krakow  wrote:
>
>>> I'm going to try to set up a Wireshark capture in ring-buffer mode
>and
>>> somehow detect the failure and stop the capture...
>>
>> Did something on the Windows side change?
>
>Probaby, but I've learned not to ask questions like that.  They never
>get answered, and it just causes problems when it is revealed that the
>client having problems is a Linux machine.
>
>> Maybe force Windows down to a lower SMB version or reduce/disable
>> SMB client side caching?

Windows sharing is designed as a 'link when used' option. Not as a permanent 
mount like Linix treats it.

Even 'mounting' in Windows doesn't mean the share is actually accessed.

A windows CIFS server will not be reliable enough for long term mounting. With 
Samba, it does work more reliable. (In my experience)

For this reason, I use KDE/Dolphin to access CIFS shares. It is closer to how 
Windows expects the shares to be treated.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread J. Roeleveld
On March 6, 2017 12:43:50 AM GMT+01:00, Marc Joliet  wrote:
>On Sonntag, 5. März 2017 23:57:11 CET Dale wrote:
>> the...@sys-concept.com wrote:
>[...] 
>> > Can I remove System.map files from /boot partition?
>> > I don't have any reference to these files in grub.conf.
>[...]
>> I'm pretty sure grub uses that file.  I've never tested the theory.
>
>FTR: were this GRUB *2*, I'd say I'm pretty sure it doesn't, based on
>the fact 
>that "System.map" doesn't show up in the GRUB info manual (which
>mentions 
>"device map" files, which the System.map file is not) and the fact that
>I 
>stopped installing it into /boot/, so I know that my systems boot
>without it.  
>I don't know about the old GRUB, though, but I strongly suspect it
>doesn't use 
>it, either.
>
>Quite frankly, I don't know how it would be useful for booting (it
>looks 
>somewhat like objdump output).  A quick "ag System.map" in the kernel
>sources 
>leads me to believe that it is solely a debugging aid.
>
>[snip other stuff]
>
>Greetings

With grub legacy and grub2 I never bothered with the System.map file.

I only copied the kernel image and, when used, the initramfs...

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] upgrading 1-year old system

2017-03-04 Thread J. Roeleveld
On March 4, 2017 11:01:38 PM GMT+01:00, the...@sys-concept.com wrote:
>
>I'm stuck upgrading to "dev-db/mysql-5.6.35" 
>
>make: *** [Makefile:150: all] Error 2
> * ERROR: dev-db/mysql-5.6.35::gentoo failed (compile phase):
> *   emake failed
> * 
>* If you need support, post the output of `emerge --info
>'=dev-db/mysql-5.6.35::gentoo'`,
>* the complete build log and the output of `emerge -pqv
>'=dev-db/mysql-5.6.35::gentoo'`.
>* The complete build log is located at
>'/var/tmp/portage/dev-db/mysql-5.6.35/temp/build.log'.
>* The ebuild environment file is located at
>'/var/tmp/portage/dev-db/mysql-5.6.35/temp/environment'.
>* Working directory:
>'/var/tmp/portage/dev-db/mysql-5.6.35/work/mysql-abi_x86_32.x86'
> * S: '/var/tmp/portage/dev-db/mysql-5.6.35/work/mysql'
>
 Failed to emerge dev-db/mysql-5.6.35, Log file:
>
  '/var/tmp/portage/dev-db/mysql-5.6.35/temp/build.log'
>*** Resuming merge...
>
>These are the packages that would be merged, in reverse order:
>
>Calculating dependencies... done!
> * One or more packages are either masked or have missing dependencies:
> * 
> *   sys-libs/ncurses:0/5=[abi_x86_32(-),abi_x86_64(-)] pulled in by:
> * (dev-db/mysql-5.6.27:0/18::gentoo, installed)
> * 
>*   >=sys-libs/ncurses-5.9-r3[abi_x86_32(-),abi_x86_64(-)] pulled in
>by:
> * (sys-libs/readline-6.3_p8-r2:0/0::gentoo, installed)
> * 
>*   >=sys-libs/ncurses-5.9-r3:0=[abi_x86_32(-),abi_x86_64(-)] pulled in
>by:
> * (sys-libs/gpm-1.20.7-r2:0/0::gentoo, installed)
> * 
> *   >=sys-libs/ncurses-5.2-r2:0/5=[unicode] pulled in by:
> * (sys-apps/util-linux-2.26.2:0/0::gentoo, installed)
> * 
>*   >=sys-libs/ncurses-5.9-r3:5/5=[abi_x86_32(-),abi_x86_64(-)] pulled
>in by:
> * (sys-devel/llvm-3.5.0:0/3.5::gentoo, installed)
> * 
>*  
>>=media-libs/harfbuzz-0.9.12:0/0.9.18=[glib(+),truetype(+),abi_x86_32(-),abi_x86_64(-)]
>pulled in by:
> * (x11-libs/pango-1.36.8-r1:0/0::gentoo, installed)
> * 
>*   pulled in by:
> * (net-print/cups-filters-1.0.71:0/0::gentoo, installed)
>
>Any ideas how to go around it?
>I've installed: sys-libs/ncurses-6.0-r1
>
>Thanks
>
>--
>Thelma

Few tips:

Check for the actual error in the build.log

Ensure you are not poluting your world file

Check previous threads for hints and tips on updating older Gentoo 
installations. I think there might also be a wiki page on the gentoo website.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Re: CIFS mounts started misbehaving

2017-03-04 Thread J. Roeleveld
On March 4, 2017 12:41:05 AM GMT+01:00, Grant Edwards 
<grant.b.edwa...@gmail.com> wrote:
>On 2017-03-03, J. Roeleveld <jo...@antarean.org> wrote:
>
>> On March 3, 2017 7:49:27 PM GMT+01:00, Grant Edwards
><grant.b.edwa...@gmail.com> wrote:
>
>>>About a week ago, they started acting oddly.  They all mount fine,
>and
>>>work as usual as long as you keep using them.  AFAICT, if they sit
>>>idle for "a while" (tens of minutes, maybe an hour), they freeze up.
>
>[...]
>
>> My guess would be some timeout setting on the server killing the
>> login.
>
>That doesn't seem to be the problem.  I've asked around, and others
>aren't seeing this problem.
>
>I've also noticed that sometimes the mounts will start working again
>without a umount/mount, but I can't figure out what causes it...
>
>Normally, when things are working but idle, the TCP connection to 445
>shows an SMB echo request/rseponse transaction once per minute.  When
>it fails, the TCP connection evidently got dropped, and the Windows
>machine repeatedly shuts down new ones:
>
>The failure mode looks like this in wireshark:
>
>  GentooWindows
>
>  -> SYN  ->  445
> <-SYN/ACK   <-   445
>  -> ACK  ->  445
>  -> SMB[echo req]->  445
> <-  RST <-   445
>
>[that repeats 800 times per second for long periods of time]
>
>Then at some point, it starts to work:
>
>  ->SYN  ->  445
> <-   SYN/ACK   <-   445
>  ->ACK  ->  445
>  -> SMB[proto neg req]  ->  445
> <-  SMB[proto neg rsp] <-   445
>  -> SMB[ses setup req]  ->  445
> <-  SMB[ses setup rsp] <-   445
> ...
> 
>Sometimes the umount times out and "fails" because the "host is down",
>and when that happens, it seems like it immediately starts to work
>again. :/

Are other hosts linux or windows?

Maybe a dodgy switch forgetting the correct path?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] CIFS mounts started misbehaving

2017-03-03 Thread J. Roeleveld
On March 3, 2017 7:49:27 PM GMT+01:00, Grant Edwards 
 wrote:
>For the past 10-15, I've been mounting a handfull of directories that
>reside on a Windows server, and it's always worked find.
>
>About a week ago, they started acting oddly.  They all mount fine, and
>work as usual as long as you keep using them.  AFAICT, if they sit
>idle for "a while" (tens of minutes, maybe an hour), they freeze up.
>
>After that, trying to access them hangs, and then eventually reports
>"host is down".  Except the host _isn't_ down.  If I do an
>unmount/mount it works instantly without complaint and the mounted
>directory is fine again -- for a while.
>
>I don't think I've changed anything relevent on my Gentoo box (the
>CIFS client), and it's probably something on the Windows end of
>things.  
>
>But, I was hoping somebody might have seen something similar and knows
>what to do about it.
>
>Here's a typical line in /etc/fstab:
>
>\\winhost\projects  /winhost/projects cifs
>netbiosname=,workgroup=,username=,password=,uid=,gid=users,noserverino,dir_mode=0777,file_mode=0777,noauto
>0 0
>
> is the username (same on Gentoo and Windows)
>  is the Windows workgroup name 
>  is the Windows server password for 
>
>Any ideas?

My guess would be some timeout setting on the server killing the login.
Maybe there is a keep-alive option in the mount? Otherwise a cronjob that keeps 
'touch'ing a file on one or all of the shares would avoid this happening.

If the windows admin doesn't like that option, have him undo whatever he 
changed.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] managing local IP's

2017-02-23 Thread J. Roeleveld
On February 24, 2017 12:55:26 AM GMT+01:00, the...@sys-concept.com wrote:
>I have two networks connected over VPN
>
>1st Network has 3-box (only one active)
>2nd Remote Network has 4-boxes (only two active at any given time)
>
>All boxes are configure to run: Hylafax, Asterisk (but only one at a
>time act as a server).
>
>Various external devises like Sipur, Audiocodes has to be configure (IP
>change) to register to Asterisk server; if I switch a box that acts as
>a
>server, I need to login to each device and change the IP.
>
>Hylafax is relatively simple to switch, but "yajhfc" that view the
>faxes
>has to have an IP changed.
>Audiocodes - is a nightmare to change IP.
>Local Asterisk registers with Remote Network over VPN so IP's need to
>change as well.
>
>Is there an easier way to mange it?

Have the active server add a 2nd IP to its network interface and configure the 
clients to use that IP.
When switching to a different server (making a different one active), move that 
2nd IP to the new active server.

This is how most active/passive failovers actually work.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] compressing pdf file

2017-02-23 Thread J. Roeleveld
On February 22, 2017 11:12:01 PM GMT+01:00, k...@aspodata.se wrote:
>Thelma:
>> I have scaned pdf file (88-page) 23MB in size (downloaded this way).
>> Trying to reduce the size of the file I [...]
>
>Why don't you extract the images with pdfimages from the pdf and
>compress them with xv or convert (imagemagic) and maybe gimp can 
>comress them also. Don't know how to get them back into a pdf though.
>
>Regards,
>/Karl Hammar
>
>---
>Aspö Data
>Lilla Aspö 148
>S-742 94 Östhammar
>Sweden
>+46 173 140 57

If I remember correctly, you can merge images into a PDF using convert:
# convert image1.jpg image2.jpg  output.pdf

I use this technique when I find some images need turning or resorting after 
scanning bigger documents.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] puzzling behavior of USE flags with sys-apps/man-db

2017-02-21 Thread J. Roeleveld
On February 20, 2017 1:29:20 PM GMT+01:00, Harry Putnam  
wrote:
>Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
> Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram
>
>On first attempt at emerging sys-apps/man-db (in came up in a world
>update (including -N [--newuse])
>
>emerge's output indicated that one could not have both berkdb and gmdb
>so I put this in /etc/portage/package.use/man-db
>sys-app/man-db berkdb -gmdb

I never set either of these. Where did you override the defaults?
Do you have USE="-* ... ?

>That seemed to resolve that part of the problem
>
>On next attempted emerge -va sys-apps/man-db
>
>I started getting this:
>
>root # emerge -vaDN sys-apps/man-db
>
>  These are the packages that would be merged, in order:
>
>  Calculating dependencies... done!
>
>!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet
>requirements.
>
> - x11-libs/gtk+-3.22.5::gentoo USE="introspection -X (-aqua) -broadway
>  -cloudprint -colord -cups -examples -test -vim-syntax -wayland
>  -xinerama" ABI_X86="64 -32 -x32"
>
>  The following REQUIRED_USE flag constraints are unsatisfied: any-of
>( aqua wayland X )
>
>  The above constraints are a subset of the following complete
>expression: any-of ( aqua wayland X ) xinerama? ( X )
>
>Note the part: any-of (aqua wayland X)
>
>Ok so I did echo "xll-libs/gtk+ X" >  /etc/portage/package.use/gtk+
>
>Adding the X useflag to xll-libs/gtk+
>
> # cat /etc/portage/package.use/gtk+
>  xll-libs/gtk+ X

Please check the above.
It should be x11, not xll
(Eg. It reads C eleven)

>But emerge appears not to go by its own stipulation
>
>Same output and next attempt:
>
>  These are the packages that would be merged, in order:
>
>  Calculating dependencies... done!
>
>  !!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet
>requirements.
>
> - x11-libs/gtk+-3.22.5::gentoo USE="introspection -X (-aqua) -broadway
>  -cloudprint -colord -cups -examples -test -vim-syntax -wayland
>  -xinerama" ABI_X86="64 -32 -x32"
>
>  The following REQUIRED_USE flag constraints are unsatisfied: any-of
>( aqua wayland X )
>
>  The above constraints are a subset of the following complete
>expression: any-of ( aqua wayland X ) xinerama? ( X )
>
>No change..
>
>if I insert `waylan' as use flag instead of X, same result and same
>output.

Try 'wayland' instead of 'waylan'

>I'm guessing I must be interpreting the emerge output wrong.  Can
>anyone offer a clue here?

Typos, see above.

And maybe sanitize your make.conf USE setting?

--
Joost


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Wireless keyboard mouse

2017-02-16 Thread J. Roeleveld
On February 17, 2017 6:00:56 AM GMT+01:00, the...@sys-concept.com wrote:
>If I use wireless keyboard and mouse from same company can I use them
>with three computers?
>
>My space is limited, and the boxes are close to each other; in addition
>I have only one monitor.
>
>PC-1: PS/2(Keyboard+Mouse) + DB9 Monitor
>PC-2: PS/2(Keyboard+Mouse) + DB9 Monitor
>
>I use KVM switch to control the above two (all wired keyboard and
>mouse).
>Now I have a new additional box:
>
>PC-3: 1 port with (PS/2 Keyboard or Mouse) + USB's DB9 plug monitor.
>
>How to get all three working with one monitor keyboard and mouse.

Wireless keyboard and mouse items usually have an ID code to allow multiple to 
be used in a small area. I have not found any where I can change the ID myself.

This means that you will need a KVM that supports the type of connector. As 
modern PCs all use USB, one with USB ports would be useful.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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

2017-02-10 Thread J. Roeleveld
On Friday, February 10, 2017 06:33:31 AM Mick wrote:
> 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.

For clarity, you are missing the correct CODEC drivers.




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

2017-02-07 Thread J. Roeleveld
On February 7, 2017 4:40:56 AM GMT+01:00, Walter Dnes  
wrote:
>  Right now, I'm using a 32-bit CentOS QEMU VM to build Pale Moon for
>older machines.  There's the usual processing overhead of a VM, plus it
>has to have it's own virtual disks with safety margin of space, plus 5
>gigabytes of swap space inside the VM.
>
>  What I'd like to do is a 32-bit CentOS chroot inside my 64-bit Gentoo
>desktop host.  I'm looking at rsync'ing the / directory from inside the
>CentOS VM file system to a directory on the 64-bit host, and then
>chroot
>into the copy on the host.
>
>  Is it possible?  Any booby-traps?  Has anybody here done something
>similar?

I used to do this to build packages for my old 32bit netbook.

To start a 32bit chroot:
# linux32 chroot  /bin/bash

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] A new gentoo ... how to check before delete the old one?

2017-02-05 Thread J. Roeleveld
On Sunday, February 5, 2017 10:43:21 AM CET meino.cra...@gmx.de wrote:
> Mick  [17-02-05 10:36]:
> > On Sunday 05 Feb 2017 10:13:09 meino.cra...@gmx.de wrote:

> The last time I used star it kills my filesystem. It mau be the most
> POSIX compliant thing of the universe...but...
> Its long ago...I never have touched this again...
> 
> I will check the grub thingy...good idea! :)

If you figure that one out, please share.
I would love to know how to do that.

> Currentlu I am totally blocked from build a new system, since
> gcc has stopped working globally.

I have this occasionally. Run:
# gcc-config -l

Usually the first on in that list is the one you want. Which would be set with:
# gcc-config 1

And then correct your profile:
# source /etc/profile

And try emerge again :)

--
Joost





Re: [gentoo-user] New Installation

2017-02-05 Thread J. Roeleveld
On Saturday, February 4, 2017 11:28:37 PM CET Alan McKinnon wrote:
> On 04/02/2017 17:56, Peter Humphrey wrote:
> > On Saturday 04 Feb 2017 17:32:53 Alan McKinnon wrote:
> >> Modern kernels DO get nervous if they have no swap at all - it's used
> >> internally. So make a small amount of swap to make the kernel happy, say
> >> 64M or so. Yes, megs.
> >> 
> >> And if your machine sleeps to disk you will need swap large enough to
> >> store the memory image - it has to go somewhere and that is swap.
> >> 
> >> That's my advice. Now let the nay-sayers begin the argument
> > 
> > No argument from me, Alan. It isn't just the kernel that gets nervous - I
> > do too if I don't have any swap available. I have 32 GB and an 8 GB swap,
> > which I'm thinking of reducing (the swap, that is). My SSD is only 256 GB
> > and my boinc partition has filled up today, so I need to recover some
> > unused space.
> I'd be much more nervous about swap on SSD tbh.
> 
> I can't imagine that working well, by it's nature swap is write-heavy

I don't see much issue with swap on SSD as long as it isn't used too much.
My laptop only has SSD, my desktop also has a spinning-rust disk for scratch-
heavy (many, many writes) activities.

My swap is on SSD, it's not used often, I guess I would wear out that SSD 
sooner with the activities of my home-dir and akonadi. :)

I don't see anything bad happening yet using smartctl and this machine is 
running a lot lately with, for my desktop, quite high uptimes.

--
Joost



Re: [gentoo-user] New Installation

2017-02-05 Thread J. Roeleveld
On Saturday, February 4, 2017 11:36:56 PM CET the...@sys-concept.com wrote:

(longer reply)

> 
> I change in make.conf to:
> USE="bindist"
> 
> and I was able to install basic system correctly, network is working and I
> can proceed with castomazation but my next question: What is the correct
> way to configure "USE=" in make.conf?
> 
> When I use a below: (copied from my other systems):
> 
> USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl
> foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp
> gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam policykit
> jpeg lock session startup-notification thunar cleartype corefonts -systemd
> -DOPENSSL_NO_HEARTBEATS abi_x86_32"
> 
> PS. I think "dbus" is no longer used, isn't it?

I have dbus installed, so the package still exists. If it is a valid USE-flag, 
I don't know.

In your list, I see a few I have never used. Most of them, I would personally 
only set for those packages where I want them to apply, but that is a personal 
decision.

My main concerns with your list are:
# -DOPENSSL_NO_HEARTBEATS
This seems more like something that should be added as a compiler-flag for 1 
package or something in an apache config file.

# abi_x86_32
I am assuming you want packages to also be build for 32-bit.
If that is the case, I would set the following in your make.conf file:
# ABI_X86="64 32"
and remove this entry from your USE-list.

# consolkit
I think this should be "consolekit" as that one does exist.

> I get a log of blockers and my file "package.use" starting to look like
> trash can with entries like:
> 
> # required by x11-libs/libxcb-1.12::gentoo
> # required by x11-apps/xwininfo-1.1.3::gentoo
> # required by x11-misc/xscreensaver-5.36::gentoo
> # required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
> # required by xfce-base/xfce4-meta-4.12::gentoo
> # required by xfce-base/xfce4-meta (argument)
> 
> >=x11-libs/libXau-1.0.8 abi_x86_32

This is related to the above comment about your abi... useflag.

> # required by x11-libs/libxcb-1.12::gentoo
> # required by x11-apps/xwininfo-1.1.3::gentoo
> # required by x11-misc/xscreensaver-5.36::gentoo
> # required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
> # required by xfce-base/xfce4-meta-4.12::gentoo
> # required by xfce-base/xfce4-meta (argument)
> 
> >=dev-libs/libpthread-stubs-0.3-r1 abi_x86_32

Same

> If I try to use my USE="-qt4 ... etc" and try to emerge:
> emerge --ask xfce-base/xfce4-meta
> 
> I get tones of blockers and problem solving eg.:
> 
> [blocks B  ] dev-util/pkgconf[pkg-config]
> ("dev-util/pkgconf[pkg-config]" is blocking dev-util/pkgconfig-0.28-r2)
> [blocks B  ] media-libs/libjpeg-turbo:0 ("media-libs/libjpeg-turbo:0"
> is blocking media-libs/jpeg-8d-r1) [blocks B  ] media-libs/jpeg:0
> ("media-libs/jpeg:0" is blocking media-libs/libjpeg-turbo-1.5.0) [blocks B 
> ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.1.5) [blocks B 
> ] dev-util/pkgconfig ("dev-util/pkgconfig" is blocking
> dev-util/pkgconf-0.9.12)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (dev-util/pkgconf-0.9.12:0/0::gentoo, ebuild scheduled for merge) pulled
> in by
> >=dev-util/pkgconf-0.9.3-r1[pkg-config,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(-)?]
> >(>=dev-util/pkgconf-0.9.3-r1[pkg-config,abi_x86_32(-),abi_x86_64(-)])
> >required by (virtual/pkgconfig-0-r1:0/0::gentoo, ebuild scheduled for
> >merge)
>   (sys-fs/eudev-3.1.5:0/0::gentoo, ebuild scheduled for merge) pulled in by
> 
> >=sys-fs/eudev-1.3 required by (virtual/udev-215:0/0::gentoo, installed)
> >=sys-fs/eudev-1.3: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/eudev-1.3:0/0[abi_x86_32(-),abi_x86_64(-)]) required by
> >(virtual/libudev-215-r1:0/1::gentoo, ebuild scheduled for merge)
>   (sys-fs/udev-225-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
> 
> >=sys-fs/udev-208-r1:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,a
> >bi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_pp
> >c_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, ebuild scheduled for merge)
> >=sys-fs/udev-208-r1 required by (virtual/udev-215:0/0::gentoo,
> >installed)
>   (dev-util/pkgconfig-0.28-r2:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
> >=dev-util/pkgconfig-0.28-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-
> >)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,ab
> 

Re: [gentoo-user] A new gentoo ... how to check before delete the old one?

2017-02-05 Thread J. Roeleveld
On Sunday, February 5, 2017 9:46:53 AM CET meino.cra...@gmx.de wrote:
> J. Roeleveld <jo...@antarean.org> [17-02-05 08:44]:
> > On February 5, 2017 6:26:27 AM GMT+01:00, meino.cra...@gmx.de wrote:
> > >Hi,
> > >
> > >since my old Gentoo installation seems to be screwed up (regarding
> > >the update process) beyond repair I decided to install a new one
> > >instead of waiting for help.
> > >
> > >I already made space at a certain of my harddisk and installed the
> > >stage3 there.
> > >Chrooting is one of the first steps to check, whether what I have
> > >done so is valid.
> > >
> > >But before deleting the old root and install the new one at its
> > >place I would like to do a atmost identical boot into the new
> > >root.
> > >
> > >As far as I know the kernel only allows to boot into a partition
> > >(instead of a directory on a partition containing the root
> > >installation) and I am still using devices to boot from instead
> > >of GPT.
> > >
> > >Is there any neat trick to do a real boot into the new root via
> > >the normal boot process (grub2) nevertheless ?
> > >
> > >Cheers
> > >Meino
> > 
> > If I understand correctly. The answer is no. (Unless you write some clever
> > initramfs)
> > 
> > Afaik, the kernel takes the entire partition and mounts it at '/'. If you
> > want it to use a directory (which would then be at '/newinstall') you
> > need to get the kernel to chroot into that directory and run init in
> > there.
> > 
> > Only option I see is to use an extra disk. Maybe a USB drive and use that.
> > 
> > --
> > Joost
> 
> Hi Joost,
> 
> thanks fpr your posting! :)
> 
> Ok...another USB drive mau lay around here...will see...
> Just two quick questions:
> 
> Is this ok, to preserve as much as possible of the
> settings/attributes/whatever of the files or do you anything better
> and quickier than this:
> (cd /. ; tar cf - . ) | ( cd /. ; tar xvpsf - )
> ?

Don't forget to add the permissions on the source side:

tar --xattrs -cvpf . 
And maybe also add "--xattrs" on the target side.

Other options:
# rsync (not fully certain about options)
# cd  ; cp -a  .

I never did any timing, but logic tells me using the "cp" option is quicker 
(as it is all on the same system)

--
Joost




Re: [gentoo-user] A new gentoo ... how to check before delete the old one?

2017-02-04 Thread J. Roeleveld
On February 5, 2017 6:26:27 AM GMT+01:00, meino.cra...@gmx.de wrote:
>Hi,
>
>since my old Gentoo installation seems to be screwed up (regarding
>the update process) beyond repair I decided to install a new one
>instead of waiting for help.
>
>I already made space at a certain of my harddisk and installed the
>stage3 there.
>Chrooting is one of the first steps to check, whether what I have
>done so is valid.
>
>But before deleting the old root and install the new one at its
>place I would like to do a atmost identical boot into the new
>root.
>
>As far as I know the kernel only allows to boot into a partition
>(instead of a directory on a partition containing the root
>installation) and I am still using devices to boot from instead
>of GPT.
>
>Is there any neat trick to do a real boot into the new root via
>the normal boot process (grub2) nevertheless ?
>
>Cheers
>Meino

If I understand correctly. The answer is no. (Unless you write some clever 
initramfs)

Afaik, the kernel takes the entire partition and mounts it at '/'. If you want 
it to use a directory (which would then be at '/newinstall') you need to get 
the kernel to chroot into that directory and run init in there.

Only option I see is to use an extra disk. Maybe a USB drive and use that.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 5, 2017 7:36:56 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/04/2017 12:20 PM, J. Roeleveld wrote:
>> On February 4, 2017 7:31:41 PM GMT+01:00, the...@sys-concept.com
>wrote:
>>>
>>> On 02/04/2017 04:28 AM, Neil Bothwick wrote:
>>>> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
>>>>
>>>>> emerge --sync gives me error:
>>>>> "/etc/portage/make.conf", line 11: Invalid variable name
>>>>> '-Wl,--hash-style'
>>>>>
>>>>> Line 11 in make.conf:
>>>>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2
>>> ssl
>>>>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb 
>>> scanner
>>>>> gimp gimpprint cgi fam nptl t$
>>>>>
>>>>> Here is complete make.conf
>>>>>
>>>>> CFLAGS="-march=native -O2 -pipe
>>>
>>> Yes, missing " at the end was the problem.
>>>
>>> However, I restarted from scratch and now even on a new installation
>>> I'm getting a lot of errors:
>>>
>>> Failed to emerge www-client/w3m-0.5.3-r9, Log file:
>>>>>>  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
>>> *** Resuming merge...
>>> * emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>>> requires
>>> * >=sys-auth/consolekit-0.4.6[pam]
>>> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because
>it
>>> * requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>>> =app-
>>> * text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>>> sys-apps/dbus
>>> * emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>>> requires
>>> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>>> * emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>>> requires
>>> *
>
>[snip]
>
>>> *  (gnome-extra/polkit-gnome-0.105-r1:0/0::gentoo, ebuild scheduled
>for
>>> merge)
>>> *  (x11-misc/xdg-utils-1.1.1-r1:0/0::gentoo, ebuild scheduled for
>>> merge)
>>> *  (app-text/ghostscript-gpl-9.15-r1:0/0::gentoo, ebuild scheduled
>for
>>> merge)
>>>
>>> This is new installation following gentoo hand-book on line :-/
>>>
>>> --
>>> Thelma
>> 
>> Please start with the default USE flags in your make.conf file.
>> Also use the standard/defauly profile. (If you want systemd, please
>select that the minimal systemd one)
>> 
>> Make sure you have an installation that can boot into a text console
>where you can login and have basic networking.
>> 
>> Then, change your profile if needed. If changed, do a rebuild using:
>> # emerge -auDN @world
>> 
>> After that, install anything else you need, keeping the list on the
>commandline managable.
>> 
>> Adjust USE flags as needed. Try to keep changing the global set (the
>one in your make.conf) to an absolute minimal. Mine only has 3 items. I
>kept the default, minus bindist.
>> 
>> --
>> Joost
>
>I change in make.conf to: 
>USE="bindist"
>
>and I was able to install basic system correctly, network is working
>and I can proceed with castomazation but 
>my next question: What is the correct way to configure "USE=" in
>make.conf?
>
>When I use a below: (copied from my other systems):
>
>USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp
>gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam
>policykit jpeg lock session startup-notification thunar cleartype
>corefonts -systemd -DOPENSSL_NO_HEARTBEATS abi_x86_32"
>
>PS. I think "dbus" is no longer used, isn't it?
> 
>I get a log of blockers and my file "package.use" starting to look like
>trash can with entries like:
>
># required by x11-libs/libxcb-1.12::gentoo
># required by x11-apps/xwininfo-1.1.3::gentoo
># required by x11-misc/xscreensaver-5.36::gentoo
># required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
># required by xfce-base/xfce4-meta-4.12::gentoo
># required by xfce-base/xfce4-meta (argument)
>>=x11-libs/libXau-1.0.8 abi_x86_32
># required by x11-libs/libxcb-1.12::gentoo
># required by x11-apps/xwininfo-1.1.3::gentoo
># required by x11-misc/xscreensaver-5.36::gentoo
># required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver]
># required by 

Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 7:31:41 PM GMT+01:00, the...@sys-concept.com wrote:
>
>On 02/04/2017 04:28 AM, Neil Bothwick wrote:
>> On Sat, 4 Feb 2017 00:22:45 -0700, the...@sys-concept.com wrote:
>> 
>>> emerge --sync gives me error:
>>> "/etc/portage/make.conf", line 11: Invalid variable name
>>> '-Wl,--hash-style'
>>>
>>> Line 11 in make.conf:
>>> USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2
>ssl
>>> foomaticdb truetype kpathsea ppds mysql udev java tiff png usb 
>scanner
>>> gimp gimpprint cgi fam nptl t$
>>>
>>> Here is complete make.conf
>>>
>>> CFLAGS="-march=native -O2 -pipe
>
>Yes, missing " at the end was the problem.
>
>However, I restarted from scratch and now even on a new installation
>I'm getting a lot of errors:
>
>Failed to emerge www-client/w3m-0.5.3-r9, Log file:
  '/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'
>*** Resuming merge...
>* emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>requires
> * >=sys-auth/consolekit-0.4.6[pam]
> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
>* requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>=app-
>* text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>sys-apps/dbus
>* emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>requires
> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>* emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>requires
>*
>~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]
> * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
> * requires >=sys-auth/polkit-0.110, sys-apps/dbus
>* emerge --keep-going: net-print/cups-2.1.4 dropped because it requires
> * x11-misc/xdg-utils, >=net-print/cups-filters-1.0.43, >=sys-
> * apps/dbus-1.6.18-r1[abi_x86_64(-)]
>* emerge --keep-going: app-text/poppler-0.45.0 dropped because it
>requires
> * dev-qt/qtgui:4
> * emerge --keep-going: virtual/w3m-0 dropped because it requires www-
> * client/w3m
>* emerge --keep-going: x11-libs/gtk+-3.20.9 dropped because it requires
> * >=net-print/cups-1.2[abi_x86_64(-)], >=app-accessibility/at-
> * spi2-atk-2.5.3[abi_x86_64(-)]
>* emerge --keep-going: dev-qt/qtgui-4.8.6-r4 dropped because it
>requires net-
> * print/cups[abi_x86_64(-)], ~dev-
> * qt/qt3support-4.8.6[-aqua,-debug,abi_x86_64(-)]
>* emerge --keep-going: sys-apps/dbus-1.10.12 dropped because it
>requires app-
> * text/xmlto
>* emerge --keep-going: app-accessibility/at-spi2-core-2.20.2 dropped
>because
> * it requires >=sys-apps/dbus-1[abi_x86_64(-)]
>* emerge --keep-going: app-text/xmlto-0.0.26-r1 dropped because it
>requires
> * virtual/w3m
>* emerge --keep-going: app-accessibility/at-spi2-atk-2.20.1 dropped
>because
>* it requires >=sys-apps/dbus-1.5[abi_x86_64(-)],
>>=app-accessibility/at-
> * spi2-core-2.17.90[abi_x86_64(-)]
>* emerge --keep-going: gnome-extra/polkit-gnome-0.105-r1 dropped
>because it
> * requires x11-libs/gtk+:3, >=sys-auth/polkit-0.102
> * emerge --keep-going: x11-misc/xdg-utils-1.1.1-r1 dropped because it
> * requires >=app-text/xmlto-0.0.26-r1[text(+)]
>* emerge --keep-going: app-text/ghostscript-gpl-9.15-r1 dropped because
>it
> * requires x11-libs/gtk+:3, >=net-print/cups-1.3.8, sys-apps/dbus
>
> * Messages for package www-client/w3m-0.5.3-r9:
>
> * ERROR: www-client/w3m-0.5.3-r9::gentoo failed (compile phase):
> *   emake failed
> * 
>* If you need support, post the output of `emerge --info
>'=www-client/w3m-0.5.3-r9::gentoo'`,
>* the complete build log and the output of `emerge -pqv
>'=www-client/w3m-0.5.3-r9::gentoo'`.
>* The complete build log is located at
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/build.log'.
>* The ebuild environment file is located at
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/temp/environment'.
>* Working directory:
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'
>* S:
>'/var/tmp/portage/www-client/w3m-0.5.3-r9/work/w3m-0.5.3.git20161120'
>
> * Messages for package sys-auth/pambase-20150213:
>
>* emerge --keep-going: sys-auth/pambase-20150213 dropped because it
>requires
> * >=sys-auth/consolekit-0.4.6[pam]
>
> * Messages for package net-print/cups-filters-1.5.0:
>
> * emerge --keep-going: net-print/cups-filters-1.5.0 dropped because it
>* requires >=app-text/ghostscript-gpl-9.09, >=net-print/cups-1.7.3,
>>=app-
>* text/poppler-0.32:=[cxx,jpeg,lcms,tiff,xpdf-headers(+)],
>sys-apps/dbus
>
> * Messages for package sys-auth/polkit-0.113:
>
>* emerge --keep-going: sys-auth/polkit-0.113 dropped because it
>requires
> * >=gnome-extra/polkit-gnome-0.105, sys-auth/consolekit[policykit]
>
> * Messages for package dev-qt/qt3support-4.8.6-r1:
>
>* emerge --keep-going: dev-qt/qt3support-4.8.6-r1 dropped because it
>requires
>*
>~dev-qt/qtgui-4.8.6[accessibility,-aqua,-debug,qt3support,abi_x86_64(-)]
>
> * Messages for package sys-auth/consolekit-1.1.0-r1:
>
> * emerge --keep-going: sys-auth/consolekit-1.1.0-r1 dropped because it
> * requires 

Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On Saturday, February 4, 2017 8:18:50 AM CET the...@sys-concept.com wrote:

> You might be correct, I'm reinstalling from fresh today so I'll put SWAP
> back.  Question, how much swap should I allocate?  Isn't the unwritten
> rule RAM * 2 so 32GB of swap partition? or RAM * 1.5

I wouldn't do that much. Immagine how much you need on a higher end server 
with 512MB :)

I have 32GB of ram.
8GB as swap.

--
Joost



Re: [gentoo-user] Installing Gentoo from Gentoo...

2017-02-04 Thread J. Roeleveld
On February 4, 2017 10:07:26 AM GMT+01:00, meino.cra...@gmx.de wrote:
>Hi,
>
>since I have enough space on my harddisc and because there seems no
>solution for my dev-python/six-problem I want to install a new gentoo.
>
>I searched through different pages on the Gentoo site but only can
>find those, which will install via "and now boot the iso
>image" which I dont want.
>
>Is it possible to install a bare system from a tar-ball, chroot into
>that and do the installation work then?
>
>And: Where can I find such a tar-bar (I only find *.iso files) ?
>
>Cheers
>Meino

Download the stage3 file. Link is in the handbook.

You can always unpack a stage3 and chroot into it. That is how I build gentoo 
VMs.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld

>Thelma, you may be too tired or rushing through this exercise to pay
>enough 
>attention to important details.  Perhaps you need to take a break and
>revisit 
>it afresh later? 

This is one of the best advise ever :)

Never do an installation when tired or in a hurry.

--
Joost


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 9:24:05 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/04/2017 12:48 AM, Dale wrote:
>> the...@sys-concept.com wrote:
>>> On 02/03/2017 11:19 PM, Dale wrote:
 the...@sys-concept.com wrote:
> I've not install Gentoo for some time and have some questions.
>
> It is Solid State Disk 1TB
> I'm using Minimal CD (Bootable USB)
> Created three partition (I did not create SWAP as I have 16GB or
>RAM)
> I used "fdisk" and follow the instruction from:
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>
> Though, I'm a bit confused. I did not see the change root command
>in
> those instructions.
> Right now I have a prompt: "livecd ~ #"
>
>[snip]
>
>This is my make.conf
># These settings were set by the catalyst build script that
>automatically
># built this stage.
># Please consult /usr/share/portage/config/make.conf.example for a more
># detailed example.
>
>CFLAGS="-march=native -O2 -pipe
>CXXFLAGS="${CFLAGS}"
>MAKEOPTS="-j9"
>
>USE="bindist"
>
># WARNING: Changing your CHOST is not something that should be done
>lightly.
># Please consult http://www.gentoo.org/doc/en/change-chost.xml before
>changing.
>CHOST="x86_64-pc-linux-gnu"
># These are the USE and USE_EXPAND flags that were used for
># buidling in addition to what is provided by the profile.
>
>USE="bindist"
>
>PORTDIR="/usr/portage"
>DISTDIR="${PORTDIR}/distfiles"
>PKGDIR="${PORTDIR}/packages"
>
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://gentoo.osuosl.org/;
>
>INPUT_DEVICES="evdev"
>LINGUAS="en"
>L10N="en"
>
>PORTAGE_TMPDIR="/var/tmp"
>PORTAGE_TMPFS="/dev/shm"
>PORTAGE_NICENESS=3
>AUTOCLEAN="yes"
>
>and emerge --sync is giving me an error:
>
>"/etc/portage/make.conf", line 34: No closing quotation
>Traceback (most recent call last):
>  File "/usr/lib/python-exec/python3.4/emerge", line 50, in 
>retval = emerge_main()
>File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1196,
>in emerge_main
>action=myaction, args=myfiles, opts=myopts)
>File "/usr/lib64/python3.4/site-packages/portage/proxy/objectproxy.py",
>line 31, in __call__
>return result(*args, **kwargs)
>File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line
>2403, in load_emerge_config
>**kwargs)
>File "/usr/lib64/python3.4/site-packages/portage/__init__.py", line
>585, in create_trees
>env=env, eprefix=eprefix)
>File
>"/usr/lib64/python3.4/site-packages/portage/package/ebuild/config.py",
>line 358, in __init__
>expand=make_conf, recursive=True)
>File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py",
>line 659, in getconfig
>recursive=False) or {})
>File "/usr/lib64/python3.4/site-packages/portage/util/__init__.py",
>line 718, in getconfig
>key = _unicode_decode(lex.get_token())
>  File "/usr/lib64/python3.4/shlex.py", line 93, in get_token
>raw = self.read_token()
>  File "/usr/lib64/python3.4/shlex.py", line 169, in read_token
>raise ValueError("No closing quotation")
>ValueError: No closing quotation
>
>There is nothing on line 34
>
>--
>Thelma

Check your CFLAGS line.

I am missing the quotation at the end there.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] New Installation

2017-02-04 Thread J. Roeleveld
On February 4, 2017 8:22:45 AM GMT+01:00, the...@sys-concept.com wrote:
>On 02/03/2017 11:19 PM, Dale wrote:
>> the...@sys-concept.com wrote:
>>> I've not install Gentoo for some time and have some questions.
>>>
>>> It is Solid State Disk 1TB
>>> I'm using Minimal CD (Bootable USB)
>>> Created three partition (I did not create SWAP as I have 16GB or
>RAM)
>>> I used "fdisk" and follow the instruction from:
>>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks
>>>
>>> Though, I'm a bit confused. I did not see the change root command in
>>> those instructions.
>>> Right now I have a prompt: "livecd ~ #"
>>>
>>> and all instruction on the installation page showing: "root #"
>>>
>>> I've created a user: "livecd ~ #useradd -m -G users john"
>>> Will it take effect I'm still inside "livecd" environment.
>>>
>>> I'm confused a bit.
>> 
>> 
>> It's been a while since I did a install as well plus I'm old as well.
> I
>> skimmed your link and don't think you should be creating a user at
>that
>> point.  If I recall correctly, creating users is done shortly before
>> rebooting into the new install or even after rebooting.  Usually, I
>do
>> it after rebooting.  Generally, I'm more concerned with my new kernel
>> booting etc rather than having a user account, besides root of
>course. 
>> Do set the root password BEFORE booting into the new install.  It
>makes
>> life easier.  ;-) 
>> 
>> The chroot command usually comes shortly after downloading and
>unpacking
>> the stage3 tarball.  Until you have that, you don't have anything to
>> chroot into yet. 
>> 
>> I might add, I like a all in one page guide.  For me, it seems easier
>to
>> scroll down, do what is there, scroll down some more etc.  It being
>in
>> sections may be easier for you tho.  Use what works.  Also, I read
>over
>> the guide at least twice before I start.  The first time I did a
>Gentoo
>> install, I read it half a dozen times in some spots. 
>> 
>> Hope that helps.
>> 
>> Dale
>> 
>> :-)  :-) 
>
>Thanks Dale, that new installation is not going well.
>I've change the environment and my prompt is still: "(chroot) livecd
>/#"
> 
>emerge --sync gives me error:
>"/etc/portage/make.conf", line 11: Invalid variable name
>'-Wl,--hash-style'
>
>Line 11 in make.conf:
>USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>gimp gimpprint cgi fam nptl t$
>
>Here is complete make.conf
>
>CFLAGS="-march=native -O2 -pipe
>CXXFLAGS="${CFLAGS}"
>#LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
>MAKEOPTS="-j9"
>
>USE="-qt4 -hal -arts -berkdb -acl X gtk dvd alsa cdr cups apache2 ssl
>foomaticdb truetype kpathsea ppds mysql udev java tiff png usb  scanner
>gimp gimpprint cgi fam nptl t$
>
>CHOST="x86_64-pc-linux-gnu"
>CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a "
>
>PORTDIR="/usr/portage"
>DISTDIR="${PORTDIR}/distfiles"
>PKGDIR="${PORTDIR}/packages"
>
>INPUT_DEVICES="evdev"
>LINGUAS="en"
>L10N="en"
>FEATURES="parallel-fetch strict fixlafiles"
>#VIDEO_CARDS="fglrx radeon"
>#VIDEO_CARDS="nvidia nouveau"
>#SANE_BACKENDS="epson2"
>#PHP_TARGETS="php5-5 php5-6"
>#PHP_INI_VERSION="production"
>ACCEPT_LICENSE="${ACCEPT_LICENSE} googleearth PUEL dlj-1.1
>Oracle-BCLA-JavaSE"
>
>EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y
>--jobs 3"
>
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://gentoo.osuosl.org/
>ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
>http://linux.rz.ruhr-uni-b$
>
>PORTAGE_TMPDIR="/var/tmp"
>PORTAGE_TMPFS="/dev/shm"
>PORTAGE_NICENESS=3
>AUTOCLEAN="yes"
>
>Why isn't "emerge --sync" working?
>It seems to me the chroot did not work correctly.
>
>This new manual is not compete and/or accurate :-/
>
>--
>Thelma

Please sanitize your make.conf file.
I am seeing some lines ending with $.
Not all lines have the closing quotes.

Your global USE flags contain some that no longer exist (Dale's favourite "hal" 
being one of them :)  )

Also, I have 32GB ram in my desktop and I do have a swap partition. When I am 
working, it does get used.
Software keeps using more memory. So do 27 cc jobs (jobs 9 for make and jobs 3 
for emerge).

I would re-condiser not using swap unless you are certain you will never need 
more than 16gb. (Eg. No graphical desktop running a few webbrowsers)

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



<    1   2   3   4   5   6   7   8   9   10   >