Re: TB - Sort add-on

2015-07-06 Thread Patrick O'Callaghan
On Mon, 2015-07-06 at 15:21 +1000, Cameron Simpson wrote:
 Take a look at formail, part of the procmail package. It might be 
 able
 to do what you want, or at least be part of the solution.
 
 I suspect not because it only considers one message at a time.

Sure, but splitting the mbox into separate messages is one step towards
being able to re-order them as he likes. It's been years since I used
formail but I'm thinking of the -x flag to extract the relevant date
field and then use that as the basis for the file name. It would still
need some further munging to get the files into sortable order of
course.

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Mark Rousell
On 05/07/2015 04:10, jd1008 wrote:
 Looked for an add-on that will sort a folder by date (not for display
 purposes)
 but to physically re-organize a floder's messages so that they are
 sorted from oldest
 to most recent.

 Any info on that?

You might be able to do what you want using the ImportExportTools
extension: https://freeshell.de/~kaosmos/mboximport-en.html

This extension lets you export all messages in a folder to individual
files. The filenames are customisable with time and date prefixes.

Having exported all the messages, you might well then be able to
re-import using the same tool to import in time and date order (i.e.
alphabetical order in the directory).

I've not tried doing this but it looks like it *should* work.

-- 
Mark Rousell

PGP public key: http://www.signal100.com/markr/pgp
Key ID: C9C5C162
 
 
 


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Cameron Simpson

On 06Jul2015 01:22, g gel...@bellsouth.net wrote:

On 07/06/15 00:21, Cameron Simpson wrote:

He basicly needs to take his messages and append them to a new inbox in
date order. He can either write a small program to suck messages into
memory, sort them, then write them out, or find a mail client which will
let him sort the view by date, tag/mark all the messages, then feed them
all _in_view_order_ to a fresh folder/mbox/mail-filing program.


that could work, tho i believe first scanning emails to build a sort table,
then pull out emails to a new file according to table would run better
than having to keep up with where emails are in memory.


Depending on the library in use. In Python I'd just read them all into 
Messages, which will keep the whole message in memory. Sort them, write them. I 
agree scanning first would be more memory efficient: scan, sort scan offsets, 
read file chunks in sorted scan order. Might even be easier.



He sould at first cut try that in TB, since that's what he's using:
  - view by date
  - _copy_ all messages to new folder
  - quit TB and examine the new folder to see what physical order it has


if that would work it would be great. unfortunately, thunderbird does not
work that. [...]

The catch of course is that one can easily imagine a mail reader choosing
to do that copy in the present physical order for I/O efficiency reasons [...]

it does seem that is attitude of thunderbird devs because if one sorts
emails chronologically then moves or copies to new folder file, emails
will maintain order they were in original folder file.


Inconvenient.

[...]

Or one can write a program, where one has complete control. But if you
can get a mail client to do it then that will probably be faster.


such is true. also true is fact thunderbird is not such a client.


But a brief experiment here suggests that mutt _is_ such a client. So he couldd 
open the original mbox in moutt, sort the view, tag all messages (T.enter) 
then copy all tagged messages to a new folder (;Cnew_folderenter).


Cheers,
Cameron Simpson c...@zip.com.au

You see, wire telegraph is a kind of a very, very long cat. You pull his tail
in New York and his head is meowing in Los Angeles. Do you understand this?
And radio operates exactly the same way: you send signals here, they receive
them there. The only difference is that there is no cat.
- Albert Einstein, when asked to describe radio
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: rebooting to emergency mode

2015-07-06 Thread Chris Murphy
 On Mon, Jul 6, 2015, 12:11 AM Heinz Diehl htd...@fritha.org wrote:

On 03.07.2015, Chris Murphy wrote:

 And after that, over the weekend if you can afford to be without the
 use of this computer, run memtest86+ as long as you can stand it.
 Sometimes it takes days for problems to show up.

Most often, mprime95 is a better alternative and fails within a short
amount of time in case of failing RAM or heat problems:
http://www.mersenne.org/download/

One full hour with each of the three stress-tests (respectively) will
usually
suffice.


The description days it can be used to stress test the CPU including on
board caches. It doesn't say it's a memory tester. The reason it can take a
long time for memtest to find a defect is that sometimes they produce only
intermittent error.

Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [389-users] 389-ds access.log parsing - turning LDAP request type into an audit event

2015-07-06 Thread Rich Megginson

On 07/03/2015 05:49 AM, Burn Alting wrote:

Has anyone authored code to parse a 389 Directory Server's access.log
file(s) with an aim of generating audit events based around the LDAP
request type. Basically, take the log sequence

 [21/Apr/2007:11:39:51 -0700] conn=11 fd=608 slot=608 connection from
207.1.153.51 to 192.18.122.139
 [21/Apr/2007:11:39:51 -0700] conn=11 op=0 BIND dn=cn=Directory
Manager method=128 version=3
 [21/Apr/2007:11:39:51 -0700] conn=11 op=0 RESULT err=0 tag=97
nentries=0 etime=0
 [21/Apr/2007:11:39:51 -0700] conn=11 op=1 SRCH
base=dc=example,dc=com scope=2 filter=(uid=bjensen)
 [21/Apr/2007:11:39:51 -0700] conn=11 op=1 RESULT err=0 tag=101
nentries=1 etime=1000 notes=U
 [21/Apr/2007:11:39:51 -0700] conn=11 op=2 UNBIND
 [21/Apr/2007:11:39:51 -0700] conn=11 op=2 fd=608 closed - U1

And turn this into an audit event with

a date/time (21/Apr/2007:11:39:51 -0700), a client location
(207.1.153.51), server location (192.18.122.139), a user (cn=Directory
Manager), an event (SRCH) and event metadata of (query -
base=dc=example,dc=com scope=2 filter=(uid=bjensen), result set size
- 1, timetaken = 1000 sec, etc)

The logconv.pl script seems to do all sorts of analysis, but no event
representation.


This sounds like a request for a new feature.  Would you be able to 
write up a description of the new feature based on 
http://www.port389.org/docs/389ds/design/design-template.html?  If so, I 
will post it to the 389 wiki and assign a ticket.




Thanks in advance

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: Puppet in Fedora 22 working?

2015-07-06 Thread Trever L. Adams
On 7/6/2015 10:23 AM, Dr. Michael J. Chudobiak wrote:
 I was away from my installation for 6 months. I came back and
 upgraded
 to Fedora 22 (as Fedora 20/21 was giving me problems with
 FreeSWITCH and
 other things). After doing so I find that Puppet does not work. It
 doesn't seem to find any of the hiera (yaml and json backends)
 defined
 nodes get their catalog (they get one, but without the classes they
 should have) at all.

 Has anyone seen this? Any suggestions on how to go about
 remedying the
 problem?

 Probably this:

 https://bugzilla.redhat.com/show_bug.cgi?id=1229703

 I have puppet working on F22 after making the hacks noted in the bug
 comments.

 - Mike



I saw that. I got puppet to pretend to work. However, all of my node
definitions are in Hiera. Somehow empty class list is being sent to the
puppet clients. I have not been able to figure this out. Did you see
anything like this?

Thank you,
Trever



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird question

2015-07-06 Thread jd1008



On 07/05/2015 09:09 PM, g wrote:


On 07/04/15 15:44, jd1008 wrote:



Well, now I must ask the list that since the messages that disappeared
running the Repair folder in TB, are still on the gmail server.

How can I get TB to download them all?

Is there something I can do to TB or to my gmail account on
mail.google.com that will make TB re-download them?

.
please excuse the delay in replying to your question. something came up
that needed my attention.

i have not read all post to this thread, so this question may have already
been answered.

in the account directory of pop3 servers is a file named 'popstate.dat'.

this file is a record of email downloads and has form of;

   # POP3 State File
   # This is a generated file!  Do not edit.

   *inbound.att.net gel...@bellsouth.net
   k AFm/imIAAc7mVZnAUgsAaAaAK/M 1436139771
   k AJG/imIAABRjVZmJUAIygF2hc2w 1436130430

the last 2 lines shown are the records of the emails downloaded. the
value after the lone k is know as the X-UIDL: and is in the first
few lines of an email header.

to re-download emails, 1st, put thunderbird in 'offline' state, then
close thunderbird, open a file browser to the email account directory,
make a backup copy of the file popstate.dat.

next, open popstate.dat file with a _plain_text_ editor, remove all
of the X-UIDL: lines, save file.

reopen thunderbird, open Account Settings, disable *all* email
accounts except for gmail account.

highlight gmail account, enable online state, click Get Mail icon,
all your gmail emails should download.

if above does not happen, it is because gmail is preventing it.

after downloading emails, re-enable all email accounts.

you can manually remove dupes, or you can then install an add-on to
thunderbird to remove dupes. there are 2 to chose from. which ever
churns you butter better. ;-)

hth.

I saved your message in my directory of How-To.
Mega Thanx!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Puppet in Fedora 22 working?

2015-07-06 Thread Dr. Michael J. Chudobiak

I was away from my installation for 6 months. I came back and upgraded
to Fedora 22 (as Fedora 20/21 was giving me problems with FreeSWITCH and
other things). After doing so I find that Puppet does not work. It
doesn't seem to find any of the hiera (yaml and json backends) defined
nodes get their catalog (they get one, but without the classes they
should have) at all.

Has anyone seen this? Any suggestions on how to go about remedying the
problem?


Probably this:

https://bugzilla.redhat.com/show_bug.cgi?id=1229703

I have puppet working on F22 after making the hacks noted in the bug 
comments.


- Mike


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Gordon Messmer

On 07/06/2015 09:46 AM, jd1008 wrote:

Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact). 


Yes, and Maildir is the intended solution to that limit, because 
compacting mbox files is an expensive operation, and incremental backup 
of mbox files is difficult or impossible depending on your backup software.


Note that you *can* use a folder larger than 4GB if it is IMAP, and only 
if it is IMAP.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Cameron Simpson

On 06Jul2015 10:18, Gordon Messmer gordon.mess...@gmail.com wrote:

On 07/06/2015 09:46 AM, jd1008 wrote:

Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact).


Yes, and Maildir is the intended solution to that limit, because 
compacting mbox files is an expensive operation,


Maildir is really a solution to lockless parallel mail folder access. It does 
store things as inidivdual messages, one per file, and I use it in my larger 
more active mail folders. My less active folders (receiving filed email, but 
accessed in frequently) are mboxen: it is more compact and cheaper to in 
storage and filesystems.


and incremental backup of mbox files is difficult or impossible depending on 
your backup software. [...]


In my world mboxen are easier to back up in some ways, more expensive in 
others.  I backup with rsync and date stampted hardlinked backup trees: 
unchanges files get hardlinked to the next tree. In this scheme a Maildir only 
makes new files for the new messages, which is a win in storage. But a larger 
maildir is very slow to scan, especially on a physical disc. By comparison, an 
mbox makes a whole new copy of the mbox if it gets changed, but it is very 
cheaper to scan (one file).


I'm still amazed that TB doesn't let you use Maildirs; they're hardly 
difficult.


Cheers,
Cameron Simpson c...@zip.com.au

My life is a never ending battle for the forces of good.
Unfortunately, unlike many other crusaders for righteousness, in my
system of morality, the right thing to do is very often to sit around
reading the paper or watching TV.   - Tim_Mefford t...@physics.orst.edu
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Gordon Messmer

On 07/06/2015 02:11 PM, Cameron Simpson wrote:
I'm still amazed that TB doesn't let you use Maildirs; they're hardly 
difficult. 


https://support.mozilla.org/en-US/kb/maildir-thunderbird

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/06/2015 12:22 AM, g wrote:


On 07/06/15 00:21, Cameron Simpson wrote:



He basicly needs to take his messages and append them to a new inbox in
date order. He can either write a small program to suck messages into
memory, sort them, then write them out, or find a mail client which will
let him sort the view by date, tag/mark all the messages, then feed them
all _in_view_order_ to a fresh folder/mbox/mail-filing program.

that could work, tho i believe first scanning emails to build a sort table,
then pull out emails to a new file according to table would run better
than having to keep up with where emails are in memory.


He sould at first cut try that in TB, since that's what he's using:

   - view by date
   - _copy_ all messages to new folder
   - quit TB and examine the new folder to see what physical order it has

if that would work it would be great. unfortunately, thunderbird does not
work that.


The catch of course is that one can easily imagine a mail reader choosing
to do that copy in the present physical order for I/O efficiency reasons
because the mail recent author takes the view that the end user can
always view the messages in any order they like.

it does seem that is attitude of thunderbird devs because if one sorts
emails chronologically then moves or copies to new folder file, emails
will maintain order they were in original folder file.


So this approach may need to be tried in various mail readers until one
is found that acts in the view order.

been there with thunderbird. does not work.


Or one can write a program, where one has complete control. But if you
can get a mail client to do it then that will probably be faster.

such is true. also true is fact thunderbird is not such a client.



Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact).
I then tried to move a message into the huge folder.
It popped the alert banner (Yellow Triangle with a bang in it), saying:

The folder HugeFolder is full, and can't hold any more messages. To make 
room for more messages, delete any old or unwanted mail and compact the 
folder.


Hey guys, we are in the 21st century, and mozilla is still living in the 
first

incarnation of the 32bit filesystems era (I forget what year that was :) )

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread g


On 07/06/15 02:53, Cameron Simpson wrote:
 On 06Jul2015 01:22, g gel...@bellsouth.net wrote:


 it does seem that is attitude of thunderbird devs because if one sorts
 emails chronologically then moves or copies to new folder file, emails
 will maintain order they were in original folder file.
 
 Inconvenient.

inconsiderate describes better. :-)

 Or one can write a program, where one has complete control. But if you
 can get a mail client to do it then that will probably be faster.

 such is true. also true is fact thunderbird is not such a client.

 But a brief experiment here suggests that mutt _is_ such a client.
 So he couldd open the original mbox in moutt, sort the view, tag all
 messages (T.enter) then copy all tagged messages to a new folder
 (;Cnew_folderenter).

ok. that is great to know if i ever have to merge email again.

 Cheers,

!OPA!

 You see, wire telegraph is a kind of a very, very long cat. You pull his tail
 in New York and his head is meowing in Los Angeles. Do you understand this?
 And radio operates exactly the same way: you send signals here, they receive
 them there. The only difference is that there is no cat.
 - Albert Einstein, when asked to describe radio

a very wise man who believed in simplification. ;-)


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread g


On 07/06/15 11:46, jd1008 wrote:



 Add to this is that the entire mozilla libraries are still
 using 32 bit file size limits!
 Just tried it by catenating many folders into a single folder
 exceeding 4GB (11.8 GB, to be exact).
 I then tried to move a message into the huge folder.
 It popped the alert banner (Yellow Triangle with a bang in it), saying:

 The folder HugeFolder is full, and can't hold any more messages. To make 
 room for more messages, delete any old or unwanted mail and compact the 
 folder.

that is interesting, because the oos know it all's claim that there is
no limit.

looks like you may have to sort by year also.

 Hey guys, we are in the 21st century, and mozilla is still living in the 
 first
 incarnation of the 32bit filesystems era (I forget what year that was :) )

you are dreaming if you think the devs will do anything about is.


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/05/2015 11:21 PM, Cameron Simpson wrote:

On 05Jul2015 21:50, patrick o'callaghan pocallag...@gmail.com wrote:

On Sun, 2015-07-05 at 12:30 -0600, jd1008 wrote:

Too tedious 'cause there are over 100K emails :)


Take a look at formail, part of the procmail package. It might be able
to do what you want, or at least be part of the solution.


I suspect not because it only considers one message at a time.

He basicly needs to take his messages and append them to a new inbox 
in date order. He can either write a small program to suck messages 
into memory, sort them, then write them out, or find a mail client 
which will let him sort the view by date, tag/mark all the messages, 
then feed them all _in_view_order_ to a fresh folder/mbox/mail-filing 
program.


He sould at first cut try that in TB, since that's what he's using:

 - view by date
 - _copy_ all messages to new folder
 - quit TB and examine the new folder to see what physical order it has

The catch of course is that one can easily imagine a mail reader 
choosing to do that copy in the present physical order for I/O 
efficiency reasons because the mail recent author takes the view that 
the end user can always view the messages in any order they like. So 
this approach may need to be tried in various mail readers until one 
is found that acts in the view order.


Or one can write a program, where one has complete control. But if you 
can get a mail client to do it then that will probably be faster.


Cheers,
Cameron Simpson c...@zip.com.au

One of the difficulties of using either a script or a C/++ prog
to sort the messages is the following:

In earlier TB releases, the start of a message looked like this:

From - Sun Apr 06 10:43:07 2008
From - Sun Apr 06 10:47:01 2008


Shortly later it switched to this (as a result of running update):
From - Mon Apr  7 22:07:19 2008
From - Mon Apr  7 21:41:07 2008

So, my question is: is this due to a configuration setting
or is it due to TB changing the string output of the date?

If a configuration issue, I would like to set the date to be
something like this
year month day hour min secs

Thanx,

JD
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/06/2015 04:11 AM, Mark Rousell wrote:

On 05/07/2015 04:10, jd1008 wrote:

Looked for an add-on that will sort a folder by date (not for display
purposes)
but to physically re-organize a floder's messages so that they are
sorted from oldest
to most recent.

Any info on that?

You might be able to do what you want using the ImportExportTools
extension: https://freeshell.de/~kaosmos/mboximport-en.html

This extension lets you export all messages in a folder to individual
files. The filenames are customisable with time and date prefixes.

Having exported all the messages, you might well then be able to
re-import using the same tool to import in time and date order (i.e.
alphabetical order in the directory).

I've not tried doing this but it looks like it *should* work.


That's awesome. I will certainly try it!!
But if it does not work, then Cameron's (and others)
suggestion to use mutt cli mail client might be the way to go.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [389-users] Unit testing LDAP acis for fun and profit

2015-07-06 Thread Rich Megginson

On 07/04/2015 02:06 AM, William wrote:

Hi,

I am going to publish this as a blog post in the next few days on
http://firstyear.id.au

However, as it's relevant for this audience I decided to re-post it
here.


My workplace is a reasonably sized consumer of 389ds. We use it for
storing pretty much all our most important identity data from allowing
people to authenticate, to group and course membership, to email
routing and even internet access.

As a result, it's a really important service to maintain. We need to
treat it as one of the most security sensitive services we run. The
definition of security I always come back to is availability,
integrity and confidentiality. Now, we have a highly available
environment, and we use TLS with our data to ensure confidentiality of
results and queries. Integrity however, is the main target of this
post.

LDAP allows objects that exist with in the directory to bind
(authenticate) and then to manipulate other objects in the directories.
A set of ACIs (Access Control Instructions) define what objects can
modify other objects and their attributes.

ACIs are probably one of the most complex parts in a directory server
environment to get right (With the exception maybe of VLV).

I noticed during a security review of our directories ACIs that took
the following pattern.

aci: (targetattr !=cn)(version 3.0;acl Self write all but cn;allow
(write)(userdn = ldap:///self;);)
aci: (targetattr !=sn)(version 3.0;acl Self write all but sn;allow
(write)(userdn = ldap:///self;);)

Now, the rules in question we had were more complex and had more rules,
but at their essence looked like this. Seems like an innocuous set of
rules. Allow self write to everything but sn and Allow self write to
everything but cn.

So at the end we expect to see we can write everything but sn and cn.

Lets use the ldap effective permissions capability to check this:

/usr/lib64/mozldap/ldapsearch -D 'cn=Directory Manager' -w - -b
'cn=test,ou=people,dc=example,dc=net,dc=au' -J
1.3.6.1.4.1.42.2.27.9.5.2:false:dn:
cn=test,ou=people,dc=example,dc=net,dc=au (objectClass=*)

version: 1
dn: cn=test,ou=People,dc=example,dc=net,dc=au
objectClass: top
objectClass: person
cn: test
sn: test
userPassword:
entryLevelRights: v
attributeLevelRights: objectClass:rscwo, cn:rscwo, sn:rscwo,
userPassword:wo


What! Why does cn have r[ead] s[search] c[ompare] w[rite] o[bliterate]?
That was denied? Same for SN.

Well, LDAP treats ACIs as a positive union.

So we have:

aci 1 = ( objectclass, sn, userpassword)
aci 2 = ( objectclass, cn, userpassword)
aci 1 U aci 2 = ( objectclass, sn, cn, userpassword )

As a result, our seemingly secure rules, actually were conflicting and
causing our directory to be highly insecure!

So, easy to change this: First we invert the rules (be explicit in all
things) to say targetattr = userpassword for example. We shouldn't
use != rules because they can even conflict between groups and self.

How do we detect these issues though?

I wrote a python library called usl (university simple ldap). In this I
have a toolset for unit testing our ldap acis.

We create a py.test testcase, that states for some set of objects, they
should have access to some set of attributes on a second set of
objects. IE group admins should have rscwo on all other objects.

We can then run these tests and determine if this is or isn't the case.
For example, if we wrote two test cases for the above to test that
self has rscwo to all attributes or self except sn which should be
rsc and a second test self has rscwo to all attributes or self except
cn which should be rsc. Our test cases would have failed, and we would
be alerted to these issues.

As a result of these tests for our acis I was able to find many more
security issues: Such as users who could self modify groups, self
modify acis, account lockouts of other users, or even turn themselves
into a container object and create children. At the worst one aci
actually allowed objects to edit their own aci's which would have
allowed them to give themself more access potentially. The largest
offender were rules that defined targetattr != rules: Often these were
actually allowing access to write attributes that administrators would
over look.

For example, the rule above allowing all write except cn, would
actually allow access to nsAccountLock, nsSizeLimit and other object
attributes that don't show up on first inspection. The complete list is
below. (Note the addition of the '+' )


/usr/lib64/mozldap/ldapsearch -D 'cn=Directory Manager' -w - -b
'cn=test,ou=people,dc=example,dc=net,dc=au' -J
1.3.6.1.4.1.42.2.27.9.5.2:false:dn:
cn=test,ou=people,dc=example,dc=net,dc=au (objectClass=*) '+'
version: 1
dn: cn=test,ou=People,dc=example,dc=net,dc=au
entryLevelRights: v
attributeLevelRights: nsPagedLookThroughLimit:rscwo,
passwordGraceUserTime:rsc
  wo, pwdGraceUserTime:rscwo, modifyTimestamp:rscwo,
passwordExpWarned:rscwo,
  pwdExpirationWarned:rscwo, internalModifiersName:rscwo, 

Re: TB - Sort add-on

2015-07-06 Thread g


On 07/06/15 12:06, jd1008 wrote:


 These guys are really doped :)

very true. i wonder where they get their 'green'. ;-)


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/06/2015 10:49 AM, Gordon Messmer wrote:

On 07/06/2015 09:26 AM, jd1008 wrote:

One of the difficulties of using either a script or a C/++ prog
to sort the messages is the following: 

...

That shouldn't be a problem at all.  A new message is marked by a line 
that starts with From , and everything after the '-' can be parsed 
with the system date libraries.  Or ignored.  Some messages won't have 
a date on that line at all.  For those that do, that date will mark 
when Thunderbird downloaded the message, not the Date in the message, 
so it's probably not what you want anyway.

Right. The  line:
Date: Tue, 15 Oct 2013 07:30:42 -0700

is the more exact one for chronological sorting.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/06/2015 11:18 AM, Gordon Messmer wrote:

On 07/06/2015 09:46 AM, jd1008 wrote:

Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact). 


Yes, and Maildir is the intended solution to that limit, because 
compacting mbox files is an expensive operation, and incremental 
backup of mbox files is difficult or impossible depending on your 
backup software.

Well, I just wanted to underscore that the MozDev team is simply INCAPABLE
of prting the Moz libraries into the present time. They are indeed stuck 
in a time

loop of 32 bits.



Note that you *can* use a folder larger than 4GB if it is IMAP, and 
only if it is IMAP.
Certainly - because the Google server handles huge files and filesystems 
and devices.


Not sure about other mail servers.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird question

2015-07-06 Thread g


On 07/06/15 11:16, jd1008 wrote:


 I saved your message in my directory of How-To.
 Mega Thanx!
.
most welcome.

i do hope gmail will allow.



-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Gordon Messmer

On 07/06/2015 09:26 AM, jd1008 wrote:

One of the difficulties of using either a script or a C/++ prog
to sort the messages is the following: 

...

That shouldn't be a problem at all.  A new message is marked by a line 
that starts with From , and everything after the '-' can be parsed 
with the system date libraries.  Or ignored.  Some messages won't have a 
date on that line at all.  For those that do, that date will mark when 
Thunderbird downloaded the message, not the Date in the message, so it's 
probably not what you want anyway.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Puppet in Fedora 22 working?

2015-07-06 Thread chedi toueiti
The version of puppet if fedora 22 is 4.1.0 which introduced many breaking
changes. check the release notes :

https://docs.puppetlabs.com/puppet/4.0/reference/release_notes.html
https://docs.puppetlabs.com/puppet/4.1/reference/release_notes.html


If you are using vagrant, you will also need the latest version to support
puppet 4.x


On Thu, Jul 2, 2015 at 8:58 PM, Trever L. Adams 
tre...@middleearth.sapphiresunday.org wrote:

 Hello everyone,

 I was away from my installation for 6 months. I came back and upgraded
 to Fedora 22 (as Fedora 20/21 was giving me problems with FreeSWITCH and
 other things). After doing so I find that Puppet does not work. It
 doesn't seem to find any of the hiera (yaml and json backends) defined
 nodes get their catalog (they get one, but without the classes they
 should have) at all.

 Has anyone seen this? Any suggestions on how to go about remedying the
 problem?

 Thank you,
 Trever


 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org




-- 
*Chedi Toueiti*

* Due to the constant fluctuation in customer personalities, we cannot be
responsible for the mental stability of any one member of our staff.

** My opinions may have changed, but not the fact that I am right.

*** I always try to go the extra mile at work, but my boss always finds me
and brings me back.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread jd1008



On 07/06/2015 10:59 AM, g wrote:


On 07/06/15 11:46, jd1008 wrote:




Add to this is that the entire mozilla libraries are still
using 32 bit file size limits!
Just tried it by catenating many folders into a single folder
exceeding 4GB (11.8 GB, to be exact).
I then tried to move a message into the huge folder.
It popped the alert banner (Yellow Triangle with a bang in it), saying:

The folder HugeFolder is full, and can't hold any more messages. To make
room for more messages, delete any old or unwanted mail and compact the
folder.

that is interesting, because the oos know it all's claim that there is
no limit.

looks like you may have to sort by year also.


Hey guys, we are in the 21st century, and mozilla is still living in the
first
incarnation of the 32bit filesystems era (I forget what year that was :) )

you are dreaming if you think the devs will do anything about is.

It is worse than that.
In all the bugs filed against TB (and thus, indirectly against the 
Mozilla libraries)

have been closed as either insufficient data or dupplicate of some other
bug which has been closed as fixed.

These guys are really doped :)

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread g


On 07/06/15 12:03, jd1008 wrote:


 Right. The  line:
 Date: Tue, 15 Oct 2013 07:30:42 -0700

 is the more exact one for chronological sorting.

most true.

if one uses the From - , they would not be in same order
if one uses the Date:  line.

mutt is the way to go to get your sort. no need for coding.


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[389-users] Paged searches return several pages without any content

2015-07-06 Thread Marcio Costa
Hello everybody. In our company we have an environment with four directory 
servers (389-ds-base version 1.2.11.15) with multi-master replication and every 
master replicates to other six directory servers (389-ds-base version 
1.2.11.15) slaves. Our servers have a suffix and several sub-suffixes so that 
we have a root base for the root suffix and several bases and each sub-suffixes 
has its base. We are used Owncloud as cloud storage solution that authenticates 
and searches in the master servers. Certain operations for the Ownclould 
performs paged searches in directory servers. It turns out that when we point 
the Owncloud to the root suffix paged searches return several pages without any 
content and others with content. If we point to one of our sub-suffixes the 
paged search return correctly. The nsslapd-pagedsizelimit attributes, 
nsslapd-pagedlookthroughlimit and nsslapd-pagedidlistscanlimit are not 
configured for any base. The configuration of these attributes can solve the 
problem of empty pages in paged searches? If not, is there any other 
configuration that can be done to correct paged searches with empty content? 
(Below the output for the command rpm -qa | grep 389-*)

[root@dfcdsrvv1445 ~]# rpm -qa | grep 389-*
389-admin-1.1.34-1.el6.x86_64
389-ds-console-doc-1.2.7-1.el6.noarch
389-ds-base-1.2.11.15-48.el6_6.bz1161909.x86_64
389-ds-console-1.2.7-1.el6.noarch
389-admin-console-doc-1.1.8-1.el6.noarch
389-console-1.1.7-1.el6.noarch
389-admin-console-1.1.8-1.el6.noarch
389-ds-base-libs-1.2.11.15-48.el6_6.bz1161909.x86_64
389-adminutil-1.1.17-1.el6.x86_64

Thanks a lot
-- 
Marcio Costa




-


Esta mensagem do SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO), empresa 
pública federal regida pelo disposto na Lei Federal nº 5.615, é enviada 
exclusivamente a seu destinatário e pode conter informações confidenciais, 
protegidas por sigilo profissional. Sua utilização desautorizada é ilegal e 
sujeita o infrator às penas da lei. Se você a recebeu indevidamente, queira, 
por gentileza, reenviá-la ao emitente, esclarecendo o equívoco.

This message from SERVIÇO FEDERAL DE PROCESSAMENTO DE DADOS (SERPRO) -- a 
government company established under Brazilian law (5.615/70) -- is directed 
exclusively to its addressee and may contain confidential data, protected under 
professional secrecy rules. Its unauthorized use is illegal and may subject the 
transgressor to the law's penalties. If you're not the addressee, please send 
it back, elucidating the failure.
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

No audio using skype

2015-07-06 Thread jd1008

skype-4.3.0.37

Tried several test calls.

No audio!

Looked at options- Audio device.
It only shows virtual device, and no drop down menu for any other device.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [389-users] Unit testing LDAP acis for fun and profit

2015-07-06 Thread William

  I will clean up and publish the usl tool set in the future to help
  other people test their own LDAP secuity controls.
  
  
 
 Nice!  This would be a good addition to our admin/management tools, 
 if 
 you would like to submit it.  Please open a ticket and attach the 
 code 
 to it (or just point us to your github or wherever you are hosting 
 this).  Might I suggest the name audit_acis?
 

It needs a lot of work before it can be added: At the moment you have
to hand define your acis in the system to actually test.

My future work will be to make this read the set of acis and auto
-generate tests from these. This will be able to:

* Automatically find potentially conflicting acis
* List all attributes that an aci provides access to on target objects
* Make it a lot easier to drop in and use.

Once I've done this, I'll certainly make it available.

At the same time, I have some other python tools to submit also. 

Glad that you liked it!

-- 
William will...@firstyear.id.au

signature.asc
Description: This is a digitally signed message part
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: No audio using skype

2015-07-06 Thread Rick Stevens

On 07/06/2015 03:40 PM, jd1008 wrote:

skype-4.3.0.37

Tried several test calls.

No audio!

Looked at options- Audio device.
It only shows virtual device, and no drop down menu for any other device.


Make sure Skype is using PulseAudio server (local) for all three of
options (mic, speakers, ringing). Click on the Open PulseAudio Volume
Control.

While that's open, click Make a test sound on Skype and while the VU
meter associated with Skype's sounds displays in the PulseAudio window,
select the correct output sink device. You have to be quick (it's one
thing I hate about Pulse--chasing transient sounds like this).
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-I'm telling you that the kernel is stable not because it's a-
-kernel, but because I refuse to listen to arguments like this.  -
-  -- Linus Torvalds -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Cameron Simpson

On 06Jul2015 14:20, Gordon Messmer gordon.mess...@gmail.com wrote:

On 07/06/2015 02:11 PM, Cameron Simpson wrote:
I'm still amazed that TB doesn't let you use Maildirs; they're 
hardly difficult.


https://support.mozilla.org/en-US/kb/maildir-thunderbird


Oh. When did that happen? (I see it is not exposed by default.)

Thanks for the link!

Cheers,
Cameron Simpson c...@zip.com.au

Louis Pasteur's theory of germs is ridiculous fiction.
  --Pierre Pachet, Professor of Physiology at Toulouse, 1872
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Gordon Messmer

On 07/06/2015 03:39 PM, Cameron Simpson wrote:
Oh. When did that happen? (I see it is not exposed by default.) 


As far as I know, it's been there a while.  That page says it wasn't 
ready for testing prior to release 38, though I don't recall having seen 
such not ready for testing statements in the past.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: [389-users] Unit testing LDAP acis for fun and profit

2015-07-06 Thread Rich Megginson

On 07/06/2015 05:18 PM, William wrote:

I will clean up and publish the usl tool set in the future to help
other people test their own LDAP secuity controls.



Nice!  This would be a good addition to our admin/management tools,
if
you would like to submit it.  Please open a ticket and attach the
code
to it (or just point us to your github or wherever you are hosting
this).  Might I suggest the name audit_acis?


It needs a lot of work before it can be added: At the moment you have
to hand define your acis in the system to actually test.

My future work will be to make this read the set of acis and auto
-generate tests from these. This will be able to:

* Automatically find potentially conflicting acis
* List all attributes that an aci provides access to on target objects
* Make it a lot easier to drop in and use.

Once I've done this, I'll certainly make it available.

At the same time, I have some other python tools to submit also.


Looking forward to them.

Please feel free to use the 389-devel list to discuss technical 
development issues.




Glad that you liked it!



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: Replacing cpu

2015-07-06 Thread jd1008



On 06/28/2015 05:54 PM, jd1008 wrote:


Final update after installing latest BIOS version 49 from HP.

While logged into win 7, 2 minutes later, and the machine still cold,
it crashed!
And this happened 3 times.
The place I am at is a very cold cafe.
Even though outside temp is in the 90's,
here at the cafe, it is about 71 (thermostat).

So, not sure anymore it is the heat that is causing
both Fedora and win7 to crash or freeze.
I think the cpu is/has been hopelessly damaged
when the owner who sent it to me did not realize that
the fan was dead and that is why it was isuing the warning
and shutting down. Subsequent boots did not even issue
any warnings. It would  just freeze  or crash.
So, I had replaced the fan, and re-greased the cpu and heat sink's
surfaces, and cleaned the vent and vanes of the heat sink,
it continued to crash and freeze.
So I think the CPU needs to be replaced.
I found an inexpensive brand new replacement cpu for
exactly same socket as the current one.

Thanks for all of the respondents' helpful hints and links.

Cheers,

JD


Spoke too sone re: Final.

The replacement cpu arrived this morning.
Carefully removed old one, and installed new one,
applied arctic silver grease, buttoned it up (took me more than 2 hours
as I wanted to be sure EVERY cable and wire was snuggly in it's socket,
all the screws back in. No extra screws left outside :) :)

Powered up.
Lights came on.
Fan started at high speed - and about 20 to 30 seconds later it slowed
down to normal speed, HD clicked during disk initialization, the CD drived
clicked (probably bios looking for bootable media - since it is first
in boot sequence.

Waited  waited . waited. Nothing.
Screen blank!!!
Opened it again and checked the video cable.
Snugly in place.
Check all cables!
Every single one was snugly in place.
Rebooted.
No video.

Next step: replace new cpu with old one and see if it is actually
a video issue.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


mailto links under google-chrome in XFCE (Fedora 21)

2015-07-06 Thread Frank McCormick

Does anyone know how to setup Google-Chromes handling of mailto links
in webpages ?

I have run the xfce default handlier application, which has
Google-Chrome as my preferred webbrowser and Thunderbird
as my mail reader.

Everytime I click a mailto link either nothing happens, or I get the 
message failed to run MailReader (input/output error)...not much

help.

I have checked the mimelist and it has set links up this way:

[Default Applications]
text/html=userapp-google-chrome-AGO0MX.desktop
x-scheme-handler/http=exo-web-browser.desktop
x-scheme-handler/https=exo-web-browser.desktop
x-scheme-handler/about=exo-web-browser.desktop
x-scheme-handler/mailto=exo-mail-reader.desktop
application/x-extension-eml=mozilla-thunderbird.desktop


the xfce4.helpers file contains this:

MailReader=thunderbird
TerminalEmulator=xfce4-terminal
WebBrowser=google-chrome
FileManager=Thunar

There is a link in /usr/bin to thunderbird.

In the mime list the x-scheme-handlers for mailto
is exo-mail-reader.desktop, which runs MailReader

I don't understand any of this---apparently xfce changed
the way these things are handled in the latest release.

Can someone clear away the fog ?

Thanks

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Lost images in Firefox -

2015-07-06 Thread Ed Greshko
On 07/07/15 09:34, Bob Goodwin - Zuni, Virginia, USA wrote:
 My question is which of the updates has made this change and can I undo it? 

Fully updated system, with the same versions you've shown and I can use FF and 
go to http://www.foxnews.com/ with no issues.

Have you logged in as a different user?

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Replacing cpu

2015-07-06 Thread jd1008



On 07/06/2015 03:40 PM, jd1008 wrote:



On 06/28/2015 05:54 PM, jd1008 wrote:


Final update after installing latest BIOS version 49 from HP.

While logged into win 7, 2 minutes later, and the machine still cold,
it crashed!
And this happened 3 times.
The place I am at is a very cold cafe.
Even though outside temp is in the 90's,
here at the cafe, it is about 71 (thermostat).

So, not sure anymore it is the heat that is causing
both Fedora and win7 to crash or freeze.
I think the cpu is/has been hopelessly damaged
when the owner who sent it to me did not realize that
the fan was dead and that is why it was isuing the warning
and shutting down. Subsequent boots did not even issue
any warnings. It would  just freeze  or crash.
So, I had replaced the fan, and re-greased the cpu and heat sink's
surfaces, and cleaned the vent and vanes of the heat sink,
it continued to crash and freeze.
So I think the CPU needs to be replaced.
I found an inexpensive brand new replacement cpu for
exactly same socket as the current one.

Thanks for all of the respondents' helpful hints and links.

Cheers,

JD


Spoke too sone re: Final.

The replacement cpu arrived this morning.
Carefully removed old one, and installed new one,
applied arctic silver grease, buttoned it up (took me more than 2 hours
as I wanted to be sure EVERY cable and wire was snuggly in it's socket,
all the screws back in. No extra screws left outside :) :)

Powered up.
Lights came on.
Fan started at high speed - and about 20 to 30 seconds later it slowed
down to normal speed, HD clicked during disk initialization, the CD 
drived

clicked (probably bios looking for bootable media - since it is first
in boot sequence.

Waited  waited . waited. Nothing.
Screen blank!!!
Opened it again and checked the video cable.
Snugly in place.
Check all cables!
Every single one was snugly in place.
Rebooted.
No video.

Next step: replace new cpu with old one and see if it is actually
a video issue.


So, I took out the new cpu, and put back in the old cpu.
Fedora booted just fine - All is working  - but of course,
it still freezes or panics after a few minutes (2 - 5 minutes).

So, I contacted the Ebay seller 
http://www.ebay.com/usr/rakicomputers?_trksid=p2047675.l2559rakicomputers 
and reported the issue.

The seller first told me something wrong with my laptop.
So I replied that the old cpu still boots just fine - until it gets too hot
and the it freezes or crashes.
The seller did not respond.
g had replied once that I should find a reputable seller.
Well, this seller seemed to have a high rating on ebay.
S/he is a gold ribbon Top Rated Plus  seller, with 99.9% satisfaction.



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Lost images in Firefox -

2015-07-06 Thread Bob Goodwin - Zuni, Virginia, USA


This morning's DNF update did the following:

Upgrading:
 bash x86_64 4.3.39-3.fc22 
updates 1.6 M
 file-roller x86_64 3.16.3-1.fc22 
updates 911 k
 file-roller-nautilus x86_64 3.16.3-1.fc22 
updates  35 k
 libwsman1 x86_64 2.4.15-1.fc22 
updates 130 k
 openjpeg2 x86_64 2.1.0-5.fc22 
updates 108 k
 perl-CGI noarch 4.21-1.fc22 
updates 203 k
 perl-threads x86_64 1:2.02-1.fc22 
updates  57 k
 policycoreutils x86_64 2.3-17.fc22 
updates 810 k
 policycoreutils-python x86_64 2.3-17.fc22 
updates 444 k
 stunnel x86_64 5.17-1.fc22 
updates 133 k
 tigervnc-license noarch 1.4.3-8.fc22 
updates  31 k
 tigervnc-server-minimal x86_64 1.4.3-8.fc22 
updates 1.0 M
 xen-libs x86_64 4.5.1-1.fc22 
updates 490 k
 xen-licenses x86_64 4.5.1-1.fc22 
updates  92 k


Transaction Summary
==
Upgrade  14 Packages


I notice that I no longer have images when viewing fox news, not all a 
bad thing, but sometimes I want to see one. More important I can't see 
any weather radar displays, discovered that this afternoon after I heard 
a crash of thunder ... I restarted with no add-ons but that made no 
difference. I have another F-22 computer that was not updated this 
morning and it works normally.


My question is which of the updates has made this change and can I undo it?

Bob

--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10  FEDORA-22/64bit LINUX XFCE

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


What starts /usr/bin/pulseaudio?

2015-07-06 Thread jd1008

I looked in /lib/systemd and /etc/systemd, recursively,
and none of the services or dependencies have the string
pulseaudio in them.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: No audio using skype

2015-07-06 Thread jd1008



On 07/06/2015 06:23 PM, Rick Stevens wrote:

On 07/06/2015 03:40 PM, jd1008 wrote:

skype-4.3.0.37

Tried several test calls.

No audio!

Looked at options- Audio device.
It only shows virtual device, and no drop down menu for any other 
device.


Make sure Skype is using PulseAudio server (local) for all three of
options (mic, speakers, ringing). Click on the Open PulseAudio Volume
Control.

There is no such clickable button.
For all 3 mic speakers and ring, it simply shows Virtual Audio.
For each, the drop-down menu shows no alternatives.


While that's open, click Make a test sound on Skype and while the VU
meter associated with Skype's sounds displays in the PulseAudio window,
select the correct output sink device. You have to be quick (it's one
thing I hate about Pulse--chasing transient sounds like this).

There is no such tab or button.

Are you sue you are referring to version skype-4.3.0.37 ??

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread Mark Rousell
On 06/07/2015 17:53, jd1008 wrote:


 On 07/06/2015 04:11 AM, Mark Rousell wrote:
 On 05/07/2015 04:10, jd1008 wrote:
 Looked for an add-on that will sort a folder by date (not for display
 purposes)
 but to physically re-organize a floder's messages so that they are
 sorted from oldest
 to most recent.

 Any info on that?
 You might be able to do what you want using the ImportExportTools
 extension: https://freeshell.de/~kaosmos/mboximport-en.html

 This extension lets you export all messages in a folder to individual
 files. The filenames are customisable with time and date prefixes.

 Having exported all the messages, you might well then be able to
 re-import using the same tool to import in time and date order (i.e.
 alphabetical order in the directory).

 I've not tried doing this but it looks like it *should* work.

 That's awesome. I will certainly try it!!
 But if it does not work, then Cameron's (and others)
 suggestion to use mutt cli mail client might be the way to go.

Good luck. Hope it works as you need.

-- 
Mark Rousell

PGP public key: http://www.signal100.com/markr/pgp
Key ID: C9C5C162
 
 
 


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What starts /usr/bin/pulseaudio?

2015-07-06 Thread jd1008



On 07/06/2015 08:52 PM, Joe Zeff wrote:

On 07/06/2015 07:34 PM, jd1008 wrote:

I looked in /lib/systemd and /etc/systemd, recursively,
and none of the services or dependencies have the string
pulseaudio in them.


FWIW, I tried the two following commands and got nothing from either 
of them:


ps aux | grep pulse | grep -i grep
ps aux | grep audio | grep -i grep

Checking, Xfce starts it when I log in, which explains why my morning 
alarm clock doesn't sound off if my computer reboots and I haven't 
logged back in yet.

You command ought to be
ps aux | grep pulse | grep -v grep

not -i


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Replacing cpu

2015-07-06 Thread Alex Regan

Hi,


So, I contacted the Ebay seller
http://www.ebay.com/usr/rakicomputers?_trksid=p2047675.l2559rakicomputers
and reported the issue.
The seller first told me something wrong with my laptop.
So I replied that the old cpu still boots just fine - until it gets too hot
and the it freezes or crashes.
The seller did not respond.
g had replied once that I should find a reputable seller.
Well, this seller seemed to have a high rating on ebay.
S/he is a gold ribbon Top Rated Plus  seller, with 99.9% satisfaction.


so how does it feel to be among the 0.1%?

   1- contact ebay's complaint department, file a complaint
   with them.
   2- if paid by credit card, call their complaint department,
   file a complaint with them.


Usually eBay will help you, but don't forget to otherwise check if the 
CPU is in warranty, and just go directly to Intel/AMD if all else fails.


I believe you still need to ship it with the fan?

Regards,
Alex



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Replacing cpu

2015-07-06 Thread g


On 07/06/15 21:13, jd1008 wrote:


 So, I took out the new cpu, and put back in the old cpu.
 Fedora booted just fine - All is working  - but of course,
 it still freezes or panics after a few minutes (2 - 5 minutes).

 So, I contacted the Ebay seller 
 http://www.ebay.com/usr/rakicomputers?_trksid=p2047675.l2559rakicomputers 
 and reported the issue.
 The seller first told me something wrong with my laptop.
 So I replied that the old cpu still boots just fine - until it gets too hot
 and the it freezes or crashes.
 The seller did not respond.
 g had replied once that I should find a reputable seller.
 Well, this seller seemed to have a high rating on ebay.
 S/he is a gold ribbon Top Rated Plus  seller, with 99.9% satisfaction.

so how does it feel to be among the 0.1%?

  1- contact ebay's complaint department, file a complaint
  with them.
  2- if paid by credit card, call their complaint department,
  file a complaint with them.


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What starts /usr/bin/pulseaudio?

2015-07-06 Thread Joe Zeff

On 07/06/2015 07:34 PM, jd1008 wrote:

I looked in /lib/systemd and /etc/systemd, recursively,
and none of the services or dependencies have the string
pulseaudio in them.


FWIW, I tried the two following commands and got nothing from either of 
them:


ps aux | grep pulse | grep -i grep
ps aux | grep audio | grep -i grep

Checking, Xfce starts it when I log in, which explains why my morning 
alarm clock doesn't sound off if my computer reboots and I haven't 
logged back in yet.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Replacing cpu

2015-07-06 Thread jd1008



On 07/06/2015 08:54 PM, g wrote:


On 07/06/15 21:13, jd1008 wrote:



So, I took out the new cpu, and put back in the old cpu.
Fedora booted just fine - All is working  - but of course,
it still freezes or panics after a few minutes (2 - 5 minutes).

So, I contacted the Ebay seller
http://www.ebay.com/usr/rakicomputers?_trksid=p2047675.l2559rakicomputers
and reported the issue.
The seller first told me something wrong with my laptop.
So I replied that the old cpu still boots just fine - until it gets too hot
and the it freezes or crashes.
The seller did not respond.
g had replied once that I should find a reputable seller.
Well, this seller seemed to have a high rating on ebay.
S/he is a gold ribbon Top Rated Plus  seller, with 99.9% satisfaction.

so how does it feel to be among the 0.1%?

   1- contact ebay's complaint department, file a complaint
   with them.
   2- if paid by credit card, call their complaint department,
   file a complaint with them.



I plan to do both :)
This is why I use AmEx.
They fully refund for merchandise that does not work.
They are able to extract that from the merchant.
Don't ask me how :) They have done it for me before.
But B 4 I resort to AmEX, I will first try Ebay problem
resolution. Failing that, I will talk to AmEx.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Replacing cpu

2015-07-06 Thread jd1008



On 07/06/2015 09:17 PM, Alex Regan wrote:

Hi,


So, I contacted the Ebay seller
http://www.ebay.com/usr/rakicomputers?_trksid=p2047675.l2559rakicomputers 


and reported the issue.
The seller first told me something wrong with my laptop.
So I replied that the old cpu still boots just fine - until it gets 
too hot

and the it freezes or crashes.
The seller did not respond.
g had replied once that I should find a reputable seller.
Well, this seller seemed to have a high rating on ebay.
S/he is a gold ribbon Top Rated Plus  seller, with 99.9% satisfaction.


so how does it feel to be among the 0.1%?

   1- contact ebay's complaint department, file a complaint
   with them.
   2- if paid by credit card, call their complaint department,
   file a complaint with them.


Usually eBay will help you, but don't forget to otherwise check if the 
CPU is in warranty, and just go directly to Intel/AMD if all else fails.


I believe you still need to ship it with the fan?

Regards,
Alex




Nop! This is a mobile cpu. Does not come with a fan.
Seller is not AMD, so not sure if it carries and AMD warranty.
Seller says it is brand new never used.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


iptables with logging vs denyhosts

2015-07-06 Thread dwoody5654
I have been using denyhosts for almost a year. To date I have only 
prevented one person logging in and that is ME ( I used the wrong login 
name).

Also, I know of no successful break-ins.

My iptables is as follows:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-N block
-A INPUT -j block
-A FORWARD -j block
-A block -i wifi_card -p tcp -m tcp --dport 12123 -j ACCEPT
-A block -i Nic_external -p tcp -m tcp --dport 12123 -j ACCEPT
-A block -i Nic_enternal -j ACCEPT
-A block -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A block -i lo -m conntrack --ctstate NEW -j ACCEPT
-A block -j DROP

First, I think that the above will keep the bad guys out, Is that a true 
statement?


Sencondly, I have added a LOG rule just above the DROP rule and I have 
been monitoring it for about 1 1/2 weeks. As each entry is logged I have 
been adding it to /etc/hosts.deny. Currently there are 4318 ip adresses 
in the file and the number of packets that have been logged is 51592.


Denyhosts is for stopping ssh attempts and nothing else as I understand it.

Having over 4300 lines in /etc/hosts.deny causes almost no delay in 
logging in remotely.


Am I being to paranoid about keeping the bad guys out or is the iptable 
above completely adequate?


I would very much like to here your opinion on this,

David


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What starts /usr/bin/pulseaudio?

2015-07-06 Thread Ed Greshko
On 07/07/15 10:34, jd1008 wrote:
 I looked in /lib/systemd and /etc/systemd, recursively,
 and none of the services or dependencies have the string
 pulseaudio in them.

It depends on the desktop.

In KDE, kdeinit5 will call /bin/start-pulseaudio-x11 and if in 
/etc/pulse/client.conf autospawn is set to yes (default) then pulseaudio will 
be started with the parameters specified in that config file.


-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: F22: rebooting to emergency mode

2015-07-06 Thread Heinz Diehl
On 03.07.2015, Chris Murphy wrote: 

 And after that, over the weekend if you can afford to be without the
 use of this computer, run memtest86+ as long as you can stand it.
 Sometimes it takes days for problems to show up.

Most often, mprime95 is a better alternative and fails within a short
amount of time in case of failing RAM or heat problems:
http://www.mersenne.org/download/

One full hour with each of the three stress-tests (respectively) will usually
suffice.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: TB - Sort add-on

2015-07-06 Thread g


On 07/06/15 00:21, Cameron Simpson wrote:


 He basicly needs to take his messages and append them to a new inbox in
 date order. He can either write a small program to suck messages into
 memory, sort them, then write them out, or find a mail client which will
 let him sort the view by date, tag/mark all the messages, then feed them
 all _in_view_order_ to a fresh folder/mbox/mail-filing program.

that could work, tho i believe first scanning emails to build a sort table,
then pull out emails to a new file according to table would run better
than having to keep up with where emails are in memory.

 He sould at first cut try that in TB, since that's what he's using:

   - view by date
   - _copy_ all messages to new folder
   - quit TB and examine the new folder to see what physical order it has

if that would work it would be great. unfortunately, thunderbird does not
work that.

 The catch of course is that one can easily imagine a mail reader choosing
 to do that copy in the present physical order for I/O efficiency reasons 
 because the mail recent author takes the view that the end user can
 always view the messages in any order they like.

it does seem that is attitude of thunderbird devs because if one sorts
emails chronologically then moves or copies to new folder file, emails
will maintain order they were in original folder file.

 So this approach may need to be tried in various mail readers until one
 is found that acts in the view order.

been there with thunderbird. does not work.

 Or one can write a program, where one has complete control. But if you
 can get a mail client to do it then that will probably be faster.

such is true. also true is fact thunderbird is not such a client.


-- 

peace out.

-+-
If Bill Gates got a dime for every time Windows crashes...
 ...oh, wait. He does. THAT explains it!
-+-
in a world with out fences, who needs gates.
-+-

CentOS GNU/Linux 6.6

tc,hago.

g
.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org