Re: [389-users] help with 'no such attribute' error?

2011-11-02 Thread Rich Megginson
On 11/02/2011 03:49 PM, brandon wrote:
 So I'm hoping somebody can assist with a confusing problem I am having.

 I am running 389-ds-1.2.1-1.

What platform?  What version of 389-ds-base?

 I have nodes in a subtree where I am
 unable to modify the userPassword attribute through perl-LDAP, but I can
 through the 389-console.  However, this same exact perl-LDAP code /can/
 make changes to objects in a different subtree (works in ou=People,
 fails in ou=Special Users).

 The perl script uses an administrative account to make the changes
 (admin in ou=Administrators,ou=TopologyManagement,o=NetscapeRoot), which
 should have access to the entire tree. ACI's on the subtrees are
 identical, I have even compared them in the ldif export of the tree.

 The commit works if I use ldapmodify (same user/password), it works if I
 do it with 389-console, but it fails when I use perl-LDAP.

 I am current on perl-LDAP as well.

 The only reason I am still poking at the directory server, is because
 the directory server is returning the 'no such attribute' error 16, even
 in the logfiles.

 Is there any way to get some more .. readable logs from the directory
 server?

Start with the access log.  This will tell you your bind identity and 
the operations invoked by the client.  It won't give the exact modify 
arguments for modify operations - use the errorlog level 4 (ARGS) for 
that - see http://directory.fedoraproject.org/wiki/FAQ#Troubleshooting 
(4 Heavy trace output debugging).

 Is there a way to filter the ds logs, perhaps?  Specify that
 logs regarding specific nodes are sent at different levels?

 I suspect that perl-LDAP is committing the change in a manner
 differently than ldapmodify/389-console, but I cannot figure out how.
 What really confuses me is that perl-LDAP /works/ fine on ou=People, but
 not ou=Special Users.
If all else fails, you could use wireshark/tcpdump to inspect the 
packets received and sent by the directory server.
 Thoughts?  Help?  Suggested directions to look?

 Thanks,

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

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

Re: Problem seeing PDF files with firefox

2011-11-02 Thread Dotan Cohen
On Wed, Nov 2, 2011 at 01:34, Matthew Saltzman m...@clemson.edu wrote:
 AH, thank you.  I've been wondering about this.

 The association for PDF was Always ask, but it always attempted to use
 mozplugger.  The mozplugger option is the one that attempts to open the
 PDF in a new window in the browser, and that's the one that fails,
 usually showing a blank page (except the first time I use it after
 starting a session, sometimes).  Choosing evince always opens the PDF in
 a separate evince app.  That's a passable workaround, but having
 mozplugger work would be kind of nice...


Are you sure that the plugin is not disabled (maybe being disabled
sometime after the first is opened)?


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.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


Re: Forcing HDD spindown

2011-11-02 Thread Christopher Svanefalk
Thanks for the replies everyone!

Laptop-mode unfortunately does not support kernel 3.1 (I am running F16
Beta)...hopefully this will be updated, it seems like a great tool.


On Wed, Nov 2, 2011 at 4:08 AM, Tim Largy tim.la...@gmail.com wrote:

 On Tue, Nov 1, 2011 at 5:03 PM, Christopher Svanefalk
 christopher.svanef...@gmail.com wrote:
  Dear all,
  one problem I have on my system is the frequency with which the kernel
 winds
  up the HDD. It is hot almost constantly, and never seems to power down.
 Is
  there anything I can do (aside from deactivating updatedb and the like)
 in
  order to force the system to a minimal use of the HDD?
  Thanks in advance,
  Chris

 I'm not sure if smartd would be set up to run on your system but rule that
 out.

 Tim
 --
 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

-- 
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


Use of pam_exec or pam_smbpass

2011-11-02 Thread David Jansen
I'm trying to implement a custom password scheme through pam and samba.
Basically, if a user wants to change their password on a client, the
change has to be propagated to the samba server so it can also set the
windows password. It works fine to tell users to use 'smbpasswd -r
samba.mydomain', or to make passwd an alias that does that, but it would
be better to make the change go through PAM so it will work from the GUI
as well.
Now, I found 2 ways to do this: pam_smbpass and pam_exec, but with both,
I seem to be hitting a stone wall.

pam_smbpass: 
On a machine that has a full smb.conf with all the LDAP connections etc
(including ldap bind credentials in secrets.tbd), something like 
password   required   pam_smbpass.so nullok use_authtok try_first_pass
in the appropriate /etc/pam.d files seems to do the trick. However, I
don't really want to make every desktop a full member of the domain.
So, it would be nice if there was a way to make pam_smbpass connect to a
remote samba server, but I haven't been able to find one. Any help in
this area would be appreciated.

pam_exec:
The man page states 'All module types (auth, account, password and
session) are provided.' So it should be possible to write a script or
prtogram to handle a pam password call, right? But, the script I wrote
doesn't seem to receive the old or new password. And re-reading the
documentation, I notice that nothing is mentioned about passing a
password to the module anywhere, except on authentication, when
expose_authtok will do that (then the password will be passed through
stdin). But nothing like that when called for a password change.
Again, what did I miss? Is the password module type not fully
implemented, or should this be handles in another way?

(OS: Fedora 15, RHEL 6, both same situation) 

David Jansen

PS: I know a 3rd option would be to switch everything over to winbind,
which may or may not work in our complex situation with various Windows
domains with trusts. The point is: everything else works, except for a
consistent password change method, so before we decide to redesign the
whole setup, we want to be absolutely sure that there isn't something
simple we are overlooking.

-- 
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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread Patrick Lists
On 11/02/2011 02:34 AM, Linda McLeod wrote:
 How does Fedora clean its RAM..?

On Monday morning before the start of the week it lets out the Gnomes 
who then diligently start to do some serious housecleaning. There's 
Spidey Gnome who climbs up the walls to get to those difficult to reach 
places and do some much needed pre-winter cleaning. There's Hyper Gnome 
who just runs around cleaning bits of everything it can find. Then 
there's Grumpy Gnome who complains about Hyper Gnome just cleaning bits 
instead of bytes. And there's Bearded Gnome who complains incessantly 
about any proprietary bits it finds and makes awkward remarks about lady 
Gnomes. And there's off course Lazy Gnome who just sits there pretending 
to clean (the other Gnomes bought him a lmgtfy.com shirt but he didn't 
get it). Finally there is Obi Wan Gnome, the Fearless Leader who tries 
to keep things moving forward smoothly and always mumbles about Freedom, 
Friends, Features and First.

  :-)

Regards,
Patrick
-- 
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


Troll Alert Re: How does Fedora clean its RAM..?

2011-11-02 Thread Frank Murphy
On 02/11/11 01:34, Linda McLeod wrote:

By putting it on the lamb,
Until it rains for a week or two.

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of 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


Re: Forcing HDD spindown

2011-11-02 Thread Tim
Konstantin Svist:
 http://lmgtfy.com/?q=laptop+mode+tools


Joe Zeff:
 Cute.  Rude, but cute.  Much better and more polite would have been to 
 point me directly to http://samwel.tk/laptop_mode/packages/fedora.

I would have tried a slightly different yum query.  Such as yum search
laptop to see about *any* packages related to laptops.

-- 
[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


Re: Rpmfusion

2011-11-02 Thread Michael Schwendt
On Tue, 01 Nov 2011 21:20:42 -0600, LG (Lawrence) wrote:

 It can not find the right keys. It is not pointed in the right 
 direction. I truly don't understand except it ask for a key and then 
 says it is wrong.

Still not enough details. Consider quoting something next time.
Meanwhile, I've filed these two:

  https://bugzilla.rpmfusion.org/show_bug.cgi?id=2013
  https://bugzilla.rpmfusion.org/show_bug.cgi?id=2012

Bug 2013 could be the one you refer to.

-- 
Fedora release 16 (Verne) - Linux 3.1.0-5.fc16.x86_64
loadavg: 0.02 0.04 0.05
-- 
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


Packet loss problem and some questions related with OS

2011-11-02 Thread Benjamin

 Hi All,

I have some doubts , please clear me.


Query 1 ) should we set irq afinity of pci lan interface or onboard lan 
interface or we can do for both ?


Query 2) H/w must be APIC enabled and for them only we can do set irq 
afinity , is it so?


Query 3) What are the root cause for packet loss on interface ?

Actually in one of my server , i m having strange result, i can not see 
any value update for lan interface in interrupts.


cat /proc/interrupts
   CPU0   CPU1   CPU2   CPU3
  0:124  0  0 78   IO-APIC-edge  timer
  1:  0  0  0614   IO-APIC-edge  i8042
  8:  0  0  0  1   IO-APIC-edge  rtc0
  9:  0  0  0  0   IO-APIC-fasteoi   acpi
 12:  0  0  0159   IO-APIC-edge  i8042
 19:  0  13411  0  0   IO-APIC-fasteoi   
ata_piix, ata_piix
 21:  0  0 70  0   IO-APIC-fasteoi   
ehci_hcd:usb1
 23:  0  0 32  0   IO-APIC-fasteoi   
ehci_hcd:usb2

 40: 229974  0  0  0  HPET_MSI-edge  hpet2
 41:  0  85867  0  0  HPET_MSI-edge  hpet3
 42:  0  0  73987  0  HPET_MSI-edge  hpet4
 43:  0  0  0 106848  HPET_MSI-edge  hpet5
 45:  0  0  0  0   PCI-MSI-edge  
aerdrv, PCIe PME
 46:  0  0  0  0   PCI-MSI-edge  
aerdrv, PCIe PME
 47:  0  0  0  0   PCI-MSI-edge  
PCIe PME
 48:  0  0  0  0   PCI-MSI-edge  
PCIe PME
 49:  0  0  0  0   PCI-MSI-edge  
PCIe PME

 50:  0  0  0 219714   PCI-MSI-edge
 51:  10880  0  0  0   PCI-MSI-edge
_ 52:  4  0  0  0   PCI-MSI-edge  em1_
NMI: 44 16  8 29   Non-maskable interrupts
LOC:282248158 68   Local timer interrupts
SPU:  0  0  0  0   Spurious interrupts
PMI: 44 16  8 29   Performance 
monitoring interrupts

IWI:  0  0  0  0   IRQ work interrupts
RES:   6283   2718   2153   5353   Rescheduling interrupts
CAL:128100228278   Function call interrupts
TLB: 15 33 12 22   TLB shootdowns
TRM:  0  0  0  0   Thermal event interrupts
THR:  0  0  0  0   Threshold APIC interrupts
MCE:  0  0  0  0   Machine check exceptions
MCP: 78 78 78 78   Machine check polls
ERR:  0
MIS:  0


em1 is my lan interface.

ifconfig
em1   Link encap:Ethernet  HWaddr 00:25:90:0A:E6:A2
  inet addr:192.168.100.152  Bcast:192.168.100.255  
Mask:255.255.255.0

  inet6 addr: fe80::225:90ff:fe0a:e6a2/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:216457 errors:0 _dropped:16064_ overruns:0 frame:0
  TX packets:12715 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:36976063 (35.2 MiB)  TX bytes:2391031 (2.2 MiB)
_Interrupt:16_ Memory:fb5e-fb60

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



But i can not see any 16 irq no. in cat /proc/interrupts.

I tried to increase rx and tx for em1 but still same i m having packet 
loss on interface.


OS : fedora 15 64 bit.

04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection


Kernel : 2.6.40.6-0.fc15.x86_64


Please guide me to solve this issues and resolve my queries.


Warm Regards,
Benjamin


-- 
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


windows migrant: choosing linux distribution

2011-11-02 Thread Linux Tyro
hi,

i am new in this world of linux. getting confused seeing a lot of linux
distro. I just want to use linux distro to learn linux from the scratch
level. please suggest me if fedora is the best place to start with. other
details are as follows:

confused between: fedora, openSUSE and ubuntu LTS

purpose of using linux: to learn from the scratch level

why linux: highly secured and better than windows

hardware: 250 gb hard disk, 2 gb ram, one samsung printer, speakers

when i use system: from a different job, whenever i get time, i do use the
system but in this less time, eager to learn linux

--
THX
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Tom Horsley
On Wed, 2 Nov 2011 18:07:15 +0530
Linux Tyro wrote:

 confused between: fedora, openSUSE and ubuntu LTS

There isn't a lot of difference from the learning standpoint,
but there are two main differences from an administration
standpoint: fedora and openSUSE and many others use
rpm packages and ubuntu and debian use deb packages
to install software.

There are various other administrative differences
such as networking being described differently on
fedora versus ubuntu, etc.
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread D. Marshall Lemcoe Jr.
Ubuntu, I think is easier to get started from scratch with, but all
three distributions that you listed will serve you just fine in
learning the order of the penguin.

Good luck

David


On Wed, Nov 2, 2011 at 8:47 AM, Tom Horsley horsley1...@gmail.com wrote:
 On Wed, 2 Nov 2011 18:07:15 +0530
 Linux Tyro wrote:

 confused between: fedora, openSUSE and ubuntu LTS

 There isn't a lot of difference from the learning standpoint,
 but there are two main differences from an administration
 standpoint: fedora and openSUSE and many others use
 rpm packages and ubuntu and debian use deb packages
 to install software.

 There are various other administrative differences
 such as networking being described differently on
 fedora versus ubuntu, etc.
 --
 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

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Joe Wulf
You ask good questions.  More than likely whichever flavor you try---you'll 
learn things.  Several points:
-  Pick one and stick with it for a while.  Also, to learn more---you'll find a 
wealthy abundance of resources online to read up on.
-  Assuming your main platform is Windows... consider something like 
VirtualBox.org in order to leverage virtualization (free even!) and build 
your unix/linux skills.
-  Evaluate unix/linux forums (such as nixcraft.com) where you can read, and 
ask questions.  There are many other good ones, too.

Best of luck to you in your new adventure!!!





From: Linux Tyro fedora@gmail.com
To: users@lists.fedoraproject.org
Sent: Wednesday, November 2, 2011 8:37 AM
Subject: windows migrant: choosing linux distribution


hi, 


i am new in this world of linux. getting confused seeing a lot of linux 
distro. I just want to use linux distro to learn linux from the scratch level. 
please suggest me if fedora is the best place to start with. other details are 
as follows:


confused between: fedora, openSUSE and ubuntu LTS 


purpose of using linux: to learn from the scratch level


why linux: highly secured and better than windows


hardware: 250 gb hard disk, 2 gb ram, one samsung printer, speakers


when i use system: from a different job, whenever i get time, i do use the 
system but in this less time, eager to learn linux


--
THX
-- 
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


-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread n2xssvv.g02gfr12930
On 02/11/11 12:37, Linux Tyro wrote:
 hi,
 
 i am new in this world of linux. getting confused seeing a lot of linux
 distro. I just want to use linux distro to learn linux from the scratch
 level. please suggest me if fedora is the best place to start with.
 other details are as follows:
 
 confused between: fedora, openSUSE and ubuntu LTS 
 
 purpose of using linux: to learn from the scratch level
 
 why linux: highly secured and better than windows
 
 hardware: 250 gb hard disk, 2 gb ram, one samsung printer, speakers
 
 when i use system: from a different job, whenever i get time, i do use
 the system but in this less time, eager to learn linux
 
 --
 THX
 
 

Others have already mentioned the packaging using either deb or rpm
files, but you should also try downloading the various demo CD spins.
This will give you a quick feel for the various GUI options available,
and some of the software available.

See here for Fedora -- http://fedoraproject.org/en/get-fedora-options

Meanwhile, welcome to Linux, and I'm sure the penguin community and I
wish you well in your adoption of Linux

cpp4ever
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Linux Tyro
On Wed, Nov 2, 2011 at 6:17 PM, Tom Horsley horsley1...@gmail.com wrote:


  confused between: fedora, openSUSE and ubuntu LTS

 There isn't a lot of difference from the learning standpoint,
 but there are two main differences from an administration
 standpoint: fedora and openSUSE and many others use
 rpm packages and ubuntu and debian use deb packages
 to install software.

 There are various other administrative differences
 such as networking being described differently on
 fedora versus ubuntu, etc.


Well, I am looking for something in long terms, like the one with which I
start, I should remain there. And it must be highly secured (though I know
Linux is secured). But in future, I would learn the basics of
administration too, so please guide me which is a better administration -
rpm or deb?

On Wed, Nov 2, 2011 at 6:22 PM, D. Marshall Lemcoe Jr. fo...@lemcoe.comwrote:

Ubuntu, I think is easier to get started from scratch with, but all
 three distributions that you listed will serve you just fine in
 learning the order of the penguin.


Oh I see, and in long term also, would it be good?


 Good luck


Thanks.

On Wed, Nov 2, 2011 at 6:43 PM, Joe Wulf joe_w...@yahoo.com wrote:

You ask good questions.


In fact, I was confused with (anyone would be, I guess) since it is the
ocean of distros!


 More than likely whichever flavor you try---you'll learn things.  Several
 points:
 -  Pick one and stick with it for a while.  Also, to learn more---you'll
 find a wealthy abundance of resources online to read up on.
 -  Assuming your main platform is Windows... consider something like
 VirtualBox.org in order to leverage virtualization (free even!) and build
 your unix/linux skills.
 -  Evaluate unix/linux forums (such as nixcraft.com) where you can
 read, and ask questions.  There are many other good ones, too.


Okay.


 Best of luck to you in your new adventure!!!


Thanks.

On Wed, Nov 2, 2011 at 6:45 PM, n2xssvv.g02gfr12930 
n2xssvv.g02gfr12...@ntlworld.com wrote:

Others have already mentioned the packaging using either deb or rpm
 files, but you should also try downloading the various demo CD spins.
 This will give you a quick feel for the various GUI options available,
 and some of the software available.


I try live CDs too then.

Meanwhile, welcome to Linux, and I'm sure the penguin community and I
 wish you well in your adoption of Linux


Thanks.

--
THX
-- 
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


Re: Use of pam_exec or pam_smbpass

2011-11-02 Thread Kevin Martin


On 11/02/2011 04:40 AM, David Jansen wrote:
 I'm trying to implement a custom password scheme through pam and samba.
 Basically, if a user wants to change their password on a client, the
 change has to be propagated to the samba server so it can also set the
 windows password. It works fine to tell users to use 'smbpasswd -r
 samba.mydomain', or to make passwd an alias that does that, but it would
 be better to make the change go through PAM so it will work from the GUI
 as well.
 Now, I found 2 ways to do this: pam_smbpass and pam_exec, but with both,
 I seem to be hitting a stone wall.

 pam_smbpass: 
 On a machine that has a full smb.conf with all the LDAP connections etc
 (including ldap bind credentials in secrets.tbd), something like 
 password   required   pam_smbpass.so nullok use_authtok try_first_pass
 in the appropriate /etc/pam.d files seems to do the trick. However, I
 don't really want to make every desktop a full member of the domain.
 So, it would be nice if there was a way to make pam_smbpass connect to a
 remote samba server, but I haven't been able to find one. Any help in
 this area would be appreciated.

 pam_exec:
 The man page states 'All module types (auth, account, password and
 session) are provided.' So it should be possible to write a script or
 prtogram to handle a pam password call, right? But, the script I wrote
 doesn't seem to receive the old or new password. And re-reading the
 documentation, I notice that nothing is mentioned about passing a
 password to the module anywhere, except on authentication, when
 expose_authtok will do that (then the password will be passed through
 stdin). But nothing like that when called for a password change.
 Again, what did I miss? Is the password module type not fully
 implemented, or should this be handles in another way?

 (OS: Fedora 15, RHEL 6, both same situation) 

 David Jansen

 PS: I know a 3rd option would be to switch everything over to winbind,
 which may or may not work in our complex situation with various Windows
 domains with trusts. The point is: everything else works, except for a
 consistent password change method, so before we decide to redesign the
 whole setup, we want to be absolutely sure that there isn't something
 simple we are overlooking.
What's the GUI?  Couldn't you do this thru a webpage and just have the 
webserver take the appropriate information and then pass that
to your backend application?  Then, only the webserver needs to be part and 
parcel in the SMB domain and you could use your
pam_smbpass solution.

Kevin
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Michael Ekstrand
On 11/02/2011 08:40 AM, Linux Tyro wrote:
 Well, I am looking for something in long terms, like the one with which
 I start, I should remain there. And it must be highly secured (though I
 know Linux is secured). But in future, I would learn the basics of
 administration too, so please guide me which is a better administration
 - rpm or deb?

That depends entirely on who you ask. Here, you are likely to get 
pro-RPM answers, as Fedora uses RPM and people choose it for a reason. 
Each has features and niceties that the other does not. Both are good 
package formats and systems; they just have different opinions about how 
the world works.

RPM maintains data for verification of installed software. That has 
saved me on at least one occasion.

DEB has the concept of optional dependencies, which can offer you 
greater flexibility in managing what software is installed on your 
system. That is probably the biggest Debian/Ubuntu package management 
feature I miss since switching to Fedora.

If you're going to build packages, they're mostly just different. Both 
are pretty easy to do once you know what's going on; I find RPM slightly 
easier, but Debian provides lots of nice helper scripts for package 
builds (and those are inherited by Ubuntu).

Pick one. You won't really go wrong. In my opinion, software 
availability, quality, and maintenance culture are more important 
factors for picking a Linux distribution than package manager, unless 
you have prior package manager knowledge you're looking to carry with 
you.  From those perspectives, I have selected Fedora (after using 
Debian and Ubuntu for quite some time), but YMMV.

- MIchael

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Bruno Wolff III
On Wed, Nov 02, 2011 at 18:07:15 +0530,
  Linux Tyro fedora@gmail.com wrote:
 
 why linux: highly secured and better than windows

Don't count in this too much. Part of the security comes from being a minority
OS and part comes through the people who use it. There are a number of
applications that don't treat foreign data with appropriate care or that
try to provide a rich environment at the expense of security.

The main advantage of Linux systems is openness.
-- 
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


RE: my SysV daemons not starting on boot

2011-11-02 Thread Michael D. Berger
 -Original Message-
 From: users-boun...@lists.fedoraproject.org 
 [mailto:users-boun...@lists.fedoraproject.org] On Behalf Of 
 T.C. Hollingsworth
 Sent: Tuesday, November 01, 2011 21:07
 To: Community support for Fedora users
 Subject: Re: my SysV daemons not starting on boot
 
 On Tue, Nov 1, 2011 at 5:01 PM, Michael D. Berger 
 m.d.ber...@ieee.org wrote:
  Always, started or not, I get the same thing:
 
  #systemctl status myDaemon.service
  myDaemon.service
           Loaded: error
           Active: inactive (dead)
 
 That's very strange.  If a file /etc/init.d/myDaemon 
 exists, systemd should create a virtual myDaemon.service.  
 (Emphasis on virtual; no file is created on disk.)
 
 Check syslog (/var/log/messages) for any errors related to 
 your daemon.  If there are none, reboot and edit your kernel 
 command line, removing rhgb quiet and adding 
 systemd.log_level=debug and check again.
 
[...]

I have removed rhgb quiet but not yet added
systemd.log_level=debug.
I have also removed my SYSTEMCTL_SKIP_REDIRECT=1
In /vat/log/boot.log I find:
   Starting SYSV: controls myDaemon daemons...
   Starting myDaemon: ^[[60G[^[[0;32m  OK  ^[[0;39m]^M
   Started SYSV: controls myDaemon daemons.
Debig informs me that myDaemon is starting, but rapidly
crashing. I am now working on that (after meetings).

I assume that once I get that fixed, I can expect
#systemctl status myDaemon.service
to show something else.  Right?

Thanks for guidance.
Mike.


--
Michael D. Berger
m.d.ber...@ieee.org
http://www.rosemike.net/
  

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Tom Horsley
On Wed, 2 Nov 2011 19:10:17 +0530
Linux Tyro wrote:

 But in future, I would learn the basics of
 administration too, so please guide me which is a better administration -
 rpm or deb?

I would say they are just different, not better or worse, though if
you like a GUI package management tool, nothing beats synaptic
on the ubuntu/debian family (I tend to prefer the command line
tools since I use ssh to get to most systems and don't want
to fool with remote X display, so for me it doesn't matter
much if I use yum versus apt-get or rpm versus dpkg - it is
just a question of sorting out all the command line options).
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread n2xssvv.g02gfr12930
On 02/11/11 14:19, Bruno Wolff III wrote:
 On Wed, Nov 02, 2011 at 18:07:15 +0530,
   Linux Tyro fedora@gmail.com wrote:

 why linux: highly secured and better than windows
 
 Don't count in this too much. Part of the security comes from being a minority
 OS and part comes through the people who use it. There are a number of
 applications that don't treat foreign data with appropriate care or that
 try to provide a rich environment at the expense of security.
 
 The main advantage of Linux systems is openness.

I like the openness, as well as the reliability, (it is much less likely
to crash than windows).
-- 
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


Re: Use of pam_exec or pam_smbpass

2011-11-02 Thread David Jansen
 What's the GUI?  Couldn't you do this thru a webpage and just have the
 webserver take the appropriate information and then pass that
 to your backend application?  Then, only the webserver needs to be 
 part and parcel in the SMB domain and you could use your
 pam_smbpass solution.

I meant the locations that allow changing a password, like in the Gnome
preferences. I want to avoid the situation, where a user sees a password
change option somewhere, that seems to work (it changes the Linux
password), but causes problems later (Windows or Radius doesn't use the
new password).
That's why I hope to solve this on the PAM level somehow, so all
programs that change passwords, will work completely. Telling the users
to change their password on some web page, is not really an improvement
over aliasing 'passwd' to the command needed to change the password, and
telling them to only use that command, and not any other interface that
offers to change a password.

David Jansen

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Emilio Lopez
I think Fedora is a good distro to start. As Joe Wulf said, is a good
idea to install it in VirtualBox first, so you can play with linux 
windows at the same time, and make the transition easier.

Emilio.
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread suvayu ali
On Wed, Nov 2, 2011 at 17:19, Emilio Lopez emiliol...@gmail.com wrote:
 I think Fedora is a good distro to start. As Joe Wulf said, is a good
 idea to install it in VirtualBox first, so you can play with linux 
 windows at the same time, and make the transition easier.


The OP can also try out the live media for the three distros. I
personally think live media is the least hassle free way to see what
one is getting into before actual installation.

 Emilio.



-- 
Suvayu

Open source is the future. It sets us free.
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Errol Mangwiro
Yumex fan over here
___
Behold, they are one people,  and this is only the beginning of what they will 
do. And nothing that they propose to do will now be impossible for them. 
Genesis 11:6

-Original Message-
From: Tom Horsley horsley1...@gmail.com
Date: Wed, 2 Nov 2011 14:33:30 
To: users@lists.fedoraproject.org
Subject: Re: windows migrant: choosing linux distribution

On Wed, 2 Nov 2011 19:10:17 +0530
Linux Tyro wrote:

 But in future, I would learn the basics of
 administration too, so please guide me which is a better administration -
 rpm or deb?

I would say they are just different, not better or worse, though if
you like a GUI package management tool, nothing beats synaptic
on the ubuntu/debian family (I tend to prefer the command line
tools since I use ssh to get to most systems and don't want
to fool with remote X display, so for me it doesn't matter
much if I use yum versus apt-get or rpm versus dpkg - it is
just a question of sorting out all the command line options).
-- 
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
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Joe Zeff
On 11/02/2011 06:40 AM, Linux Tyro wrote:

 Well, I am looking for something in long terms, like the one with which
 I start, I should remain there. And it must be highly secured (though I
 know Linux is secured). But in future, I would learn the basics of
 administration too, so please guide me which is a better administration
 - rpm or deb?

Both are equally good; it's like asking if chocolate is better than 
vanilla.  And, most things you're going to install will be available in 
both forms.  If you're looking for a highly secured distribution (or, 
distro) Fedora is one good choice, as it includes SELinux: Security 
Enhanced Linux.
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Ian Malone
On 2 November 2011 16:19, Emilio Lopez emiliol...@gmail.com wrote:
 I think Fedora is a good distro to start. As Joe Wulf said, is a good
 idea to install it in VirtualBox first, so you can play with linux 
 windows at the same time, and make the transition easier.


I would say the opposite, Fedora's short release cycle isn't for
everyone (and I say this as someone who's used Fedora as their main OS
since FC1 came out) and Fedora upgrades are maybe slightly more
painful than Ubuntu ones. Ubuntu has an LTS (long term support)
version which may allow you to avoid upgrading for a while and
upgrades are more like large system updates (think service pack in
Windows). RPM vs deb, yes there are differences, but it's probably
going to be one of the last things you notice.

For a beginner coming from Windows I think the major hurdle for either
Ubuntu or Fedora (which are the two 'flagship' choices) is that their
default desktop is now very different to windows. I was introduced to
Unity (Ubuntu) last weekend and personally I think it's more awkward
than Gnome-shell (Fedora). So you may want to look at XFCE or KDE
spins of Fedora or Ubuntu. Live CDs and VirtualBox (haven't tried that
one) are a good way to dip into the water.

From a security point of view, Fedora perhaps focuses on security a
bit more than Ubuntu does. This is a bit of a two edged sword if you
find SELinux is preventing you doing something it shouldn't, but
that's a much rarer occurence these days. It's also intentionally on
the cutting edge, this means you get cut sometimes which often means
time spent sorting out issues.

Lastly, media friendliness: Fedora, again by choice, includes only
software that can be described as free and open source, this excludes
several things such as mp3 playback from the core system. There are
easy solutions to this these days (just set up rpmfusion), but it does
represent an extra level of difficulty (on the other hand, it isn't
really difficult and might be a useful first exercise for somebody
wanting to learn how things work). Ubuntu tends to include everything
they think they can get away with.

Haven't mentioned SUSE as I haven't used it for years.

-- 
imalone
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Rick Stevens
On 11/02/2011 05:37 AM, Linux Tyro wrote:
 hi,
 
 i am new in this world of linux. getting confused seeing a lot of linux
 distro. I just want to use linux distro to learn linux from the scratch
 level. please suggest me if fedora is the best place to start with. other
 details are as follows:
 
 confused between: fedora, openSUSE and ubuntu LTS
 
 purpose of using linux: to learn from the scratch level
 
 why linux: highly secured and better than windows
 
 hardware: 250 gb hard disk, 2 gb ram, one samsung printer, speakers
 
 when i use system: from a different job, whenever i get time, i do use the
 system but in this less time, eager to learn linux

Keep in mind that Fedora is a cutting edge distribution.  It's
generally completely updated (replaced) every 6 months and old
versions are only supported for two updates, e.g. when Fedora 16
comes out, Fedora 14 will be obsoleted and orphaned (no updates).

If you want a relatively stable environment (and if you're just
learning, that might be a good idea), I'd go with Ubuntu, Debian or
CentOS (CentOS is built from the same source as Red Hat Enterprise
Linux).

If you're willing to bleed a bit, then yeah, Fedora is the way to
go.  As the old saying goes, If you're not on the edge, you're taking
up too much space. (he says, with tongue planted firmly in cheek)
--
- Rick Stevens, Systems Engineer, C2 Hosting  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-  Perseverance:  When you're too damned stubborn to say I quit!   -
--
-- 
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


Re: How can the system be bumped-up to the next evolution of RAM-processing..?

2011-11-02 Thread Rick Stevens
On 11/01/2011 08:08 PM, Marko Vojinovic wrote:
 On Wednesday 02 November 2011 01:56:13 Linda McLeod wrote:
 [snip]
 Why is there RAM..?  Why can't the OS
 run its RAM off'n the hd..?
 
 RAM exists because I/O of a HD is waaay too slow. You can get a feeling just 
 how slow it can get when you open too many apps simultaneously, thus 
 exhausting available RAM and making the OS use the swap partition for extra 
 memory. It's *painfully* slow, the machine becomes practically unusable, and 
 it's a complete waste of cycles of today's fast processors.
 
 Even the I/O of RAM itself is fairly slow compared to the typical modern 
 processor. That's why processors now have a built-in cache (which is 
 basically 
 a smaller amount of RAM on the processor chip itself), in order to speed up 
 execution of programs and calculations.
 
 You might then ask why the processor designers don't put all RAM on the 
 chip? Because it would be too big, geometrically. In order to make the 
 processor work on a 2GHz frequency or such, the chip surface must be small 
 enough to keep everything in working conditions. Otherwise you run into out-
 of-sync problems, uneven heat and voltage distribution problems, and all 
 sorts 
 of stuff that would make the processor fail. So the bulk of RAM must be 
 separated, on their own chips, and communitace with the processor via the 
 motherboard, which is again quite slow, due to its size and other reasons.

Uhm, Marko, I think Linda was trying to be facetious.  Good info from
you, though.  :-)
--
- Rick Stevens, Systems Engineer, C2 Hosting  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
- Is that a buffer overflow or are you just happy to see me? -
--
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Gary Baribault
Hi, All three of the distributions you mentioned are major .. Ubuntu is
more of a graphical Linux which will keep you safe, but will also
restrict your learning experience in the sense that getting to a Root
(administrator) command line is not encouraged. Fedore and SuSE are the
other two major distributions, I personally used to use SuSE and have
moved back to Fedora which has improved a lot lately (last 3 years). To
me they are equivalent, but SuSE belongs to Novell, which was sold
recently to AtachMate. SuSE also works closer with Microsoft, which for
a Windows guy would seem better but for a Linux guy, makes us somewhat
nervous!

RPM/DEB both work well, and shouldn't influence your choice.

Gary Baribault
Courriel: g...@baribault.net
GPG Key: 0x685430d1
Signature: 9E4D 1B7C CB9F 9239 11D9 71C3 6C35 C6B7 6854 30D1


On 11/02/2011 08:37 AM, Linux Tyro wrote:
 hi,

 i am new in this world of linux. getting confused seeing a lot of
 linux distro. I just want to use linux distro to learn linux from the
 scratch level. please suggest me if fedora is the best place to start
 with. other details are as follows:

 confused between: fedora, openSUSE and ubuntu LTS 

 purpose of using linux: to learn from the scratch level

 why linux: highly secured and better than windows

 hardware: 250 gb hard disk, 2 gb ram, one samsung printer, speakers

 when i use system: from a different job, whenever i get time, i do use
 the system but in this less time, eager to learn linux

 --
 THX


-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Bruno Wolff III
On Wed, Nov 02, 2011 at 18:36:04 +,
  Ian Malone ibmal...@gmail.com wrote:
 
 Lastly, media friendliness: Fedora, again by choice, includes only
 software that can be described as free and open source, this excludes
 several things such as mp3 playback from the core system. There are
 easy solutions to this these days (just set up rpmfusion), but it does
 represent an extra level of difficulty (on the other hand, it isn't
 really difficult and might be a useful first exercise for somebody
 wanting to learn how things work). Ubuntu tends to include everything
 they think they can get away with.

Not not just Free software, but also unemcumbered by patents. The problem
with mp3 software is not that there isn't Free software that that can
encode/decode sound into the mp3 codec, but that the codec is patented
and patent owners do not permit free redistribution of code to use it.
-- 
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


pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Michael D. Berger
In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon

rtn = pthread_create() fails with:
   rtn=1=Operation not permitted

man pthread_create says this means:
   No permission to set the scheduling policy
   and parameters specified in attr.

This happens for:
   policy = SCHED_FIFO
   policy = SCHED_RR

This code works if, after boot, I start it with:
   /etc/init.d/myDaemon start

and starts on boot in my old CentOS 5 box.

Thanks for your suggestions.
Mike.

-- 
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


Re: Forcing HDD spindown

2011-11-02 Thread Christopher Svanefalk
Correction: laptop-tools 1.60 supports kernel 3.x. You have to pull the
tarball,  but its only a matter of running a shell script to install it
anyway. I am having some issues with my harddrives spinning down too fast
and waking up too easily now, but its being resolved.

You can find the tarball here: http://samwel.tk/laptop_mode/packages/tarball


On Wed, Nov 2, 2011 at 12:08 PM, Tim ignored_mail...@yahoo.com.au wrote:

 Konstantin Svist:
  http://lmgtfy.com/?q=laptop+mode+tools


 Joe Zeff:
  Cute.  Rude, but cute.  Much better and more polite would have been to
  point me directly to http://samwel.tk/laptop_mode/packages/fedora.

 I would have tried a slightly different yum query.  Such as yum search
 laptop to see about *any* packages related to laptops.

 --
 [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

-- 
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


pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Michael D. Berger
Please pardon me if you see this twice.  I thought that the
newsgroup and the e-mail list were the same thing, but I now
see they are not.

In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon

rtn = pthread_create() fails with:
   rtn=1=Operation not permitted

man pthread_create says this means:
   No permission to set the scheduling policy and parameters specified in
   attr.

This happens for:
   policy = SCHED_FIFO
   policy = SCHED_RR

This code works if, after boot, I start it with:
   /etc/init.d/myDaemon start

and starts on boot in my old CentOS 5 box.

Thanks for your suggestions.
Mike.

--
Michael D. Berger
m.d.ber...@ieee.org
http://www.rosemike.net/
 

-- 
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


Re: How can the system be bumped-up to the next evolution of RAM-processing..?

2011-11-02 Thread Marko Vojinovic
On Wednesday 02 November 2011 18:47:25 Rick Stevens wrote:
 Uhm, Marko, I think Linda was trying to be facetious.  Good info from
 you, though.  :-)

Oh, well, English is not my native language, so often I fail to recongize 
anything other than face-value meaning of what is written, especially on 
public mailing lists. But no harm done, anyway... ;-)

Best, :-)
Marko

-- 
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


Re: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Rick Stevens
On 11/02/2011 02:54 PM, Michael D. Berger wrote:
 Please pardon me if you see this twice.  I thought that the
 newsgroup and the e-mail list were the same thing, but I now
 see they are not.
 
 In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon
 
 rtn = pthread_create() fails with:
rtn=1=Operation not permitted
 
 man pthread_create says this means:
No permission to set the scheduling policy and parameters specified in
attr.
 
 This happens for:
policy = SCHED_FIFO
policy = SCHED_RR
 
 This code works if, after boot, I start it with:
/etc/init.d/myDaemon start
 
 and starts on boot in my old CentOS 5 box.

When you start it via the initscripts (/etc/init.d), are you doing as
the root user or as an unprivileged user?  I'm suspecting a permissions
issue here in that the threads (actually lightweight processes) are
being run as different users.

You might try using ps uax -L and looking at the various threads
involved to see who's running what.
--
- Rick Stevens, Systems Engineer, C2 Hosting  ri...@nerd.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-Huked on foniks reely wurked for me!-
--
-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Marko Vojinovic
On Wednesday 02 November 2011 12:37:15 Linux Tyro wrote:
 i am new in this world of linux. getting confused seeing a lot of linux
 distro. I just want to use linux distro to learn linux from the scratch
 level. please suggest me if fedora is the best place to start with. other
 details are as follows:

In addition to what others have said, let me just add a few remarks:

(1) WELCOME to the Linux community! :-) You'll find a lot of friendly folks 
around here, who are in general willing to help you learn and sort out any 
issues you may have with Linux (and Fedora in particular).

(2) Don't hesitate to ask for help. This mailing list is a great resource of 
information and is followed by people who are seasoned linux users, as well as 
freshmen. That said, don't get offended by some nervous people telling you to 
do your homework, point you to lmgtfy.com, and such. We have all been 
beginners once, and those who cannot tolerate beginner's questions should not 
be taken too seriously. ;-)

(3) It's actually a good idea to do your own research before asking a question 
here. Look up the topic in google, search the mailing list archives, read a 
man page (those are the instruction manuals for a whole bunch of stuff in 
Linux), etc. Expect a learning curve, regardless of the distro you choose. 
Some things that are trivial in Windows (like, play mp3 music) are quite 
nontrivial in Fedora (only the first time you try it, of course), and vice 
versa. The difference between Windows and Linux is not just the security, names 
and price. Migrating to Linux means that you need to change your way of 
*thinking* about how a computer can or should be used.

For example, the idea of graphical user interface (a GUI) in Linux is just a 
commodity that is sometimes frowned upon. In contrast to Windows, where GUI is 
the *only* user interface available, in Linux mostly everything can be done on 
the command line (the CLI, or shell prompt, or console, or...). Learning to 
use it is one of the best ways to learn Linux. In Windows the MS-DOS Prompt 
is basically a thing of ancient history, and has no serious function in the 
system. This is just one of the *conceptual* differences you are about to 
encounter. Filesystem permissions and don't log in as root is another. If 
you have used only Windows so far, your complete knowledge about computers is 
about to be challenged, and you should expect that and embrace it.

Finally, the choice of actual distro to start learning is quite immaterial. 
Any will do. What you should plan, however, is the strategy to stick to some 
distro for a while (say, 6 months), and then switch to another, in order to 
compare and learn what is the same and what is distro-specific. It doesn't 
really matter where you start from... ;-)

HTH, :-)
Marko


-- 
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


RE: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Michael D. Berger
 -Original Message-
 From: users-boun...@lists.fedoraproject.org 
 [mailto:users-boun...@lists.fedoraproject.org] On Behalf Of 
 Rick Stevens
 Sent: Wednesday, November 02, 2011 18:03
 To: Community support for Fedora users
 Subject: Re: pthread_create() fails SysV in myDaemon on boot
 
[...]
 
 When you start it via the initscripts (/etc/init.d), are you 
 doing as the root user or as an unprivileged user?  I'm 
 suspecting a permissions issue here in that the threads 
 (actually lightweight processes) are being run as different users.
 
 You might try using ps uax -L and looking at the various 
 threads involved to see who's running what.
[...]

Its all done as root.  ps uax -L shows six rows for myDaemon,
which is about right for the number of threads.

Mike.
--
Michael D. Berger
m.d.ber...@ieee.org
http://www.rosemike.net/
   

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Roger
On 03/11/11 00:59, Michael Ekstrand wrote:
 On 11/02/2011 08:40 AM, Linux Tyro wrote:
 Well, I am looking for something in long terms, like the one with which
 I start, I should remain there. And it must be highly secured (though I
 know Linux is secured). But in future, I would learn the basics of
 administration too, so please guide me which is a better administration
 - rpm or deb?

I would like to throw in a thought or two.

rpm or deb really doesn't matter, administration is, to me, about 
understanding the operating system components/applications.

I use both Fedora and Ubuntu and have done so for years. Both have 
advantages.
Ubuntu is stable, upgrades with no fuss, it's good for things that you 
just want to work and I've never noticed deb.

Fedora is also very good and I no longer hold with the axium If you 
ain't on the edge, you're taking too much space.
As one small example, my Laser printer Fuji Xerox. Setting up laser 
printer in Fedora right up to Fedora 14 was a pain, pig of a job, hard 
to do at the best of times. Why! Fedora still did not see printers on 
USB. This is one reason I am reluctant to upgrade.

Ubuntu found the printer.

I watch list discussion religiously to gauge Fedora problems before 
deciding whether to fresh install the next version. I usually skip 1 or 
2 versions before doing so.
I prefer Fedora for web development because it's file systems and 
commands are same as our server OS Centos, where as Ubuntu 
apparently   does things differently, files named differently and in 
different file systems.

You have a 250 g hd. you can run 3 operating systems as suggested, in 
virtualbox or partitions, and see which works for you, but, while there 
is not much to pick between ubuntu and Fedora they are very different 
from windows.

My thoughts on long term would suggest go with Ubuntu. I would say that 
once you are accustomed to Linux you will likely want to explore and 
will probably install Fedora or other on a separate partition so it is 
independent of Ubuntu.

Regards
Roger

-- 
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


Re: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread T.C. Hollingsworth
On Wed, Nov 2, 2011 at 1:59 PM, Michael D. Berger
m_d_berger_1...@yahoo.com wrote:
 In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon

 rtn = pthread_create() fails with:
   rtn=1=Operation not permitted

 man pthread_create says this means:
   No permission to set the scheduling policy
   and parameters specified in attr.

 This happens for:
   policy = SCHED_FIFO
   policy = SCHED_RR

 This code works if, after boot, I start it with:
   /etc/init.d/myDaemon start

 and starts on boot in my old CentOS 5 box.

You should ask the systemd devs about this:
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
systemd-de...@lists.freedesktop.org

If it works normally but not from systemd, it's probably a bug in the
latter, or else something very strange is going on.

-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


corrupted MAC error using scp

2011-11-02 Thread Gerhard Magnus
I'm at my wits end with this problem:

A small LAN with three boxes and hardwired ethernet connections through
a router.
PuteF: server, running FC15 (x86) and LXDE  
PuteB: running FC13 (386) and gnome
PuteD: running FC15 (386) and KDE

I can transfer files between PuteB and PuteD using scp without any
problems. Regardless of which machine the scp is initiated on, all file
transfers between PuteF and PuteB, and between PuteF and PuteD fail with
the error message Corrupted MAC on input. Disconnecting: Packet
corrupt. lost connection. The time this takes to happen varies within a
few minutes.

Based my not getting this error for file transfers between PuteB and
PuteD (running FC13 and FC15, respectively) I assumed (1) the problem is
with PuteF or its connectivity, and (2) the problem does not involve
different versions of Fedora. Based on what I read on the Web about this
error I assumed the hardware was at fault. So I put in a new ethernet
card on PuteF and connected it to the router with a new cable. But I
still get the Corrupted MAC error.
-- 
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


RE: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Michael D. Berger
 -Original Message-
 From: users-boun...@lists.fedoraproject.org 
 [mailto:users-boun...@lists.fedoraproject.org] On Behalf Of 
 T.C. Hollingsworth
 Sent: Wednesday, November 02, 2011 20:03
 To: Community support for Fedora users
 Subject: Re: pthread_create() fails SysV in myDaemon on boot
 
[...]
 
 You should ask the systemd devs about this:
 http://lists.freedesktop.org/mailman/listinfo/systemd-devel
 systemd-de...@lists.freedesktop.org
 
 If it works normally but not from systemd, it's probably a 
 bug in the latter, or else something very strange is going on.
 
 -T.C.
 --

I tried to join the systemd-devel list but it didn't let me.
I forwardrd the problem to the list anyway, but I don't
know if they got it.

Maybe you could forward it for me?

Thanks,
Mike.

--
Michael D. Berger
m.d.ber...@ieee.org
http://www.rosemike.net/

-- 
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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread D. Marshall Lemcoe Jr.
 Ubuntu, I think is easier to get started from scratch with, but all
 three distributions that you listed will serve you just fine in
 learning the order of the penguin.

 Oh I see, and in long term also, would it be good?

All of the distributions listed have excellent support and release
cycles, meaning you won't be worrying about when you're going to get
the shiny new software.
-- 
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


Re: corrupted MAC error using scp

2011-11-02 Thread Joe Zeff
On 11/02/2011 06:01 PM, Gerhard Magnus wrote:
 Based on what I read on the Web about this
 error I assumed the hardware was at fault. So I put in a new ethernet
 card on PuteF and connected it to the router with a new cable. But I
 still get the Corrupted MAC error.

I would have tried a new cable by itself, first.  Then, I would have 
tried switching the server to a spare port on the router if there is 
one.  If not, I'd switch the server and one of the two other machines to 
see if the issue follows the port or the machine.
-- 
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


RE: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Michael D. Berger

 -Original Message-
 From: users-boun...@lists.fedoraproject.org 
 [mailto:users-boun...@lists.fedoraproject.org] On Behalf Of 
 Michael D. Berger
 Sent: Wednesday, November 02, 2011 21:21
 To: 'Community support for Fedora users'
 Subject: RE: pthread_create() fails SysV in myDaemon on boot
 

 Maybe you could forward it for me?
 
 Thanks,
 Mike.
 
 --
 Michael D. Berger
 m.d.ber...@ieee.org
 http://www.rosemike.net/
 
 --
 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
 
 __ NOD32 6596 (2002) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 


Never mind, I'm joined.  It just took a while.

Thahns,
Mike.

--
Michael D. Berger
m.d.ber...@ieee.org

http://www.rosemike.net/

-- 
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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread Joel Rees
On Wed, Nov 2, 2011 at 10:56 AM, Bruno Wolff III br...@wolff.to wrote:
 On Tue, Nov 01, 2011 at 18:34:15 -0700,
  Linda McLeod lindavald...@fastmail.fm wrote:
 How does Fedora clean its RAM..?

 Does the system dump what's on unused RAM?..  Does it wait till
 reboot..?
 How does it work..?

 How can the system be bumped-up to the next evolution of
 RAM-processing..?

 Is there, or can there be, a continuous wiping-cleaner that instantly
 cleans RAM the moment its thht-data is dated..?

 Unprivileged users don't have access to the previous contents of ram allocated
 to their processes.

You're sure about that? What evidence do you offer? Can you point to
auto-scrub code paths in all the library APIs for freeing memory?

 What is the threat model you are trying to guard against?

Rather than merely imply that such threat models are beyond the scope
of Fedora, wouldn't it be better to refer the OP to a wiki article on
the subject, or to the dev list if there is no wiki article?
-- 
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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread Chris Adams
Once upon a time, Joel Rees joel.r...@gmail.com said:
 On Wed, Nov 2, 2011 at 10:56 AM, Bruno Wolff III br...@wolff.to wrote:
  Unprivileged users don't have access to the previous contents of ram 
  allocated
  to their processes.
 
 You're sure about that? What evidence do you offer? Can you point to
 auto-scrub code paths in all the library APIs for freeing memory?

Read the kernel source.

  What is the threat model you are trying to guard against?
 
 Rather than merely imply that such threat models are beyond the scope
 of Fedora, wouldn't it be better to refer the OP to a wiki article on
 the subject, or to the dev list if there is no wiki article?

Go read a book on Unix.
-- 
Chris Adams cmad...@hiwaay.net
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough 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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread Joe Zeff
On 11/02/2011 07:04 PM, Joel Rees wrote:
 You're sure about that? What evidence do you offer? Can you point to
 auto-scrub code paths in all the library APIs for freeing memory?

Unless the next program allocates RAM and reads from it without first 
writing to it, what difference does it make?  And, in the unlikely event 
that some program does this, there's no way of knowing a priori what was 
there before.
-- 
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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread David Quigley
On 11/02/2011 22:13, Chris Adams wrote:
 Once upon a time, Joel Rees joel.r...@gmail.com said:
 On Wed, Nov 2, 2011 at 10:56 AM, Bruno Wolff III br...@wolff.to 
 wrote:
  Unprivileged users don't have access to the previous contents of 
 ram allocated
  to their processes.

 You're sure about that? What evidence do you offer? Can you point to
 auto-scrub code paths in all the library APIs for freeing memory?

 Read the kernel source.

  What is the threat model you are trying to guard against?

 Rather than merely imply that such threat models are beyond the 
 scope
 of Fedora, wouldn't it be better to refer the OP to a wiki article 
 on
 the subject, or to the dev list if there is no wiki article?

 Go read a book on Unix.
 --
 Chris Adams cmad...@hiwaay.net
 Systems and Network Administrator - HiWAAY Internet Services
 I don't speak for anybody but myself - that's enough trouble.


Chris is correct in saying read the kernel source. When a page is given 
to userspace by the kernel it is given zeroed out. The reason you would 
need to scrub memory is if you are reallocated a page of memory by the 
malloc library and not the kernel. If a memory region is freed using 
free and then subsequently malloced with another call it is possible for 
malloc to give you memory that hasn't been scrubbed. If malloc needs a 
new set of pages to meet your request the pages it will get from the 
kernel will already be zeroed.

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


Re: How does Fedora clean its RAM..?

2011-11-02 Thread Chris Adams
Once upon a time, Joe Zeff j...@zeff.us said:
 On 11/02/2011 07:04 PM, Joel Rees wrote:
  You're sure about that? What evidence do you offer? Can you point to
  auto-scrub code paths in all the library APIs for freeing memory?
 
 Unless the next program allocates RAM and reads from it without first 
 writing to it, what difference does it make?  And, in the unlikely event 
 that some program does this, there's no way of knowing a priori what was 
 there before.

That would be a security problem, since you could have information leak
from one process to another.  However, Unix-like systems don't work that
way.
-- 
Chris Adams cmad...@hiwaay.net
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough 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


Re: pthread_create() fails SysV in myDaemon on boot

2011-11-02 Thread Tim
On Wed, 2011-11-02 at 17:54 -0400, Michael D. Berger wrote:
 Please pardon me if you see this twice.  I thought that the
 newsgroup and the e-mail list were the same thing, but I now
 see they are not.

Depends which news group you're referring to.  The gmane one does
interact with this list.  There could be a propagation delay, though.

-- 
[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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Tim
On Wed, 2011-11-02 at 18:07 +0530, Linux Tyro wrote:
 confused between: fedora, openSUSE and ubuntu LTS

It's always going to be hard to answer which is best queries.  As
there's numerous criteria, and conflicting answers.

If you want free support from other users, I would say Fedora and
Ubuntu.  I haven't seen openSuse to comment on it.  I've noticed more
knowledgeable answers on the Fedora list than the Ubuntu list, which
seems to have more dumb suggestions, last time I looked.  By that I mean
silly suggestions from people clearly don't know what they're talking
about, and no corrections to such advice.

That may have changed, with time.  But bearing in mind that Ubuntu tends
to be the first port of call to Windows users, it seems to drag in more
of the crazy Windows mentalities (e.g. reinstall, reboot, and fiddle
with unrelated things to your problem).

With Fedora, you get an unencumbered OS.  You shouldn't fall afoul of
any royalties, patents, etc.  But you lose some functionality, such as
mp3 playback, unless you go to a third party and take a legal risk.  Or,
the stability risks from things like closed source video card drivers
from certain vendors, rather than using the more basic open source
drivers.

Ubuntu doesn't care, and provides you with some things of dubious
legality (depending on where you are), so more things just work.

To a more pure blooded *ix users, Ubuntu gets looked upon as the weenie
version of Debian.  So, if your goal is a bit higher, you might want to
look further than just Ubuntu.

-- 
[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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Tim
On Wed, 2011-11-02 at 15:02 -0500, Bruno Wolff III wrote:
 The problem with mp3 software is not that there isn't Free software
 that that can encode/decode sound into the mp3 codec, but that the
 codec is patented and patent owners do not permit free redistribution
 of code to use it.

I thought that one expired some years ago.

-- 
[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


Re: windows migrant: choosing linux distribution

2011-11-02 Thread Tim
Linux Tyro:
 why linux: highly secured and better than windows

Bruno Wolff III:
 Don't count in this too much. Part of the security comes from being a minority
 OS and part comes through the people who use it.

I would say that the *majority* of that is down to the people using it. 

Sensible people are more cautious.  Sensible people turn to OSs that are
more sensibly planned, and use it more sensibly.  One of the reasons
they may turn to Fedora (or another *ix) from Windows, is that they're
sick of the bad design of Windows.

People do dumb things, and no OS can protect the stupid from themselves,
ultimately speaking.  Some people turn to *ix simply because it's free,
carry on using a computer is a silly way, encourage others to do the
same, and drag things down.

-- 
[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