[CentOS] After Crash dracut kernel
Hello, I have two identical servers in hardware. I installed both with CentOS. I did LVM snapshots before updating to test LVM merging. On one server I merged all filesystem's during boot because they where mounted when I merged. The other server I did the snapshots, made my installations and configurations and made no merge because it worked on the other server. But I forgot to delete the snapshots and: n the night the server crashed. It rebooted to recovery kernel because it can't find the lvm volumes (module dm_snapshots was missing). Both servers have a difference. When they start one says CentOS (Core) at the end of the loading bar. The other with the crash says sth. about a dracut-Kernel while loading. What do I have to look for? Partitioning scheme on both servers: /boot: sda1 /: lvm /usr: lvm /var: lvm Swap: lvm Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NTLM Authentication ISA Server
Hello list, how can I get CentOS 7 to authenticate against a Microsoft ISA server for package installations after the OS is installed. In Debian/Ubuntu apt.conf just needs to be edited and it works. How to do so in CentOS? Regards Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NTLM Authentication ISA Server
I tried both ways. But some reasons I don't know it didn't work. How to define the username when it is a active directory user? Tim Am 14. Januar 2015 22:01:07 MEZ, schrieb John R Pierce : >On 1/14/2015 12:53 PM, Tim wrote: >> how can I get CentOS 7 to authenticate against a Microsoft ISA server >for package installations after the OS is installed. >> >> In Debian/Ubuntu apt.conf just needs to be edited and it works. How >to do so in CentOS? > >thats a proxy service? >https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html > > > >-- >john r pierce 37N 122W >somewhere on the middle of the 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] NTLM Authentication ISA Server
I read sth. about cntlm, but it is not installed by default. I will give the mentioned solutions a try. Any other suggestions are welcome. Am 16. Januar 2015 13:08:51 MEZ, schrieb Kwan Lowe : >On Wed, Jan 14, 2015 at 3:53 PM, Tim wrote: > >> Hello list, >> >> how can I get CentOS 7 to authenticate against a Microsoft ISA server >for >> package installations after the OS is installed. >> >> In Debian/Ubuntu apt.conf just needs to be edited and it works. How >to do >> so in CentOS? >> > >I use a program called cntlm. I don't know if an RPM is available but >the >source is trivial to build. I believe it also includes a SPEC file. >___ >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] Documentation link on new Firefox CentOS 7 splash screen
Just my two cents: Anyone thought of asking Red Hat to use documentation? I think they are getting much from the community so to copy public accessible documentation when permitted by RH could be an easy way. Why not giving that a try? Am 18. Januar 2015 20:56:59 MEZ, schrieb Darr247 : >On 18 January 2015 @19:07 zulu, Mark LaPierre wrote: >> good at C or C++ but I can write documentation. Especially if it's >> already pretty much written and all I have to do is copy and paste. > > >Unless you get RH's permission in writing to do so, in advance, I'm >pretty-sure copy and paste does not meet the "so it doesn't violate >copyright law" criterion I mentioned earlier. > >Even if you're not doing it for any type of monetary gain... the DMCA >and WIPO loom large. >___ >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] lost at 'repository' entry installing centos7
What are you exactly searching for? Am 1. Februar 2015 21:30:52 MEZ, schrieb g : > >greetings. > >while attempting to install c7, i got lost at 'repository' entry. > >i canceled, loaded centos.org, looked for help for installing c7, >but did not find. > >i know, i did not look in right place. > >if such has been posted, i missed. > >so what/where is 'the right place'? > >much appreciate some help. > > >-- > >peace out. > >in a world with out fences, who needs gates. > >CentOS GNU/Linux 6.6 > >tc,hago. > >g >. > >___ >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
[CentOS] LVM encryption and new volume group
Hello list, I bought a Thinkpad T420 and installed CentOS 7 recently. I choosed to use lvm encryption for the entire volume group. It works so far. But now I am planning to install a second hard disk. My thought is to create a new volume group on this additional disk. But how can I integrate/do this according to the existing encryption so that it will be decrypted by the same passphrase I use at startup? Regards and thanks in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM encryption and new volume group
Hi Chris, thanks for your answer. It is the first time I decided to encrypt my lvm. I choosed to encrypt the volume group, not every logical volume itself, because in case of doing lvm snapshots in that group they will be encrypted too? And how do I create a new encrypted volume group? Regards Tim Am 6. März 2015 01:58:23 MEZ, schrieb Chris Murphy : >On Thu, Mar 5, 2015 at 2:09 PM, Tim wrote: >> Hello list, >> >> I bought a Thinkpad T420 and installed CentOS 7 recently. >> >> I choosed to use lvm encryption for the entire volume group. It works >so far. >> >> But now I am planning to install a second hard disk. My thought is to >create a new volume group on this additional disk. >> >> But how can I integrate/do this according to the existing encryption >so that it will be decrypted by the same passphrase I use at startup? > >http://linux.die.net/man/5/crypttab > >When you create a new entry in crypttab, you can use the 3rd field to >point to a file that contains the passphrase for this new LUKS volume. >In effect, one passphrase gives access to both drives. > >So there's a pro con here. Pro is that you could actually opt for a >completely different passphrase for the 2nd drive, but never have to >directly type it in. The con is that should you forget this >passphrase, and its only location is on the primary drive that's >already encrypted and that drive dies - then anything on the 2nd drive >cannot be decrypted. Oops. So be careful of that. > > >-- >Chris Murphy >___ >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] LVM encryption and new volume group
I will have a look at the anaconda log. Thanks for the first help. I will have to buy a new Ultrabay case. Am 6. März 2015 07:10:31 MEZ, schrieb Chris Murphy : >On Thu, Mar 5, 2015 at 10:25 PM, Tim wrote: >> Hi Chris, >> >> thanks for your answer. >> >> It is the first time I decided to encrypt my lvm. I choosed to >encrypt the >> volume group, not every logical volume itself, because in case of >doing lvm >> snapshots in that group they will be encrypted too? > >Yes, anything that's COW'd is also encrypted in this case. > >> And how do I create a new encrypted volume group? > >Strictly speaking the VG isn't the target of the encryption, the >underlying PV is. Also, it's not absolutely necessary to partition the >drive at all if you have no need for unencrypted space on this new >drive. Since I use drives on multiple platforms, I always partition so >that other OS's recognize the drive space is spoken for instead of >appearing unpartitioned and hence blank. Linux via libblkid always >looks at disk contents whether partitioned or not so if this is a >Linux only drive you don't have to partition it. > >1. Use cryptsetup to create a LUKS volume on the whole disk or a >partition thereof. For the exact command, you can cheat by doing 'grep >cryptsetup /var/log/anaconda/program.log' which will show you the >command Anaconda used when setting up your first drive. PLEASE make >sure you don't use that command directly or it'll wipe the LUKS header >on your current drive. You have to change the /dev/sdX designation to >point to the new drive or partition. > >2 cryptsetup luksOpen /dev/sdX newdrive >3. pvcreate /dev/mapper/newdrive >4. vgcreate newvg /dev/mapper/newdrive >5. lvcreate -L 300G -n morestuff newvg >6. mkfs.xfs /dev/mapper/newvg-morestuff > >Adapt as needed. Don't forget crypttab is used to point to the LUKS >volume, once it's unlocked the PV is revealed and lvm will activate >the VG and the LVs on it, and then in your fstab you'll have the UUID >for the XFS volume and mount this whereever you want it mounted. > > > > >-- >Chris Murphy >___ >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
[CentOS] How to install tp_smapi and acpi_call kernel modules
Hello, I've got a Thinkpad T420 and would like to use full tlp functionality. Therefore I need the kernel module tp_smapi and acpi_call. Have a look right here: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html#installation There are only fedora related packages but none for RHEL/CentOS. Should I install that repo and hardcode the mirror to the fc21 repo? Regards Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to install tp_smapi and acpi_call kernel modules
Thanks for your answer. tlp and tlp-rdw are already installed from epel. But these packages miss that kernel modules. So when I want these I have to add the repo and replace $release in the mirror url with 21 of fedora, right? Am 7. März 2015 15:39:14 MEZ, schrieb Bob Marcan : >On Sat, 07 Mar 2015 12:52:27 +0100 >Tim wrote: > >> Hello, >> >> I've got a Thinkpad T420 and would like to use full tlp >functionality. >> Therefore I need the kernel module tp_smapi and acpi_call. >> >> Have a look right here: >> >http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html#installation >> There are only fedora related packages but none for RHEL/CentOS. >> >> Should I install that repo and hardcode the mirror to the fc21 repo? >> >> Regards >> Tim >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos >... >Fedora 20 and 21 > >TLP packages are available from the official Fedora repositories: > >tlp (Updates) – Power saving >tlp-rdw (Updates) – optional, Radio Device Wizard > >Install the above packages with the command (in a root shell): >yum install tlp tlp-rdw > >Note: packages for RHEL/CentOS are available from EPEL6/7 repositories. > >BR, Bob > >___ >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] LVM encryption and new volume group
I'm sorry, but grep -i crypt /var/log/anaconda/anaconda.program.log returns nothing. But I have got an entry in /etc/crypttab. I only found this with grep -i luks /var/log/anaconda/anaconda.*: /var/log/anaconda/anaconda.storage.log:20:47:55,959 DEBUG blivet: LUKS.__init__: /var/log/anaconda/anaconda.storage.log:20:49:25,009 DEBUG storage.ui: LUKS.__init__: /var/log/anaconda/anaconda.storage.log:20:49:25,009 DEBUG storage.ui: getFormat('luks') returning LUKS instance /var/log/anaconda/anaconda.storage.log:20:49:25,014 DEBUG storage.ui: PartitionDevice._setFormat: sda2 ; current: None ; type: luks ; /var/log/anaconda/anaconda.storage.log:20:49:25,015 INFO storage.ui: registered action: [23] Create Format luks on partition sda2 (id 15) /var/log/anaconda/anaconda.storage.log:20:49:25,018 DEBUG storage.ui: LUKSDevice._setFormat: luks-sda2 ; current: None ; type: lvmpv ; /var/log/anaconda/anaconda.storage.log:20:49:25,019 INFO storage.ui: added luks/dm-crypt luks-sda2 (id 21) to device tree /var/log/anaconda/anaconda.storage.log:20:49:25,019 INFO storage.ui: registered action: [24] Create Device luks/dm-crypt luks-sda2 (id 21) /var/log/anaconda/anaconda.storage.log:20:49:25,019 INFO storage.ui: registered action: [25] Create Format lvmpv on luks/dm-crypt luks-sda2 (id 21) /var/log/anaconda/anaconda.storage.log:20:49:25,020 DEBUG storage.ui: LUKSDevice.addChild: kids: 0 ; name: luks-sda2 ; ... Seems as there is no command to crib. :-( Regards Tim Am 06.03.2015 um 07:10 schrieb Chris Murphy: > On Thu, Mar 5, 2015 at 10:25 PM, Tim wrote: >> Hi Chris, >> >> thanks for your answer. >> >> It is the first time I decided to encrypt my lvm. I choosed to encrypt the >> volume group, not every logical volume itself, because in case of doing lvm >> snapshots in that group they will be encrypted too? > > Yes, anything that's COW'd is also encrypted in this case. > >> And how do I create a new encrypted volume group? > > Strictly speaking the VG isn't the target of the encryption, the > underlying PV is. Also, it's not absolutely necessary to partition the > drive at all if you have no need for unencrypted space on this new > drive. Since I use drives on multiple platforms, I always partition so > that other OS's recognize the drive space is spoken for instead of > appearing unpartitioned and hence blank. Linux via libblkid always > looks at disk contents whether partitioned or not so if this is a > Linux only drive you don't have to partition it. > > 1. Use cryptsetup to create a LUKS volume on the whole disk or a > partition thereof. For the exact command, you can cheat by doing 'grep > cryptsetup /var/log/anaconda/program.log' which will show you the > command Anaconda used when setting up your first drive. PLEASE make > sure you don't use that command directly or it'll wipe the LUKS header > on your current drive. You have to change the /dev/sdX designation to > point to the new drive or partition. > > 2 cryptsetup luksOpen /dev/sdX newdrive > 3. pvcreate /dev/mapper/newdrive > 4. vgcreate newvg /dev/mapper/newdrive > 5. lvcreate -L 300G -n morestuff newvg > 6. mkfs.xfs /dev/mapper/newvg-morestuff > > Adapt as needed. Don't forget crypttab is used to point to the LUKS > volume, once it's unlocked the PV is revealed and lvm will activate > the VG and the LVs on it, and then in your fstab you'll have the UUID > for the XFS volume and mount this whereever you want it mounted. > > > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Firewalld IP in multiple zones
Hi, I would like to know what will happen when I add 192.168.3.0/24 to trusted zone, but 192.168.3.1/32 to public zone. 192.168.3.1 is the gateway and should not have access to other services in that network. However, will it be blocked or trusted to access services which are allowed in the trusted zone? What's firewalld's rule? Deny before allow? Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firewalld IP in multiple zones
I thought that applying a source instead of a interface to a zone would also work. Am 21. März 2015 20:10:15 MEZ, schrieb Matthew Miller : >On Fri, Mar 20, 2015 at 10:19:13PM +0100, Tim wrote: >> I would like to know what will happen when I add 192.168.3.0/24 to >> trusted zone, but 192.168.3.1/32 to public zone. >[...] >> What's firewalld's rule? Deny before allow? > >It's a little confusing, but the zones apply to _your_ interfaces, not >to external addresses. Only one zone is active at a time per interface. > >-- >Matthew Miller > >Fedora Project Leader >___ >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] NTLM Authentication ISA Server
After a long time I found the following solution: I use the "traditional" way by exporting an environment variable http_proxy. After editing yum.conf by adding a line "proxy=libproxy" everything works fine. Regards Tim Am 16.01.2015 um 22:52 schrieb Tim: I read sth. about cntlm, but it is not installed by default. I will give the mentioned solutions a try. Any other suggestions are welcome. Am 16. Januar 2015 13:08:51 MEZ, schrieb Kwan Lowe : On Wed, Jan 14, 2015 at 3:53 PM, Tim wrote: Hello list, how can I get CentOS 7 to authenticate against a Microsoft ISA server for package installations after the OS is installed. In Debian/Ubuntu apt.conf just needs to be edited and it works. How to do so in CentOS? I use a program called cntlm. I don't know if an RPM is available but the source is trivial to build. I believe it also includes a SPEC file. ___ 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SIG - Hardening
I am very interested. One of my suggestions: Firewall: Network based firewall zone assignment (possibly disabling interface based assignment) Regards Tim Am 22. April 2015 07:13:52 MESZ, schrieb Earl A Ramirez : >Dear All, > >About a week ago; I posted a proposal over on the centos-devel mailing >list, the proposal is for a SIG 'CentOS hardening', there were a few of >the members of the community who are also interested in this. >Therefore, >I am extending that email to this community; where there is a larger >community. > >Some things that we will like to achieve are as follows: >SSH: >disable root (uncomment 'PermitRootLogin' and change to no) >enable 'strictMode' >modify 'MaxAuthTries' >modify 'ClientAliveInterval' >modify 'ClientAliveCountMax' > >Gnome: >disable Gnome user list > >Console: >Remove reboot, halt poweroff from /etc/security/console.app > >Applying security best practises from various compliance perspective, >e.g. STIG, SOX, PCI etc... We may also use NSA RHEL 5 secure >configuration guide to get some insight or use it as a baseline. The >members of the community who are interested in this SIG or are willing >to contribute are: >Leam Hall >Corey Henderson >Jason Pyeron > >You can find the post here [0] > >We will really like to get SIG approved by the CentOS board so if >anyone >is interested or willing to contribute we will be happy to have you >onboard. > >[0] >http://lists.centos.org/pipermail/centos-devel/2015-April/013197.html > >-- >Earl A Ramirez > >___ >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] SIG - Hardening
I think, this SIG would/should care about hardening CentOS itself as a system not a complete environment (proxies, firewalls, etc.) The examples of the opener show this. Something else could be integrity checking possibly. I imagine a tool/script that could apply hardening stuff. Regards Tim Am 22. April 2015 09:23:52 MESZ, schrieb Eero Volotinen : >Sounds like a bit basic stuff? How about hardening ciphers, two factor >authentication, snort, web application firewall and scap scanning? > >Eero >22.4.2015 10.14 ap. "Andrew Holway" >kirjoitti: > >> SELinux? >> >> On 22 April 2015 at 09:11, John R Pierce wrote: >> >> > On 4/21/2015 11:34 PM, Eero Volotinen wrote: >> > >> >> apply also ideas from this document: >> >> >https://benchmarks.cisecurity.org/downloads/show-single/?file=rhel6.130 >> >> >> > >> > that should be your baseline. I suspect you'll find all the >things you >> > mentioned are discussed in the CIS benchmarks. >> > >> > >> > >> > >> > >> > -- >> > john r pierce, recycling bits in santa cruz >> > >> > >> > ___ >> > 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 >> >___ >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
[CentOS] Boot message of a modprobe.d conf file that does not exist
Hi all, I got a message at boot: dracut-pre-udev: libkmod: kmod_config_parse: /etc/modprobe.d/thinkpad_battery.conf line 2: ignoring bad line starting with 'options' I have had this file to load modules for my thinkpad (acpi_call & tp_smapi) but I removed it after recompiling the modules for a new kernel and using "make install load". My question is, why this nonexistent file is still demanded. Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot message of a modprobe.d conf file that does not exist
Hey Leon, that did the trick. Thank you! Regards Tim Am 27. April 2015 11:39:56 MESZ, schrieb Leon Fauster : >Am 26.04.2015 um 11:55 schrieb Tim : >> Hi all, >> >> I got a message at boot: >> dracut-pre-udev: libkmod: kmod_config_parse: >> /etc/modprobe.d/thinkpad_battery.conf line 2: ignoring bad line >starting >> with 'options' >> >> I have had this file to load modules for my thinkpad (acpi_call & >> tp_smapi) but I removed it after recompiling the modules for a new >> kernel and using "make install load". >> >> My question is, why this nonexistent file is still demanded. > > >did you rebuild the initramfs? > > >-- >LF >___ >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
[CentOS] VPN connection before login
Hi all, is there a possibility to connect to a VPN manually before login on CentOS desktop (Gnome). I know of a similar functionality in Windows. Is there a tutorial or something? Thank you Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] VPN connection before login
I imagine something like Cisco AnyConnect on Windows, where you can connect before login to the machine. So afterwards user specific network shares are available and can be connect via scripts. I have an openvpn server running. Regards Tim Am 1. Mai 2015 13:34:48 MESZ, schrieb Jim Perrin : > > >On 04/30/2015 03:42 PM, Tim wrote: >> Hi all, >> >> is there a possibility to connect to a VPN manually before login on >CentOS desktop (Gnome). I know of a similar functionality in Windows. > >This is reasonably vpn specific as to the type, and configuration >allowed. Can you be more specific? > >-- >Jim Perrin >The CentOS Project | http://www.centos.org >twitter: @BitIntegrity | GPG Key: FA09AD77 >___ >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] VPN connection before login
So most easiest way in my eyes would be a network-manager applet at gdm login. But as of CentOS 7 there is no nm-applet.desktop anymore. There is also an unsolved bug report at fedora. Anyone an idea to get nm-applet to gdm login screen? Regards Tim Am 1. Mai 2015 19:45:55 MESZ, schrieb Jegadeesh Kumar : >,vpnc, command is used to connect VPN server. We can configure VPN >server >IP, username, password there. >On 1 May 2015 21:28, "Tim" wrote: > >> I imagine something like Cisco AnyConnect on Windows, where you can >> connect before login to the machine. So afterwards user specific >network >> shares are available and can be connect via scripts. >> >> I have an openvpn server running. >> >> Regards >> Tim >> >> Am 1. Mai 2015 13:34:48 MESZ, schrieb Jim Perrin >: >> > >> > >> >On 04/30/2015 03:42 PM, Tim wrote: >> >> Hi all, >> >> >> >> is there a possibility to connect to a VPN manually before login >on >> >CentOS desktop (Gnome). I know of a similar functionality in >Windows. >> > >> >This is reasonably vpn specific as to the type, and configuration >> >allowed. Can you be more specific? >> > >> >-- >> >Jim Perrin >> >The CentOS Project | http://www.centos.org >> >twitter: @BitIntegrity | GPG Key: FA09AD77 >> >___ >> >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 >> >___ >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] Firefox 38 and Older TLS sites
Hey Johnny, firefox seems not to have multilanguage support anymore. After the update my firefox turned from german to english. Regards Tim Am 13.05.2015 um 12:12 schrieb Johnny Hughes: > All, > > Red Hat released the source code for Firefox 38. We have (or willbe > today) releasing this for CentOS-5, CentOS-6, and CentOS-7. > > It does not, by default, connect to https sites with TLS less than 1.2. > This means it will not connect to sites on CentOS-5, for example .. > there are many others. > > In any event, here is a wiki article that explains potential issues and > workarounds: > > http://wiki.centos.org/TipsAndTricks/Firefox38onCentOS > > Thanks, > Johnny Hughes > > > > ___ > 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] Firefox 38 and Older TLS sites
Thank you. I can live with this as long multilanguage support will come back. Tim Am 13.05.2015 um 23:04 schrieb Akemi Yagi: > On Wed, May 13, 2015 at 12:26 PM, Tim wrote: >> Hey Johnny, >> >> firefox seems not to have multilanguage support anymore. After the >> update my firefox turned from german to english. >> >> Regards >> Tim > > Yes, it's a known issue. Please follow the links in this post: > > http://lists.centos.org/pipermail/centos/2015-May/152273.html > > Akemi > ___ > 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
[CentOS] CentOS 7 and mobile broadband Ericsson F5521gw
Hello all, I have got problems to get my mobile broadband connection running on my Lenovo T420. But NetworkManager doesn't seem to connect. I ran through the wizard for mobile broadband connections but it doesn't work. The Ericsson f5521gw seems to run with cdc_ndm module. I also installed modem-manager-gui and unlocked my sim by using mmcli. But still NetworkManager can't establish a connection. I also can't delete connection out of the NM-GUI so I needed to remove them from /etc/NetworkManager/system-connections. Did I miss something? The logs seem to be fine so far. My CentOS 7 has all recent updates applied. Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] EPEL metalink offline?
Hey guys, is EPEL metalink offline? Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was 14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org" Everything else works for me. Regards Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EPEL metalink offline?
I used to configure Googles DNS 8.8.8.8 as additional dns-server and it works now here from germany. Strange thing... Am 29.05.2015 um 23:20 schrieb Richard: > > > Original Message >> Date: Friday, May 29, 2015 11:08:50 PM +0200 >> From: Tim >> >> Hey guys, >> >> is EPEL metalink offline? >> >> Could not get metalink >> https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 >> error was 14: curl#6 - "Could not resolve host: >> mirrors.fedoraproject.org" >> >> Everything else works for me. >> >> Regards >> Tim > > This works fine for me, and the DNS for mirrors.fedoraproject.org > looks fine too -- points to the cname wildcard.fedoraproject.org., > which resolves to 8 A-records, with 60sec TTLs (for my US/east coast > location). Did you check to see what your DNS is showing? > > - Richard > ___ > 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] OT: default password for HP printer
Hey Ken, give this a try: http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/How-do-we-reset-the-EWS-embedded-web-server-on-our-8500-Pro/td-p/2450071 An older model but I could work for you. Regards Tim Am 22.06.2015 um 17:31 schrieb ken: > For some reason the "tech support" people at Hewlett-Packard don't know > what the default password is to access their printer's embedded web > server (EWS). I got it myself from the installation manual six months > ago and immediately set my own password which I have used since then, so > I no longer remember what the default is. (It's really a longer story > than that, but) So I was just hoping that someone here might know > what that default password is. Mine is an Officejet Pro 8620, but > perhaps some other, recent HP printer default password would work. (Yes, > I've already tried various versions of "admin", an empty password, and > others, but just not anything which has worked.) > > ___ > 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] OT: default password for HP printer
The manual doesn't say anything about a user or password. http://h10032.www1.hp.com/ctg/Manual/c03026243.pdf Search for EWS. I don't know this model but it can't be that hard. Regards Tim Am 22.06.2015 um 21:48 schrieb ken: > Thanks, Tim. But no, that didn't work. For the record, that page said: > > 1) password access requirement is turned OFF > > 2) username default is ADMIN > > 3) password is BLANK > > But I distinctly recall the username is "admin" (all lower case), even > though the manual stated the username was "Admin". > > The password was short, like 5 or 6 characters, but definitely not blank. > > I tried all of the above anyway. No go. > > > On 06/22/2015 03:22 PM, Tim wrote: >> Hey Ken, >> >> give this a try: >> http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/How-do-we-reset-the-EWS-embedded-web-server-on-our-8500-Pro/td-p/2450071 >> >> >> An older model but I could work for you. >> >> Regards >> Tim >> >> >> >> Am 22.06.2015 um 17:31 schrieb ken: >>> For some reason the "tech support" people at Hewlett-Packard don't know >>> what the default password is to access their printer's embedded web >>> server (EWS). I got it myself from the installation manual six months >>> ago and immediately set my own password which I have used since then, so >>> I no longer remember what the default is. (It's really a longer story >>> than that, but) So I was just hoping that someone here might know >>> what that default password is. Mine is an Officejet Pro 8620, but >>> perhaps some other, recent HP printer default password would work. (Yes, >>> I've already tried various versions of "admin", an empty password, and >>> others, but just not anything which has worked.) >>> >>> ___ >>> 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 >> > ___ > 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] OT: default password for HP printer
Have you tried Franks suggestion? I also found this for a full reset: http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/How-to-reset-Officejet-Pro-8600-Plus-Premium-to-factory/td-p/1094005 Am 22.06.2015 um 22:04 schrieb ken: > On 06/22/2015 03:57 PM, Tim wrote: >> The manual doesn't say anything about a user or password. >> http://h10032.www1.hp.com/ctg/Manual/c03026243.pdf >> >> Search for EWS. I don't know this model but it can't be that hard. > > Yeah, as said in my original post, I have googled for the answer... and > extensively... three different search strings. And I've read posts up > to five or six search-results-pages deep. I agree, it shouldn't be that > hard. I've come up with answers which saved customers more than $50,000 > quicker than this. It's partially the absurdity of not being able to > find the answer which is driving me bat-crap crazy. > > ___ > 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
[CentOS] Lenovo T420 internal microphone not working
Hello, I have CentOS 7.1 installed on my Lenovo T420 Notebook. Now I will start to have some online meetings for a software project. In Bios the I/O-settings for camera and microphone are enabled. Camera is working (tested with cheese). In the audio settings of Gnome perferences I see an internal microphone which doesn't produce any input. The microphone is also not disabled by the key on the keyboard. Where can I take a look at? Thank you in advance Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Lenovo T420 internal microphone not working
Hi Ian, thanks for your reply. I found the solution on my own: I needed to add an option model=thinkpad to snd_hda_intel. echo options snd_hda_intel model=thinkpad > /etc/modprobe.d/snd_hda_intel.conf Now it is working. Thanks Tim Am 14.07.2015 um 21:38 schrieb Ian Pilcher: > On 07/14/2015 06:02 AM, Tim wrote: >> In the audio settings of Gnome perferences I see an internal microphone >> which doesn't produce any input. The microphone is also not disabled by >> the key on the keyboard. > > One thing to try is adjusting the gain on the microphone *after* you've > started your conferencing application. I have to do this with my webcam > mic. > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CakePHP in CentOS7
Hello everyone, is there anyone who got CakePHP running in his CentOS7 machine? I did it like the installation guide on cakephp.org says but I ran into file permission problems for error.log and cache configuration errors. The skeleton application is not running. Regards Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CakePHP in CentOS7
Found it! SElinux must be permissive to bake a cake :-) Regards Tim Am 17. Juli 2015 19:31:31 MESZ, schrieb Tim : >Hello everyone, > >is there anyone who got CakePHP running in his CentOS7 machine? > >I did it like the installation guide on cakephp.org says but I ran into >file permission problems for error.log and cache configuration errors. >The skeleton application is not running. > >Regards >Tim >___ >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
[CentOS] Fresh install in Lenovo T420s gets stuck
I did a fresh installation of centos7 on a Lenovo T420s. But after rebooting the machine after the installation process finished I get messages of CPU got stuck for 22sec. This happens after logging in at gdm. I can't do anything - the machine hangs completely. Switching to tty only works before logging in at gdm. I really don't have an idea. My other T420 (without "s") works fine. Any help is appreciated. Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fresh install in Lenovo T420s gets stuck
I changed a BIOS setting for the grafic device from nvidia optimus to integrated. Now it works. Thanks! Am 2. September 2015 08:03:09 MESZ, schrieb Fabian Arrotin : >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On 02/09/15 00:21, Tim wrote: >> I did a fresh installation of centos7 on a Lenovo T420s. But after >> rebooting the machine after the installation process finished I get >> messages of CPU got stuck for 22sec. This happens after logging in >> at gdm. I can't do anything - the machine hangs completely. >> Switching to tty only works before logging in at gdm. >> >> I really don't have an idea. >> >> My other T420 (without "s") works fine. >> >> Any help is appreciated. >> >> Thanks in advance Tim > >Which Video card do you have in the t420s ? my t430s has an Intel one >(00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core >processor Graphics Controller (rev 09) ) and it works fine, but I had >the same issue on my kid's workstation, using onboard Nvidia chipset. >The issue appeared only after the 7.0.1406 -> 7.1.1503 update. What I >did was just install cinnamon and now my kid uses it when logging >through gdm. >I've never had time to investigate the gnome3/gnome-shell issue, but >wondering if there was a mismatch between hardware and software >rendering. >Can you try to just install CentOS 7.0.1406 (LiveCD would be enough to >test) and see if that works ? That will not fix the issue for a yum >update though, but at least that would give directions. > >- -- >Fabian Arrotin >The CentOS Project | http://www.centos.org >gpg key: 56BEC54E | twitter: @arrfab >-BEGIN PGP SIGNATURE- >Version: GnuPG v2.0.22 (GNU/Linux) > >iEYEARECAAYFAlXmkR0ACgkQnVkHo1a+xU6ibgCghtwPTPPYxu1jmMjciXisteZk >+S8AnA2CkHtCniLjYlAEvqFkizYZrfh0 >=IMfj >-END PGP SIGNATURE- >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Radeon driver with HD 2600 pro and dual head
Hey list, I got a problem with a Gigabyte radeon HD 2600 pro card regarding my multi head setup with . This card has two DVI connectors. The second monitor has the state of being disconnected after startup (xrandr -q). When I disconnect it and reconnect sometimes the screen comes up and the second monitor shows up in display settings. It doesn't matter which port of the card I use first - the other one is disconnected. Any idea where I can take a look at? Thanks in advance Regards Tim ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] How to install packages from git.centos.org
Hi all, how can I install rpms from git.centos.org? I'd like to install and test the realtime-kernel. It seems to me that https://wiki.centos.org/Sources only means to build srpms. What I ned is an rt-kernel with headers for further compiling. Purpose: I'd like to build a digital audio workstation and for this I'd like to try out CentOS with the following packages first: - kernel-rt - ardour - calf-plugins BTW: Is there an audio SIG? Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7 AD server
I personally prefer to use sssd-ad instead of winbind. Works like a charm also in addition to sudo configuration. Regards Tim Am 7. Februar 2016 18:55:24 MEZ, schrieb Alessandro Baggi : >Il 07/02/2016 18:33, Nizar Armansyah ha scritto: >> This tutorial uses Sernet Samba: >> http://www.server-world.info/en/note?os=CentOS_7&p=samba&f=4 >> >> This one done by compiling Samba yourself: >> >https://imanudin.net/2014/11/16/how-to-install-samba4-active-directory-on-centos-7-part-1/ >> >https://imanudin.net/2014/11/17/how-to-install-samba4-active-directory-on-centos-7-part-2/ >> >> On Sun, Feb 7, 2016 at 11:34 PM, Alessandro Baggi >> wrote: >>> Il 07/02/2016 17:18, Ben Archuleta ha scritto: >>>> >>>> I use these instructions to create a domain controller on CentOS >for a >>>> Windows 10 lab I have: >>>> >http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/ >>>> >>>> Regards, >>>> Ben >>>> >>>> >>> >>> Thanks Ben, but this is for PDC NT not for AD DC. With C7 to perform >this, I >>> must install sernet samba version or change distro. >>> >>> >>> >>> ___ >>> CentOS mailing list >>> CentOS@centos.org >>> https://lists.centos.org/mailman/listinfo/centos >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> >Thanks for the links. >I found the problem. After some tries, I have added winbind on >nsswitch.conf. Running getent passwd Domain user was not printed after >local user and with this I've tried to find a solution without try the >share. >After several operation ecc..I've runned id "created domain user" and >user exists. Tried also to chown domuser:domgr file and works but from >getent I can't get user domain. > >This is a bug on centos or it is related due to sernet package >(winbind)?? >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to install packages from git.centos.org
Hey Johnny, thank you very much for your instructions. The build is running at the moment but there seems to be a small bug in kernel-rt.spec. I changed the line 684 from mv %{name}-%{rpmversion}-%{pkg_release_simple}%{dist} vanilla-%{kversion}; to mv %{name}-%{rpmversion}-%{pkg_release_simple}* vanilla-%{kversion}; The reason is that the tarball contains a folder with dist-tag .el7_2. So when I want to change the dist tag to .el7 the unpacked sources folder can't be renamed to "vanilla". Regards Tim Am 05.02.2016 um 11:28 schrieb Johnny Hughes: > On 02/05/2016 04:22 AM, Johnny Hughes wrote: >> On 02/03/2016 10:23 AM, Tim wrote: >>> Hi all, >>> >>> how can I install rpms from git.centos.org? I'd like to install and test >>> the realtime-kernel. >>> >>> It seems to me that https://wiki.centos.org/Sources only means to build >>> srpms. >>> >>> What I ned is an rt-kernel with headers for further compiling. >> >> There are not packages to test for everything on git.centos.org .. just >> the things we build. The real time kernel is not in RHEL, though the >> source code for it is on git.centos.org. Since it is not part of the >> main RHEL release the CentOS team does not have a build. >> >> You can try to build it yourself, but first you must create the SRPM >> from the source code on git.centos.org. >> >> You first need to install rpm-build, scl-utils-build, and git (in tis >> case on a CentOS-7 machine .. need to use the version you want to build >> for): >> >> yum install rpm-build scl-utils-build git >> >> You can use the tools here to create SRPMS from git.centos.org source code: >> >> https://git.centos.org/summary/centos-git-common.git >> >> You can get the repository url there for cloning.. and do: >> >> git clone https://git.centos.org/git/centos-git-common.git >> >> then in the centos-git-common directory you will see several scripts >> that you can use to build the SRPMs from source. >> >> then you can get the source code for the package you want to build .. in >> this case the kernel-rt: >> >> git clone https://git.centos.org/git/rpms/kernel-rt >> >> then go to the kernel-rt directory and checkout the branch and build it: >> >> cd kernel-rt >> git checkout c7-rt >> /into_srpms.sh >> >> that should download and make the SRPM for you. If you do not want the >> 'dist' tag for the rpm (currently .el7_2), you can do: >> >> /into_srpms.sh -d .el7 >> >> That would change the dist tag to .el7 instead of .el7_2 >> >> > > Once you have the SRPM, here are instructions to get binary RPMS: > > https://wiki.centos.org/HowTos/RebuildSRPM > > > > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Gnome dark panels
Hi all, simple question and possibly a simple answer: How to get a globally dark theme, so that the panels will also be dark? gnome-tweak-tool doesn't work here. Regards Tim ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gnome dark panels
I think of a layout like in the centos wiki: https://wiki.centos.org/Screenshots?action=AttachFile&do=get&target=screenshot-c7-widescreen.png With panels I mean the lines on top and bottom of a desktop. Regards Tim Am 25. September 2017 05:09:06 MESZ schrieb Johnny Hughes : >On 09/23/2017 01:09 PM, Tim wrote: >> Hi all, >> >> simple question and possibly a simple answer: How to get a globally >dark theme, so that the panels will also be dark? >> >> gnome-tweak-tool doesn't work here. >> >> Regards >> Tim >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > >I love the fedora version of this theme: > > >https://github.com/godlyranchdressing/United-GNOME > > >That (choose the Fedora version) has a dark theme and it seems to work >for CentOS-7 (1708). ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gnome dark panels
I use Gnome as it comes ootb with centos. How do I change that? Am 25. September 2017 22:07:49 MESZ schrieb "vychytraly ." : >I think that Gnome 3 uses black color for these panels by default. >Don't >you use Gnome 3 Classic? > >On Monday, September 25, 2017, Tim wrote: >> I think of a layout like in the centos wiki: >> >https://wiki.centos.org/Screenshots?action=AttachFile&do=get&target=screenshot-c7-widescreen.png >> >> With panels I mean the lines on top and bottom of a desktop. >> >> Regards >> Tim >> >> Am 25. September 2017 05:09:06 MESZ schrieb Johnny Hughes < >joh...@centos.org>: >>>On 09/23/2017 01:09 PM, Tim wrote: >>>> Hi all, >>>> >>>> simple question and possibly a simple answer: How to get a globally >>>dark theme, so that the panels will also be dark? >>>> >>>> gnome-tweak-tool doesn't work here. >>>> >>>> Regards >>>> Tim >>>> ___ >>>> CentOS mailing list >>>> CentOS@centos.org >>>> https://lists.centos.org/mailman/listinfo/centos >>>> >>> >>>I love the fedora version of this theme: >>> >>> >>>https://github.com/godlyranchdressing/United-GNOME >>> >>> >>>That (choose the Fedora version) has a dark theme and it seems to >work >>>for CentOS-7 (1708). >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gnome dark panels
Sometimes it's so easy. Thank you! Am 26. September 2017 01:56:57 MESZ schrieb "vychytraly ." : >Log out and there will be a setting in the login screen where you can >change your desktop environments. There you can choose GNOME 3 (Not >GNOME 3 >Classic) > >On Mon, Sep 25, 2017 at 11:03 PM, Tim wrote: > >> I use Gnome as it comes ootb with centos. How do I change that? >> >> Am 25. September 2017 22:07:49 MESZ schrieb "vychytraly ." < >> vychytr...@gmail.com>: >> >I think that Gnome 3 uses black color for these panels by default. >> >Don't >> >you use Gnome 3 Classic? >> > >> >On Monday, September 25, 2017, Tim wrote: >> >> I think of a layout like in the centos wiki: >> >> >> >https://wiki.centos.org/Screenshots?action=AttachFile&; >> do=get&target=screenshot-c7-widescreen.png >> >> >> >> With panels I mean the lines on top and bottom of a desktop. >> >> >> >> Regards >> >> Tim >> >> >> >> Am 25. September 2017 05:09:06 MESZ schrieb Johnny Hughes < >> >joh...@centos.org>: >> >>>On 09/23/2017 01:09 PM, Tim wrote: >> >>>> Hi all, >> >>>> >> >>>> simple question and possibly a simple answer: How to get a >globally >> >>>dark theme, so that the panels will also be dark? >> >>>> >> >>>> gnome-tweak-tool doesn't work here. >> >>>> >> >>>> Regards >> >>>> Tim >> >>>> ___ >> >>>> CentOS mailing list >> >>>> CentOS@centos.org >> >>>> https://lists.centos.org/mailman/listinfo/centos >> >>>> >> >>> >> >>>I love the fedora version of this theme: >> >>> >> >>> >> >>>https://github.com/godlyranchdressing/United-GNOME >> >>> >> >>> >> >>>That (choose the Fedora version) has a dark theme and it seems to >> >work >> >>>for CentOS-7 (1708). >> >> ___ >> >> CentOS mailing list >> >> CentOS@centos.org >> >> https://lists.centos.org/mailman/listinfo/centos >> >> >> >___ >> >CentOS mailing list >> >CentOS@centos.org >> >https://lists.centos.org/mailman/listinfo/centos >> ___ >> CentOS mailing list >> CentOS@centos.org >> https://lists.centos.org/mailman/listinfo/centos >> >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Realtime repo
Hello, is there an easy way to activate/install the realtime-repo under http://mirror.centos.org/centos/7/rt/ or do I have to write the repo-file manually? Thanks in advance Tim ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.1 Upgrade Not Working?
On Dec 10, 2007 5:18 PM, Scott Moseman <[EMAIL PROTECTED]> wrote: > So both "yum upgrade" and "yum update" now are complete and there's no > new packages. However, when I attempt to check my version, I'm still > showing 5. > > # cat /etc/redhat-release > CentOS release 5 (Final) > > I remember seeing 5.1 repositories being access for the upgrades. Is > it possible my system did not upgrade? > > # uname -r > 2.6.18-53.1.4.el5.centos.plus This is normal behaviour. See http://wiki.centos.org/FAQ/CentOS5#q8 for more information. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] After 5.1 update $releasever is still 5
On Dec 11, 2007 2:47 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote: > I have performed the 5.1 update via the 5 repo on a couple of systems. > I then went to switch these systems to my new local repo using ther > $releasever variable. It still has the value of 5, not 5.1 > > Where is this set? Why was it not changed to 5.1? > > On the one clean install from the 5.1 isos, $releasever is at 5.1 I think. See http://wiki.centos.org/FAQ/CentOS5#q8, it is related. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to generate UUID for Xen?
On Dec 18, 2007 3:56 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote: > The new virtual machine manager in Centos 5.1 displays some weird behavior > here and I assume it's because the UUID of one running VM is the same as > of a VM that is shut down. I used the same config file template for > creating all my test VMs, so several have the same UUID. Didn't produce > any problems with xm. But the new VM manager in Gnome shows active and > inactive VMs and identifies them by UUID, which results in it trying to > mix the status etc. of the active and of the inactive VM. > How can I generate a new UUID? I assume there's some checksum in it, so > that I can't just make one up? In my experience, at least with Xen, is that you can generate the UUID yourself. It suppose to be a unique number that identifies a VM. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sandisk mp3 player
On Saturday 22 December 2007 09:47:43 pm Dave wrote: > Hello, > Got a 2gb mp3 player. The issue is it needs a usb2 card and the only > available one is on a centos 5.1 box. I was wondering how do i get this > device to show up? I'd like to share it's directories via samba, so that > windows users can manipulate it's files, add more, etc. It should get ideintified as a USB storage device and get automounted as a DOS partition. Not sure how effective samba would be at exporting a mounted DOS partion, though. HTH, Tim -- Fedora Core release 6 (Zod), Linux 2.6.22.14-72.fc6 KDE: 3.5.8-1 Fedora 21:50:02 up 5 days, 15:08, 3 users, load average: 0.52, 0.28, 0.20 "It's what you learn after you know it all that counts" John Wooden signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mounting & partitioning Seagate FreeAgent external HD
Hi all, As a disclaimer, I'm new to this list and very green administering CentOS. I run it on my test servers and do very basic networking and server administration (most users, permissions, and web app stuff). I have a backup server that I am using rsync to collect important in-process file for our digital library from both Windows and Linux servers, as well as a specific applications which are updated on a separate test server. This backup server ran out of space and I have no more internal slots available to add another disk, so I bought a 750 GB Seagate FreeAgent external USB hard drive. I've seen some various issues out there about how Seagate FA HDs go into sleep mode when used in the manner I want to, but all of the people posting about that seemed to be able to mount theirs with no problem. I can see the device in my /proc/bus/usb/devices file, but fdisk -l doesn't show it at all. I was trying to mount and partition it using Webmin, but I can't figure out the device name I need to give it to mount and partition it. How is the best way to figure that out? This particular server is running CentOS 4. Thanks, Tim -- Tim McGeary Senior Systems Specialist Lehigh University 610-758-4998 [EMAIL PROTECTED] Google Talk: timmcgeary ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mounting & partitioning Seagate FreeAgent external HD
Barry L. Kline wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim McGeary wrote: I can see the device in my /proc/bus/usb/devices file, but fdisk -l doesn't show it at all. I was trying to mount and partition it using Webmin, but I can't figure out the device name I need to give it to mount and partition it. How is the best way to figure that out? This particular server is running CentOS 4. Unplug the drive. from root: tail -f /var/log/messages Now plug in the drive and watch the messages scroll by. That'll tell you very easily what the drive assignment is. Thanks for this suggestion, Barry. I'll try it tomorrow when I get back to the office. TIm Tim McGeary '99, '06G Senior Systems Specialist Lehigh University 610-758-4998 [EMAIL PROTECTED] Google Talk: timmcgeary ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mounting & partitioning Seagate FreeAgent external HD
James A. Peltier wrote: James A. Peltier wrote: Tim McGeary wrote: Hi all, [snip] I can see the device in my /proc/bus/usb/devices file, but fdisk -l doesn't show it at all. I was trying to mount and partition it using Webmin, but I can't figure out the device name I need to give it to mount and partition it. How is the best way to figure that out? This particular server is running CentOS 4. Thanks, Tim If it's a brand new drive it will not have a valid partition table. A simple sudo /sbin/fdisk -l will show all drives and their partition tables. The one with an invalid partition table is the one you're interested in. Sorry, just read again and noticed that fdisk did not show you anything. :( Actually, your first email made me double check this to see if I was missing something and I was (or maybe it really wasn't there initially). So what I see now is: Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device BootStart EndBlocks Id System /dev/sda1 1 91201 7325720017 HPFS/NTFS This is definitely the drive. So when I try to use Webmin to mount and partition device /dev/sda (and also tried /dev/sda2) as a New Linux Native Filesystem (ext3), I get the error of: Failed to save mount : Mount failed : mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems So I'm guessing I'm using the wrong file system type. What should I use instead of ext3? Thanks, Tim Tim McGeary '99, '06G Senior Systems Specialist Lehigh University 610-758-4998 [EMAIL PROTECTED] Google Talk: timmcgeary ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] build rpm from source code
On Jan 17, 2008 4:40 PM, Centos <[EMAIL PROTECTED]> wrote: > > Is there any good and quick document on building spec file. > there is source file that has no rpm and we need to build the spec file > and srpm. Hi, This page should help you : http://wiki.rpm.org/Docs A second suggestion is to look at spec files from the different repositories you can find online (CentOS, DAG/RPMForge, Atrpms, ...) Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Add more space to LVM
On Jan 17, 2008 4:32 PM, Todd Reed <[EMAIL PROTECTED]> wrote: > > I have a database server that is running out of space. All my databases are > being stored in a 80G /opt partition. Because I'm using LVM, wouldn't I be > able to pop the HDDs (a h/w raid volume) in, add it to the LVM, and resize > my ext3 /opt partition? Everything that I've been reading says this is > possible, but I'm not sure. Has anyone done this and are there any pitfalls > to watch out for? Is there a better way? I've thought about just > rebuilding the server and restoring the databases from a backup on the new > setup. Any suggestions on proper path would be appreciated. I'm running > the current version of CentOS 5. Hi, This is perfectly possible with LVM. First add the HD (aka the HW RAID volume) to the OS. Then do a pvcreate on that disk so that LVM can use it. Then do a vgextend, this adds the disk to the volume group. A vgdisplay should then show that you have again free space in the volume group. Then you can do a lvextend and resize2fs as normal. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Fedora user moving to CentOS
Greetings, I'm a Fedora user likely going to switch to CentOS in the next few days. I'm wondering if anyone has some heads up advice for me? I am very familiar with FC6 and before so I anticipate few problems I haven't already seen (and know were fixed). The main reason for the move is so I don't have to re-install so frequently and hopefully not have to deal with so many daily updates. I would use the 'upstream vendor' (respectfully), but I work under no IT $ budget. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bonding two network cards
On Jan 30, 2008 3:35 AM, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > >Try the wiki: > > > >http://wiki.centos.org/TipsAndTricks/BondingInterfaces > > Is it ok to leave the hwaddress in the eth(n) files to make sure they are > used explicitely as intended in the event other cards are added? In my experience it is ok. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] package 'synchronization' for multiple systems
I'm setting up multiple systems and ideally I want the same package configuration on all of them. So I'm going through yum and rpm queries manually to try and get this done. There must be a better way. Is there a way to use yum or rpm to configure multiple systems with the same packages? If yum or rpm has something native built into it to do this, that would be great. If there's some scripts to simplify some tasks that works too. I've used webmin's 'Cluster Software Package' module, and will probably fall back to it. However I don't think I get the info that yum gives regarding package grouping and what packages are part of what capabilities. Gotta query elsewhere for it. (no disrespect to webmin folks, great tool) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Date/Time config 'behind the scenes'
The GUI tool to set date time works great when your running X or whatever, but what is it really doing in the background? How do I setup automatic time synchronization from the command line? Reference the GUI setup doc at: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/ch-dateconfig.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Making FORWARD_IPV4=YES permanent / DHCP multiple routers
First, I'd like to configure my system to forward ip, to act as a gateway for my network. I've always used a script during startup to do this: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT --to ${IP_NAT} This works fine, however I want this permanent so I don't have to run the script on startup. I have the firewall setup with SNAT fine, but when I write the file /etc/sysconfig/network with the line 'FORWARD_IPV4=YES' it still doesn't enable the ip forwarding after boot? cat /proc/sys/net/ipv4/ip_forward 0 So how do I do this? Second, In DHCP, you can specify multiple DNS servers: option domain-name-servers 10.0.0.1, 10.0.0.2, 10.0.0.3; can you also do this with routers? option routers 10.0.0.1 10.0.0.2; so that if one is down, the network PC's can fail over to another? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Making FORWARD_IPV4=YES permanent / DHCP multiple routers
Excellent and very responsive answers, thank you everyone. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos 5 and milter rpm's
As I mentioned on this list before, I'm switching from Fedora 6 to Centos 5. I'm setting up the mail server and on Fedora I used the milter rpms for greylisting, spamassassin, mimedefant etc. However I don't see that those are included with Centos? Is this true, or do my yum repositories need to be changed to look in an 'extras' location? Or is there some other source for sendmail milter RPMS like on FC6? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kernel-devel: compile MPP/RDAC kernel module
On Feb 18, 2008 3:42 PM, Simon Jolle <[EMAIL PROTECTED]> wrote: > > I am running Centos 4.6 wit latest updates. For I/O multipathing I > need to use kernel 2.6.9-55 (IBM support matrix). Trying to compile > Engenio Linux RDAC Driver[0] > > I fail to install kernel-devel for this exact kernel (with up2date). > Up2date always installs the newest. > > # make clean > make V=1 -C/lib/modules/2.6.9-55.ELsmp/build > M=/root/tmp/linuxrdac-09.02.B5.15 > MODVERDIR=/lib/modules/2.6.9-55.ELsmp/build/.tmp_versions > SUBDIRS=/root/tmp/linuxrdac-09.02.B5.15 clean > make: *** /lib/modules/2.6.9-55.ELsmp/build: No such file or directory. Stop. > make: *** [clean] Error 2 > > # ls -al /lib/modules/2.6.9-55.ELsmp/build > ls: /lib/modules/2.6.9-55.ELsmp/build: No such file or directory > > # uname -r > 2.6.9-55.ELsmp > > # rpm -q kernel-devel > kernel-devel-2.6.9-67.0.4.EL.x86_64 Either install the 2.6.9-55 kernel-devel package. You can provide the version number with yum install. Or just use the latest kernel. In the past I've run the RDAC modules on so called "not-supported" kernels. Usually newer kernels then the one mentioned. I never had any issues with it. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Dovecot on CentOS5 - (login) returned error 127
Running CentOS Linux 5 with sendmail-procmail putting email in /var/spool/mail. I'm running pop3 only with the servers configured to authenticate with ldap (which is configured and running OK). I do have this same configuration on an older FC6 box and it works fine. I'm thinking I just need to upgrade dovecot given all the nss_ldap problems it has had, but I hate not using RPM packages and CentOS does not have upgraded packages. Hardware is Dell PowerEdge 1900 (64bit) with 2G RAM. Hopefully I'm doing something stupid and there's an easy fix for the packages and configuration I have. I'm seeing the following in the /var/log/maillog when I run dovecot. When I log in via telnet, I get the connection, but it never responds when I enter a user. Feb 21 15:41:20 cartman dovecot: Dovecot v1.0.rc15 starting up Feb 21 15:41:21 cartman dovecot: Temporary failure in creating login processes, slowing down for now Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: child 4445 (login) returned error 127 Feb 21 15:41:21 cartman dovecot: child 4446 (login) returned error 127 Feb 21 15:41:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:41:21 cartman dovecot: child 4447 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: child 4465 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: child 4466 (login) returned error 127 Feb 21 15:42:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:42:21 cartman dovecot: child 4467 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Feb 21 15:43:21 cartman last message repeated 2 times Feb 21 15:43:21 cartman dovecot: child 4469 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: child 4470 (login) returned error 127 Feb 21 15:43:21 cartman dovecot: child 4471 (login) returned error 127 Feb 21 15:43:59 cartman dovecot: Killed with signal 15 Dovecot details are as follows: *> dovecot --version* 1.0.rc15 *> dovecot -n* # /etc/dovecot.conf protocols: pop3 listen: * login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login mail_executable: /usr/libexec/dovecot/pop3 mail_plugin_dir: /usr/lib64/dovecot/pop3 pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: passdb: driver: pam args: dovecot userdb: driver: passwd args: blocking=yes ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: [Dovecot] Dovecot on CentOS5 - (login) returned error 127
Fixed, upgraded to 1.0.10 from rpm at www.atrpms.net and running now. Thank you for your support. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS serial questions (Hyperterminal equiv and connecting to server via Hyperterminal)
On Sun, Feb 24, 2008 at 5:36 PM, Rogelio <[EMAIL PROTECTED]> wrote: > I have two serial-related questions > > (1) What is the CentOS (or *nix) equivalent of Hyperterminal in Windows? > Sometimes I'm on a CentOS box and need to, say, console into a Cisco or > something. Besides minicom there is also a GUI terminal app called gtkterm. > (2) I have a CentOS server that I may need to transport somewhere and will > most likely *not* want to carry around the monitor. Where should I look in > connecting to my server via a serial connection? > > (I'm more on the network end of things, and am hoping for a nudge in the > right direction on these two questions) You basicaly have 2 options. If the server has a normal standard serial port you can setup a tty on that serial port. Once the machines has booted then you can login on the serial port. If the server has any remote management features then you probably will have things like console redirection, BMC/IPMI, remote console, ... but they are platform specific so look at the manual for that server and see what is available. They usualy do provde a way to redirect almost all output to a serial port. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GRabbing MAC address
On Thu, Feb 28, 2008 at 2:56 PM, Max Hetrick <[EMAIL PROTECTED]> wrote: > Toby Bluhm wrote: > > > There's multiple spaces in the output that cut is hitting - use tr to > > reduce them. > > > > ifconfig | grep eth0 | tr -s ' ' ' ' | cut -d ' ' -f 5 > > Or: > > ifconfig | grep eth0 | cut -d ' ' -f 11 For the sed people, this should also work : ifconfig | grep eth0 | sed -e "s/^.*HWaddr \(.*\)$/\1/" Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for kernel sources
On Tue, Mar 4, 2008 at 11:07 AM, Rudi Ahlers <[EMAIL PROTECTED]> wrote: > > > > Please search a little on the wiki page before asking questions. > > http://wiki.centos.org/ > > > > There is a little Search box... > > > > > http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?action=fullsearch&context=180&value=kernel+source&titlesearch=Titles > > -> > > > http://wiki.centos.org/HowTos/I_need_the_Kernel_Source?highlight=%28kernel%29%7C%28source%29 > > > > Caveat: if you make your own kernel, you keep the pieces if you break your > > system. Don't expect support here. > > > heh, that's funny, but hard to believe that I won't get support for a > modified / hacked / changed / "broken" kernel. It's like saying " You > can buy the car, but if you change the tires we won't service it" - > Dude, that's the mentality of M$ and the likes, NOT Open Source Firstly, for VMware and probably Virtualbox (no experience there) there is no need to have the complete kernel sources, but that is explained more detailed below. The reasons that we don't support custom kernels is explained here http://wiki.centos.org/HowTos/Custom_Kernel. And your comparison to cars is not completely correct. It is not buying a car and changing the tires. Replacing a kernel is like replacing the engine of a car. And I don't see the company that made that car still service it if it does not contain their engine. Also, this has nothing to do with a M$ mentality. With M$ you even can't replace the kernel with your own. With Linux you can and we even document it on the wiki for you. You have full access to the source and can to with it whatever you like. What we can't do is support changed systems like that because it then contains component we did not made and have no control over. Nothing more, nothing less. > Besides, VMWare & Virtualbox needs it to install properly on the system, > what do you tell them? We won't support you, so your programs won't > work on our system? With VMware (Server anyway) you just install kernel-devel and the vmware-config.pl script finds everything it needs to compile it's custom modules. Very simple, no fuss. If that process works for VMware then VirtualBox should be able to do the same thing. If they don't then talk to them and get them to update their tools. This method (installing kernel-devel which contains enough to compile external modules) is the standard way of dealing with this, it is also recommended by the kernel developers. If software does not support this method then they need a update to support this method. This is not about being difficult, just about doing things in a standard and consistant matter. So, to sum up. We don't mind you playing with the kernel, just realize what you are doing then. But we do like that people are polite and respect each other. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Rejecting spam
Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to be able to reject mail that is marked as spam, not just deliver it as usual. Anyone know if it can be done and how? I know a milter can reject mail, because I've used milter-grelist in the past to give temporary fail messages. Following is my sendmail.m4 directive for spamass-milter: INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rejecting spam
Glenn wrote: At 02:35 PM 3/4/2008, you wrote: Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to be able to reject mail that is marked as spam, not just deliver it as usual. Anyone know if it can be done and how? I know a milter can reject mail, because I've used milter-grelist in the past to give temporary fail messages. Following is my sendmail.m4 directive for spamass-milter: INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl Not sure, but I think you could use procmail to filter to a junk folder based upon parsing the SpamAssassin score. Also, you can block based on RBL in sendmail , or score in spamassassin. That's exactly what I don't want to do. I don't want the mail being delivered to my system. That's why I'm using the milter. However the milter is doing the exact same thing as delivering it when it is marked as spam. That's what I am hoping to get some help with. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rejecting spam
Dan Carl wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Glenn Sent: Tuesday, March 04, 2008 2:00 PM To: CentOS mailing list Subject: Re: [CentOS] Rejecting spam At 02:35 PM 3/4/2008, you wrote: Sorry, not a direct CentOS question, but I know there's a lot of experienced users on this list...I'm using CentOS with sendmail and spamassassin. I've got it configured with spamass-milter and it is working correctly. However, I was expecting to be able to reject mail that is marked as spam, not just deliver it as usual. Anyone know if it can be done and how? I know a milter can reject mail, because I've used milter-grelist in the past to give temporary fail messages Not really a good idea to reject all spam. Spam filtering is not that black and white. Suppose a legitmate email gets tagged as Spam. This does happen trust me and more than likely its a email your boss has been waiting for. You'll want a some way to retrieve it. I think it's a wonderful idea to not let spam into the server at all. If a legitimate sender is sending email that is inadvertently marked as spam, it will be returned to sender and they will be notified. That's actually why I'm trying to switch to a 'don't let it in to begin with' policy. Currently I use the spamassassin to mark spam and clients get their email and have a habit of giving the spam folder a glance over looking for legitimate email. Well, that completely defeats the purpose of marking them spam to begin with? I'm basing this decision on having run an email server for the last 8 years, listening to the complaints of huge spam folders and mail being 'lost' in the trash because it was falsely marked as spam. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rejecting spam
John Hinton wrote: There are milters for SpamAssassin. You can set them to reject mail at a particular score level. So, if for instance you felt comfortable with rejecting mail at a score of 10, which is pretty reliable, you can also do that at smtp level. BINGO That's exactly what I'm trying to do with spamass-milter. However it either won't do it, or my configuration is incorrect. Mail marked as spam is still being delivered as normal? Just in case it hasn't been said, never bounce mail but only reject. Indeed, reject at the smtp level..yes..that's the goal. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rejecting spam
Milton Calnek wrote: Glenn wrote: I use MailScanner with SpamAssassin and swear by it! http://mailscanner.info/ Happy (mostly), very vital list group. The author is very actively answering questions and requests. Can't get much better support! mailscanner +1 Also, I have: FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"571 ACCESS DENIED to <"$&f"> thru "$&{client_name}" by /spamhaus/ ;Please see http://www.spamhaus.org/sbl/'")dnl FEATURE(`dnsbl', `relays.ordb.org', `"550 Email rejected due to sending server misconfiguration - see http://www.ordb.org/faq/\#why_rejected";')dnl in my sendmail.mc file. I also use all the dnsbl above plus spamcop.net which, I believe blocks far more spam than anything else. FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Rejecting spam
Scott Silva wrote: on 3-4-2008 12:32 PM Tim Alberts spake the following: That's exactly what I don't want to do. I don't want the mail being delivered to my system. That's why I'm using the milter. However the milter is doing the exact same thing as delivering it when it is marked as spam. That's what I am hoping to get some help with. Looking at the docs, spamass-milter doesn't do any rejecting. I believe you can do it with mimedefang, but you will have to go through their docs to figure it out. OK, that's what I was suspicious of. I've been reading the sendmail docs for header tests thinking I can write something in sendmail that will look for the X-Spam-flag header and reject based on that. Anyone try that yet? http://www.sendmail.org/m4/anti_spam.html#header_checks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rejecting spam
John that is perfect, exactly what I was looking for. Thank you and thanks to everyone that contributed. I guess it's apparent I don't read man pages very well. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Colors in vi for user root
On Fri, Mar 7, 2008 at 12:42 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: > > How can I have vi with syntax hilghting for root ? > Regular users have it, but not root's. > > I've seen the hidden files of a regular user home, but found nothing. Do "vim file" instead of "vi file". As root "vi" gets you a standard UNIX vi, "vim" gets you the enhanced vi with colors etc. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 32bit support in 64bit environment (CentOS and Debian)
On Tue, Mar 11, 2008 at 5:05 AM, Daniel <[EMAIL PROTECTED]> wrote: > > I was just searching the web for some information on 32bit support in 64bit > environment and was able > to find couple pages about Debian and CentOS. However, I couldn't find any > comparison between them. > If anyone knows the differences (e.g. which one is easier to set up and > maintain) or could point me > out to some useful sites, please help. Or if you think there's no > difference, please explain. Hi, I don't know how Debian does it. But this is how CentOS does it. Basically all libraries are available in 32 and 64 bit versions and the 64 bit kernel used als allows 32 bit code to be executed. So this means that when the correct libraries are installed any 32 bit application will just work. Now then there is the yum package management tool in CentOS. If you install a 32 bit application using yum, yum will see what 32 bit libraries are needed and install them together with the application. So if you use the tools provided by CentOS there is nothing special that needs to be done. The system will sort it out itself. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question on SATA DVD using centos 5.1
On Tue, Mar 11, 2008 at 1:48 PM, Jerry Geis <[EMAIL PROTECTED]> wrote: > On my machine I have > > SATA0: HD > SATA1: HD these two drives are set as RAID1 > SATA2: HD extra > SATA3: DVD > SATA4: external USB disk > > Snip from dmesg shows the ATAPI device being detected. > > ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xe400 irq 10 > ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xe408 irq 10 > ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > ata3.00: ATAPI: PIONEER BD-ROM BDC-202, 1.01, max UDMA/66 > ata3.00: configured for UDMA/66 > ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > ata4.00: ATA-7: ST3500630AS, 3.AAC, max UDMA/133 > ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32) > ata4.00: configured for UDMA/133 > > sda is HD > sdb is HD again RAID1 > sdc is the HD extra > sdd should be hte ATAPI DVD but it ends up being the external USB > > nothing is at sde > > Where might my DVD be? sdX is used for hard disks (scsi disk). A DVD is not a disk so it is not listed there. It will probably be defined as sr0. Anyway, the best way to find out is to install the tool lsscsi using yum. Here is the example of the output from lsscsi on my laptop : # lsscsi [0:0:0:0]diskATA ST910021AS 4.06 /dev/sda [4:0:0:0]cd/dvd HL-DT-ST DVDRAM GSA-4083N 1.08 /dev/sr0 So that should help you indentify your devices. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question on SATA DVD using centos 5.1
On Tue, Mar 11, 2008 at 7:33 PM, MHR <[EMAIL PROTECTED]> wrote: > On Tue, Mar 11, 2008 at 5:59 AM, Tim Verhoeven > <[EMAIL PROTECTED]> wrote: > > > > sdX is used for hard disks (scsi disk). A DVD is not a disk so it is > > not listed there. It will probably be defined as sr0. > > > > Interesting - my PATA DVD burners show up as /dev/hdc and /dev/hdd - > why would SATA drives not show up in the same fashion? At least in C5, all SATA support is handle by libata. And libata uses the SCSI stack to do part of the work. So that is way all SATA devices will show up as "scsi" devices. And if I'm correct people are working on porting the older PATA drivers to the libata framework, so they will also be shown is sdX devices, if I remember correctly Fedora 8 already does this. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Python 2.4 on CentOS4?
On Tue, Mar 11, 2008 at 8:58 PM, Ray Van Dolson <[EMAIL PROTECTED]> wrote: > On Tue, Mar 11, 2008 at 03:55:06PM -0400, Eric B. wrote: > > Hi, > > > > Has anyone managed to find a Python 2.4 rpm binary that can be installed on > > CentOS4? I'm running CentOS4.6 and an application that I want to use > > required python 2.4 or greater. All the CentOS/RHEL4 python rpms that I > > find are all for python 2.3. I can't seem to find anything that works with > > CentOS4 libs. > > > > I think pyvault (google for it) may be your best bet as far as a > somewhat clean RPM-based implementation. However, I don't know how > maintained it is and the docs for getting it set up correctly were > pretty non-existent last time I checked. > > Maybe someone knows of a "better" way. I don't but I strongly suggest that you do NOT replace the base python packages with a newer version. A lot of core tools (like yum) depend on python. So replace the base python package with a newer one could very well break your complete system. As Eric suggests find a way to install python 2.4 besides the core python in a seperate place so you don't start mixing them. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] recompiled mod_perl insists on old perl dependency
On Thu, Mar 13, 2008 at 6:37 AM, Amos Shapira <[EMAIL PROTECTED]> wrote: > Hello, > > In order to overcome a known performance bug in perl-5.8.8-10 in > centos 5 (see https://bugzilla.redhat.com/show_bug.cgi?id=196836) I > downloaded the perl package from fedora 8 > > (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRPMS/perl-5.8.8-30.fc8.src.rpm) > and mod_perl > (http://mirror.internode.on.net/pub/fedora/linux/releases/8/Fedora/source/SRPMS/mod_perl-2.0.3-14.src.rpm) > and compiled them on an x86_64 machine following instructions from > http://sial.org/howto/rpm/. > > The perl-5.8.8-30 installed fine but when I try to install the new > mod_perl it insists on installing perl-4:5.8.8-10.el5_0.2.i386: > > Dependencies Resolved > > = > Package Arch Version RepositorySize > = > Installing: > mod_perlx86_64 2.0.3-14 threatmetrix 5.5 M > Installing for dependencies: > perli386 4:5.8.8-10.el5_0.2 updates > 12 M > > Going ahead with this complains about conflicts with the installed > perl-5.8.8-30. > > What can I do to fix this? Recompile the mod_perl package with after you installed the new perl. It looks like the mod_perl was build against the base CentOS perl version and not the one you build. > Is anyone here is aware of another way to get a fixed version of perl > for CentOS 5? You need to get upstream to fix it. Report this bug in our and theirs bug reportingtools (bugs.centos.org and bugzilla.redhat.com) Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Running CentOS 4.6 domUs on CentOS 5.1 dom0 and domUs crash
On Mon, Mar 17, 2008 at 8:05 PM, Nathan Grennan <[EMAIL PROTECTED]> wrote: > I have a CentOS 5.1 dom0 running on a machine with two cores and 4gb > of memory. It runs three 4.6 domUs and one 5.1 domU. Just out of the > blue the other night all the 4.6 domUs crashed, but the dom0 stayed up. > I ran xm console (domU-name) and got the Oops information below. I > didn't get anything from the 5.1 domU. I think it had been rebooted a > few days before and hadn't come up because of a initrd issue. > > First 4.6 domU: > > kernel BUG at arch/i386/mm/pgtable-xen.c:306! ...snip... Hi, I'm moving this thread to the CentOS-virt mailinglist (please remove the centos mailinglist to everyone replying to this mail) since it is more suited for these kind of questions. Question, If I read those crashes correctly your 4.6 domU is a 32 bit one ? What platform is your dom0 32 or 64 bit? Running a 32 bit domU on a 64 bit dom0 is currently not really stable. This is suppose to improve with 5.2 Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 5.1
On Wed, Mar 19, 2008 at 1:32 PM, Tom Browder <[EMAIL PROTECTED]> wrote: > I'm about to try Centos 5 (first time user). > > Question: I have the 5.0 CD-ROMs, so can I install with them and them > update to 5.1 via the internet, or should I use the 5.1 CDs? You can do both, install 5.0 with the CDROM and do a online update to 5.1. Or download the 5.1 cd's and use those. If you already have the 5.0 cdroms then it is probably best to do a minimal install with 5.0 then upgrade to 5.1 and then use yum to install the actual stuff you need. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.1 - Postfix Mysql
On Wed, Mar 19, 2008 at 9:50 PM, Tom Brown <[EMAIL PROTECTED]> wrote: > > I am building a new box and i want to get away from hand rolled stuff > this time and i need Postfix with MySQL support compiled in - > > Is this available anywhere already built? You will find this in the centosplus repository (http://wiki.centos.org/Repositories). Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Securing SSH
So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. FYI, here's a list of the losers (so far). I suggest everyone wish horrible things happen to these people. *201.70.39.3 **201.6.116.177 **200.161.198.16 **164.164.33.73 **66.114.252.200 **24.202.149.253 **218.201.147.80 **200.42.174.109 **128.135.195.122 **67.19.188.210 **24.202.149.253 **203.82.65.252 **124.1.204.61 **210.206.124.211 **61.128.122.13 **202.106.62.197 * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
Mike Kercher wrote: iptables, disallow root login via ssh, no valid shell for users that don't need one, strong passwords, keys would be a good start. Mike iptables..add the ip of the attack source to reject? They keep moving IP, this is very time consuming (but I am doing it). I don't allow root login. I think I got a good password, and I got keys setup so I know I'm talking to my server. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
Rudi Ahlers wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos 1. Change the default port I could do that, but if they already know about it, a simple port scan and they'll probably find it again. Plus I gotta go tell all my client programs the new port and I don't know how to do that on most of them (what a hassle). 2. use only SSH protocol 2 got it. 3. Install some brute force protection which can automatically ban an IP on say 5 / 10 failed login attempts The only software I know that could do this isn't supported anymore (trisentry) or is too confusing and I don't know it yet (snort). Suggestions? 4. ONLY allow SSH access from your IP, if it's static. Or signup for a DynDNS account, and then only allow SSH access from your DynDNS domain Yeah my home account is on dynamic IP. I'd love to setup the firewall to only allow my home computer. You're talking about these guys? http://www.dyndns.com/ never used them before, but it looks like a good idea. Especially since it's free (for 5 hosts) if I read correctly. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
John R Pierce wrote: Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. actually, those 'attempts' are coming from virus infected systems which randomly probe for SSH servers.they try the same sorry 10 or 15 accounts with the same lame 10 or 15 passwords, so its really just an annoyance if you're anal about logwatch output. Just a virus you think? They are some pretty lame account names: judy, frank, bob..However they are mixed with general linux accounts: root, ftp, webmaster, mysql, named, etc. I feel less worried about that (or should I)? Or are you just trying to lull me into a false sense of security? Muawhahahaha.. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
David Mackintosh wrote: On Tue, Mar 25, 2008 at 09:48:17AM -0700, Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? This is what I do. http://wiki.xdroop.com/space/Linux/Limited+SSH+Access That sounds great for getting around a remote dynamic IP address, but some more authentication/security on that web page is necessary, otherwise, anyone who finds that web page is given access? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
John R Pierce wrote: Tim Alberts wrote: iptables..add the ip of the attack source to reject? They keep moving IP, this is very time consuming (but I am doing it). ... stop thinking 'they', that implies theres someone intentionally targetting you. its just viruses randomly squirting out connection requests from 1000s of infected hosts around the world. Oh no..they're out there. They're watching us now. They know we're talking about them. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Securing SSH
Tim Alberts wrote: So I setup ssh on a server so I could do some work from home and I think the second I opened it every sorry monkey from around the world has been trying every account name imaginable to get into the system. What's a good way to deal with this? SSH question. Can I setup a group of users who can access SSH from the local network. Then a separate list of users that can access SSH from the internet? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Big devices and missing space
On Sat, Mar 29, 2008 at 12:45 PM, Morten Nilsen <[EMAIL PROTECTED]> wrote: > Hello, > > I have a Promise EX 12-port RAID controller in my box, connected to 8 > 750GB disks. I have set up 2 RAID-5 devices and joined these using LVM. > > This is working fine. > > However, there is something that seems wrong.. > (4-1) * 750 = 2250, but df reports the LVM volume as a mere 4.0T; > > /dev/mapper/storage_volume-stor 4.0T 3.6T 507G 88% /storage > > Shouldn't this be 4.5TB? No, because storage vendors count in decimal, 750 GB is 7500 bytes instead of 805306368000 if you count binary. So 750 decimal GB is is actually 698 binary GB. And 8 disks in 2 RAID 5 arrays is (6 * 698)/1024 = 4,09 TB (binary). So it is ok, you did not loose any storage. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist? *> cat /home/talberts/.forward* cat: /home/talberts/.forward: No such file or directory *> test -f /home/talberts/.forward ;echo $?* 1 *> test -e /home/talberts/.forward ;echo $?* 1 begin:vcard fn:Tim Alberts n:Alberts;Tim org:Measurement Systems International;Engineering adr:Suite 200;;14240 Interurban Avenue South;Seattle;WA;98168;USA email;internet:[EMAIL PROTECTED] title:Associate Engineer tel;work:206-433-0199 tel;fax:206-244-8470 x-mozilla-html:FALSE url:http://www.msiscales.com/ version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
Marko A. Jennings wrote: On Mon, March 31, 2008 4:37 pm, Tim Alberts wrote: Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist? *> cat /home/talberts/.forward* cat: /home/talberts/.forward: No such file or directory *> test -f /home/talberts/.forward ;echo $?* 1 *> test -e /home/talberts/.forward ;echo $?* 1 0 = exists 1 = does not exist I'm backwards. Doh! thank you begin:vcard fn:Tim Alberts n:Alberts;Tim org:Measurement Systems International;Engineering adr:Suite 200;;14240 Interurban Avenue South;Seattle;WA;98168;USA email;internet:[EMAIL PROTECTED] title:Associate Engineer tel;work:206-433-0199 tel;fax:206-244-8470 x-mozilla-html:FALSE url:http://www.msiscales.com/ version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
Stephen Harris wrote: (BTW, putting * around lines you type is REALLY bad quoting style) Copied from HTML into email program. then sent as plain text. complain to thunderbird. begin:vcard fn:Tim Alberts n:Alberts;Tim org:Measurement Systems International;Engineering adr:Suite 200;;14240 Interurban Avenue South;Seattle;WA;98168;USA email;internet:[EMAIL PROTECTED] title:Associate Engineer tel;work:206-433-0199 tel;fax:206-244-8470 x-mozilla-html:FALSE url:http://www.msiscales.com/ version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Why does 'test -f' and 'test -e' return true on a (hidden) file that doesn't exist?
Rudi Ahlers wrote: Tim Alberts wrote: Stephen Harris wrote: (BTW, putting * around lines you type is REALLY bad quoting style) Copied from HTML into email program. then sent as plain text. complain to thunderbird. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Don't use HTML, complain to user :) Wow folks. Is this really worth complaining about? Why waste time writing email clients that use HTML if people are gonna whine about it? AGAIN.. I copied from HTML output into mozilla thunderbird...I sent the email as PLAIN TEXT...if you don't like how mozilla thunderbird deals with it...complain to them... but fundamentally go somewhere else with this petty complaint. begin:vcard fn:Tim Alberts n:Alberts;Tim org:Measurement Systems International;Engineering adr:Suite 200;;14240 Interurban Avenue South;Seattle;WA;98168;USA email;internet:[EMAIL PROTECTED] title:Associate Engineer tel;work:206-433-0199 tel;fax:206-244-8470 x-mozilla-html:FALSE url:http://www.msiscales.com/ version:2.1 end:vcard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] lvm VolGroup00 problem after disk upgrade
On Wed, Apr 9, 2008 at 2:15 PM, David Hláčik <[EMAIL PROTECTED]> wrote: ...snip... > > and now the problem > > after kernel load i will get info that GroupVol00 (which was lvm group on > old disk does not exist) > info about boss group fonded > and then i will get an error that /dev/root does not exist > and then that /proc does not exist > and then kernel panic > > Where is the problem? > I did this whole process so many times without error and know i am stuck do > not know where. > I checked lvm.conf double, checked if /etc/fstab /etc/grub.conf configured > OK > checked using lvm syntax for lvm ... Hi, I think you probably need to rebuild the ramdisk (initrd) used for booting your kernel. It will also contains references to the root device. So boot back into rescue mode and do a mkinitrd. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rpmbuild and new specfile
On Wed, Apr 9, 2008 at 5:24 PM, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > After extracting the spec file out an srpm and editing it, how does one > execute $rpmbuild --rebuild package.srpm and use the new spec file as a > non-root user inside a home dir build root? You don't. You do "rpmbuild -ba " Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gnome Terminal and xterm problems
I've seen a similar issue when I've had an ssh connection open to a remote site over a VPN connection (not a VPN client on my PC, but a VPN connection between my site and the remote site, between Cisco routers). Catting a large file would hang the connection, and I had to kill and re-establish the connection. The issue was that the maximum packet size over the VPN link was something like 1460. The VPN connection added 40 extra bytes of payload. When I would cat a large file, my computer would send 1500 byte packets with the do-not- fragment bit set. The routers couldn't pass the 1500 byte packet because it was too large, and the do-not-fragment bit prevented them from fragmenting the packet, so it would get dropped, and my connection would die. I don't remember the exact details, as it occurred a couple years ago, but the gist was that the MTU on the servers I had to connect to had to be reduced to something like 1460. I don't think this is exactly your situation, but it's just an idea of something to consider. -Tim On Jul 12, 2007, at 9:46 AM, Matt Shields wrote: I've noticed this in CentOS 4 & 5 and Fedora 5 & 6. If I'm in Gnome desktop and using any of the terminal programs and I ssh into any server, the connection just hangs. Not drops, it just hangs and doesn't recover. These servers are all over the country on different ISPs in Tier1 datacenters. Some are in our office, so they are on the local lan. We have a mix of RHEL 3, 4 & 5 and CentOS 4 & 5 on the servers. If I'm using a windows computer with putty or SecureCRT this never happens, it only happens when I'm using any of our linux desktops or laptops. It doesn't matter if I'm in the office or at home (on comcast) or over at a friend's house (verizon dsl). This problem has been going on for at least two years and I'm finally fed up to the point where I might switch back to windows since 99% of my job is working while ssh'ed into servers. Anyone had similar problems? -matt ___ 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] RAID hard drive serial numbers?
On 7/17/07, Scott Ehrlich <[EMAIL PROTECTED]> wrote: smartctl, hdparm, and sdparm all are valuable tools to obtain hard drive info. But, they don't seem to work, at least, on obtaining hard drive info from drives on a Dell PERC controller. Instead, I'm given basic PERC controller info, not drive info. Is there a tool to let me get the hard drive make/model/serial numbers from a hardware RAID setup? Since you are using HW RAID the tools you mentioned cannot be used to get the HD serial numbers. This is because the RAID controllers completely hides the physical disks from the OS. You would need tools for the RAID controller itself, those should be able to get the info you need. Regards, Tim -- Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos