Re: [CentOS] CentOS 7 Repeating Update Messages
On 6/11/2015 12:16 AM, Harold Toms wrote: On 10/06/15 17:07, Kirk Bocek wrote: I've install yum-cron on a new CentOS 7 host and after a recent update I am now getting daily repeating emails about that update instead of the single notification I was expecting. Does anyone know what's going on? Kirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos By default, yum-cron just downloads updates but does not install them, so the e-mail you receive shows a list of updates waiting to be applied. If you want it to do that you must change "apply_updates" in /etc/yum/yum-cron.conf from "no" to "yes". Right you are. Thanks. That was not the default in yum-cron on CentOS 6. So much new in 7. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 7 Repeating Update Messages
I've install yum-cron on a new CentOS 7 host and after a recent update I am now getting daily repeating emails about that update instead of the single notification I was expecting. Does anyone know what's going on? Kirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is CentOS 6.X still supporting PHP 5.3.3?
On 6/5/2015 3:21 AM, 李欣 wrote: I have a question about the support of PHP. Is CentOS 6.X still supporting PHP 5.3.3? Are there any new releases in the future? Where is the official place to get information about it? Thanks. Xin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Check out the Software Collections Repository: http://wiki.centos.org/AdditionalResources/Repositories/SCL It has PHP 5.4 available. I just used it for Python 3.3. It's a little funky in that you install the software in parallel and then temporarily enable the newer version in a shell or other executable environment. But it works. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Lirc 0.9.0
Does anyone have any experience getting LIRC 0.9.0 up and running on CentOS 6.6? I have the packages from EPEL installed: lirc.x86_64 0.9.0-8.el6 @epel lirc-doc.x86_64 0.9.0-8.el6 @epel lirc-libs.x86_64 0.9.0-8.el6 @epel lirc-remotes.x86_64 0.9.0-8.el6 @epel And my IR driver loads fine and creates /dev/lirc0: IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized Registered IR keymap rc-rc6-mce input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci:00/:00:1d.3/usb5/5-1/5-1:1.0/rc/rc0/input12 rc0: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci:00/:00:1d.3/usb5/5-1/5-1:1.0/rc/rc0 mceusb 5-1:1.0: Registered Philips eHome Infrared Transceiver on usb5:2 usbcore: registered new interface driver mceusb IR JVC protocol handler initialized IR Sony protocol handler initialized lirc_dev: IR Remote Control driver registered, major 247 rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0 IR LIRC bridge handler initialized I added LIRC_DEVICE="/dev/lirc0" to /etc/sysconfig/lirc. I have my configuration in /etc/lirc/lircd.conf that was working with LIRC 0.8.6. But when I run irw, I get no output. I do see in the log: Jun 1 06:04:04 marble lircd-0.9.0[1787]: lircd(default) ready, using /var/run/lirc/lircd Jun 1 06:06:08 marble lircd-0.9.0[1787]: accepted new client on /var/run/lirc/lircd Jun 1 06:06:10 marble lircd-0.9.0[1787]: failed on bit 1 Jun 1 06:06:10 marble lircd-0.9.0[1787]: failed on bit 1 And a whole bunch of failed on bit messages. Does anyone have any ideas? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Getting Megaraid Software Manager Installed On CentOS 7
Well I'm pleased that my raid card post brought all the enthusiasts out of the woodwork. So who has installed LSI's MSM software under CentOS 7? I've downloaded the linux-x64 package from: http://www.lsi.com/products/raid-controllers/pages/megaraid-sas-9361-8i.aspx Extracted the files and run "install.csh -a". This installs vivaldiframeworkd under /etc/rc.d/init.d and that runs fine. I can access the host from a Windows install of MSM just fine. What seems to missing is the monitoring software. I think the run-time script is called mr_monitor. It doesn't seem to be installed. Attempts to configure monitor alerts from Windows returns "monitor is unreachable." Does anyone have any idea what is going on? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New controller card issues
On 5/28/2015 9:03 AM, Valeri Galtsev wrote: On Thu, May 28, 2015 10:46 am, Kirk Bocek wrote: On 5/26/2015 11:07 AM, m.r...@5-cent.us wrote: Push came to shove - these things gag on a drive > 2TB. I ran into this a couple of years ago with some older 3Ware cards. A firmware update fixed it. With 3ware cards depending on card model: 1. the card supports drives > 2TB 2. the card as initially released does not support these drives, but there is firmware update after installation of which the card will supports drives > 2TB 3. The card does not support drives > 2TB, even with latest available firmware. (there are really old cards, even though someone may say hardware doesn't live this long, I do have them in production as well, and to the credit of 3ware I must say: I've never seen one dead - excluding abuse/misuse of course). Just my $0.02 Valeri Well the 3Ware cards have reached their end of life for me. I just went through a horrible build that finally hinged on an incompatibility between a 3Ware card and a new SuperMicro X10-DRI motherboard. Boots would just hang. Once I installed a newer LSI MegaRaid card, all my problems went away. I have used and depended on 3Ware for a decade. I worked with both the 3Ware vendor, which is Avago, and SuperMicro, there is simply no fix. I suggest everyone stay away from 3Ware from now on. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New controller card issues
On 5/26/2015 11:07 AM, m.r...@5-cent.us wrote: Push came to shove - these things gag on a drive > 2TB. I ran into this a couple of years ago with some older 3Ware cards. A firmware update fixed it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On 5/25/2015 12:12 PM, Jonathan Billings wrote: On May 25, 2015, at 10:48 AM, Kirk Bocek wrote: It usually happens when I've wanted to change versions of the same software between repos and that software has been compiled differently. Usually audio-visual software. Yum install triggers a conflict and yum uninstall on the older package cascades a bunch of undesirable uninstalls. The only solution is rpm -e -nodeps followed by installing the newer package. If you have a better solution, let me know. Stop using those repos. Whatever you’re doing, you’re not using a repo or software packaged for the version of CentOS you are using. Could you give some examples? It would help to see these dependency mismatches in person. If you want to use the software, find the source RPMs and rebuild them for the version of CentOS you’re using. I am an avid user of MythTV and prefer to install from RPM. There are *very* few sources of those RPMS. ATRpms used to be my main source: http://packages.atrpms.net/dist/ But Axel Thimm seems to have drifted off to better things and he stopped building the latest versions of Myth. SCRpms provided by Stephen Collier has picked up the torch: http://scrpms.net/pub/ Now the problem has been less these repos than the host of supporting audio-visual packages needed to get MythTV up and running: things like FFMpeg, the latest proprietary Nvidia driver, lirc. Often I have to go to third party repos to get things working. One example of the conflicts involved here are the QT packages. It looks like CentOS 7 ships with QT 4.8 which is what MythTV currently requires. But CentOS 6 shipped with QT 4.6. Stephen Collier did a really good job compiling his 4.8 packages for CentOS 6 so they could install in parallel. *Except* for the qt-x11 package. That one cannot be installed in parallel. If you have anything depending on qt-x11, you'll have to rpm -e --nodeps the 4.6 package before installing the 4.8 package. The regular yum upgrade process somehow doesn't work. As I recall it wants to pull in a bunch of other stuff and conflicts arise. The bigger issue is a project like MythTV being targeted at the bleeding edge like Fedora while I want to stay on the stable edge with CentOS. I've had to deal with this for years. MythTV will eventually move on to a library or a tool not supported by the base CentOS install and it will be a battle to get it to work. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On 5/25/2015 4:40 AM, Jonathan Billings wrote: On May 25, 2015, at 01:10, Kirk Bocek wrote: I'll reinstall chrony. But there *are* places I've needed to use nodeps. Mostly to manage inter-repo package incompatibilities. You should look into the yum priorities option to ensure packages from different repos don't step on each other, however I'd consider any yum repository that requires you break your rpm database to be one to avoid. It usually happens when I've wanted to change versions of the same software between repos and that software has been compiled differently. Usually audio-visual software. Yum install triggers a conflict and yum uninstall on the older package cascades a bunch of undesirable uninstalls. The only solution is rpm -e -nodeps followed by installing the newer package. If you have a better solution, let me know. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On May 24, 2015 4:46:18 PM PDT, Jonathan Billings wrote: >> On May 24, 2015, at 18:24, Kirk Bocek wrote: >> >> So: >> >> $rpm -e --nodeps chrony > >No. Bad. > Okay, okay! I'll go on the paper. I'll reinstall chrony. But there *are* places I've needed to use nodeps. Mostly to manage inter-repo package incompatibilities. Fortunately this isn't yet a production host but more a chance to learn all the changes like this, systemd, grub2, xfs, whatever the new firewall is called. The list keeps growing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On 5/24/2015 12:22 PM, Gordon Messmer wrote: On 05/24/2015 11:41 AM, Kirk Bocek wrote: to activate your selected daemon. I just used the new systemd commands, thinking that would be enough. So I tried that and rebooted. Nope, same problem: chronyd and ntpd both use UDP port 123, so each will terminate the other when it starts. If both are enabled, chronyd's unit file indicates that it should start after ntpd, so it will always "win." You probably have both enabled, so the system boots, starts ntpd, then starts chronyd which terminates ntpd. Disable chronyd. Yes, indeedy. $systemctl status chronyd chronyd.service - NTP client/server Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled) Active: inactive (dead) since Sun 2015-05-24 11:39:21 PDT; 3h 31min ago Process: 845 ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers (code=exited, status=0/SUCCESS) Process: 808 ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS (code=exited, status=0/SUCCESS) Main PID: 814 (code=exited, status=0/SUCCESS) CGroup: /system.slice/chronyd.service May 24 11:35:53 cobalt chronyd[814]: NTP packet received from unauthorised host 10.0.0.1 port 123 ... So: $rpm -e --nodeps chrony chrony has dependencies with anaconda and initial-setup. Reboot, and: $systemctl status ntpd ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: active (running) since Sun 2015-05-24 15:15:42 PDT; 3min 1s ago Process: 847 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS) Main PID: 868 (ntpd) CGroup: /system.slice/ntpd.service ââ868 /usr/sbin/ntpd -u ntp:ntp -g May 24 15:15:42 cobalt ntpd[868]: Failed to join 224.0.1.1 socket to multicast group 224.0.1.1 May 24 15:15:42 cobalt ntpd[868]: 0.0.0.0 c016 06 restart May 24 15:15:42 cobalt ntpd[868]: 0.0.0.0 c012 02 freq_set kernel 17.232 PPM May 24 15:15:43 cobalt ntpd[868]: 0.0.0.0 c515 05 clock_sync May 24 15:15:49 cobalt ntpd[868]: Listen normally on 5 enp4s0f0 fe80::ec4:7aff:fe34:1dcc UDP 123 May 24 15:15:49 cobalt ntpd[868]: new interface(s) found: waking up resolver May 24 15:15:51 cobalt ntpd[868]: Listen normally on 6 enp4s0f0 10.0.0.160 UDP 123 May 24 15:15:51 cobalt ntpd[868]: io_setbclient: Opened broadcast client on interface #6 enp4s0f0 May 24 15:15:51 cobalt ntpd[868]: new interface(s) found: waking up resolver May 24 15:16:47 cobalt ntpd[868]: 0.0.0.0 0613 03 spike_detect +0.416806 s Multicast error, but no big deal. ntpq -p is reporting correctly on the broadcast servers on my network. Also, I suppose I could have just disabled chrony instead of removing it. I had no idea about chrony and no idea it was installed *and activated* by default. So much new stuff to learn in 7. Thank you Frank and Gordon. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On 5/23/2015 11:22 PM, Luigi Rosa wrote: Kirk Bocek wrote on 24/05/2015 04:37: So I've built my first CentOS 7 host and am learning all the new ways of doing things. I setup and enabled ntpd but after a reboot I get: In CentOS 7 is bettere to use chrony, here's an howto http://linoxide.com/linux-command/chrony-time-sync/ So reviewing Red Hat's documentation on the subject: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Configuring_the_Date_and_Time.html#sect-Configuring_the_Date_and_Time-timedatectl-NTP I see both chrony and ntpd mentioned but no preference given. Seeing that I've used ntpd for a decade and am more comfortable an familiar with it, I think I just stick with ntpd. However, we have yet *another* new control system. We are supposed to issue: $timedatectl set-ntp yes to activate your selected daemon. I just used the new systemd commands, thinking that would be enough. So I tried that and rebooted. Nope, same problem: $systemctl status ntpd ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead) I have also tried: $systemctl reenable ntpd To get the symbolic links rewritten. No help. To be clear, if I manually issue: $systemctl start ntpd ntpd runs fine: $systemctl status ntpd ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: active (running) since Sun 2015-05-24 11:39:21 PDT; 8s ago Process: 2935 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS) Main PID: 2936 (ntpd) CGroup: /system.slice/ntpd.service ââ2936 /usr/sbin/ntpd -u ntp:ntp -g May 24 11:39:21 cobalt ntpd[2936]: Listen normally on 3 enp4s0f0 10.0.0.160 UDP 123 May 24 11:39:21 cobalt ntpd[2936]: Listen normally on 4 lo ::1 UDP 123 May 24 11:39:21 cobalt ntpd[2936]: Listen normally on 5 enp4s0f0 fe80::ec4:7aff:fe34:1dcc UDP 123 May 24 11:39:21 cobalt ntpd[2936]: Listening on routing socket on fd #22 for interface updates May 24 11:39:21 cobalt ntpd[2936]: io_setbclient: Opened broadcast client on interface #3 enp4s0f0 May 24 11:39:21 cobalt ntpd[2936]: Listen normally on 6 multicast 224.0.1.1 UDP 123 May 24 11:39:21 cobalt ntpd[2936]: Joined 224.0.1.1 socket to multicast group 224.0.1.1 May 24 11:39:21 cobalt ntpd[2936]: 0.0.0.0 c016 06 restart May 24 11:39:21 cobalt ntpd[2936]: 0.0.0.0 c012 02 freq_set kernel 17.232 PPM May 24 11:39:22 cobalt ntpd[2936]: 0.0.0.0 c515 05 clock_sync It's just not running at boot time. Come on, I can't be the only one here to setup time services! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd
On 5/23/2015 8:00 PM, Carlos A. Carnero Delgado wrote: El sáb., may. 23, 2015 10:37 PM, Kirk Bocek escribió: ... Ntpd runs just fine. But why isn't it loading at boot... Did you run systemctl enable ntp.service after installing it? Yup, take a look at the second line: $ systemctl status ntpd ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Systemd
So I've built my first CentOS 7 host and am learning all the new ways of doing things. I setup and enabled ntpd but after a reboot I get: $ systemctl status ntpd ntpd.service - Network Time Service Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled) Active: inactive (dead) After issuing: $ systemctl start ntpd Ntpd runs just fine. But why isn't it loading at boot time? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Command line mp3 player
On May 22, 2015 11:46:23 AM PDT, Bowie Bailey wrote: >I have a CentOS 7 server that I want to use as an audio source for our >hold music. It does not have a GUI installed, so I am looking for a >program with a command line interface that will let me play a folder >full of mp3 files on a continuous loop. > >MOC seems to do what I want, but I can't find a build for CentOS 7. Is >there another program that I can use for this? > >Thanks. This something I used years ago: http://mpg321.sourceforge.net/ Don't know if it works on CentOS 7 anymore. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning off wifi in CentOS 7
On 5/19/2015 10:54 AM, m.r...@5-cent.us wrote: And that one drives me nuts. It breaks PXE boot kickstart builds. Maybe *you* have all same model systems from the same manufacturer; we've got boxen from... at least five or six manufacturers, of varying ages, from the 10+ yr old Altix 3000 from SGI, to the current one from SGI, to my 5 yr old Dell workstation, to some old Penguins and several Suns (soon to set, the sooner the better...). How do you deal with everything from em1 to ens3f0, which comes up *only* after you start to install In what conceivable way is this better than having your scripts know that eth0 (or even em1) is always going to be how to talk to the world? mark "they sound like ham call letters" Okay, diving in where angels don't know what the hell they are doing. (I would love for James to pipe in here.) *But*, it seems like in the section in his posting on setting up a fixed IP address (which is my immediate interest): nmcli conection modify connection.autoconnect yes ipv4.method manual ipv4.addr "10.0.0.1/24" ipv4.dns "10.0.1.1, 10.0.1.2" ipv4.gateway 10.0.0.254 Does not reference an actual interface name and nmcli is figuring everything out for you. *Unless* he is using "connection" here as a euphemism for an interface. If "connection" is the actual string then a script would work regardless of host. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turning off wifi in CentOS 7
On 5/19/2015 10:24 AM, James Hogarth wrote: On 19 May 2015 11:40, wrote: Or if you want a bigger hammer: systemctl disable NetworkManager.service systemctl enable network.service systemctl stop NetworkManager.service systemctl start network.service The above will disable NetworkMangler and return control of the network to the scripts in /etc/sysconfig/network-scripts just like previous versions. Of course that goes against the RH recommendations, works against you if you want to do RHCSA/RHCE at some point, and has a few other issues too... It's that behaviour that lead me to write this recently: https://www.hogarthuk.com/?q=node/8 There is the right time to use the old network service. EL6 or a couple of very specific edge cases. Otherwise you are effectively hurting yourself to some extent. Great post. I am just in the process of building my first CentOS 7 host and was wondering whether to use NetworkManager. You've swayed me. I've always disabled it on CentOS 6. Your point about these new funky device names is really good. I will miss my simple eth0 and eth1 but tech moves on. Definitely a learning curve with nmcli. Right now I'm at the "Argh! WTF!" phase but I'm sure I'll get over it. I got over it with selinux once I made the decision to *not* to disable selinux on all my new CentOS 6 hosts. You should move your post onto the wiki. Kirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Q: respecting .ssh/id_rsa
On 5/8/2015 7:22 AM, Valeri Galtsev wrote: On Fri, May 8, 2015 8:58 am, James B. Byrne wrote: While attempting to debug something else I ran across this: ssh -vvv somehost . . . debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/identity-cert type -1 debug3: Not a RSA1 key file /root/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace . . . However if I verify the key I see this: ssh-keygen -l -f ~/.ssh/id_rsa.pub 4096 08:70:3b:92:4c:96:1c:6a:03:a4:ae:66:8d:9e:6c:93 /root/.ssh/id_rsa.pub (RSA) Which seems ok to me. The permissions also seem ok: .ssh]# ll total 40 -rw---. 1 root root 3863 Oct 11 2012 authorized_keys -rw---. 1 root root 3243 Aug 9 2012 id_rsa -rw-r--r--. 1 root root 757 Aug 9 2012 id_rsa.pub -rw-r--r--. 1 root root 11071 May 8 09:42 known_hosts When checking permissions don't forget to check permissions on parent directories (all levels up to the /). E.g., if your home directory is world writable, ssh will ignore authorized_keys as well, as the above permissions _can_ be changed by everybody. The same is true if / is ridiculously world writable (I've never seen that myself, but I do mean: check all levels of what the path ~/.ssh is). It's not clear from your description, but I'm sure you have the following right: id_rsa and id_rsa.pub is a pair you have on local machine (the one you ssh from). autorized_keys is on the remote machine (the one you connect to), and it contains the contents of id_rsa.pub that you have on local machine (i.e. you copied id_rsa.pub from local machine to remote and dumped it into ~/.ssh/autorized_keys on it). I would also check that in sshd config file (usually: /etc/ssh/sshd_config) on remote machine you do have line PubkeyAuthentication yes Good luck! Valeri The password-less connections complete in any case but I am perplexed as to what is the problem with the root identity key that ssh is reporting. Can anyone explain to me what this means? Also check that the selinux context on all files and directories are set to "ssh_home_t". From the home dir: #chcon -R -t ssh_home_t .ssh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 7 Installer Fail With 3Ware Controller
I thought I'd post to the mail list because I know there are some that only respond this way. I have a new SuperMicro X10-DRI host with a 3Ware controller that hangs when I try to install CentOS 7 on it. I've documented everything here: https://www.centos.org/forums/viewtopic.php?f=49&t=52231 CentOS 6.6 installs just fine. I'd appreciate any feedback anyone has, either to the list or the forum. Thanks, Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Use postfix and spamd on CentOS 6 - looking for a shortest guide
On 8/13/2014 10:35 AM, Valeri Galtsev wrote: > Sendmail exists forever. ... I was extremely happy to switch away from > sendmail to postfix (and postfix configuration files are human readable!). Sendmail's heritage reaches back to when computer's were the size of dishwashers and had 4k of main memory. Hence the inscrutable syntax. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 - Firewall always allows outgoing packets?
On 8/11/2014 12:07 PM, Kirk Bocek wrote: >OMG if it's that important I will, I will! > > What's your malfunction? How about gathering information and knowledge > before starting a major upgrade? > ___ > I have now been alerted by two list members to the behavior of the individual involved. I will not allow myself to be baited again. I apologize to everyone for the off-topic, off-subject posting. We return you to our regular programming. Kirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 - Firewall always allows outgoing packets?
On 8/11/2014 11:56 AM, Reindl Harald wrote: > Am 11.08.2014 um 20:47 schrieb Kirk Bocek: >> I have not even started to digest 7. What is the proper method of >> getting back to an industrial strength firewall under 7? Does one >> disable FirewallD and install iptables or does iptables install on top >> of FirewallD? You are making it sound like FirewallD can act as a >> management tool for iptables > jesus christ if you even not started then do it > > OMG if it's that important I will, I will! What's your malfunction? How about gathering information and knowledge before starting a major upgrade? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 - Firewall always allows outgoing packets?
On 8/11/2014 11:36 AM, Jonathan Billings wrote: > On Aug 11, 2014, at 1:16 PM, Always Learning wrote: >> Stating one's dread of having imposed as a standard, a firewall that can >> not control outgoing packets and has dumbed-down Micro$oft-like 'zones' >> and the possible future removal of IP Tables from the very much admired >> Centos version of RHEL, is probably a desperate call for sanity to >> prevail at Red Hat. > 'FirewallD' doesn't replace 'iptables' except in the sense of activated > system services, not the core firewall functionality. FirewallD just builds > and modifies iptables rules. If anything, FirewallD might make it easier to > migrate to nftables (a potential replacement for iptables) when that becomes > mature[1]. But that's nowhere on the radar right now. > > If you don't like FirewallD, don't use it. It's just a tool to make managing > your firewall easier, and allowing the OS and user to dynamically load rules > depending on certain logic. It replaces the monolithic > /etc/sysconfig/iptables file and the 'iptables' systemd unit. No one is > talking about removing the core netfilter technology behind 'iptables'. > > Just reading this thread makes me wonder if people criticizing FirewallD > actually even tried it or even read the documentation! > > > 1.) http://netfilter.org/projects/nftables/ > > -- > Jonathan Billings > > Thank you Jonathan for injecting a little sanity. What I was reading just wasn't making sense to me. I have not even started to digest 7. What is the proper method of getting back to an industrial strength firewall under 7? Does one disable FirewallD and install iptables or does iptables install on top of FirewallD? You are making it sound like FirewallD can act as a management tool for iptables. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/5/2014 3:22 PM, Kirk Bocek wrote: >> On 8/5/2014 5:47 PM, Kirk Bocek wrote: >> >> >> Okay, it looks like upstart isn't running /etc/init/start-ttys.conf >> >> After running "initctl list" and seeing that tty was in stop/waiting, I >> manually ran: >> >> initctl start tty TTY=/dev/tty1 >> >> six times to get the six usual ttys. After looking at start-ttys.conf I >> guess I could have just run that once instead. Now "initctl list" looks >> like: > Starting the ttys that way didn't work. I was unable to login. So I > stopped them and ran: > > initctl start start-ttys > > Which *seemed* to work better. It loaded all six ttys. I was able to > login at the console. I see an entry in /var/log/secure for my login. > > *But* the terminal session is all messed up. I can run any commands. > They are accepted but do not execute. The first character of the command > is echoed back but that's all. In addition, during login, the password > is fully echoed back on the screen instead of being hidden the way it > should be. > > As I said, I can login through ssh and work just fine. So the user > environment and all user tools are intact. > > But something else isn't running at boot time interfering with proper > login at the console and execution of the ttys. > > Does anyone have any thoughts? > > I had hoped someone here might be able to shed a bit more light on the startup processes for the console. After educating myself a bit, I reinstalled a few packages that seemed relevant: yum reinstall pam yum reinstall initscripts yum reinstall bash But the console ttys are *still* not loading at boot time. I have to run /etc/init/start-ttys manually. *And* tty1 is still messed up. The password is displayed in clear text and not blanked out. Sometimes the session is fine. Most times the session refuses to run any commands at all. Now weirdly tty2 through tty6 are all just fine. The password is blanked as expected. The session executes just fine and dandy. Once again I'll ask if anyone has any experience with Upstart. Can anyone tell me why /etc/init/start-ttys isn't running at boot time? Thanks again for your help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/5/2014 3:22 PM, Kirk Bocek wrote: > *But* the terminal session is all messed up. I can run any commands. Bah! I *can't* run any commands. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/4/2014 7:30 PM, John R Pierce wrote: > On 8/4/2014 5:47 PM, Kirk Bocek wrote: >> Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade. >> It looks like the boot sector got hosed somehow and the system was >> unbootable. I was able to fix it with a boot to an install image USB and >> running grub-install. System is now bootable. >> >> However, I've lost the system console. No login prompt is provided at >> the console. >> >> The system boots and is remotely accessible. Services seem just fine. I >> don't see any error messages after booting, either dmesg or >> /var/log/messages. >> >> Can anyone tell me what packages provide console login so I can try a >> reinstall. > is it booting up in init level 3, or 5 (text console vs X-windows ?) > On 8/5/2014 5:47 PM, Kirk Bocek wrote: > > > Okay, it looks like upstart isn't running /etc/init/start-ttys.conf > > After running "initctl list" and seeing that tty was in stop/waiting, I > manually ran: > >initctl start tty TTY=/dev/tty1 > > six times to get the six usual ttys. After looking at start-ttys.conf I > guess I could have just run that once instead. Now "initctl list" looks > like: Starting the ttys that way didn't work. I was unable to login. So I stopped them and ran: initctl start start-ttys Which *seemed* to work better. It loaded all six ttys. I was able to login at the console. I see an entry in /var/log/secure for my login. *But* the terminal session is all messed up. I can run any commands. They are accepted but do not execute. The first character of the command is echoed back but that's all. In addition, during login, the password is fully echoed back on the screen instead of being hidden the way it should be. As I said, I can login through ssh and work just fine. So the user environment and all user tools are intact. But something else isn't running at boot time interfering with proper login at the console and execution of the ttys. Does anyone have any thoughts? Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/4/2014 7:30 PM, John R Pierce wrote: > On 8/4/2014 5:47 PM, Kirk Bocek wrote: >> Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade. >> It looks like the boot sector got hosed somehow and the system was >> unbootable. I was able to fix it with a boot to an install image USB and >> running grub-install. System is now bootable. >> >> However, I've lost the system console. No login prompt is provided at >> the console. >> >> The system boots and is remotely accessible. Services seem just fine. I >> don't see any error messages after booting, either dmesg or >> /var/log/messages. >> >> Can anyone tell me what packages provide console login so I can try a >> reinstall. > is it booting up in init level 3, or 5 (text console vs X-windows ?) > > Okay, it looks like upstart isn't running /etc/init/start-ttys.conf After running "initctl list" and seeing that tty was in stop/waiting, I manually ran: initctl start tty TTY=/dev/tty1 six times to get the six usual ttys. After looking at start-ttys.conf I guess I could have just run that once instead. Now "initctl list" looks like: $initctl list rc start/running, process 1507 tty (/dev/tty3) start/running, process 6169 tty (/dev/tty2) start/running, process 6167 tty (/dev/tty1) start/running, process 6165 tty (/dev/tty6) start/running, process 6176 tty (/dev/tty5) start/running, process 6174 tty (/dev/tty4) start/running, process 6172 plymouth-shutdown stop/waiting control-alt-delete stop/waiting rcS-emergency stop/waiting readahead-collector stop/waiting kexec-disable stop/waiting quit-plymouth stop/waiting rcS stop/waiting prefdm stop/waiting init-system-dbus stop/waiting readahead stop/waiting splash-manager stop/waiting start-ttys stop/waiting readahead-disable-services stop/waiting rcS-sulogin stop/waiting serial stop/waiting Which looks right to me. At the moment I'm at work and this host is at home so I can't check the console. I looked at start-ttys.conf: start on stopped rc RUNLEVEL=[2345] That looks right. Can anyone tell me why it's not running? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/4/2014 7:30 PM, John R Pierce wrote: > On 8/4/2014 5:47 PM, Kirk Bocek wrote: >> Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade. >> It looks like the boot sector got hosed somehow and the system was >> unbootable. I was able to fix it with a boot to an install image USB and >> running grub-install. System is now bootable. >> >> However, I've lost the system console. No login prompt is provided at >> the console. >> >> The system boots and is remotely accessible. Services seem just fine. I >> don't see any error messages after booting, either dmesg or >> /var/log/messages. >> >> Can anyone tell me what packages provide console login so I can try a >> reinstall. > is it booting up in init level 3, or 5 (text console vs X-windows ?) Did I respond, init 3 - text only? I also recalled last night that I may have interrupted an selinux relabel process. So this morning I did "touch /.autorelabel" and then rebooted. Alas still no text login. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 - Lost Console Login
On 8/4/2014 7:30 PM, John R Pierce wrote: > On 8/4/2014 5:47 PM, Kirk Bocek wrote: >> Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade. >> It looks like the boot sector got hosed somehow and the system was >> unbootable. I was able to fix it with a boot to an install image USB and >> running grub-install. System is now bootable. >> >> However, I've lost the system console. No login prompt is provided at >> the console. >> >> The system boots and is remotely accessible. Services seem just fine. I >> don't see any error messages after booting, either dmesg or >> /var/log/messages. >> >> Can anyone tell me what packages provide console login so I can try a >> reinstall. > is it booting up in init level 3, or 5 (text console vs X-windows ?) 3 -- text only. Shoulda said that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6 - Lost Console Login
Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade. It looks like the boot sector got hosed somehow and the system was unbootable. I was able to fix it with a boot to an install image USB and running grub-install. System is now bootable. However, I've lost the system console. No login prompt is provided at the console. The system boots and is remotely accessible. Services seem just fine. I don't see any error messages after booting, either dmesg or /var/log/messages. Can anyone tell me what packages provide console login so I can try a reinstall. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6 xhci_hcd USB 3 Support
I'm struggling with the xhci_hcd driver trying to get a NEC Corporation uPD720200 USB 3.0 Host Controller working under CentOS 6 x86_64. I've documented my efforts in the forums: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32237&forum=57 If anyone has any experience with the xhci_hcd driver, please share. Thanks, Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] isolinux on a pendrive from disk 1
Jason Hartley wrote: If your goal is to boot off the USB stick and install I have does the following steps recently with a 4gig flash drive: 1. Need to setup the MBR - ex. cat /usr/lib/syslinux/mbr.bin > /dev/sdb 2. Use fdisk to create two partitions and make the first bootable: - The first should be 14 megs, fs type should be set to "b" (W95 FAT32) - The second can be the rest of the drive - Make sure set the boot flag on the first partition (many instructions I found on the web did not mention and it was key) 3. Now you need to dd off the bootdisk.img on the first disk to the first partition: - ex. dd if=/mnt/images/diskboot.img /dev/sdb1 At this point you should have a bootable flash drive and have the option of creating a file system on the second partition then adding the ISO(s) to it along with a kickstart config file. I used the aboved steps on a 4gig stick and was able to put a custom kickstart config file, along with a DVD iso on the second partition. How about authoring a HowTo page on the wiki? This is some good stuff I haven't seen documented anywhere. That's a great idea to use diskboot.img on one partition with the install image on a second partition. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: isolinux on a pendrive from disk 1
Jerry Geis wrote: Jerry Geis wrote: Jerry Geis wrote: >/ Hi />/ />/ I just grabbed an 8gig thumb drive, took disk 1 centos 4 i386, />/ copied the isolinux directory files to my thumbdrive, then ran syslinux />/ -sf /dev/sdc1 />/ on the device plugged it into my laptop and it does not boot. />/ />/ Is there a step(s) I am missing to get a bootable thumbdrive with centos? / I think you also need to add a boot sector to the drive. On my 64-bit system: #dd if=/usr/lib64/syslinux/mbr.bin of=/dev/sdc After doing your suggestion I get same thing it just sets there with a blinking cursor. Jerry I took an older 512MEG usb instead of my 8 GIG one, did the exact same steps and I get Could not find boot image: linux I copied all files what is missing? It was just a guess. There were several more steps I have needed to do in the past in order to get Fedora Live CDs to boot off of thumb drives. I wish I could find the link but all I find now are instructions to use a Fedora script to create the thumb drive -- a script that doesn't seem to be immediately available for CentOS or RHEL. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] isolinux on a pendrive from disk 1
Jerry Geis wrote: Hi I just grabbed an 8gig thumb drive, took disk 1 centos 4 i386, copied the isolinux directory files to my thumbdrive, then ran syslinux -sf /dev/sdc1 on the device plugged it into my laptop and it does not boot. Is there a step(s) I am missing to get a bootable thumbdrive with centos? I think you also need to add a boot sector to the drive. On my 64-bit system: #dd if=/usr/lib64/syslinux/mbr.bin of=/dev/sdc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: 5.1 Anaconda Install Error SOLVED
William L. Maltby wrote: It's not truly any relationship like that. It's just (in the old days) a device ID selected on the cable by jumpers on the drive. The "control" is nothing more than the IDE controller selecting either "0" or "1" device ID for commands and data. The drive with the matching ID responds while the other ignores. In todays world, cable select might provide the ID assignment. I'm not sure how "master" and "slave" came to be used in this scenario, unless it had to do with BIOS boot processes back in the old days. Well, right you are. Scroll down to "Master and Slave Clarification": http://en.wikipedia.org/wiki/Integrated_Drive_Electronics I had been laboring under the impression that the 'master' drive controlled both drives on a single cable. Now I've learned the truth just in time for SATA to take over. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: 5.1 Anaconda Install Error SOLVED
Scott Silva wrote: With PATA the device ID is based on location. Hdb is the primary slave (slave on first port). There doesn't have to be a hda. I thought the point of master/slave in the IDE world was that the master was acting as the controller for the slave. If that's the case, how can you have a slave without a master? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.1 Anaconda Install Error SOLVED
Karanbir Singh wrote: Kirk Bocek wrote: I didn't provide the details because it was strange that the installation failed at the same point regardless of the booting method I used. It felt like some basic mistake or mis-setting in the OS. But hey, I've been wrong before. Anything interesting on vc#1,3,4,5 ? how about run remote syslog and see if anything interesting gets in there After wandering in the dark for two days, I found this posting: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=13334 This reminded me that although this is an all SATA system, I also have a PATA tape drive installed. The solution in the posting was to temporarily unplug the tape drive. Rather than pull this host out of the rack for the umpteenth time, I simply added to the installer's command line: hda=none hdb=none For some reason, the tape drive is installed as /dev/hdb. I'm not sure what's at /dev/hda. If it's the DVD drive and I was installing from physical media, that might be a problem. However, my PXE-boot install is now flying along. Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail and spam
Alain Terriault wrote: > Hi, > > What is todays most effective combination to filter spam ? > > On my old Redhat 3 system I used Sendmail and Spamassasin .. it was > good, but with the current setup we are getting way to much spam. > > Looking around I found new players, well some I did not know then and > they are very interesting.. > > MailScanner .. http://www.mailscanner.info/ > Sagator .. http://www.salstar.sk/sagator/ > Smf .. http://smfs.sourceforge.net/index.html > dspam .. http://dspam.nuclearelephant.com/index.shtml > > I am tempted to go with smfs because it is familiar .. but, mailscanner > seems popular I've been very happy using the RBLs with Sendmail. In sendmail.mc add: dnl # dnl # dnsbl - DNS based Blackhole List/Black List/Rejection list dnl # See http://www.sendmail.org/m4/features.html#dnsbl dnl # FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl FEATURE(`dnsbl', `cbl.abuseat.org', `"Spam blocked see: http://cbl.abuseat.org/lookup.cgi?ip="$&{client_addr}')dnl FEATURE(`dnsbl', `sbl.spamhaus.org', `"Spam blocked see: http://spamhaus.org/query/bl?ip="$&{client_addr}')dnl FEATURE(`dnsbl', `list.dsbl.org', `"Spam blocked see: http://dsbl.org/listing?"$&{client_addr}')dnl FEATURE(`dnsbl',`dnsbl.sorbs.net',`"554 Spam blocked " $&{client_addr} " found in dnsbl.sorbs.net"')dnl dnl # ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.1 Anaconda Install Error
Karanbir Singh wrote: Kirk Bocek wrote: I didn't provide the details because it was strange that the installation failed at the same point regardless of the booting method I used. It felt like some basic mistake or mis-setting in the OS. But hey, I've been wrong before. Anything interesting on vc#1,3,4,5 ? how about run remote syslog and see if anything interesting gets in there Karanbir: After rebooting many times and trying different things, I was able to get a bit more information. I was able to get the Anaconda error message by *not* using text mode. X starts up but then kicks back into text mode when this error pops up. Some of the lines are not quite complete as I had to copy them by hand. Traceback (most recent call last) File "/usr/bin/anaconda", line 900, in ? iutil.makeDriveDeviceNodes() File /usr/bin/anaconda/iutil.py", line 264, ... isys.makeDevInode(... File "/usr/bin/anaconda/isys.py", line 422 ... isys.mkdevinode... System Error: (2, 'No such file or directory') Does this provide any help? Thanks, Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.1 Anaconda Install Error
Karanbir Singh wrote: Kirk Bocek wrote: I didn't provide the details because it was strange that the installation failed at the same point regardless of the booting method I used. It felt like some basic mistake or mis-setting in the OS. But hey, I've been wrong before. Anything interesting on vc#1,3,4,5 ? how about run remote syslog and see if anything interesting gets in there I modified the kickstart file to include the line "logging --host=logginghostname". I added '-r' to the syslog options on the logging host and restarted syslog. I PXE booted into a new install. It crashed a the usual way, right after the "Anaconda Starting" message. A few lines of what I believe are Python display but scroll off of the console. The last messages displayed are: Install exited abnormally [1/1] You may safely reboot On vc3, three warnings: No floppy device found but we'll try fd0 Graphical install unavailable ((I gave the 'text' option at startup)) Unable to find temp path, going to use ramfs path On vc4, nothing seemed special, last message: No IPv6 routers present vc5 and vc6 are blank. I could not find any messages regarding this installation on the remote logging host. I've never done this remote logging before. Is there a step I missed setting it up? Thanks, Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.1 Anaconda Install Error
MHR wrote: On Tue, Jun 3, 2008 at 3:51 PM, Kirk Bocek <[EMAIL PROTECTED]> wrote: I'm unable to install x86_64 on a host. The installer gets through the first part, asking for install type and it begins loading the images from whatever media was selected. Then anaconda spills a series of cryptic messages ending in 'file not found' and the console on F2 is locked up. I've tried this with physical DVD media, PXE-HTTP and media-boot HTTP install. It happens every time. This is a reinstall to this host. The weird thing is that I was able to install to this host from this media previously. I've seen the note at bugs.centos.org regarding an incorrect .discinfo file but that doesn't seem to be it. The .diskinfo file: 1195929648.203590 Final x86_64 1,2,3,4,5,6,7 CentOS/base /home/buildcentos/CENTOS/5.1/en/x86_64/CentOS CentOS/pixmaps Does anyone have any idea what's going on? A little more detail, like what kind of hardware this is on, might help mhr Sure. It's a Asus DSEB-DG motherboard with dual Xeon E5440 CPUS. 8 GB RAM. All the storage is via a 3Ware 9650SE RAID controller. I didn't provide the details because it was strange that the installation failed at the same point regardless of the booting method I used. It felt like some basic mistake or mis-setting in the OS. But hey, I've been wrong before. I'm in the process of downloading a whole new DVD image even though the current image passes the SHA1 checksums. Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 5.1 Anaconda Install Error
I'm unable to install x86_64 on a host. The installer gets through the first part, asking for install type and it begins loading the images from whatever media was selected. Then anaconda spills a series of cryptic messages ending in 'file not found' and the console on F2 is locked up. I've tried this with physical DVD media, PXE-HTTP and media-boot HTTP install. It happens every time. This is a reinstall to this host. The weird thing is that I was able to install to this host from this media previously. I've seen the note at bugs.centos.org regarding an incorrect .discinfo file but that doesn't seem to be it. The .diskinfo file: 1195929648.203590 Final x86_64 1,2,3,4,5,6,7 CentOS/base /home/buildcentos/CENTOS/5.1/en/x86_64/CentOS CentOS/pixmaps Does anyone have any idea what's going on? Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] New RTL8111B Wiki Page
I've created a new CentOS wiki page for the Realtek RTL8111B and related NICs: http://wiki.centos.org/HardwareList/RealTekRTL8111b There's also a driver disk for CentOS 4.5 and 5.0. Kirk Bocek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos