Re: [CentOS] Odd ethernet interface
On 05.11.2011 02:32, Ljubomir Ljubojevic wrote: Vreme: 11/05/2011 01:10 AM, Mufit Eribol piše: Hello, I have a CentOS 6 VM on a CentOS 6 host. This VM has two ethernet interfaces, eth0 and eth1. It was working nice. All of a sudden eth1 stopped working as expected. Kernel started to give the message below: kernel: udev: renamed network interface eth2 to eth2-eth1 There is no any eth2 or eth2-eth1 in /etc/sysconfig/network-scripts/. I really don't know where it is coming from. Your eth1 is being automaticaly renamed to eth2-eth1 for some reason. Have you changed anything in config(s) connected to eth1? Are name and device name in ifcfg-ethX consistent? Have you reshufled your configs and left loose end somewhere? Do you maybe have NetworkManager still active? Thank you for the responses. There is no NetworkManager installed. Perhaps I should give some more info. It is a two-gateway machine. I have following lines in my rc.local: # routing and default gateway for each interface ip route add 10.0.0.0/24 dev eth0 src 10.0.0.32 table T1 ip route add default via 10.0.0.11 table T1 ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 table T2 ip route add default via 192.168.2.1 table T2 # regular routes ip route add 10.0.0.0/24 dev eth0 src 10.0.0.32 ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 # default gateway ip route add default via 10.0.0.11 # rules ip rule add from 10.0.0.32 table T1 ip rule add from 192.168.2.2 table T2 But again, the system was working before fine. The problematic interface is 192.168.2.2 (eth1). In network-scripts directory, I have 2 eth configuration files, nothing else (apart from lo of course). eth0: DEVICE=eth0 NM_CONTROLLED=yes ONBOOT=yes HWADDR=52:54:00:E0:5A:C5 TYPE=Ethernet BOOTPROTO=none IPADDR=10.0.0.32 PREFIX=24 DNS1=127.0.0.1 #DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME=System eth0 UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 PEERDNS=no eth1: DEVICE=eth1 NM_CONTROLLED=yes ONBOOT=yes HWADDR=52:54:00:B5:B6:D1 TYPE=Ethernet BOOTPROTO=none IPADDR=192.168.2.2 PREFIX=24 DNS1=127.0.0.1 #DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME=System eth1 UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 PEERDNS=no network: NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=www.onart.com.tr GATEWAY=10.0.0.11 Thank you for your support. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Odd ethernet interface
Vreme: 11/05/2011 02:52 AM, John R Pierce piše: On 11/04/11 6:29 PM, Jure Pečar wrote: I'd recommend the same treatment for network manager as we used for sendmail all those years back: # yum -y remove NetworkManager And then configure your network the old, verified, stable and trusted way, by editing the ifcfg files. The whole idea of having something running on a *server* that can change your networks settings for whatever reason is horribly wrong. great. how do I do dhcp (client) without NetworkManager ? Most all my lab servers are configured via DHCP reservations. and where IS the docs on what-all goes in ifcfg-eth0 or whatever now days? again, the RHEL6 manuals seem to skip over these details. Removing NetworkManager (only sane solution for server): http://wiki.libvirt.org/page/Networking#Disabling_NetworkManager -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [YUM] - Issue on package removal order on CentOS 5
Hello, I post here because I have an embarassing issue considering the yum version provided with CentOS 5. I am trying to package an application for CentOS. So I wrote my own specfile which is composed of declaration of various packages (main application and plugins for this applications). In that the configuration, the plugins RPM depends on the main application RPM because. Moreover, in all %postun blocks I execute a script which is provided my the main app RPM. My issue is that when I try to remove the packages with the yum remove command, the main app RPM is erased before the plugin RPM and in that case the postun scriptlets for the plugin fails because my script is not available anymore. As I read on the RPM and YUM doc, I used in the SPEC file the following instructions : Requires(post): mainapp = %{version} Requires(postun): mainapp = %{version} But even with this declaration, yum removes the RPM in bad order : Erasing: mainapp 1/2 Erasing: mainapp-plugin 2/2 /var/tmp/rpm-tmp.48257: line 1: /usr/sbin/mainapp-setup: No such file or directory As a note, I say that I use a unique specfile for all my application. So is there a bug with yum or do I something wrong ? For now, I use an ugly workaround which tests the availability of the script in the postun block but I don't like it. Thanks in advance for your answers. Regards, Olivier BONHOMME ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] coordinated NIS and LDAP servers
On Fri, Nov 04, 2011 at 09:11:01PM -0400, Boris Epstein wrote: On Fri, Nov 4, 2011 at 6:55 PM, Jonathan Nilsson jnils...@uci.edu wrote: Hence the question - is there a good way to have an NIS server for user authentication that is a mirror image of an LDAP server, with a proviso that an update introduced there is replicated in the LDAP server's databases? http://freeipa.org/page/NIS_Compatibility Thank you very much, this sounds like an excellent idea! If you don't mind paying, PADL may do what you want http://www.padl.com/Products/NISLDAPGateway.html Or fire up a Solaris 10 instance, which may also do what you want Both will take an LDAP server and republish as NIS. LDAP is authoratative and all changes must be made there (so you can't make your NIS map from NIS sources and expect the changes to propagate to LDAP). -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Odd ethernet interface
Am 05.11.2011 07:15, schrieb Mufit Eribol: On 05.11.2011 02:32, Ljubomir Ljubojevic wrote: Vreme: 11/05/2011 01:10 AM, Mufit Eribol piše: Hello, I have a CentOS 6 VM on a CentOS 6 host. This VM has two ethernet interfaces, eth0 and eth1. It was working nice. All of a sudden eth1 stopped working as expected. Kernel started to give the message below: Hi Mufit, renaming of interfaces most likely comes from udev rules. Find rule 70 network in /etc/udev.d/rules, it is recreated upon restart. Delete it then reboot. Maybe this helps. Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
On 05/11/11 13:22, Olivier BONHOMME wrote: Hello, I post here because I have an embarassing issue considering the yum version provided with CentOS 5. I am trying to package an application for CentOS. So I wrote my own specfile which is composed of declaration of various packages (main application and plugins for this applications). In that the configuration, the plugins RPM depends on the main application RPM because. Moreover, in all %postun blocks I execute a script which is provided my the main app RPM. My issue is that when I try to remove the packages with the yum remove command, the main app RPM is erased before the plugin RPM and in that case the postun scriptlets for the plugin fails because my script is not available anymore. As I read on the RPM and YUM doc, I used in the SPEC file the following instructions : Requires(post): mainapp= %{version} Requires(postun): mainapp= %{version} But even with this declaration, yum removes the RPM in bad order : Erasing: mainapp 1/2 Erasing: mainapp-plugin 2/2 /var/tmp/rpm-tmp.48257: line 1: /usr/sbin/mainapp-setup: No such file or directory As a note, I say that I use a unique specfile for all my application. So is there a bug with yum or do I something wrong ? Please post your spec file to a pastebin for us to see. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
Le 05/11/2011 15:29, Ned Slider a écrit : Please post your spec file to a pastebin for us to see. Hello, Here it is : http://ares.ptitoliv.net/~ptitoliv/fusiondirectory.spec Regards, Olivier BONHOMME ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Firewall - router with virtual IP
On Fri, 4 Nov 2011, Fajar Priyanto wrote: On Fri, Nov 4, 2011 at 10:15 AM, KevinO ke...@kevino.org wrote: anyways, whatever, yes, you can do it with iptables, but not all off the shelf firewall script generators will support multiple LAN subnets. I usually write my own iptables rulesets. I can say first hand that fwbuilder easily handles managing scripts for multiple subnets and aliased addressing on NIC's. I use separate interface cards for each subnet, however. (5 NIC's, 4 internal subnets, 3 public IP's on the one external facing NIC) Hi Kevin, Expanding my original question. I have a need to open and close iptables rules based on particular time, say 1 week later, 1 month later, etc. Currently I have a simple script to do that: - Create the rules. - Create atd job to delete the rule based on the defined time. - Log it. It works, but not elegant :) Does fwbuilder have that function? Fwbuilder does indeed have time objects in it, although I have never used them. The docs at http://fwbuilder.org are pretty extensive and the devs hang out on the mailing lists and regularly answer questions or provide pointers to the relevant docs. Hope this helps. -- Tom m...@tdiehl.org Spamtrap address me...@tdiehl.org___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
On 05/11/11 14:40, Olivier BONHOMME wrote: Le 05/11/2011 15:29, Ned Slider a écrit : Please post your spec file to a pastebin for us to see. Hello, Here it is : http://ares.ptitoliv.net/~ptitoliv/fusiondirectory.spec Rather than making the Requires specific to a package: Requires(postun): fusiondirectory = %{version} try making it specific to the script that needs to be run. For example: Requires(postun): /full/path/to/script.sh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
Le 05/11/2011 16:19, Ned Slider a écrit : On 05/11/11 14:40, Olivier BONHOMME wrote: Le 05/11/2011 15:29, Ned Slider a écrit : Please post your spec file to a pastebin for us to see. Hello, Here it is : http://ares.ptitoliv.net/~ptitoliv/fusiondirectory.spec Rather than making the Requires specific to a package: Requires(postun): fusiondirectory= %{version} try making it specific to the script that needs to be run. For example: Requires(postun): /full/path/to/script.sh Hello, Thanks for you answer Already tested and it is the same behaviour :( After googling a little bit, I found this : https://bugzilla.redhat.com/show_bug.cgi?id=448153 Could that explaing such an issue ? Regards, Olivier BONHOMME ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
On 05/11/11 15:29, Olivier BONHOMME wrote: Le 05/11/2011 16:19, Ned Slider a écrit : On 05/11/11 14:40, Olivier BONHOMME wrote: Le 05/11/2011 15:29, Ned Slider a écrit : Please post your spec file to a pastebin for us to see. Hello, Here it is : http://ares.ptitoliv.net/~ptitoliv/fusiondirectory.spec Rather than making the Requires specific to a package: Requires(postun):fusiondirectory= %{version} try making it specific to the script that needs to be run. For example: Requires(postun):/full/path/to/script.sh Hello, Thanks for you answer Already tested and it is the same behaviour :( After googling a little bit, I found this : https://bugzilla.redhat.com/show_bug.cgi?id=448153 Could that explaing such an issue ? Quite possibly, I don't know. In which case, if such a bug does exist and is affecting you, I would place the script within %postun of each package that needs it rather than calling the script as a file that might have already been removed. This is better than simply testing the script exists before running it as if it doesn't then it doesn't get run and presumably that is not the desired outcome. There are many ways of working around such a bug. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
Le 05/11/2011 17:14, Ned Slider a écrit : Quite possibly, I don't know. In which case, if such a bug does exist and is affecting you, I would place the script within %postun of each package that needs it rather than calling the script as a file that might have already been removed. Hello Ned, Sorry but I am a little bit confused. Now, it's the case : the script is in the %postun block for each RPM which needs it. But maybe, there is a misunderstanding. Are you talking about the script content ? This is better than simply testing the script exists before running it as if it doesn't then it doesn't get run and presumably that is not the desired outcome. In my case, it's not a big deal because, if the binary is not here, that means the main app package is not here anymore and in that case it doesn't make sense to execute the script. There are many ways of working around such a bug. I thought the test way the best in that case. Of course it works, but it is a bit ugly and i don't think there is pretty solution for that. Regards, Olivier BONHOMME ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
On 05/11/11 16:25, Olivier BONHOMME wrote: Le 05/11/2011 17:14, Ned Slider a écrit : Quite possibly, I don't know. In which case, if such a bug does exist and is affecting you, I would place the script within %postun of each package that needs it rather than calling the script as a file that might have already been removed. Hello Ned, Sorry but I am a little bit confused. Now, it's the case : the script is in the %postun block for each RPM which needs it. But maybe, there is a misunderstanding. Are you talking about the script content ? Yes, the script content. This is better than simply testing the script exists before running it as if it doesn't then it doesn't get run and presumably that is not the desired outcome. In my case, it's not a big deal because, if the binary is not here, that means the main app package is not here anymore and in that case it doesn't make sense to execute the script. Well that depends on what the script does I guess. In your case it may well be fine. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
Le 05/11/2011 17:52, Ned Slider a écrit : Yes, the script content. Unfortunately, the script is a big perl script so it's difficult to integrate it. But thanks for the idea. I will note for a next time :) This is better than simply testing the script exists before running it as if it doesn't then it doesn't get run and presumably that is not the desired outcome. In my case, it's not a big deal because, if the binary is not here, that means the main app package is not here anymore and in that case it doesn't make sense to execute the script. Well that depends on what the script does I guess. In your case it may well be fine. Yes I think it's ok. Regards, Olivier BONHOMME ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] School cloud solution
This really isn't a CentOS specific queation but that is our server OS of choice. I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. I have looked at Moodle but it has way to many layers that we are not interested in. I would like something like squirrel mail. A simple web login that then gives you access to your samba managed files. I have repeatedly searched for such capabilities but i have not found any that fit what i outlined above. Is there such a program out there? Thanks for your thoughts! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS Directory Server 8.2 for EL5
All, I have built all the new packages for the CentOS Directory Server (CDS) 8.2 for CentOS-5 and it currently resides in the testing repo at the following locations: http://dev.centos.org/centos/5/testing/i386/RPMS/CDS/ http://dev.centos.org/centos/5/testing/x86_64/RPMS/CDS/ If you are using the current CDS from CentOS-Extras (version 8.1), can you please test the 8.2 RPMS and let me know if they are working correctly so I can move them to Extras. You can reply to this thread on the message list or to this tacker on the bugs.centos.org server: http://bugs.centos.org/view.php?id=5230 Please help me get these packages into Extras. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
On 11/05/11 5:34 PM, Doug Coats wrote: This really isn't a CentOS specific queation but that is our server OS of choice. I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. thats really not a cloud, thats just an internet accessible file server as you describe.the problem is, any system that involves downloading a file, editing it locally, and uploading it back to the file server will fail, as users won't remember to upload, and leave multiple versions scattered about. Look into google 'apps' (which is really corporatized google documents). you edit your documents via your web browser, everything is hosted in googles cloud so its accessible everywhere. It supports written 'word' style documents, spreadsheets, presentations (powerpoint like) and a few other types. yes, it costs money per person per year (up to 25 users are free), but I'd have to assume there's an educational discount. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
On Sat, 2011-11-05 at 19:34 -0500, Doug Coats wrote: This really isn't a CentOS specific queation but that is our server OS of choice. I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. I have looked at Moodle but it has way to many layers that we are not interested in. I would like something like squirrel mail. A simple web login that then gives you access to your samba managed files. I have repeatedly searched for such capabilities but i have not found any that fit what i outlined above. Is there such a program out there? Thanks for your thoughts! sounds like webdav is what you want Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
Vreme: 11/06/2011 01:41 AM, John R Pierce piše: On 11/05/11 5:34 PM, Doug Coats wrote: This really isn't a CentOS specific queation but that is our server OS of choice. I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. thats really not a cloud, thats just an internet accessible file server as you describe.the problem is, any system that involves downloading a file, editing it locally, and uploading it back to the file server will fail, as users won't remember to upload, and leave multiple versions scattered about. Look into google 'apps' (which is really corporatized google documents). you edit your documents via your web browser, everything is hosted in googles cloud so its accessible everywhere. It supports written 'word' style documents, spreadsheets, presentations (powerpoint like) and a few other types. yes, it costs money per person per year (up to 25 users are free), but I'd have to assume there's an educational discount. What about WebDav: http://en.wikipedia.org/wiki/WebDAV ? This should just what doctor ordered. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
Vreme: 11/06/2011 01:49 AM, Ljubomir Ljubojevic piše: Vreme: 11/06/2011 01:41 AM, John R Pierce piše: On 11/05/11 5:34 PM, Doug Coats wrote: This really isn't a CentOS specific queation but that is our server OS of choice. I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. thats really not a cloud, thats just an internet accessible file server as you describe.the problem is, any system that involves downloading a file, editing it locally, and uploading it back to the file server will fail, as users won't remember to upload, and leave multiple versions scattered about. Look into google 'apps' (which is really corporatized google documents). you edit your documents via your web browser, everything is hosted in googles cloud so its accessible everywhere. It supports written 'word' style documents, spreadsheets, presentations (powerpoint like) and a few other types. yes, it costs money per person per year (up to 25 users are free), but I'd have to assume there's an educational discount. What about WebDav: http://en.wikipedia.org/wiki/WebDAV ? This should just what doctor ordered. Some recomended clients: http://barracudaserver.com/products/BarracudaDrive/tutorials/mapping_windows_drive.lsp -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
I manage a student file server and i would like to add cloud access to it. Basically i would like our students to have access to the same files at home that they have at school. This would allow them to start an asignment at home, finish it at school, and print it off without having to worry about losing their usb drive. I want it housed on our servers for backups and ease of access for our teachers when necessary. Have you looked at Gollem? http://www.horde.org/apps/gollem WebDAV / DAV could work too. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
Vreme: 11/06/2011 01:56 AM, Barry Brimer piše: Have you looked at Gollem? http://www.horde.org/apps/gollem Where are clients for Windows/Linux/Mac? It should be transparent to Document Applications.., like virtual file system.. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
Vreme: 11/06/2011 01:56 AM, Barry Brimer piše: Have you looked at Gollem? http://www.horde.org/apps/gollem Where are clients for Windows/Linux/Mac? It should be transparent to Document Applications.., like virtual file system.. My mistake, I didn't recall the drive transparency requrement. He asked for something web based like squirrelmail. Does squirrelmail provide a virtual file system? Barry___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Firewall - router with virtual IP
On Sat, Nov 5, 2011 at 11:19 PM, m...@tdiehl.org wrote: Does fwbuilder have that function? Fwbuilder does indeed have time objects in it, although I have never used them. The docs at http://fwbuilder.org are pretty extensive and the devs hang out on the mailing lists and regularly answer questions or provide pointers to the relevant docs. Hi Tom! You're right. http://www.fwbuilder.org/4.0/docs/users_guide/time-interval-objects.html Perfect for me!! Thank you :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
Thanks for all of your thoughts. I will look into gollem. The clients at school are windows 7. At home the clients might be any number of OS's. Eventually we might be using some sort of tablet devise probably Android based. Have any of you used Gollem? On Nov 5, 2011 8:16 PM, Barry Brimer li...@brimer.org wrote: ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
On 11/05/11 6:29 PM, Doug Coats wrote: Thanks for all of your thoughts. I will look into gollem. The clients at school are windows 7. At home the clients might be any number of OS's. Eventually we might be using some sort of tablet devise probably Android based. see, another problem with a 'file' based solution is editing software... ok, you have windows7 at school... what format are the documents in, MS Office 2010 ? Users at home are going to have a motley mix of older versions and other platforms, possibly not have the same font sets, etc etc. The Google App approach bypasses this entirely, the client editing software is the browser and the google app Ajax stuff. The documents are the same regardless of what platform the user is on. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
I understand what google docs offers but it comes with the need for an email address that i can not make students have, the inability for me to control who has access to which files, and no way to get teachers access without each student configuring that on their own. My teachers have enough to worry about. They will not use a solution that is more difficult then what we already use. Any solution has to be a clear upgrade with advantages for it to be adopted. Sent from my ASUS Eee Pad John R Pierce pie...@hogranch.com wrote: On 11/05/11 6:29 PM, Doug Coats wrote: Thanks for all of your thoughts. I will look into gollem. The clients at school are windows 7. At home the clients might be any number of OS's. Eventually we might be using some sort of tablet devise probably Android based. see, another problem with a 'file' based solution is editing software... ok, you have windows7 at school... what format are the documents in, MS Office 2010 ? Users at home are going to have a motley mix of older versions and other platforms, possibly not have the same font sets, etc etc. The Google App approach bypasses this entirely, the client editing software is the browser and the google app Ajax stuff. The documents are the same regardless of what platform the user is on. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] School cloud solution
On 11/5/2011 10:43 PM, Doug Coats wrote: I understand what google docs offers but it comes with the need for an email address that i can not make students have, the inability for me to control who has access to which files, and no way to get teachers access without each student configuring that on their own. My teachers have enough to worry about. They will not use a solution that is more difficult then what we already use. Any solution has to be a clear upgrade with advantages for it to be adopted. Sent from my ASUS Eee Pad Try a search for document management system open source. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6: /etc/init/start-ttys.conf ignored
hi why are tty3-tty6 started after this config change? i would like to have only tty1 finally becasue on a virtual machine there is no need for the other processes since CTRL+ALT+Fx is caught by the own system and remote console mostly not needed at all [root@centos ~]# cat /etc/init/start-ttys.conf # # This service starts the configured number of gettys. start on stopped rc RUNLEVEL=[2345] env ACTIVE_CONSOLES=/dev/tty[1-2] env X_TTY=/dev/tty1 task script . /etc/sysconfig/init for tty in $(echo $ACTIVE_CONSOLES) ; do [ $RUNLEVEL = 5 -a $tty = $X_TTY ] continue initctl start tty TTY=$tty done end script [root@centos ~]# ps aux | grep tty root 1626 0.0 0.0 4044 540 tty1 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty1 root 1628 0.0 0.0 4044 544 tty2 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty2 root 1630 0.0 0.0 4044 544 tty3 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty3 root 1632 0.0 0.0 4044 540 tty4 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty4 root 1634 0.0 0.0 4044 544 tty5 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty5 root 1636 0.0 0.0 4044 540 tty6 Ss+ 01:12 0:00 /sbin/mingetty /dev/tty6 signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6: php-eaccelerator
has anybody ever got eaccelerator working with open_basedir on CentOS? https://bugzilla.redhat.com/show_bug.cgi?id=751569 i wonder that the last build is more than a yaer ago and nobody hitted until now or nobody is secring his vhsost and so did not take notice about it http://koji.fedoraproject.org/koji/buildinfo?buildID=181336 signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6: /etc/init/start-ttys.conf ignored
On Sun, Nov 06, 2011 at 04:55:53AM +0100, Reindl Harald wrote: hi why are tty3-tty6 started after this config change? The script is sourcing in /etc/sysconfig/init which has ACTIVE_CONSOLES defined; when the file is sourced it overwrites the values you set in /etc/init/start-ttys.conf. John -- In today's online world, what your mother told you is true, only more so: people really can judge you by your friends. -- Harold Abelson, MIT computer science professor, on personal information that can be gleaned from social networking sites, NY Times, 17 March 2010 pgpVbX2ofXGKO.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6: /etc/init/start-ttys.conf ignored
Am 06.11.2011 05:27, schrieb John R. Dennison: On Sun, Nov 06, 2011 at 04:55:53AM +0100, Reindl Harald wrote: hi why are tty3-tty6 started after this config change? The script is sourcing in /etc/sysconfig/init which has ACTIVE_CONSOLES defined; when the file is sourced it overwrites the values you set in /etc/init/start-ttys.conf. thank you, that was it! [root@centos ~]# ps aux | grep tty root 1660 0.0 0.0 4044 540 tty1 Ss+ 05:32 0:00 /sbin/mingetty /dev/tty1 root 1724 0.0 0.0 105292 884 pts/0S+ 05:32 0:00 grep --color tty signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [YUM] - Issue on package removal order on CentOS 5
Olivier, Le 05/11/2011 16:19, Ned Slider a écrit : On 05/11/11 14:40, Olivier BONHOMME wrote: Rather than making the Requires specific to a package: Requires(postun): fusiondirectory= %{version} try making it specific to the script that needs to be run. For example: Requires(postun): /full/path/to/script.sh Recently, I ran into a similar issue with package removal order, and solved it by using the method shown below. (My platform is RHEL 5.x / CentOS 5.x, using RPM version 4.4.2.3) For each of the sub-packages, I included this in the sub-package header section: Requires(postun): Main-Package where Main-Package is the package name of the master. In the main package, I created a %postun section as below: %postun exit 0 I placed a similar %postun section in the sub-packages: %postun exit 0 These are basically NOP scripts, replace them with more code if your sub-package actually needs to do a post-uninstall stage. The sections do need to exist in the master and sub-packages to help RPM determine the dependencies properly. To help debug the package removal process, use the following: # rpm -e Main-Package -vv 21 | tee destroy.log This will turn on extra debugging output from rpm and capture it into a log file that you can view to see exactly how RPM is determining the order in which packages need to be removed. Look for something like this: D: == tsorting packages (order, #predecessors, #succesors, tree, depth, breadth) D: 000710 -MyPkg-util-1.0.2-2.i386 D: == successors only (0 bytes) D: 100011 -MyPkg-1.0.2-2.i386 D: 200112 -MyPkg-metro-1.0.2-2.i386 D: 300213 -MyPkg-tomcat6-1.0.2-2.i386 D: 400314 -MyPkg-api-1.0.2-2.i386 D: 500415 -MyPkg-webapp-1.0.2-2.i386 D: 600516 -MyPkg-default-1.0.2-2.i386 D: 700617 -MyPkg-site1-1.0.2-2.i386 In my scenario, I have seven other sub-packages that depend on each other as well as the master package. As the MyPkg-site1 sub-package depends on the MyPkg, MyPkg-webapp, MyPkg-api, and MyPkg-tomcat6; I made sure to list all three of these packages in the Requires(postun): line in the MyPkg-site1 sub-package. The removal stage %preun for MyPkg-site1 depends on running a script which exists in the MyPkg master, so if the MyPkg master was removed, the MyPkg-site1 sub-package failed to properly uninstall (unless I used rpm -e --noscripts). Applying the steps above solved this and now the packages are removed in the correct order. Refer to the RPM manual for more details on addressing package dependencies: http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html RPM enforces the above dependencies _until_ the specified script has been run, not _at_ that time. In other words, it will allow erasing a dependency that was marked for eg. the %post script for an already installed package, but will not allow erasing one that is required for a %postun script for such a package. rpm -i: %pre script runs - installs files dirs - %post script runs rpm -e: %preun script runs - removes files dirs - %postun script runs Cheers! Simba Engineering ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos