Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Dale
Thomas Schmitt wrote:
 Hi,

 paul...@andor.dropbear.id.au wrote:
 Settings - Configure K3b - Programs
 michaelkintz...@gmail.com wrote:
 This just displays what's there.  I can't change any of the listed programs 
 from this screen.
 So one should rather repair growisofs.
 It is not a big deal.


 Have a nice day :)

 Thomas




I wonder if he can unmerge growisofs?  Or at least remove the file. 

Just a thought.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




[gentoo-user] Re: eix settings for searching all layman overlays

2013-07-10 Thread Martin Vaeth
Thanasis thana...@asyr.hopto.org wrote:

 So, if I understand correctly, I _don't_ need any settings, and I should
 remove both KEEP_VIRTUALS and REMOTE_DEFAULT, and just use the -R option

You don't need KEEP_VIRTUALS.
Whether you prefer REMOTE_DEFAULT or not is up to you.

This has nothing to do with the necessity to call eix-remote add
after eix-sync: Otherwise your local portage tree will not get
pushed to the remote database /var/cache/eix/remote.eix

If you do not use REMOTE_DEFAULT, it is only less likely
that you will notice this since you will then see the outdated
local data only if you use -R  ;)




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Thomas Schmitt
Hi,

rdalek1...@gmail.com wrote:
 I wonder if he can unmerge growisofs?  Or at least remove the file. 

In order to make it use cdrecord for DVD and BD ?

(Cough.)

growisofs is unsurpassed with DVD. I am a competitor of it
(by libburn) and believe to be able to judge its doings in
respect to the SCSI standards SPC-3 and MMC-5.

With BD it has one bug and two design decisions which i do not
agree with.
The bug is the one which i strongly believe is reported here.
We could know for sure if Alex would try the proposed fix.

The two decisions are formatting BD-R to Pseudo Overwrite capability,
and not offering writing without Defect Management to formatted BD.
Defect Management reduces write speed to at most half nominal
media speed. Pseudo Overwrite puts an extra layer of complexity
onto BD-R burning.

The bug is easily fixed, and the design decisions are features for
which the author has made his point in
  http://fy.chalmers.se/~appro/linux/DVD+RW/Blu-ray/
I do not agree, but i cannot flatly reject his reasons, either.


Have a nice day :)

Thomas




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Dale
Thomas Schmitt wrote:
 Hi,

 rdalek1...@gmail.com wrote:
 I wonder if he can unmerge growisofs?  Or at least remove the file. 
 In order to make it use cdrecord for DVD and BD ?

 (Cough.)

 growisofs is unsurpassed with DVD. I am a competitor of it
 (by libburn) and believe to be able to judge its doings in
 respect to the SCSI standards SPC-3 and MMC-5.

 With BD it has one bug and two design decisions which i do not
 agree with.
 The bug is the one which i strongly believe is reported here.
 We could know for sure if Alex would try the proposed fix.

 The two decisions are formatting BD-R to Pseudo Overwrite capability,
 and not offering writing without Defect Management to formatted BD.
 Defect Management reduces write speed to at most half nominal
 media speed. Pseudo Overwrite puts an extra layer of complexity
 onto BD-R burning.

 The bug is easily fixed, and the design decisions are features for
 which the author has made his point in
   http://fy.chalmers.se/~appro/linux/DVD+RW/Blu-ray/
 I do not agree, but i cannot flatly reject his reasons, either.


 Have a nice day :)

 Thomas





I thought it might be worth a mention as a temporary workaround.  If the
growisofs file is removed, k3b won't find it and can't use it.  Of
course, it may not work at all then either.  I'm not a k3b expert but do
use it sometimes. 

Maybe one of these ideas floating around will help the OP. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Re: eix settings for searching all layman overlays

2013-07-10 Thread Thanasis
on 07/10/2013 09:38 AM Martin Vaeth wrote the following:
 Thanasis thana...@asyr.hopto.org wrote:

 So, if I understand correctly, I _don't_ need any settings, and I should
 remove both KEEP_VIRTUALS and REMOTE_DEFAULT, and just use the -R option
 
 You don't need KEEP_VIRTUALS.
 Whether you prefer REMOTE_DEFAULT or not is up to you.
 
 This has nothing to do with the necessity to call eix-remote add
 after eix-sync: Otherwise your local portage tree will not get
 pushed to the remote database /var/cache/eix/remote.eix
 
 If you do not use REMOTE_DEFAULT, it is only less likely
 that you will notice this since you will then see the outdated
 local data only if you use -R  ;)
 

Martin, I appreciate your help, but I am still confused about the whole
eix thing.
My goal is to be able to query both local and remote data with one
command. To this end, what should the simplest configuration settings
be, and in relation to those settings, what would the sequence of
commands be for updating and then querying?




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Thomas Schmitt
Hi,

rdalek1...@gmail.com wrote:
 Maybe one of these ideas floating around will help the OP. 

One big problem is the substantial price of BD-R experiments.


Have a nice day :)

Thomas




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Mick michaelkintz...@gmail.com wrote:

   cdrecord is installed, I have no idea why k3b chose to use growisofs for
   creating the 10G isofs.
   
   I did not try cdrecord (How can I change which programs k3b uses?)
  
  Settings - Configure K3b - Programs

 This just displays what's there.  I can't change any of the listed programs 
 from this screen.

A few years ago, I have been told by the k3b people that k3b was modified to 
automatically prefer cdrecord in case it is present.

Maybe you should ask the k3b maintainer from Gentoo whether there was a Gentoo 
specific change...

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Dale rdalek1...@gmail.com wrote:


 I wonder if he can unmerge growisofs?  Or at least remove the file. 

 Just a thought.

If growisofs is not available and if cdrecord at the same time is available,
k3b should (if everything works correctly) select cdrecord.

This may be a way to go.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote:

 Hi,

 rdalek1...@gmail.com wrote:
  I wonder if he can unmerge growisofs?  Or at least remove the file. 

 In order to make it use cdrecord for DVD and BD ?

 (Cough.)

 growisofs is unsurpassed with DVD. I am a competitor of it

It seems that you are not correclty informed.

Many people reported problems even with writing DVDs using growisofs that went 
away after upgrading to cdrtools.

Note that I already mentioned that growisofs is a layzy written program that 
has many places where is returns the unly slightly modified result of a SCSI 
mode sense operation while running a SCSI mode select operation. As it only
slightly modifies the received data instead of constructing SCSI standard 
compliant data, these mode select operations do not always have the desired
effect.

This kind of problems is independent from the media type and as a result, 
growisofs of course also fails with DVDs for some users.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Dale rdalek1...@gmail.com wrote:

 I thought it might be worth a mention as a temporary workaround.  If the
 growisofs file is removed, k3b won't find it and can't use it.  Of
 course, it may not work at all then either.  I'm not a k3b expert but do
 use it sometimes. 

 Maybe one of these ideas floating around will help the OP. 

This and installing a recent version of the cdrtools should help the OP ;-)

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote:

 Hi,

 rdalek1...@gmail.com wrote:
  Maybe one of these ideas floating around will help the OP. 

 One big problem is the substantial price of BD-R experiments.

Well, I am not sure whether you noticed: the OP seems to have turned several 
BD-Rs into coasters already. I cannot speak for other people, but I did not
ruin a single BD using cdrecord.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Mick
On Wednesday 10 Jul 2013 08:57:07 Joerg Schilling wrote:
 Mick michaelkintz...@gmail.com wrote:
cdrecord is installed, I have no idea why k3b chose to use growisofs
for creating the 10G isofs.

I did not try cdrecord (How can I change which programs k3b uses?)
   
   Settings - Configure K3b - Programs
  
  This just displays what's there.  I can't change any of the listed
  programs from this screen.
 
 A few years ago, I have been told by the k3b people that k3b was modified
 to automatically prefer cdrecord in case it is present.
 
 Maybe you should ask the k3b maintainer from Gentoo whether there was a
 Gentoo specific change...

Thanks Jörg, it may well do, but since I do not burn DVDs all that often I 
can't recall what the log showed last time.  I will keep in mind to check next 
time.

-- 
Regards,
Mick


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


Re: [gentoo-user] pop up windows with text message

2013-07-10 Thread Alan McKinnon
On 09/07/2013 18:54, Joseph wrote:
 How to design a sticky note pop-up when file is present?
 
 I would like to check if file is present via and open a terminal window
 with a simple message.
 I think a simple bash script and a cron job would do the trick or is
 there a better solution?
 
 I've tried cron + bash script
 
 cron:
 32 10 * * * sh /home/joseph/xp_share/wall.sh
 
 wall.sh
 terminal
 wall file ready
 
 When I open terminal and type: terminal new windows pops up
 But if close all the terminals and run wall.sh script the terminal will
 not open.
 I get an error message: (terminal:24945): Gtk-WARNING **: cannot open
 display:
 


You want inotify for this.

You are polling something to discover if it's there, what yu really want
to do is let the kernel notify you when the event you are interested in
occurs.

There are many tools out there that interface with the kernel's inotify
system.


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




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Thomas Schmitt
Hi,

i wrote:
  One big problem is the substantial price of BD-R experiments.

joerg.schill...@fokus.fraunhofer.de wrote:
 the OP seems to have turned several BD-Rs into coasters already.

The OP reports:
   I compared each and every file on the disk with its original,
   but yould not find any problem. 

This matches Andy Polyakov's diagnosis that the media are ok
afterwards.
The flawless readbility, the timepoint of failure, and the i/o error
reported by K3b, alltogether make me believe that it is the 5 year
old bug.

Of course, everybody has to decide by himself where to invest
test media.

My proposal is to fix and test growisofs.


-
(Joerg and i know each other from many encounters in the past.
 We do not necessarily agree on technical questions. My apologies for
 getting off the original topic now.)

joerg.schill...@fokus.fraunhofer.de wrote:
 Many people reported problems even with writing DVDs using growisofs that
 went away after upgrading to cdrtools.

With some fantasy you can see the weirdest things in the mist.
(Franquin via Gaston Lagaffe)

It is not impossible that a drive refuses on one way of burn
preparation while still working with a different one.
One might get lucky with the defaults of one burn program and
experience failure with those of the other burn program.
But normally a drive is on the edge of failure if it behaves
that way. The luck may turn quite quickly then.


joerg.schill...@fokus.fraunhofer.de wrote:
 Note that I already mentioned that growisofs is a layzy written program

I would compare its style rather to BASIC than to assembler. :))
But that does not influence its SCSI standards compliance.


joerg.schill...@fokus.fraunhofer.de wrote:
 has many places where is returns the unly slightly modified result of a SCSI
 mode sense operation while running a SCSI mode select operation. As it only
 slightly modifies the received data instead of constructing SCSI standard 
 compliant data, these mode select operations do not always have the desired
 effect.

How else should one learn the current settings in order _not_
to change those which are non-changeable ?

In the source files of growisofs i can spot only one occasion
of MODE SELECT. This is in transport.hxx where Andy composes
a mode page 05 for DVD-R[W].

I read in SPC-3 6.9.3 that the drive shall throw error if one
attempts to change a non-changeable value. But not that the drive
is allowed to return values which may cause error if sent back
to the drive.

So if the code of transport.hxx is wrong, then not because it
would send back values which it got from the drive, but because
it does not inquire by PC=01b whether its self-constructed values
are allowed to be changed.
(I don't do this either. It is worth consideration, though.)


joerg.schill...@fokus.fraunhofer.de wrote:
 This kind of problems is independent from the media type

Mode page 05 is only appropriate for CD and DVD-R[W].
(MMC-5 7.5.2, 7.5.3)
So this problem is highly dependent on the media type.


Have a nice day :)

Thomas




Re: [gentoo-user] k3b burning BD-Disk pretends to fail at 99.99%

2013-07-10 Thread Joerg Schilling
Thomas Schmitt scdbac...@gmx.net wrote:

 My proposal is to fix and test growisofs.

Well, growisofs is unmaintained since 5 years. The question is whether such a 
change would be suffucuent or whether there are many more problem (see the mode 
select problem I mentioned).

 joerg.schill...@fokus.fraunhofer.de wrote:
  has many places where is returns the unly slightly modified result of a SCSI
  mode sense operation while running a SCSI mode select operation. As it only
  slightly modifies the received data instead of constructing SCSI standard 
  compliant data, these mode select operations do not always have the desired
  effect.

 How else should one learn the current settings in order _not_
 to change those which are non-changeable ?

I recommend you to read the SCSI standard and to have a look at what growisofs 
actually does. I know that the code is hard to read, so it is easy to overlook 
the problems...

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Dan Johansson
On 09.07.2013 20:00, Jarry wrote:
 Hi Gentoo-users,
 
 today I updated syslog-ng on my server. When I checked config
 file, I got this message:
 
 # /etc/init.d/syslog-ng checkconfig
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
 WARNING: Your configuration file uses an obsoleted keyword, please
 update your configuration; keyword='time_sleep', change='time_sleep()
 has been deprecated since syslog-ng 3.3' [ ok ]
 #
 
 So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
 but there is nothing about time_sleep() being obsolete
 or deprecated. Quite on the contrary: it is listed as
 valid option, and even mentioned in the chapter 17
 best practices as a way of handling lots of parallel
 connections.
 
 So how is it then? Is time_sleep() supported and valid,
 or obsolete/deprecated?

I also had some issues when I upgraded to 3.4.
Most of the warnings went away when I changed the version string in
syslog-ng.conf to @version: 3.4.

Just my 2 cents (€)
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Mick
On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
 On 09.07.2013 20:00, Jarry wrote:
  Hi Gentoo-users,
  
  today I updated syslog-ng on my server. When I checked config
  file, I got this message:
  
  # /etc/init.d/syslog-ng checkconfig
  * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
  WARNING: Your configuration file uses an obsoleted keyword, please
  update your configuration; keyword='time_sleep', change='time_sleep()
  has been deprecated since syslog-ng 3.3' [ ok ]
  #
  
  So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
  but there is nothing about time_sleep() being obsolete
  or deprecated. Quite on the contrary: it is listed as
  valid option, and even mentioned in the chapter 17
  best practices as a way of handling lots of parallel
  connections.
  
  So how is it then? Is time_sleep() supported and valid,
  or obsolete/deprecated?
 
 I also had some issues when I upgraded to 3.4.
 Most of the warnings went away when I changed the version string in
 syslog-ng.conf to @version: 3.4.
 
 Just my 2 cents (€)

The new version runs a couple of useful checks on the syntax of the 
configuration file - who would have thought that I had a duplicate directive 
in there!  O_o

-- 
Regards,
Mick


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


Re: [gentoo-user] strange eix-sync

2013-07-10 Thread Douglas J Hunley
On Tue, Jul 9, 2013 at 1:28 PM, meino.cra...@gmx.de wrote:

 rsync: failed to set permissions on /tmp/.tmpNBwK63.n6Acda: Function not
 implemented (38)


You don't have POSIX ACL )xattr) support on whatever fs you have for /tmp ?


-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3


Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Mick
On Wednesday 10 Jul 2013 11:30:08 Mick wrote:
 On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
  On 09.07.2013 20:00, Jarry wrote:
   Hi Gentoo-users,
   
   today I updated syslog-ng on my server. When I checked config
   file, I got this message:
   
   # /etc/init.d/syslog-ng checkconfig
   * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
   WARNING: Your configuration file uses an obsoleted keyword, please
   update your configuration; keyword='time_sleep', change='time_sleep()
   has been deprecated since syslog-ng 3.3' [ ok ]
   #
   
   So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
   but there is nothing about time_sleep() being obsolete
   or deprecated. Quite on the contrary: it is listed as
   valid option, and even mentioned in the chapter 17
   best practices as a way of handling lots of parallel
   connections.
   
   So how is it then? Is time_sleep() supported and valid,
   or obsolete/deprecated?
  
  I also had some issues when I upgraded to 3.4.
  Most of the warnings went away when I changed the version string in
  syslog-ng.conf to @version: 3.4.
  
  Just my 2 cents (€)
 
 The new version runs a couple of useful checks on the syntax of the
 configuration file - who would have thought that I had a duplicate
 directive in there!  O_o

Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...

However, most parses it as text.  Has something changed in less recently?
-- 
Regards,
Mick


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


Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Andrew Tselischev
On Wed, Jul 10, 2013 at 03:32:16PM +0100, Mick wrote:
 On Wednesday 10 Jul 2013 11:30:08 Mick wrote:
  On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
   On 09.07.2013 20:00, Jarry wrote:
Hi Gentoo-users,

today I updated syslog-ng on my server. When I checked config
file, I got this message:

# /etc/init.d/syslog-ng checkconfig
* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
WARNING: Your configuration file uses an obsoleted keyword, please
update your configuration; keyword='time_sleep', change='time_sleep()
has been deprecated since syslog-ng 3.3' [ ok ]
#

So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
but there is nothing about time_sleep() being obsolete
or deprecated. Quite on the contrary: it is listed as
valid option, and even mentioned in the chapter 17
best practices as a way of handling lots of parallel
connections.

So how is it then? Is time_sleep() supported and valid,
or obsolete/deprecated?
   
   I also had some issues when I upgraded to 3.4.
   Most of the warnings went away when I changed the version string in
   syslog-ng.conf to @version: 3.4.
   
   Just my 2 cents (€)
  
  The new version runs a couple of useful checks on the syntax of the
  configuration file - who would have thought that I had a duplicate
  directive in there!  O_o
 
 Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...
 
 However, most parses it as text.  Has something changed in less recently?
 -- 
 Regards,
 Mick

No, I think it's syslog-ng that puts null bytes in the log at startup.
Now I wonder, was it intended to be a feature or what...



Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Bruce Hill
On Wed, Jul 10, 2013 at 03:32:16PM +0100, Mick wrote:
  
  The new version runs a couple of useful checks on the syntax of the
  configuration file - who would have thought that I had a duplicate
  directive in there!  O_o
 
 Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...
 
 However, most parses it as text.  Has something changed in less recently?

Did you try less /var/log/syslog.log ?
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] strange eix-sync

2013-07-10 Thread meino . cramer
Douglas J Hunley doug.hun...@gmail.com [13-07-10 17:24]:
 On Tue, Jul 9, 2013 at 1:28 PM, meino.cra...@gmx.de wrote:
 
  rsync: failed to set permissions on /tmp/.tmpNBwK63.n6Acda: Function not
  implemented (38)
 
 
 You don't have POSIX ACL )xattr) support on whatever fs you have for /tmp ?
 
 
 -- 
 Douglas J Hunley (doug.hun...@gmail.com)
 Twitter: @hunleyd   Web:
 douglasjhunley.com
 G+: http://goo.gl/sajR3

Hi Douglas,

is this a newly added feature, which is needed? Since three days
(about) before it works like a charm. Beside updateing my system, I
did nothing to change the filesytem (ext4 if I remember correctly) 
or such ...

Any ideas, what triggers this sudden problem?

Best regards,
mcc






Re: [gentoo-user] hp H222 SAS controller

2013-07-10 Thread Stefan G. Weichinger
Am 08.07.2013 23:42, schrieb Alan McKinnon:

 If it makes you feel better, then by all means go through the motions
 .
 
 For my money, I reckon that's exactly what it is - motions and ritual. I
 havew any anecdotal evidence to back it up, but it's fairly strong
 anecdotal evidence:
 
 Over the last 5 years, the team I'm in, the teams we work closely with
 and the Storage guys have commissioned 1000 pieces of hardware and
 probably more than 4000 drives, the vast majority from Dell. I have no
 idea what burn-in Dell applies, if any. We've had our fair share of
 infant mortality failures, prob ably less than 20 in 5 years. And here's
 the kicker - every single one failed in production.
 
 Most of that hardware, and ALL of the SANs, went through heavy
 pre-deployment testing. Usually, this means cloning the -dev system onto
 it and running the crap out of it for a decent length of time. Once the
 techies were happy, install the production version and switch it on.
 
 I conclude that the likely reason we only found failure in prod is that
 only prod gives a decent viable test that approximates real life and dev
 is always a mere simulation. It's not usage that kills a few drives
 early, it's the almost random pattern of disk access that you get in
 real life. That tends to shake out the weak links better than any test.
 
 However, this is all anecdotal so use or discard as you see fit :-). I
 no longer worry about data loss as we have 4 hour warranty turnaround
 SLAs in place and company policy is to only deploy storage that is
 guaranteed to survive loss of any one drive in an array.

Thanks for that, good point :-)

Stefan




Re: [gentoo-user] hp H222 SAS controller

2013-07-10 Thread Stefan G. Weichinger
Am 09.07.2013 00:48, schrieb Paul Hartman:
 On Mon, Jul 8, 2013 at 1:27 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Does it make sense to apply some sort of burn-in-procedure before
 actually formatting and using the disks? Running badblocks or something?

 I ask because I wait for that shiny new server and doing so might not
 hurt before installing gentoo. Or is that too paranoid and a waste of time?
 
 Initially I ran the SMART long test and it found no errors. Then I did
 badblocks read-only scan and it found some bad sectors. After that,
 SMART tests failed to complete due to failure reading LBA x.
 I used hdparm to remap those sectors, but didn't feel entirely
 confident in the disk at that point in time.
 
 So I ran the badblocks destructive read-write test and it completed
 (after a couple days) with zero errors! How can it be?
 
 Checking the SMART statistics afterward, I can see now there are
 dozens of newly reallocated sectors. So that means the drive silently
 replaced those bad sectors with spares, which is good! That is what it
 is supposed to do! I don't feel happy about the fact that those bad
 sectors exist in the first place, but the drive did what it was
 designed to do when it encountered them.
 
 After the r/w badblocks test cycle finished, I ran SMART long-scan
 again and this time it completed with no errors.
 
 So I recommend to do the destructive read-write badblocks test, if you
 can afford the hours (or days) spent waiting for it to complete.
 
 SMART alone did not detect the errors initially, but neither did
 badblocks actually identify the errors during its write test (because
 the drive hides it). But the combination of badblocks and the
 self-repairing code in the drive's firmware accomplished the goal of
 making my disk free of errors (logically).
 
 Notes:
 
 WARNING! Be careful to give the correct device name when doing the
 badblocks write test! There is no confirmation prompt! It immediately
 starts destroying data at the beginning of the disk.
 
 If you have a disk with 4k sector size, be sure to tell badblocks to
 use a 4096 byte block size. It uses 1k block size by default, which
 can cause the test to be very slow! In my system badblocks with 1k
 block size read at 15MB/sec, while 4k block size read at over
 160MB/sec! Using 1k block size on a 4k-sector disk also causes all
 errors to be reported 4 times each.
 
 Good luck :)

Thanks for your explanations, Paul ... I will see if I have the patience
to wait for hours or days :-)

Stefan




Re: [gentoo-user] Linux viruses

2013-07-10 Thread Davide De Prisco
If you use a open source system probably you want that the community help
you with your security problems and you can help the community with bug
finder. Linux is not perfect but it's the best system that the community
can write. The community want you.
Il giorno 10/lug/2013 06:13, Dale rdalek1...@gmail.com ha scritto:

 Walter Dnes wrote:
  On Tue, Jul 09, 2013 at 08:41:21PM -0500, Dale wrote
 
  OK.  I do banking online.  I also pay my bills online along with social
  sites as well.  I use Lastpass so that I can have some really REALLY
  funky passwords.  I think I am one of few that has not had his facebook
  hacked.  Anyway, I run Gentoo which is known here.  I use
  Firefox/Seamonkey as my web browser.  So next question sort of takes us
  back to my point with the knucklehead in the store.  Am I safer, much
  safer, using Linux over windoze?  That answer would take into account
  the fact that most virus/nasty code is written for windoze and not Linux
  but also that Linux is just built with security in mind.  I belive that
  I am much safer with Linux myself.
You are safer overall.  Just watch out for XSS (cross-site-scripting),
  java, Flash, and acrobat exploits.
 


 That's my thinking but wanted a second opinion.  So far, I have never
 had anything hacked.  That includes social sites, banking and other
 financial stuff, email and other password protected stuff.  I keep
 everything updated and use browsers that are popular and updated
 frequently.  I think Lastpass helps too.  I have one good password and
 it remember the really hard ones.  So far, it works well.

 Thanks for the second opinion.  It ended up like I thought.  ;-)

 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





[gentoo-user] Put cron mail into local maildir

2013-07-10 Thread Frank Steinmetzger
Hey list

I've been reading up on how to receive mails from cron (in my case
vixie-cron). I found stuff (including in this list's archives) about
setting up sendmail (using m4, bleh) or postfix.

ATM I use msmtp in connection with mutt to send mail to external mail
providers. I “just” want cron mails delivered into a local maildir/mbox
so it appears in mutt. Do I really have to run an SMTP server for that?
Or is there some minimal tool that can be run by cron directly and which
just puts the mail into the local destination?

Cheers.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“Ask us no questions and we’ll tell you no lies.” – Fred Weasley


signature.asc
Description: Digital signature


Re: [gentoo-user] pop up windows with text message

2013-07-10 Thread Joseph

On 07/10/13 11:21, Alan McKinnon wrote:

On 09/07/2013 18:54, Joseph wrote:

How to design a sticky note pop-up when file is present?

I would like to check if file is present via and open a terminal window
with a simple message.
I think a simple bash script and a cron job would do the trick or is
there a better solution?

I've tried cron + bash script

cron:
32 10 * * * sh /home/joseph/xp_share/wall.sh

wall.sh
terminal
wall file ready

When I open terminal and type: terminal new windows pops up
But if close all the terminals and run wall.sh script the terminal will
not open.
I get an error message: (terminal:24945): Gtk-WARNING **: cannot open
display:




You want inotify for this.

You are polling something to discover if it's there, what yu really want
to do is let the kernel notify you when the event you are interested in
occurs.

There are many tools out there that interface with the kernel's inotify
system.


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


Thanks Alan, yes I'm looking into it and your are the second person who suggested to me 
inotify is the tool for the job.
I've installed inotify-tools but I think I will need to find more samples to 
make it to work :-)

I just want to monitor one file in a directory.
I usually copy the file over the network to another computer (same file name) 
I'll overwrite the file.

Once I copy the file, the system should notify a use that new file exist (a message pop-up).  If the use closes the message and will not open the file, after few 
ours I want to remind the user that the file has not been open yet.


Will it be very complicated to write a bash script like this?

--
Joseph



Re: [gentoo-user] Linux viruses

2013-07-10 Thread Dale
Davide De Prisco wrote:

 If you use a open source system probably you want that the community
 help you with your security problems and you can help the community
 with bug finder. Linux is not perfect but it's the best system that
 the community can write. The community want you.


I do that already.  I generally ask here first but if I find a bug, I
report it.  Sometimes finding the person to report it to can be
interesting but I help where I can.  I been using Linux for over a
decade now. 

I'm not much but I do what I can.  ;-)

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] pop up windows with text message

2013-07-10 Thread Wang Xuerui
2013/7/11 Joseph syscon...@gmail.com:
 I just want to monitor one file in a directory.
 I usually copy the file over the network to another computer (same file
 name) I'll overwrite the file.

 Once I copy the file, the system should notify a use that new file exist (a
 message pop-up).  If the use closes the message and will not open the file,
 after few ours I want to remind the user that the file has not been open
 yet.

 Will it be very complicated to write a bash script like this?

I once wrote a small Python script to help me with automating
Git-based deployments, but it's simple enough to be suitable for a
variety of use cases:

https://github.com/xen0n/touchmon

It allows you to specify a hook for each file observed, just make sure
the watched file exists before starting the watcher (a known
limitation). Inside the hook script (any language is OK) you can
pop-up a dialog and store a  timestamp somewhere, if the user has the
file opened for him/her. Then for the periodic notofication, maybe a
cronjob would suffice? Simply check the stored timestamp with the
current time. If polling is not what you want, you can extend the
inotify part to also monitor events like IN_OPEN or IN_ACCESS and
manipulate your timer accordingly. But be aware of false positives
like some background daemon accessing the file, as ALL opens and reads
are watched.

Hope this helps~



Re: [gentoo-user] pop up windows with text message

2013-07-10 Thread Mark David Dumlao
Btw, rather than directly opening a terminal window, you may want to
use the notify-send api / command line to do your popup. That way it
gets rendered natively by your desktop of choice, and you don't have
to fuss about searching which DISPLAY variable X is running on.

You can do something like
notify-send --app-name=foo
--icon=icon-name-in-usr-share-icons-without-the-path-and-extension
--urgency=normal|critical --expire-time=milliseconds TITLE
LONGTEXT

On Wed, Jul 10, 2013 at 12:54 AM, Joseph syscon...@gmail.com wrote:
 How to design a sticky note pop-up when file is present?

 I would like to check if file is present via and open a terminal window with
 a simple message.
 I think a simple bash script and a cron job would do the trick or is there a
 better solution?

 I've tried cron + bash script

 cron:
 32 10 * * * sh /home/joseph/xp_share/wall.sh

 wall.sh
 terminal
 wall file ready

 When I open terminal and type: terminal new windows pops up
 But if close all the terminals and run wall.sh script the terminal will not
 open.
 I get an error message: (terminal:24945): Gtk-WARNING **: cannot open
 display:

 --
 Joseph




-- 
This email is:[ ] actionable   [ ] fyi[ ] social
Response needed:  [ ] yes  [ ] up to you  [ ] no
Time-sensitive:   [ ] immediate[ ] soon   [ ] none



Re: [gentoo-user] Put cron mail into local maildir

2013-07-10 Thread Davide De Prisco
I set the mailto variable on /etc/crontab and when something go wrong a
mail is sent to my address. Is what you want?
Il giorno 11/lug/2013 03:01, Frank Steinmetzger war...@gmx.de ha
scritto:

 Hey list

 I've been reading up on how to receive mails from cron (in my case
 vixie-cron). I found stuff (including in this list's archives) about
 setting up sendmail (using m4, bleh) or postfix.

 ATM I use msmtp in connection with mutt to send mail to external mail
 providers. I “just” want cron mails delivered into a local maildir/mbox
 so it appears in mutt. Do I really have to run an SMTP server for that?
 Or is there some minimal tool that can be run by cron directly and which
 just puts the mail into the local destination?

 Cheers.
 --
 Gruß | Greetings | Qapla’
 Please do not share anything from, with or about me with any Facebook
 service.

 “Ask us no questions and we’ll tell you no lies.” – Fred Weasley