Re: What is removing files from /tmp?

2012-05-03 Thread Tim
On Wed, 2012-05-02 at 19:47 -0700, Dean S. Messing wrote:
 older files _still_ get removed from /tmp. I've rebooted at least
 once.

While I can't answer to why old files might be disappearing, other than
to check more than just *daily* CRON entries (hourly, weekly, specific
hours of the day), I'll suggest one thing:  If you want to keep /tmp
contents through a reboot, make sure that /tmp isn't mounted as tmpfs.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



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


Re: What is removing files from /tmp?

2012-05-03 Thread Dean S. Messing

Sam Varshavchik  wrote:
 Dean S. Messing writes:
 
  I'm running F15.  Files are mysteriously being removed from /tmp after a
  number of days of not being touched.  I am familiar with
  /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of
  files from /tmp.  In the past this has worked. Under F15 it has not.
 
  Two or three weeks ago I deleted it from /etc/cron.daily but older files
  _still_ get removed from /tmp. I've rebooted at least once.  I'm not
  sure if it happens at bootup or while the system is running, but
  something is still removing files from /tmp.
 
  Does anyone know of another mechanism for this?
 
 I would check for the low-hanging fruit. Exactly the nature of your  
 modifications to tmpwatch. Without knowing its history, its possible that  
 its options have changed, and your custom changes no longer do the same  
 thing they do before. Double-check the manpage. Especially since, I see,  
 /etc/cron.daily/tmpwatch is %config(noreplace), so if tmpwatch's options  
 have changed, and aren't backwards compatible, and updating the tmpwatch  
 package won't clobber the existing file, as a result the options you have in  
 there may no longer work.

Well, as I said in my OP, tmpwatch is no longer even involved.  I
removed it from /etc/cron.daily.  So unless it's ghost is still there,
I'm at loss to explain the behaviour.  FYI, my mod to tmpwatch was
merely to comment out the lines:

#/usr/sbin/tmpwatch $flags -x /tmp/.X11-unix -x /tmp/.XIM-unix \
#   -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
#   -X '/tmp/hsperfdata_*' 10d /tmp

When files continued to disappear, I moved tmpwatch out of
/etc/cron.daily.  Alas, they still do.

 Or, perhaps, gathering some more data would point to the likely culprit. If  
 the files in your tmp get deleted after a consistent period of time, that  
 would offer a clue.

They seem to disappear after about 14 days.  But it might be slightly
more or less.   Untouched files get removed.  And directories containing
untouched files get cleaned out leaving an empty dir behind.  This is just

 But, sometimes, tilting at windmills is not very productive. /tmp's never  
 meant to be used to archive anything. I wouldn't put anything in /tmp that  
 I'll want to make sure it'll still be there, tomorrow, even if nothing  
 supposed to get nuked from there for weeks. Might be easier to change one's  
 habits.

Something I've done for a decade w/o issues is hardly tilting at
windmills. Be that as it may, I have become extremely curious as to
what in F15 might be doing the deed.

 I'd create a folder in my home, or in my Desktop directory, for stuff that I  
 haven't yet decided where it needs to go, permanently.

Right now I'd simply like to understand why F15 (and I suppose F16)
behaves this way.  F13 and prior certainly didn't.  I never ran F14.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Dean S. Messing

Joe Zeff wrote:
 On 05/02/2012 08:44 PM, Dean S. Messing wrote:
  Now that you know my dirty little secret, can you tell me what could be
  gratuitously cleaning /tmp?
 
 Thank you for satisfying my curiosity.  Alas, the only thing I could 
 have suggested is tmpwatch, and you've already eliminated that as a 
 possibility.  However, now that I think about it, do you have BleachBit 
 set to run at boot, or any other time automatically?  If so, it might be 
 set to clear /tmp.

I was unaware of BleachBit.  Unfortunately, both

   locate -i bleach

and

  rpm -qa | fgrep -i bleach

return the null string.  Thanks for the suggestion.
This is really quite frustrating.  It's like I have
a daemon on my system.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Dean S. Messing

On Thu, 03 May 2012 at 15:40:40, Tim wrote:
 While I can't answer to why old files might be disappearing, other than
 to check more than just *daily* CRON entries (hourly, weekly, specific
 hours of the day), I'll suggest one thing:  If you want to keep /tmp
 contents through a reboot, make sure that /tmp isn't mounted as tmpfs.

Thanks.  Checked those.  weekly is empty.  hourly contains the anacron
trigger file and  mcelog.cron which contains only comments.

Not sure what you mean by specific hours of the day.  I don't know how
to tell when a file is removed from /tmp/, if that's what you mean.

/tmp is not mounted at all on my system.  It is a merely an ordinary
subdir of /.

Thanks for the suggestions.
Keep 'em coming.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Ed Greshko
On 05/03/2012 12:05 PM, Joe Zeff wrote:
 do you have BleachBit set to run at boot, or any other time automatically?  
 If so,
 it might be set to clear /tmp. 

It does not appear that bleachbit is in the Fedora repositories or rpmfusion.  
Seems
if one wanted to install it they would have had to downloaded it from 
sourceforge and
configured it.  Would be hard to forget thatI hope.  :-) :-)

-- 
Never be afraid to laugh at yourself, after all, you could be missing out on 
the joke
of the century. -- Dame Edna Everage
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What is removing files from /tmp?

2012-05-03 Thread Frank Murphy

On 03/05/12 07:40, Ed Greshko wrote:

On 05/03/2012 12:05 PM, Joe Zeff wrote:

do you have BleachBit set to run at boot, or any other time automatically?  If 
so,
it might be set to clear /tmp.


It does not appear that bleachbit is in the Fedora repositories or rpmfusion.  
Seems
if one wanted to install it they would have had to downloaded it from 
sourceforge and
configured it.  Would be hard to forget thatI hope.  :-) :-)



http://koji.fedoraproject.org/koji/packageinfo?packageID=8886

--
Regards,
Frank
Jack of all, fubars
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


acer t231h support

2012-05-03 Thread Mihamina Rakotomandimby

Hi all

I would like to buy an Acer T231H and would like to know if there is any 
chance the touch feature is supported.


It's a touch screen, with multitouch (zoom) and slide feature, but 
with a Windows driver: is there any Fedora package to fully use it?


https://www.google.com/search?q=acer+t231h+linux shows me some old 
problems, but in these later mid-2012?


Thank you.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Jon Ingason

2012-05-03 08:40, Ed Greshko skrev:

On 05/03/2012 12:05 PM, Joe Zeff wrote:

do you have BleachBit set to run at boot, or any other time automatically?  If 
so,
it might be set to clear /tmp.


It does not appear that bleachbit is in the Fedora repositories or rpmfusion.  
Seems
if one wanted to install it they would have had to downloaded it from 
sourceforge and
configured it.  Would be hard to forget thatI hope.  :-) :-)



yum search BleachBit
...
=== N/S matchade: BleachBit 

bleachbit.noarch : Remove unnecessary files, free space, and maintain 
privacy


So bleachbit is in the Fedora 16 ;-) (Repo fedora)

--
Regards
Jon Ingason
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 18 release name

2012-05-03 Thread Wilfredo Porta
It's not a bad idea naming a fedora release after Dennis Ritchie as a
tribute. I think is a great idea.
El 02/05/2012 19:12, Antonio Olivares olivares14...@yahoo.com escribió:



 --- On Wed, 5/2/12, Chris Adams cmad...@hiwaay.net wrote:

  From: Chris Adams cmad...@hiwaay.net
  Subject: Re: Fedora 18 release name
  To: Community support for Fedora users users@lists.fedoraproject.org
  Date: Wednesday, May 2, 2012, 3:13 PM
  Once upon a time, Alan Cox a...@lxorguk.ukuu.org.uk
  said:
   You can have fun with physicists 8)
 
  As a mathematician, I look at spherical and want to ask if
  Fedora
  accepts the Axiom of Choice - if so, we can have two
  identical spherical
  cows, but who really wants to decompose a cow to get
  there.  Of course,
  we'd have to call F19 Banach-Tarski!
 
  --

 Sorry to disagree!, but if we allow Mathematicians' names here, I have
 some others that are far greater than Banach and Tarski, take

 F19 Euclid -  Greatest Geometer of all time
 F19 Archimedes

 take Paul Erdös, Euler, Riemann, Gauss, All would be great here :)

 Sadly, though Spherical you would be correct sir, I also thought about
 Lobachevsky, but he apparently did work on HyperBolic Geometries :)

 But to get back at the naming, How about the tribute to Denis Ritchie, was
 the next version of Fedora going to be named in his honor, since he was one
 of the pioneers of C/C++ and the Unix operating system which is the
 prototype of the system that we are using?

 Just like the American Political System, we have no voice and no vote :(,
 the Ruling Elite are the ones that chose names and vote, us the users are
 the ones that have to end up with whatever others choose if we are not part
 of the Ruling Elite :(  Is there an electoral college in the Fedora
 voting?  Because if there is, the majority does not get to choose the name
 :(

 Best Regards,


 Antonio


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

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


Re: gnome3 crash at login

2012-05-03 Thread Antonio M
2012/5/2 dave perry skida...@mindspring.com

 The following gnome3 crash occurs when attempting to log in to my personal
 account.  Gnome3 presents the log-in screen with my user name selected.
  When I enter my password and press enter, the crash occurs.

 On screen I see a frowning monitor and

 Oh no!  Something has gone wrong.

 A problem has occurred and the system can't recover.
 Please log out and try again.

 Since I can still log in to other accounts, I assume there is something
 causing the crash in one of the hidden files or folders.  This began to
 happen a few weeks ago after a yum update.

 Where to begin to isolate what changed?

 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.**org/mailman/listinfo/usershttps://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: 
 http://fedoraproject.org/wiki/**Mailing_list_guidelineshttp://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org



try to disable selinux with selinux=0 at boot-time and see what happens
-- 
Antonio Montagnani
Skype : amontag52

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


Re: What is removing files from /tmp?

2012-05-03 Thread Ed Greshko
On 05/03/2012 02:54 PM, Jon Ingason wrote:
 yum search BleachBit
 ...
 === N/S matchade: BleachBit 
 
 bleachbit.noarch : Remove unnecessary files, free space, and maintain privacy

 So bleachbit is in the Fedora 16 ;-) (Repo fedora)

That's weird  must have had a network hiccup when I first checked.

-- 
Never be afraid to laugh at yourself, after all, you could be missing out on 
the joke
of the century. -- Dame Edna Everage
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Cannot mount usb floppy

2012-05-03 Thread Fernando Cassia
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0aec:3260 Neodio Technologies Corp. 7-in-1 Card
Reader
Bus 002 Device 023: ID 0424:0fdc Standard Microsystems Corp. Floppy

(clicking noises)

#dmesg

[37282.875102] scsi 15:0:0:0: Direct-Access SMSC USB FDC
2.10 PQ: 0 ANSI: 0 CCS
[37282.877379] sd 15:0:0:0: Attached scsi generic sg5 type 0
[37284.213025] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37284.986062] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37285.761067] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37287.297044] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37288.836053] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37290.373049] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37291.904037] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37293.437042] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37294.974053] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37296.510051] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37298.047033] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37299.582025] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37301.112045] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37302.649030] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37304.185050] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37305.720087] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37307.257047] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37308.795036] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37310.327031] usb 2-3: reset full-speed USB device number 18 using ohci_hcd
[37311.864049] usb 2-3: reset full-speed USB device number 18 using ohci_hcd

The device that initially shows in lsusb is later removed.

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0aec:3260 Neodio Technologies Corp. 7-in-1 Card
Reader

Thoughts? comments? the same unit works fine when connected to a winXP
machine

FC


-- 
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 18 release name

2012-05-03 Thread jarmo
Wed, 02 May 2012 20:23:11 -0700
Joe Zeff j...@zeff.us kirjoitti:

 On 05/02/2012 07:01 PM, Antonio Olivares wrote:
  Spherical Cows, would other animals want to get in Fedora naming
  schemes for next versions of Fedora?
 
 Smiling Kzinti?

Äkäsjärvinen Äimänkäki= :D
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Cannot mount usb floppy

2012-05-03 Thread Joe Zeff

On 05/03/2012 12:41 AM, Fernando Cassia wrote:

Thoughts? comments? the same unit works fine when connected to a winXP
machine


OK, the device itself is good.  Have you connected any other usb devices 
to that port to make sure the port's good?  Not that I think it isn't, 
but it never hurts to be sure.

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


Re: Cannot mount usb floppy

2012-05-03 Thread Fernando Cassia
On Thu, May 3, 2012 at 4:54 AM, Joe Zeff j...@zeff.us wrote:

 OK, the device itself is good.  Have you connected any other usb devices
 to that port to make sure the port's good?  Not that I think it isn't, but
 it never hurts to be sure.


Yes, pen drives. Those work. Odd.

I have in /etc/fstab

/dev/fd0 /mnt/floppy auto rw,sync,user,noauto,nosuid,exec,nodev 0 0

After all these years (my first Linux was Caldera in 1999) I find it
mind-blowing that mounting devices is still the same mess as usual when
every other modern OS detects and mounts devices automagically

Oh well...
FC
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What is removing files from /tmp?

2012-05-03 Thread Reindl Harald


Am 03.05.2012 08:40, schrieb Ed Greshko:
 On 05/03/2012 12:05 PM, Joe Zeff wrote:
 do you have BleachBit set to run at boot, or any other time automatically?  
 If so,
 it might be set to clear /tmp. 
 
 It does not appear that bleachbit is in the Fedora repositories or rpmfusion. 
  Seems
 if one wanted to install it they would have had to downloaded it from 
 sourceforge and
 configured it.  Would be hard to forget thatI hope.  :-) :-)

says who?

--- Paket bleachbit.noarch 0:0.8.7-1.fc16 markiert, um installiert zu werden
-- Abhängigkeitsauflösung beendet

Abhängigkeiten aufgelöst

=
 Package  Arch  Version 
 Repository
Größe
=
Installieren:
 bleachbitnoarch0.8.7-1.fc16
 fedora
307 k







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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Fedora 18 release name

2012-05-03 Thread Alan Cox
 Just like the American Political System, we have no voice and no vote :(,

With all due respect you don't pay taxes either 8)

If you contribute work to the project you do get a vote.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Ed Greshko
On 05/03/2012 04:38 PM, Reindl Harald wrote:
 says who?

Said meand later corrected.  Maybe read all message in the thread?  :-) :-)

-- 
Never be afraid to laugh at yourself, after all, you could be missing out on 
the joke
of the century. -- Dame Edna Everage
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Encrypting swap

2012-05-03 Thread Konstantin Svist

I'm setting up a laptop with encrypted btrfs root.
Problem is, I can't seem to find a way to encrypt the swap so that it 
would be usable for hibernation.


* Simple setup for encrypting swap uses a random key generated on each 
boot, so resuming doesn't work.
* Using the same key for swap  root is not recommended because some 
tool caches the password, making the whole thing meaningless [1]
* Using a swap file doesn't work because btrfs is Copy-On-Write, so the 
filesystem may get messed up by hibernate/resume process.


I'm not sure if the same key problem exists in Fedora 16, I've tried 
setting it up this way and I'm able to boot but not resume.


Any help appreciated!



[1] 
https://wiki.archlinux.org/index.php/Talk:System_Encryption_with_LUKS_for_dm-crypt#Suspend_to_disk_instructions_are_insecure

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


Re: What is removing files from /tmp?

2012-05-03 Thread John Horne
On Wed, 2012-05-02 at 19:47 -0700, Dean S. Messing wrote:
 I'm running F15.  Files are mysteriously being removed from /tmp after a
 number of days of not being touched.  I am familiar with
 /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of
 files from /tmp.  In the past this has worked. Under F15 it has not.
 
 Two or three weeks ago I deleted it from /etc/cron.daily but older files
 _still_ get removed from /tmp. I've rebooted at least once.  I'm not
 sure if it happens at bootup or while the system is running, but
 something is still removing files from /tmp.
 
 Does anyone know of another mechanism for this?
 
Take a look in /var/spool/cron to see if some user crontab (like root)
is running tmpwatch or deleting the files. Also perhaps a check
of /etc/rc.local to see if something is causing this.

 I'm not sure if it happens at bootup or while the system is running

I would say add a file to /tmp, leave it a while, check it is still
present then reboot. After bootup see if it is still there.

If the problem isn't rebooting, then perhaps setup a cron job to monitor
the files' existence (say check every few minutes) and email you when it
has gone. It may give you more of an idea of when things are being
deleted. You can also check /var/log/cron to see if some cron job is
running causing the deletion at the time.




John.

-- 
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287Fax: +44 (0)1752 587001

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


Re: What is removing files from /tmp?

2012-05-03 Thread Michael Schwendt
On Wed, 02 May 2012 19:47:03 -0700, DSM (Dean) wrote:

 
 I'm running F15.  Files are mysteriously being removed from /tmp after a
 number of days of not being touched.  I am familiar with
 /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of
 files from /tmp.  In the past this has worked. Under F15 it has not.
 
 Two or three weeks ago I deleted it from /etc/cron.daily but older files
 _still_ get removed from /tmp. I've rebooted at least once.  I'm not
 sure if it happens at bootup or while the system is running, but
 something is still removing files from /tmp.
 
 Does anyone know of another mechanism for this?

At least with recent systemd versions, there is the systemd-tmpfiles-clean
service. Dunno whether it's available in F15. And it defaults to 10 days
not 14, I think: man tmpfiles.d

-- 
Fedora release 17 (Beefy Miracle) - Linux 3.3.4-1.fc17.x86_64
loadavg: 1.93 1.83 1.25
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Grub2 MBR issues

2012-05-03 Thread Michael Schwendt
On Wed, 2 May 2012 16:46:25 -0400, JR (Jeffrey) wrote:

 
  My concern is if I were to loose /dev/sda I want to be able to boot via
  /dev/sdb.
 
  yes, because /dev/sda does NOt have GRUB, /dev/sdb has
 
  Or am I reading the output from file wrong and its actually /dev/sda
  that
  doesn't have grub2 installed on it?
 
  you see GRand Unified Bootloader on /dev/sdb and not on /dev/sda
  no idea howyou are interpreting your outputs
 
 
 
 ok, misinformation from this post?
 http://lists.fedoraproject.org/pipermail/users/2012-February/414336.html
 
 Now the question is who is right?  I'm starting to believe the post I
 quoted above is incorrect.

Certainly.  Not only do you refer to a post that's a few months old.
For your /dev/sdb, file said GRand Unified Bootloader, which means
it detected GRUB. Then you reinstalled GRUB to sdb only to find that
file still detects a GRand Unified Bootloader while you expected it
to not do that. That's been a weird assumption, IMO, leading to a wrong
conclusion.

-- 
Fedora release 17 (Beefy Miracle) - Linux 3.3.4-1.fc17.x86_64
loadavg: 0.06 0.08 0.22
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


What is removing files from /tmp?

2012-05-03 Thread Andre Robatino
Dean S. Messing deanm at sharplabs.com writes:

 Not sure what you mean by specific hours of the day.  I don't know how
 to tell when a file is removed from /tmp/, if that's what you mean.

yum install inotify-tools

man inotifywait

You could write a little script that saves ps output at the instant a file gets
deleted.




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


Re: XFCE Login Freeze

2012-05-03 Thread Jonathan Allen
Joe Zeff said:
 /home/user/.xsession-errors would be another good place to check.

Here is it - should that tell me how to go forward?  The signal 15 is
when I terminated the xfce session from a root console session.

Jonathan
+++

/usr/bin/startxfce4: X server already running on display :0
ssh-agent is already running; starting gpg-agent without ssh support
xfdesktop[1438]: starting up
xfce4-settings-helper: Another instance is already running. Leaving...
Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config 
file:'/home/tabitha/.config/tracker/tracker-miner-fs.cfg'
Starting log:
  File:'/home/tabitha/.local/share/tracker/tracker-miner-fs.log'
GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
SELinux Troubleshooter: Applet requires SELinux be enabled to run.
Initializing tracker-store...
** Message: applet now removed from the notification area
Tracker-Message: Setting up monitor for changes to config 
file:'/home/tabitha/.config/tracker/tracker-store.cfg'
abrt-applet: glib  2.31 - init threading
Tracker-Message: Setting up monitor for changes to config 
file:'/home/tabitha/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/tabitha/.local/share/tracker/tracker-store.log'
GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
GPG_AGENT_INFO=/tmp/keyring-gzQ2UL/gpg:0:1

(tracker-store:1541): Tracker-CRITICAL **: D-Bus service 
name:'org.freedesktop.Tracker1' is already taken, perhaps the daemon is already 
running?
GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
GPG_AGENT_INFO=/tmp/keyring-gzQ2UL/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-gzQ2UL/ssh

(xfce4-settings-helper:1569): libxfce4ui-WARNING **: ICE I/O Error

(xfce4-settings-helper:1569): libxfce4ui-WARNING **: Disconnected from session 
manager.
/etc/xdg/xfce4/xinitrc: line 221:  1426 Terminated  xfce4-session
running 'pkill -INT ^gpg-agent$; rm -f /home/tabitha/.cache/gpg-agent-info'
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.
Thunar: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfce4-settings-helper: Fatal IO error 11 (Resource temporarily unavailable) on 
X server :0.0.

(polkit-gnome-authentication-agent-1:1447): Gdk-WARNING **: 
polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily 
unavailable) on X server :0.0.

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying 
GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15

(nm-applet:1457): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource 
temporarily unavailable) on X server :0.0.

abrt-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
ABRT service is not running
applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server 
:0.0.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying 
GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
xfwm4: Fatal IO error 2 (No such file or directory) on X server :0.0.

(xfdesktop:1438): libxfce4ui-WARNING **: ICE I/O Error

(xfdesktop:1438): libxfce4ui-WARNING **: Disconnected from session manager.
migrate: Fatal IO error 0 (Success) on X server :0.0.
No protocol specified
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Cannot mount usb floppy

2012-05-03 Thread Mikkel L. Ellertson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/03/2012 02:59 AM, Fernando Cassia wrote:


 On Thu, May 3, 2012 at 4:54 AM, Joe Zeff j...@zeff.us
mailto:j...@zeff.us wrote:

 OK, the device itself is good. Â Have you connected any other usb
devices to that port to make sure the port's good? Â Not that I
think it isn't, but it never hurts to be sure.


 Yes, pen drives. Those work. Odd.

 I have in /etc/fstab

 /dev/fd0 /mnt/floppy auto rw,sync,user,noauto,nosuid,exec,nodev 0 0

 After all these years (my first Linux was Caldera in 1999) I find
it mind-blowing that mounting devices is still the same mess as
usual when every other modern OS detects and mounts devices
automagically

 Oh well...
 FC



One thing to keep in mind is that a USB floppy drive will not be
/dev/fd0. It will show up as a SCSI drive. I believe that yours
showed up as /dev/sdg.

Mikkel
- -- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+ia74ACgkQqbQrVW3JyMQqVQCdHD7SJ2co8XOHMVCNzno+emyV
AmwAn0AUTKwzEs29yBy4mlxdVlPVkgPS
=uPxP
-END PGP SIGNATURE-

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


[389-users] 389 and Samba integration on Centos 6

2012-05-03 Thread Alberto Suárez

Hello:

I think I have succeded in setting up 389ds on Centos 6.2. Now I would 
like to integrate samba with 389. Is there any documentation available 
that explains how to do it?


Thank you!

Alberto Suárez.
--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Strange: Adobe Reader messages in Chinese or Japanese?

2012-05-03 Thread Timothy Murphy
I'm running Adobe Reader 8 under Fedora-16,
and recently many of the messages from the Reader
appear in either Chinese or Japanese, I don't know which.

I wonder if anyone else has encountered this?
And if so, how one can stop it?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


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


Re: gnome3 crash at login

2012-05-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/03/2012 03:00 AM, Antonio M wrote:
 
 
 2012/5/2 dave perry skida...@mindspring.com
 mailto:skida...@mindspring.com
 
 The following gnome3 crash occurs when attempting to log in to my personal 
 account.  Gnome3 presents the log-in screen with my user name selected. 
 When I enter my password and press enter, the crash occurs.
 
 On screen I see a frowning monitor and
 
 Oh no!  Something has gone wrong.
 
 A problem has occurred and the system can't recover. Please log out and try
 again.
 
 Since I can still log in to other accounts, I assume there is something 
 causing the crash in one of the hidden files or folders.  This began to 
 happen a few weeks ago after a yum update.
 
 Where to begin to isolate what changed?
 
 -- users mailing list users@lists.fedoraproject.org
 mailto:users@lists.fedoraproject.org To unsubscribe or change
 subscription options: 
 https://admin.fedoraproject.__org/mailman/listinfo/users 
 https://admin.fedoraproject.org/mailman/listinfo/users Guidelines:
 http://fedoraproject.org/wiki/__Mailing_list_guidelines 
 http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question?
 Ask away: http://ask.fedoraproject.org
 
 
 
 try to disable selinux with selinux=0 at boot-time and see what happens --
  Antonio Montagnani Skype : amontag52
 
 Linux Fedora 16 Verne
 
 
Please do not recommend people turn SELinux off if a problem happens,  you can
ask them to put SELinux into permissive mode by executing # setenforce 0, if
they can get to the root shell.  Or you can use the boot flag enforcing=0
which will boot with SELinux in permissive mode.

Another thing to look at if you believe SELinux is causing havoc in your
homedir, is run restorecon -R -v /home

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+ig7AACgkQrlYvE4MpobPAdACcDG09zJurOx4gevTzrtaennlg
9ToAnR7sOJknc112hQwSV3wt2XDCYTx0
=Run7
-END PGP SIGNATURE-
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange: Adobe Reader messages in Chinese or Japanese?

2012-05-03 Thread Ed Greshko
On 05/03/2012 08:57 PM, Timothy Murphy wrote:
 I'm running Adobe Reader 8 under Fedora-16,
 and recently many of the messages from the Reader
 appear in either Chinese or Japanese, I don't know which.

 I wonder if anyone else has encountered this?
 And if so, how one can stop it?


Well, I'm using Adobe Reader on F16but version 9.5.1.  I am not seeing the 
issue
you've described.  Have you considered upgrading the the latest version?



-- 
Never be afraid to laugh at yourself, after all, you could be missing out on 
the joke
of the century. -- Dame Edna Everage
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What is removing files from /tmp?

2012-05-03 Thread Greg Woods
On Thu, 2012-05-03 at 11:40 +0800, Ed Greshko wrote:

 When someone on this list asks for help in modifying a behavior to suit their
 needs/desires why are they often asked to justify their requests? 

Probably because the intent is not to justify but to clarify, and we
geeks are often fairly blunt about how we phrase things. As a sysadmin,
I frequently have users ask how to do something, and I often have to ask
them to clarify what they are really trying to accomplish, because often
what they have asked me how to do is far from the best way to accomplish
their real goal. The users are practicing medicine without a license (or
in this case, misdiagnosing the issue).

Here's a dumb example: it's like somebody asking how to survive cutting
off a finger. If what they really want is for the hangnail to stop
hurting, you certainly wouldn't advise them to cut off the finger! SO
when somebody at work asks me how to do something that seems analagous
to cutting off a finger, I respond by asking them what it is they are
really trying to accomplish. If somebody has already started down the
wrong path, the best way out of the forest may very well be to backtrack
a bit first.

--Greg


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


iptables recent / more than one exception

2012-05-03 Thread Reindl Harald
is there any way to specify here more than one source-address
(the usual comma seperated way does not work in this context)

a complete ACCEPT before is no solution because it would bypass
any selective ACCEPT-rule

iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
recent --set
iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
recent --update --seconds 1 --hitcount
75 -j REJECT --reject-with tcp-reset




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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Cannot mount usb floppy

2012-05-03 Thread Joe Zeff

On 05/03/2012 12:59 AM, Fernando Cassia wrote:

Yes, pen drives. Those work. Odd.


Not odd at all.  It just means that your hardware is fine.  Have you 
tried commenting out the floppy line in fstab and trying again?  It's 
possible that there's something in it that's making trouble.

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


Re: What is removing files from /tmp?

2012-05-03 Thread Michael Hennebry

On Thu, 3 May 2012, Ed Greshko wrote:


On 05/03/2012 11:24 AM, Jeoe Zeff wrote:

On 05/02/2012 07:47 PM, Dean S. Messing wrote:

Does anyone know of another mechanism for this?


Just out of curiosity, why don't you want files to be removed from /tmp?



When someone on this list asks for help in modifying a behavior to suit their
needs/desires why are they often asked to justify their requests?  In this 
case, and


I've been on the receiving end, so I've felt your pain.
Often it's just a rude Don't do that..

In this case, curiosity might have been inspired by your
desire to defeat a purpose for which something exists.
I'd have been inclined to include the inspiration along with the question.

Sometimes the right answer is
you can do that if you really want, but it's dangerous and it's a lot of
work with hard to explain details that depend on what you want it for.

Once upon a time, someone asked how to remove all traces of gnome.

Sometimes it's just a matter of religion.
Ask a question about using labels instead of UUIDs.


in may others, I can't see that seeking/offering justification will help in 
finding a
solution.


In this case, it might be helpful with a work around.

If you disapprove of cleaning, you might consider creating
a /clutter with the same permissions as /tmp .

--
Michael   henne...@web.cs.ndsu.nodak.edu
On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword.  --  Lily
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What is removing files from /tmp?

2012-05-03 Thread T.C. Hollingsworth
On Thu, May 3, 2012 at 2:34 AM, Michael Schwendt mschwe...@gmail.com wrote:
 On Wed, 02 May 2012 19:47:03 -0700, DSM (Dean) wrote:
 I'm running F15.  Files are mysteriously being removed from /tmp after a
 number of days of not being touched.  I am familiar with
 /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of
 files from /tmp.  In the past this has worked. Under F15 it has not.

 Two or three weeks ago I deleted it from /etc/cron.daily but older files
 _still_ get removed from /tmp. I've rebooted at least once.  I'm not
 sure if it happens at bootup or while the system is running, but
 something is still removing files from /tmp.

 Does anyone know of another mechanism for this?

 At least with recent systemd versions, there is the systemd-tmpfiles-clean
 service. Dunno whether it's available in F15. And it defaults to 10 days
 not 14, I think: man tmpfiles.d

Yes, F15 has this too.

As that man page indicates, you can exclude directories or files from
being cleaned with the 'x' type.  So, create a file
/etc/tmpfiles.d/dont-clean-tmp-damnit.conf or such and put 'x /tmp' in
it and systemd will stop cleaning your /tmp.

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


Re: iptables recent / more than one exception

2012-05-03 Thread Paul W. Frields
On Thu, May 03, 2012 at 04:21:20PM +0200, Reindl Harald wrote:
 is there any way to specify here more than one source-address
 (the usual comma seperated way does not work in this context)
 
 a complete ACCEPT before is no solution because it would bypass
 any selective ACCEPT-rule
 
 iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
 recent --set
 iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
 recent --update --seconds 1 --hitcount  75 -j REJECT --reject-with tcp-reset

Even when you use comma-separated addresses (allowed when not using
the '!' operator), iptables actually creates separate rules in
response to the command.  I believe that's what you need to do in this
situation.

-- 
Paul W. Frieldshttp://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
The open source story continues to grow: http://opensource.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: iptables recent / more than one exception

2012-05-03 Thread Reindl Harald


Am 03.05.2012 19:46, schrieb Paul W. Frields:
 On Thu, May 03, 2012 at 04:21:20PM +0200, Reindl Harald wrote:
 is there any way to specify here more than one source-address
 (the usual comma seperated way does not work in this context)

 a complete ACCEPT before is no solution because it would bypass
 any selective ACCEPT-rule

 iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
 recent --set
 iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
 recent --update --seconds 1 --hitcount  75 -j REJECT --reject-with tcp-reset
 
 Even when you use comma-separated addresses (allowed when not using
 the '!' operator), iptables actually creates separate rules in
 response to the command.  I believe that's what you need to do in this
 situation

in theory yes
but practically the reject of this rule would be triggered

a secuity auditor from a customer is whining the he no longer
can make security-scans and it will get hard to arue that
we can not whitelist him in this case :-(



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
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


(SOLVED [maybe]) Re: What is removing files from /tmp?

2012-05-03 Thread Dean S. Messing
On Thu, 3 May 2012 at 11:34:03, Michael Schwendt wrote:
 On Wed, 02 May 2012 19:47:03 -0700, DSM (Dean) wrote:
 
  
  I'm running F15.  Files are mysteriously being removed from /tmp after a
  number of days of not being touched.  I am familiar with
  /etc/cron.daily/tmpwatch and, in fact, modify it to inhibit removal of
  files from /tmp.  In the past this has worked. Under F15 it has not.
  
  Two or three weeks ago I deleted it from /etc/cron.daily but older files
  _still_ get removed from /tmp. I've rebooted at least once.  I'm not
  sure if it happens at bootup or while the system is running, but
  something is still removing files from /tmp.
  
  Does anyone know of another mechanism for this?
 
 At least with recent systemd versions, there is the systemd-tmpfiles-clean
 service. Dunno whether it's available in F15. And it defaults to 10 days
 not 14, I think: man tmpfiles.d

Sorry for not responding till now.  I'm traveling and away from the
offending system.  But I do believe that you have found the culprit.
I just remotely logged onto my F15 system at work and found

 /usr/lib/tmpfiles.d/systemd.conf

which contains this line:

  d /tmp 1777 root root 10d


Knowing NOTHING about systemd or this file format (yet), I'm taking
the wild guess that the initial d stands for delete.  I will read up
on this stuff, and verify that it is the cause.  (Which raises the
question: why does F15 contains two independent mechanisms for cleaning
/tmp.  Seems like a bug to me.)

I also want to give credit to David Hawes, who wrote me privately this
morning and suggested the same solution as Michael. I just saw his
e-mail. Many thanks to both of you for pointing me in the right
direction!  I can't verify now, but my gut tells me this is IT.

Time to head to my flight.

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


Re: Encrypting swap

2012-05-03 Thread Heinz Diehl
On 03.05.2012, Konstantin Svist wrote: 

 Problem is, I can't seem to find a way to encrypt the swap so that it would
 be usable for hibernation.

Have you looked at luksSuspend and luksResume?
 
 I'm not sure if the same key problem exists in Fedora 16, I've tried
 setting it up this way and I'm able to boot but not resume.

Simply, you can't suspend the device which contains the cryptsetup
binary. 

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


[389-users] Solaris client, behavior differences?

2012-05-03 Thread Rafael Hinojosa
Hi,

My colleague and I are working on migrating from Sun One Directory Server
to 389 Directory Server.  We have successfully configured 389 Directory
Server on Centos 5.7.  We've been able to successfully setup Multi-Master
Replication and have joined (or at least it appears to) a Solaris 10
Client.

Here is a quick breakdown of what we're observing...

Solaris 10 host, as a 389 Client...

... can perform ldapsearch (using both directory manager  proxyagent
bindDNs).   It will return all entries (when using directory manager as the
bindDN) or a limited amount (2000, when search using proxyagent bindDN), as
specified by the configuration.
... using ldaplist requires an escaped wild card to list most of the DB,
again I'm assuming it is inheriting the proxyagent limits.
... executing getent passwd or getent group returns ONLY the local
users  groups.


Solaris 10 host, as a Sun One Client...

... using ldapsearch exhibits the same behavior.
... using ldaplist requires no wild card, we can simply execute ldaplist
passwd and get, surprisingly, all entries in the DB.
... can execute getent passwd or getent group and see all LDAP users
and groups.


Is this normal or have we screwed up some config somewhere?


We have yet to move on to tackling the PAM stack since we're trying to see
if this config is viable.

At the moment, as a local user on this 389 Client, we cannot su to another
LDAP user.  It just says sorry, /var/adm/messages just reads su :
[auth.crit] 'su USER' failed for LOCAL USER on...

We can su to another LDAP user as root w/o the need to specify a passwd,
which I'm assuming is the only reason that works.

My colleague is going to work on finding a viable PAM config.   Any clues,
leads, or references you can provide us for either anomalies would be
greatly appreciated.

Thank you for your time,

--Raf








-- 
Rafael A. Hinojosa
Technical Support Analyst
Core Technologies  -  Instructional  Information Technology
Serviceshttp://iits.haverford.edu
Haverford College  -  370 Lancaster Ave.  -  Haverford, PA 19041-1392

Office : (610) 896-1312
Direct : (610) 772-1593
Fax : (610) 896-1429
rhino...@haverford.edu
--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Re: What is removing files from /tmp?

2012-05-03 Thread David Quigley

On 05/03/2012 02:35, de...@sharplabs.com wrote:

On Thu, 03 May 2012 at 15:40:40, Tim wrote:
While I can't answer to why old files might be disappearing, other 
than
to check more than just *daily* CRON entries (hourly, weekly, 
specific

hours of the day), I'll suggest one thing:  If you want to keep /tmp
contents through a reboot, make sure that /tmp isn't mounted as 
tmpfs.


Thanks.  Checked those.  weekly is empty.  hourly contains the 
anacron

trigger file and  mcelog.cron which contains only comments.

Not sure what you mean by specific hours of the day.  I don't know 
how

to tell when a file is removed from /tmp/, if that's what you mean.

/tmp is not mounted at all on my system.  It is a merely an ordinary
subdir of /.

Thanks for the suggestions.
Keep 'em coming.

Dean



If you don't mind waiting you could put an audit watch on that 
directory and look for things unlinking files in the directory. Once you 
notice a file missing you can look through the audit logs for the 
syscall that did it and identify the offending process.


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


Re: (SOLVED [maybe]) Re: What is removing files from /tmp?

2012-05-03 Thread Patrick O'Callaghan
On Thu, 2012-05-03 at 12:01 -0700, Dean S. Messing wrote:
 Sorry for not responding till now.  I'm traveling and away from the
 offending system.  But I do believe that you have found the culprit.
 I just remotely logged onto my F15 system at work and found
 
  /usr/lib/tmpfiles.d/systemd.conf
 
 which contains this line:
 
   d /tmp 1777 root root 10d
 
 
 Knowing NOTHING about systemd or this file format (yet), I'm taking
 the wild guess that the initial d stands for delete.

man tmpfiles.d

poc

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


Re: Encrypting swap

2012-05-03 Thread Konstantin Svist

On 05/03/2012 12:04 PM, Heinz Diehl wrote:

On 03.05.2012, Konstantin Svist wrote:


Problem is, I can't seem to find a way to encrypt the swap so that it would
be usable for hibernation.

Have you looked at luksSuspend and luksResume?


I've only seen them as crytsetup options.. I'll google for those..



I'm not sure if the same key problem exists in Fedora 16, I've tried
setting it up this way and I'm able to boot but not resume.

Simply, you can't suspend the device which contains the cryptsetup
binary.


That's silly. Grub loads initramfs from an unencrypted /boot partition; 
initramfs knows about encryption and is able to mount root after I enter 
my key. There should be no technical reason why it can't mount the swap 
with the same key immediately after and tell kernel to resume from the 
now-available swap.


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


Re: Encrypting swap

2012-05-03 Thread Konstantin Svist

On 05/03/2012 12:52 PM, Konstantin Svist wrote:

On 05/03/2012 12:04 PM, Heinz Diehl wrote:

On 03.05.2012, Konstantin Svist wrote:

Problem is, I can't seem to find a way to encrypt the swap so that 
it would

be usable for hibernation.

Have you looked at luksSuspend and luksResume?


I've only seen them as crytsetup options.. I'll google for those..



I'm not sure if the same key problem exists in Fedora 16, I've tried
setting it up this way and I'm able to boot but not resume.

Simply, you can't suspend the device which contains the cryptsetup
binary.


That's silly. Grub loads initramfs from an unencrypted /boot 
partition; initramfs knows about encryption and is able to mount root 
after I enter my key. There should be no technical reason why it can't 
mount the swap with the same key immediately after and tell kernel to 
resume from the now-available swap.




I see now - what you said applies to luksSuspend/luksResume. I'm 
guessing it should probably reside on /boot or inside initramfs for that 
reason...
From what I can tell, these commands work for an encrypted separate 
partition, e.g. /home, probably not so much for the whole disk. And/or 
they should generally be called by other tools, abstracted from the user.



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


Can you stack nice and ionice?

2012-05-03 Thread Richard Shaw
I have a CPU and IO intensive task I'd like to tame a bit but I'm not
sure if this can be done in a one-liner. Since both nice and ionice
are designed to run only a single command I'm not sure if the
following would work:

ionice -c3 nice -n19 process

It looks like to me that ionice is going to run nice who's going to
run the task.

Another option is to ionice bash but by default the process is not
started in a shell so I would have to script it:

#!/bin/bash
ionice -c3 $$
nice -n19 process
--- end ---

I tried examining the first example using pstree but I don't think the
processes stacked.

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can you stack nice and ionice?

2012-05-03 Thread Cameron Simpson
On 03May2012 16:08, Richard Shaw hobbes1...@gmail.com wrote:
| I have a CPU and IO intensive task I'd like to tame a bit but I'm not
| sure if this can be done in a one-liner. Since both nice and ionice
| are designed to run only a single command I'm not sure if the
| following would work:
| 
| ionice -c3 nice -n19 process
| 
| It looks like to me that ionice is going to run nice who's going to
| run the task.

Should work just fine. ionice _is_ running just one command:

  nice -n19 process

Note that process will need to be a command, and not something like
-p pid.

| I tried examining the first example using pstree but I don't think the
| processes stacked.

They will exec, so no parent/child stuff. ionice will set the ionice
setting then exec the next command. Likewise nice.

There are plenty of little commands with this behaviour: make a setting
change and then execute comething with the new setting: env etc. I've
got a bunch of shell scripts with similar usage patterns as well. These
prefix commands make a lot of simple things very easy to express in
scripts.

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

Like dogs and muggers, transistors can sense fear.  - Norman Yarvin
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can you stack nice and ionice?

2012-05-03 Thread Joe Wulf
Cameron,  Very nice explanation of how do'able this is.  Thank you.
R,
-Joe



 From: Cameron Simpson c...@zip.com.au
To: Community support for Fedora users users@lists.fedoraproject.org 
Sent: Thursday, May 3, 2012 6:36 PM
Subject: Re: Can you stack nice and ionice?
 
On 03May2012 16:08, Richard Shaw hobbes1...@gmail.com wrote:
| I have a CPU and IO intensive task I'd like to tame a bit but I'm not
| sure if this can be done in a one-liner. Since both nice and ionice
| are designed to run only a single command I'm not sure if the
| following would work:
| 
| ionice -c3 nice -n19 process
| 
| It looks like to me that ionice is going to run nice who's going to
| run the task.

Should work just fine. ionice _is_ running just one command:

  nice -n19 process

Note that process will need to be a command, and not something like
-p pid.

| I tried examining the first example using pstree but I don't think the
| processes stacked.

They will exec, so no parent/child stuff. ionice will set the ionice
setting then exec the next command. Likewise nice.

There are plenty of little commands with this behaviour: make a setting
change and then execute comething with the new setting: env etc. I've
got a bunch of shell scripts with similar usage patterns as well. These
prefix commands make a lot of simple things very easy to express in
scripts.

Cheers,
-- 
Cameron Simpson c...@zip.com.au DoD#743
http://www.cskk.ezoshosting.com/cs/

Like dogs and muggers, transistors can sense fear.      - Norman Yarvin
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: iptables recent / more than one exception

2012-05-03 Thread jdow

On 2012/05/03 10:57, Reindl Harald wrote:



Am 03.05.2012 19:46, schrieb Paul W. Frields:

On Thu, May 03, 2012 at 04:21:20PM +0200, Reindl Harald wrote:

is there any way to specify here more than one source-address
(the usual comma seperated way does not work in this context)

a complete ACCEPT before is no solution because it would bypass
any selective ACCEPT-rule

iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
recent --set
iptables -I INPUT -p tcp -i eth0 ! -s $LOCAL_NETWORK -m state --state NEW -m 
recent --update --seconds 1 --hitcount  75 -j REJECT --reject-with tcp-reset


Even when you use comma-separated addresses (allowed when not using
the '!' operator), iptables actually creates separate rules in
response to the command.  I believe that's what you need to do in this
situation


in theory yes
but practically the reject of this rule would be triggered

a secuity auditor from a customer is whining the he no longer
can make security-scans and it will get hard to arue that
we can not whitelist him in this case :-(


Ah, wait a minute. If he cannot make security scans neither can
anybody else. So defacto his job is finished.

For any exception you place into the rules to allow him to scan you must
think VERY carefully what it's effects will be. You might accidentally
open up the internal network to him leading to a false positive detection
from his security scan.

You might sit down with him and work out a plan for what should be done
so he can do his job and you can have the recent rule still protecting
your network. Collaboration and education may be your best friend here.
He is, after all, really an ally even when taking on the mantle of an
adversary for security auditing. Besides, you might get the delight of
seeing the lights go on in another person's head when he grasps just what
it is you did which is keeping him, and all others who look like malicious
access attempts, out of your system. Lead him gently to the knowledge and
the results can be more than worth your time and effort.

{^_^}
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: XFCE Login Freeze

2012-05-03 Thread Joel Rees
On Thu, May 3, 2012 at 8:06 PM, Jonathan Allen
jonat...@barumtrading.co.uk wrote:
 Joe Zeff said:
 /home/user/.xsession-errors would be another good place to check.

 Here is it - should that tell me how to go forward?  The signal 15 is
 when I terminated the xfce session from a root console session.

 Jonathan
 +++

 /usr/bin/startxfce4: X server already running on display :0

Hmm.

 ssh-agent is already running; starting gpg-agent without ssh support
 xfdesktop[1438]: starting up
 xfce4-settings-helper: Another instance is already running. Leaving...

Huh?

 Initializing tracker-miner-fs...
 Tracker-Message: Setting up monitor for changes to config 
 file:'/home/tabitha/.config/tracker/tracker-miner-fs.cfg'
 Starting log:
  File:'/home/tabitha/.local/share/tracker/tracker-miner-fs.log'
 GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
 GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
 SELinux Troubleshooter: Applet requires SELinux be enabled to run.
 Initializing tracker-store...
 ** Message: applet now removed from the notification area
 Tracker-Message: Setting up monitor for changes to config 
 file:'/home/tabitha/.config/tracker/tracker-store.cfg'
 abrt-applet: glib  2.31 - init threading
 Tracker-Message: Setting up monitor for changes to config 
 file:'/home/tabitha/.config/tracker/tracker-store.cfg'
 Starting log:
  File:'/home/tabitha/.local/share/tracker/tracker-store.log'
 GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
 GPG_AGENT_INFO=/tmp/keyring-gzQ2UL/gpg:0:1

 (tracker-store:1541): Tracker-CRITICAL **: D-Bus service 
 name:'org.freedesktop.Tracker1' is already taken, perhaps the daemon is 
 already running?

Yeah, something is left over, here, too.

 GNOME_KEYRING_CONTROL=/tmp/keyring-gzQ2UL
 GPG_AGENT_INFO=/tmp/keyring-gzQ2UL/gpg:0:1
 SSH_AUTH_SOCK=/tmp/keyring-gzQ2UL/ssh

 (xfce4-settings-helper:1569): libxfce4ui-WARNING **: ICE I/O Error

 (xfce4-settings-helper:1569): libxfce4ui-WARNING **: Disconnected from 
 session manager.
 /etc/xdg/xfce4/xinitrc: line 221:  1426 Terminated              xfce4-session

At this point, you're stuck, I'm thinking.

 running 'pkill -INT ^gpg-agent$; rm -f /home/tabitha/.cache/gpg-agent-info'

There's a cache that you want to look at. See what's there, and either
delete it or move it to someplace like /home/isolationward/.cache .

Re-boot and see what happens.

 xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server 
 :0.
 Thunar: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
 xfce4-settings-helper: Fatal IO error 11 (Resource temporarily unavailable) 
 on X server :0.0.

 (polkit-gnome-authentication-agent-1:1447): Gdk-WARNING **: 
 polkit-gnome-authentication-agent-1: Fatal IO error 11 (Resource temporarily 
 unavailable) on X server :0.0.

 g_dbus_connection_real_closed: Remote peer vanished with error: Underlying 
 GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

 Received signal:15

 (nm-applet:1457): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource 
 temporarily unavailable) on X server :0.0.

 abrt-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server 
 :0.0.
 ABRT service is not running
 applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server 
 :0.0.
 g_dbus_connection_real_closed: Remote peer vanished with error: Underlying 
 GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
 xfwm4: Fatal IO error 2 (No such file or directory) on X server :0.0.

 (xfdesktop:1438): libxfce4ui-WARNING **: ICE I/O Error

 (xfdesktop:1438): libxfce4ui-WARNING **: Disconnected from session manager.
 migrate: Fatal IO error 0 (Success) on X server :0.0.
 No protocol specified
 --

I'm wondering if this is related to a problem I'm having where the
input method processes leak over a logout and then when I log in again
(any user), I have two input method icons in the task bar panel.

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


unsubscribe the maillist

2012-05-03 Thread 邢阳阳
i want to unsubscribe the maillist, thank you
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: unsubscribe the maillist

2012-05-03 Thread Aradenatorix Veckhom Vacelaevus
As you should inscribe by yourself, you can unsuscribe in the same way,
without helping, it's very easy, just read carefully the bottom of the mail.

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