Re: [CentOS] Disable Top Left Hot Corner

2017-05-27 Thread Mike - st257
awk one-liner found here:
https://unix.stackexchange.com/a/196726

Whether it's persistent through package updates is another matter.

On Fri, May 26, 2017 at 1:54 PM, Raymundo N.F. 
wrote:

> Hello everybody.
>
> I have CentOS Linux release 7.3.1611 (Core ) instaled in mi PC. I want to
> disable *Top Left Hot Corner* function from my OS, but i don´t want to
> install the gnome-shell extension nohotcorners. I want to disable
> permanently, i want to diseable from the OS with a sentences from the
> command line.  It is Possible?, i hope so. Thanks :D
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange (?) device.map in CentOS 7 VM installations

2017-01-05 Thread Mike - st257
On Thu, Jan 5, 2017 at 4:04 AM, Nikolaos Milas  wrote:

> On 4/1/2017 7:37 μμ, Gordon Messmer wrote:
>
> I don't see that on VMs that I manage.  Some of the physical machines that
>> I manage do have duplicates in the device.map.
>>
>
> Thank you Gordon for your feedback!
>
> Can others please report the content of /boot/grub2/device.map on their
> CentOS 7 (physical or virtual) installations?
>

On my CentOS7 installs I find dups too.

Physical
# this device map was generated by anaconda
(hd0)  /dev/sda
(hd1)  /dev/sda

Virtual (KVM VM)
# this device map was generated by anaconda
(hd0)  /dev/vda
(hd1)  /dev/vda

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-docs] HowTos/GlusterFSonCentOS

2017-01-01 Thread Mike - st257
On Sun, Jan 1, 2017 at 2:11 PM, Akemi Yagi <amy...@gmail.com> wrote:

> On Sat, Dec 31, 2016 at 1:32 PM, Mike - st257 <silvertip...@gmail.com>
> wrote:
> > The multi-line code blocks are being cantankerous.
> > Manually (trying to) fixing them all.
> >
> > Is that normal?
>
> That does not sound normal.
>
> I have tried to "repair" it by first reverting the page to the one
> before your edit and then by adding back the changes you made.
>

Thank you.
I appreciate the work you put in fixing my mistake.


>
> Please check the content. I wouldn't be surprised if I did not do it
> perfectly.
>

Looks good.


>
> I realize some formatting glitch still exists. But that can be an
> issue with the wiki code itself. Needs some investigation.
>

(my current conclusion) I believe I caused the problem at one point by
clicking on the GUI Editor.
I should have used the Text Editing mode exclusively.

Just made a few small edits in text mode and didn't have formatting
problems.
(Edit: need to install a centos-release-gluster before a glusterfs-server
package is available).


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTos/GlusterFSonCentOS

2016-12-31 Thread Mike - st257
Could I also get edit permissions for my personal page?
MichaelBear

Thanks,
Mike

On Sat, Dec 31, 2016 at 2:45 PM, Akemi Yagi <amy...@gmail.com> wrote:

> On Sat, Dec 31, 2016 at 11:32 AM, Mike - st257 <silvertip...@gmail.com>
> wrote:
> >
> >
> > On Sat, Dec 31, 2016 at 2:20 PM, Mike - st257 <silvertip...@gmail.com>
> > wrote:
> >>
> >> Hello,
> >>
> >> I'd like to add some information at the end of the last section about
> >> extending glusterfs volumes.
> >>
> >> 7. Extend GlusterFS Volumes without downtime
> >> https://wiki.centos.org/HowTos/GlusterFSonCentOS
> >
> >
> > 4. GlusterFS Server Installation
> >
> > And in section 4, I'd like to include information about the Glusterfs
> > packages the CentOS Storage SIG has available.
> > For that I'll split the section into subsection 4.1 for Gluster.org repo
> and
> > 4.2 for CentOS Storage SIG.
> >
> >>
> >>
> >> I plan on adding notes regarding re-balancing the data.
> >> My wiki user name is MichaelBear
> >>
> >> Thanks,
> >> --
> >> ---~~.~~---
> >> Mike
> >> //  SilverTip257  //
>
> You should be able to edit that page now.
>
> Thanks for your contribution.
>
> Akemi
> ___
> CentOS-docs mailing list
> CentOS-docs@centos.org
> https://lists.centos.org/mailman/listinfo/centos-docs
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTos/GlusterFSonCentOS

2016-12-31 Thread Mike - st257
On Sat, Dec 31, 2016 at 2:20 PM, Mike - st257 <silvertip...@gmail.com>
wrote:

> Hello,
>
> I'd like to add some information at the end of the last section about
> extending glusterfs volumes.
>
> 7. Extend GlusterFS Volumes without downtime
> https://wiki.centos.org/HowTos/GlusterFSonCentOS
>

4. GlusterFS Server Installation

And in section 4, I'd like to include information about the Glusterfs
packages the CentOS Storage SIG has available.
For that I'll split the section into subsection 4.1 for Gluster.org repo
and 4.2 for CentOS Storage SIG.


>
> I plan on adding notes regarding re-balancing the data.
> My wiki user name is MichaelBear
>
> Thanks,
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] HowTos/GlusterFSonCentOS

2016-12-31 Thread Mike - st257
Hello,

I'd like to add some information at the end of the last section about
extending glusterfs volumes.

7. Extend GlusterFS Volumes without downtime
https://wiki.centos.org/HowTos/GlusterFSonCentOS

I plan on adding notes regarding re-balancing the data.
My wiki user name is MichaelBear

Thanks,
-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
https://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS] OT: a USB barcode scanner?

2016-12-11 Thread Mike - st257
On Sat, Dec 10, 2016 at 5:42 AM, Jos Vos  wrote:

> Hi,
>
> On Fri, Dec 09, 2016 at 04:02:50PM -0500, m.r...@5-cent.us wrote:
>
> >I'm about to go googling, but thought I'd ask here if anyone's using a
> > barcode scanner with CentOS, and if so, a) what scanner are you using,
> > and b) what, if any, software are you using to record what it scans?
>
> Most USB barcode scanners can operate in so called keyboard wedge mode
> (either implicitly or explicitly via some physical switch).  In that
> case, you'll just see the scanned codes as keyboard input.
>

The USB barcode scanners I've used were detected as simple HID devices (on
Debian and Fedora).
Nothing but plug-and-play.

And yes, it acts just like keyboard input.

I don't have the model numbers handy, but I do believe one was a
Symbol-brand scanner (colors in photos look about right).

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disable hybernate/suspend in CentOS 7

2016-10-13 Thread Mike - st257
On Thu, Oct 13, 2016 at 11:33 AM, Valeri Galtsev 
wrote:

> Dear Experts,
>
> Could someone point me in the right direction: how can I disable
> hybernate/suspend in CentOS 7?
>
> I get workstations for graduate students with decent amount of RAM (32
> GB), and for machines with large RAM I either do not have swap at all of
> have some small (4 GB) swap. As I remember from older manuals, one has to
> have at least twice amount of swap compared to physical RAM for
> hybernate/suspend to work. This probably is what bit me: new Dells came
> with keyboard that has sleep button, when one hits that button the machine
> locks up. (it stays powered on, does not respond mouse, keyboard, does not
> respond ping).
>
> I would like to disable that sleep button on keyboard. (I'm kind of trying
> to avoid replacing keyboard with the ones that do not have "sleep" key).
>

Have you tried disabling power management via GRUB options?
http://askubuntu.com/a/130541


>
> Thanks a lot for all your help!
>
> Valeri
>
> 
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: hardware, MegaRAID SAS 2008 (falcon)

2016-07-05 Thread Mike - st257
On Thu, Jun 30, 2016 at 5:28 PM, Valeri Galtsev 
wrote:

>
> On Thu, June 30, 2016 2:59 pm, m.r...@5-cent.us wrote:
> > I've been googling, and haven't yet found the answer: does anyone here
> > know if a MegaRAID SAS 2008 (falcon) (rev 03) can handle drives bigger
> > than 2TB?
> >
>

The following sources say, yes >2TB drives are supported with the latest
firmware [0].
Might not be able to get past 3TB drives though [1].

[0]
https://forums.servethehome.com/index.php?threads/ibm-serveraid-m1015-lsi-megaraid-9220-8i-maximum-hdd-size.2648/#post-23454
[1]
https://lime-technology.com/forum/index.php?topic=12767.msg121130#msg121130


>
> One way to find out is to plug 4TB drive and take a look. Another is to
> ask one who has the same controller to do the same for you. I am going to
> play with similar on one of my machine, but it sounds like my controller
> is different: in my case lspci gives me:
>
>
> 01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078
> (rev 04
> )
> Subsystem: Dell PERC 6/i Integrated RAID Controller
>

Those PERC controllers are limited at supporting 2TB disks.


>
> Sorry, can't answer the question, only what I would do - just my poor
> experientalist's approach...
>
> Valeri
>
> 
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how do I use only black ink?

2016-04-20 Thread Mike - st257
On Wed, Apr 20, 2016 at 12:50 PM, Mike - st257 <silvertip...@gmail.com>
wrote:

> On Sun, Apr 17, 2016 at 2:51 AM, Michael Hennebry <
> henne...@web.cs.ndsu.nodak.edu> wrote:
>
>>
>> I have an HP Photosmart C3180 All-in-one.
>> As I haven't had any need for color lately,
>> when I last replaced ink, I only replaced the black cartridge.
>> It didn't work, even when printing grayscale-only images,
>> even when telling print-set-up grayscale-only.
>> Is there a way to tell my printer to use only the black ink cartridge.
>> My test image is a handmade postscript file
>> that only use setgray to set the color.
>
>
> Via the printer's settings options (GUI) and there should be a drop down
> for color options (in the past I've set color, grayscale, black).
>
> Or you could use lpoptions
> https://bbs.archlinux.org/viewtopic.php?pid=955786#p955786
>

d'oh ... this was solved on another thread.
My bad. Sorry for the noise.


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how do I use only black ink?

2016-04-20 Thread Mike - st257
On Sun, Apr 17, 2016 at 2:51 AM, Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

>
> I have an HP Photosmart C3180 All-in-one.
> As I haven't had any need for color lately,
> when I last replaced ink, I only replaced the black cartridge.
> It didn't work, even when printing grayscale-only images,
> even when telling print-set-up grayscale-only.
> Is there a way to tell my printer to use only the black ink cartridge.
> My test image is a handmade postscript file
> that only use setgray to set the color.


Via the printer's settings options (GUI) and there should be a drop down
for color options (in the past I've set color, grayscale, black).

Or you could use lpoptions
https://bbs.archlinux.org/viewtopic.php?pid=955786#p955786

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] KVM networking issue

2016-03-25 Thread Mike - st257
On Thu, Mar 24, 2016 at 4:30 PM, Kevin Ross  wrote:

> Thanks, Mike. When running tcpdump on the VM I'm not seeing traffic
> unless it's explicitly intended for that particular VM, so no traffic
> between the other VMs is getting forwarded from the virtual interface
> to the "network appliance" VM.
>
> There is connectivity between the VMs on the private network and the
> "network appliance" VM which is acting as a gateway.
>
> Here's the output of the brctl command:
>
> virbr1
>  bridge id  8000.5254007e2f5b
>  designated root8000.5254007e2f5b
>  root port 0path cost
> 0
>  max age  19.99 bridge max age
> 19.99
>  hello time1.99 bridge hello time
> 1.99
>  forward delay 0.00 bridge forward delay
>  0.00
>  ageing time 299.95
>  hello timer   0.29 tcn timer
> 0.00
>  topology change timer 0.00 gc timer
>  0.29
>  hash elasticity   4hash max
>  512
>  mc last member count  2mc init query count
> 2
>  mc router 1mc snooping
> 1
>  mc last member timer  0.99 mc membership timer
> 259.96
>  mc querier timer254.96 mc query interval
> 124.98
>  mc response interval  9.99 mc init query interval
> 31.24
>  flags
>
>
> virbr1-nic (0)
>  port idstate
> disabled
>  designated root8000.5254007e2f5b   path cost
> 100
>  designated bridge  8000.5254007e2f5b   message age timer
> 0.00
>  designated port8001forward delay timer
> 0.00
>  designated cost   0hold timer
>  0.00
>  mc router 1
>  flags
>
> I'm not sure why virbr1-nic is showing up as disabled, and also why
>

That STP output says the virbr1-nic interface is disabled -- maybe your VM
is powered off?


> the vnet# interfaces don't show up (they do show up on another host,
> although VMs on that host are having the same non-promiscuous issue as
> these VMs). I've tried this with and without NAT, as well as with STP
> on/off with no effect.
>

You'll need to enable IP forwarding and set rules to route the traffic for
those VMs.
http://www.linux-kvm.org/page/Networking#Routing_with_iptables

The gotcha is that if you're not doing any IP routing on the KVM node, your
"network appliance" VM needs to have one NIC bridged to your real network
and the other as part of virbr1. You could NAT it on the KVM host as well.

Read the KVM networking documentation as it will help you determine what
configuration you have and if that's what you want.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] KVM networking issue

2016-03-24 Thread Mike - st257
On Tue, Mar 22, 2016 at 1:57 PM, Kevin Ross  wrote:

> Hi Mike,
>
> Thanks for the info. I'd rather run monitoring such as tcpdump from
> the VM if possible and not the host as a simulation of a network
>

Then run tcpdump on the VM. Same command or commands you'd have ran on the
host node.


> appliance and with the intent eventually of giving others access to
> the VM and not the host. Here is the xml file for the private network:
>
> 
>
> 
>   virbr1
>   
>   
>   
>   
>   
>   
> 
>
> There are two VMs connected to this interface, and the monitoring or
> "appliance" VM is connected to both this and the external interface.


I take it you've tried testing basic connectivity from the VMs to whatever
default gateway is in place?

I see Spanning Tree is enabled, so you might check that an interface isn't
in the blocking state.
brctl showstp  | egrep '^(em|eth|vnet)|state'

I don't use the NAT network mode for KVM, so hopefully someone else can
chime in on that piece.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] KVM networking issue

2016-03-22 Thread Mike - st257
On Mon, Mar 21, 2016 at 1:33 PM, Kevin Ross  wrote:

> Hi folks,
>
> I posted this question to the KVM list, but I thought I'd try here
> too--sorry if this is the wrong place to post this, can you please
> direct me to the correct forum or list if so, thanks!
>
> I'm working on a network security project, using KVM installed on
> CentOS 6.7 through yum. I have a VM with the goal of using this as a
> network appliance, and two other VMs, one simulating an attack node
> and the other simulating a vulnerable webapp. These are all connected
> to the same internal private network set up in KVM. The idea with the
> network appliance VM is to have it act as if it's connected to a
> network tap so it can see the traffic between the other two VMs. I'm
> not able to see the traffic currently and would appreciate your help
> or suggestions to see if this is possible and how I can set this up if
>

>From the KVM host you should be able to point tcpdump at the vnetX
interfaces and sniff.
I've had to do this on occasion (with a bridged network setup) when a web
hosting VM was being brute forced.


> so. I came across some information online suggesting to have the
> interfaces in promiscuous mode, including the virtual NIC for the
> private network, and I've tried all combinations. Thanks for any help
> you can offer!
>

Start by determining what interface your VM is attached to.

We have no idea the network layout of your KVM set up for VMs either.
Look at the XML for your VM to determine which interface it's tied to.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] IPSec multiple VPN setups

2016-03-21 Thread Mike - st257
On Mon, Mar 21, 2016 at 1:17 PM, Mike - st257 <silvertip...@gmail.com>
wrote:

> I second Eero's comment, use a new IPSec daemon.
>
> Openswan was forked and became Libreswan. Paul, now a RH employee, was a
> main developer for the Openswan project before he and others created the
> Libreswan fork.
> https://libreswan.org/
>
> EL6 has Openswan
> EL7 has Libreswan
>
> Racoon isn't all that fun to work with.
> If you have the option, ditch it and EL5 and move to a newer platform
> (preferably EL7 with Libreswan).
>

There's an RPM spec file (though I've not used it) for building Openswan
for EL5.
https://github.com/xelerance/Openswan/tree/master/packaging/centos5

Additionally, here's some info but I advise against the Racoon IPSec daemon.
https://www.centos.org/docs/5/html/5.2/Deployment_Guide/sec-racoon-conf.html
https://wiki.debian.org/IPsec


>
>
> On Mon, Mar 21, 2016 at 1:08 PM, Eero Volotinen <eero.voloti...@iki.fi>
> wrote:
>
>> Yes you can. Please use newer version of centos and strong/openswan.
>>
>> Eero
>> 21.3.2016 7.05 ip. "Glenn Pierce" <glennpie...@gmail.com> kirjoitti:
>>
>> > Hi I hope someone can answer something I'm sure is quite basic.
>> >
>> > I am following the instructions at
>> > https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-vpn.html
>> > On setting up a VPN
>> >
>> > The part I am having trouble with is when it show the
>> > /etc/racoon/racoon.conf file.
>> > But it doesn't say whay you have to do with this file.
>> >
>> > When I bring up my connection
>> >
>> > ifup bicester
>> >
>> > I get
>> > RTNETLINK answers: No such device
>> >
>> > looking at /var/messages I see
>> >
>> > ERROR: failed to bind to address 127.0.0.1[500] (Address already in
>> use).
>> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
>> > (Address already in use).
>> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
>> > (Address already in use).
>> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
>> > (Address already in use).
>> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address ::1[500]
>> > (Address already in use).
>> > Mar 21 17:01:05  racoon: INFO: fe80::bcef:4fff:fe66:82ec%eth0[500]
>> > used as isakmp port (fd=25)
>> >
>> > There was an existing setup done long ago.
>> >
>> > How can I setup more than one vpn connection (manually as this is a
>> > headless server)
>> > or is that not possible ?
>> >
>> > Thanks for any pointers
>> > ___
>> > 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
>>
>
>
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPSec multiple VPN setups

2016-03-21 Thread Mike - st257
I second Eero's comment, use a new IPSec daemon.

Openswan was forked and became Libreswan. Paul, now a RH employee, was a
main developer for the Openswan project before he and others created the
Libreswan fork.
https://libreswan.org/

EL6 has Openswan
EL7 has Libreswan

Racoon isn't all that fun to work with.
If you have the option, ditch it and EL5 and move to a newer platform
(preferably EL7 with Libreswan).


On Mon, Mar 21, 2016 at 1:08 PM, Eero Volotinen 
wrote:

> Yes you can. Please use newer version of centos and strong/openswan.
>
> Eero
> 21.3.2016 7.05 ip. "Glenn Pierce"  kirjoitti:
>
> > Hi I hope someone can answer something I'm sure is quite basic.
> >
> > I am following the instructions at
> > https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-vpn.html
> > On setting up a VPN
> >
> > The part I am having trouble with is when it show the
> > /etc/racoon/racoon.conf file.
> > But it doesn't say whay you have to do with this file.
> >
> > When I bring up my connection
> >
> > ifup bicester
> >
> > I get
> > RTNETLINK answers: No such device
> >
> > looking at /var/messages I see
> >
> > ERROR: failed to bind to address 127.0.0.1[500] (Address already in use).
> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
> > (Address already in use).
> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
> > (Address already in use).
> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address *.*.*.*[500]
> > (Address already in use).
> > Mar 21 17:01:05  racoon: ERROR: failed to bind to address ::1[500]
> > (Address already in use).
> > Mar 21 17:01:05  racoon: INFO: fe80::bcef:4fff:fe66:82ec%eth0[500]
> > used as isakmp port (fd=25)
> >
> > There was an existing setup done long ago.
> >
> > How can I setup more than one vpn connection (manually as this is a
> > headless server)
> > or is that not possible ?
> >
> > Thanks for any pointers
> > ___
> > 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
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Networking in KVM

2016-03-19 Thread Mike - st257
Paul,


On Thu, Mar 17, 2016 at 5:47 PM, Digimer  wrote:

> On 17/03/16 04:47 PM, paul.greene...@verizon.net wrote:
> > Thanks, I followed the 2nd article, and it got the existing virtual
> > machines communicating with each other.
>

Right, so your VMs are on the same bridge group now (at Layer2 of OSI).


> >
> > However, any new virtual machines I created after making the changes
> > can't communicate with anything, they can't even get out to the
> > internet, even if I manually set the IP address info. Any suggestions on
> > that?
> >
> > Paul
>

Have you verified connectivity to the VMs' default gateway?
Does the ARP (address resolution protocol) process succeed?
arp -a | grep 
http://linux-ip.net/html/ether-arp.html

You may not have a NIC connected to your physical network in that bridge
group.
If so you need to modify your network-scripts to make that happen
automatically on boot.
You do not necessarily need an IP address on your bridge interface unless
the VM host is acting as a router (default gateway).
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html

Here's an example:
~]# cat /etc/sysconfig/network-scripts/ifcfg-XX_br0
DEVICE=XX_br0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no

You can temporarily add an interface to the bridge group for testing
purposes though.
brctl addif  
http://www.tldp.org/HOWTO/BRIDGE-STP-HOWTO/set-up-the-bridge.html


>
> Check that they're using your static bridge. 'virsh dumpxml ' will
> have a section like:
>
> 
> 
>   
>   
>   
>   
>   
>function='0x0'/>
> 
> 
>
> That tells you that the interface is MAC '52:54:00:71:20:fa' is "plugged
> in" to the bridge 'bcn_bridge1'. If that doesn't connect to the right
> bridge, then you need to change it (virt-manager has a simple to use GUI
> for this, or you can use 'virsh edit ' if you're comfortable editing
> XML).


An additional command to run to verify your Ethernet bridge(s) operation is:
brctl show
brctl show 

~]# brctl show XX_br0
bridge name bridge id STP enabled interfaces
XX_br0 8000.00151713fdbc no p1p1
vnet0
vnet1
vnet11
vnet12
vnet13
vnet19
vnet2
vnet4
vnet6
vnet7


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] [OT] security bug with firefox and add-on

2016-03-09 Thread Mike - st257
On Wed, Mar 9, 2016 at 1:38 PM, g  wrote:

>
> greets.
>
> tho this is off-topic for this list, it is still a bug that centos users
> along with all users of firefox should be aware of.
>

What version of CentOS and Firefox?


>
> due to nature of bug and what is involved, i believe it safer to not go
> into great details in an open list. never know which 'hats' are subscribed
> to support list. :-D
>
> so my question is just who should i inform of problem?
>
> mozilla.org? author of add-on? cve.mitre.org? all 3?
>

Author of the add-on would be my first stop.

If it turns out to be a larger bug affecting more than just that add-on,
hopefully the add-on author will run it up the chain to Mozilla.


>
> tia.
>
>
> --
> peace out.
>
> If Bill Gates got a dime for every time Windows crashes...
>  ...oh, wait. He does. THAT explains it!
> -+-
> in a world with out fences, who needs gates.
>
> CentOS GNU/Linux 6.7
>
> tc,hago.
>
> g
> .
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SOT: Can Fedora be installed from Live images?

2016-03-08 Thread Mike - st257
On Tue, Mar 8, 2016 at 9:28 AM, Scott Robbins  wrote:

> On Tue, Mar 08, 2016 at 09:00:44AM -0500, mechy2k2000 wrote:
> > I think nearly all the fedora images are live CDs now. They should have
> an
> > option to install fedora when you boot the  cd. Usually when you boot the
> > cd.  A window appears asking to either install the os or try it out. If
> you
> > are using a non gnome cd,you may have to search the application menu for
> > the installer
>
> At one point, at least the LiveCD had a bunch of limitations, possibly on
> partitioning, and also on package selection. I don't know if that's still
> true.
>

Still true.
Anaconda doesn't handle LVM on Software RAID properly. Maybe it will be
fixed when F24 releases this summer.
https://bugzilla.redhat.com/show_bug.cgi?id=1225184

There may be other limitations as well.

The work around is to use the netinstall image.
The server images are a different set of packages apparently and is said to
require a bunch of work to make a server install a workstation install in
the end. So I'd advise against that and instead netinstall (worked for me).


>
> However, there are also the server and workstation spins. If you are
> looking for the usual Gnome desktop, you probably want workstation.  I usue
> server, choose minimal install and add things afterwards.
>
> The Fedora site itself has the live one by default.  Their logic is that
> the newcomer will have the best chance of success with that one, and the
> more experienced will go elsewhere. Their site,
> https://getfedora.org/, shows server and workstation images for download.




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-19 Thread Mike - st257
On Thu, Feb 18, 2016 at 1:49 PM, Gordon Messmer <gordon.mess...@gmail.com>
wrote:

> On 02/18/2016 10:27 AM, Mike - st257 wrote:
>
>> ( You forgot to escape the space before 6 in the first sed expression
>> you provided. )
>>
>
> True, but you shouldn't need to escape spaces at all:
>

Right, I notice that now.
And those expressions can be combined in one string and not two
expressions. ;-)


>
> sed -i 's/#Port 22/Port 6/; s/#PermitRootLogin yes/PermitRootLogin
> yes/'
>
> Though I will note there is some sort of syntax error with the
>> PermitRootLogin sed expression (present in the original you provided). I
>> spent a moment looking at it and the problem with that second expression
>> evades me right now.
>>
>
> I ran the command he provided and didn't see a problem.  What did you see?


I know I saw an error message yesterday, but I don't see one now (ran it
without the "in place" replace option as a test). *shrugs* Now I look like
I'm seeing things. :-/

Thank goodness it's Friday.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-18 Thread Mike - st257
On Wed, Feb 17, 2016 at 2:48 PM, Adrian Sevcenco 
wrote:

> Hi! I want to change the sshd port at install for centos7 but i am not sure
> if i am on the good track (and it is time expensive to make many
> try-outs)..
> So, i would be grateful if someone with experience can spot if i have
> problems
> with my planning.. (the actual purpose is that after installation i have
> access
> for my ansible provisioning)
>
> first make sure ssh is started
> services --enabled=sshd,chronyd
>
> then .. i imagine that in the %post section
> %post --interpreter=/usr/bin/bash --log=/root/ks-post.log
> 1. i could use sed to change the port
> sed -i 's/#Port\ 22/Port 6/' /etc/ssh/sshd_config
> 2. sed -i 's/#PermitRootLogin\ yes/PermitRootLogin\ yes/'
> /etc/ssh/sshd_config
> 3. enable key access
> mkdir -p /root/.ssh
> chmod 700 /root/.ssh
> cat << EOF >> /root/.ssh/authorized_keys
> my_ssh_pubkey
> EOF
> 4. semanage port -a -t ssh_port_t -p tcp 6
> 5. firewall-cmd --permanent --zone=public --add-port=6/tcp
> 6. systemctl enable firewalld.service
>
> did i miss anything?
>

The %post section is definitely where you want your commands.
I'd combine the sed commands in points 1 and 2, but that's a small nit
picky suggestion.
( You forgot to escape the space before 6 in the first sed expression
you provided. )

sed -i -e 's/#Port\ 22/Port\ 6/'  -e's/#PermitRootLogin\
yes/PermitRootLogin\ yes/' /etc/ssh/sshd_config

Though I will note there is some sort of syntax error with the
PermitRootLogin sed expression (present in the original you provided). I
spent a moment looking at it and the problem with that second expression
evades me right now. *grumble*

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)

2016-02-16 Thread Mike - st257
On Mon, Feb 15, 2016 at 6:52 PM, Warren Young <w...@etr-usa.com> wrote:

> On Feb 15, 2016, at 10:34 AM, Mike - st257 <silvertip...@gmail.com> wrote:
> >
> > I have not yet found a USB-to-serial adapter detected as /dev/ttyACM1.
> > Try /dev/ttyUSB0 ?
>
> Both naming schemes are correct, depending on the *type* of USB to serial
> converter.  The difference comes down to a low-level USB implementation
> detail which I’ve never bothered to commit to long-term memory.
>

Yep.
If I recall correctly, minicom defaults to ttyACM0 or 1 on a fresh install.
I wasn't claiming that device name was wrong, but more so that ttyUSB0 is
more common (though that may not truly be the case).


>
> I just say “dmesg | tail” or “ls -ltr /dev” shortly after plugging the
> device in.  One of the two tells me which scheme that particular device
> uses.


Yes indeed. Dmesg is my first stop as well. :-)

This could suffice as well. Many ways to "skin the cat"
~$ ls -l /dev/tty[A-Z]*

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB Serial ports (ttyACMn) CentOS 6.7 (64-bit) vs. CentOS 6.7 (64-bit)

2016-02-15 Thread Mike - st257
I have not yet found a USB-to-serial adapter detected as /dev/ttyACM1.
Try /dev/ttyUSB0 ?

- Mike

On Sat, Feb 13, 2016 at 10:14 AM, Robert Heller  wrote:

> I sent this out about a week or so ago, but I have heard nothing. I am
> *thinking* it is a SELINUX problem, but I cannot figure out what. The
> SELINUX
> settings for both machines are *exactly* the same (the stock defaults for a
> standard CentOS 6 install).  The *only* difference is that the desktop
> (sauron) has a few VMs setup (under KVM) and the laptop (gollum) does not.
> The
> desktop has an AMD processor and a nVidia video chipset and the laptop has
> an
> Intel processor and an Intel graphic controller.  Although I can't see how
> either the processor or video chipset would have anything to to with the
> USB
> or USB serial port-type devices.  The desktop also has a PCI quad serial
> port
> card and includes the 8250.nr_uarts=8 kernel option and is set up to use an
> analog dialup modem to make PPP connections (again, I don't see that as
> having
> anything to do with anything).
>
> Both machines are running the same kernel: 2.6.32-573.12.1.el6.x86_64
>
>
>
>
> At Thu, 4 Feb 2016 16:13:33 -0500 Robert Heller 
> wrote:
>
> >
> > I have two computers: both running CentOS 6.7, 64-bit, with
> > kernel 2.6.32-573.12.1.el6.x86_64.  One is a laptop with an 2 core Intel
> > processor and the other is a desktop machine with a 4 core AMD
> processor. Both
> > with selinux enabled.
> >
> > I have a USB serial port device (a RR-CirKits LCC-Buffer USB).  On the
> desktop
> > I am getting this error:
> >
> > sauron.deepsoft.com% sudo minicom
> > Device /dev/ttyACM0 access failed: No such file or directory.
> > sauron.deepsoft.com% dir -lZ /dev/ttyACM0
> > crw-rw. root dialout system_u:object_r:tty_device_t:s0 /dev/ttyACM0
> >
> > But it is working on the laptop!
> >
> > gollum.deepsoft.com% dir -lZ /dev/ttyACM1
> > crw-rw. root dialout system_u:object_r:tty_device_t:s0 /dev/ttyACM1
> >
> > Same kernel, same device (except it is showing up as ttyACM1 on the
> laptop).
> >
> > What is going on here?
> >
> >
> >
>
> --
> Robert Heller -- 978-544-6933
> Deepwoods Software-- Custom Software Services
> http://www.deepsoft.com/  -- Linux Administration Services
> hel...@deepsoft.com   -- Webhosting Services
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] heads up: /boot space on kernel upgrade

2016-02-12 Thread Mike - st257
On Thu, Feb 11, 2016 at 1:19 PM, Devin Reade  wrote:

> I have a CentOS 6 machine that was initially installed as CentOS 6.4
> in May of 2013.  It's /boot filesystem is 200M which, IIRC, was the
> default /boot size at the time.
>

Hmm, for some reason I decided on ~500MB /boot on the CentOS6 systems I
built.


>
> The most recent kernel update (2.6.32-573.18.1.el6) fails because of
> lack of space in /boot. The workaround is edit /etc/yum.conf, reduce
> installonly_limit from 5 to something lower (I used 3), remove the
> oldest kernel via 'rpm -e', and then re-apply the update.  In this case,
> it was necessary to use the 'yum update' command line vs the Update Applet
> due to an incomplete transaction from the failed update.
>

I've seen, but not used the yum.conf option for kernel retention.
Not many kernels would fit, so in my case cloning was the best option. :-/

Yeah, having to deal with it being out of space stinks.
I've gone through it on a system where a former sysadmin set up a 100MB
/boot partition for that CentOS6 server. Eventually I managed the time to
clone the system so that the /boot partition was 500MB.
( What a pain in the butt until I fixed it! )

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what browser plugin provides Quicktime on 7.2?

2016-01-06 Thread Mike - st257
On Wed, Jan 6, 2016 at 2:14 PM, Fred Smith 
wrote:

>
> > Switching my FF user-agent to claim it was my tablet's chrome let
> > these videos play fine.
> >
> > It appears that Apple's view is that page designers shouldn't be
> > coding to require the plugin -- see bottom of:
> >
> >   
> >
> > so it's somewhat amusing that their site is doing just that.
>
> So, I followed that link and installed and set up the user agent
> switcher, as described there, and now firefox 38.5.0 ESR  plays
> apple trailers! the other posts there indicated you also needed a
> bug fix from mozilla, but they're also speaking of OSX, so I don't
> know (nor have a lot of interest) if it's OSX specificially, or
> just FF 4x or what, but it's working fine today for me on Centos 7.2.
>
> Also, I had no clue that apple served them up in anyform other than
> quicktime. HTML-5 rocks!
>

Sweet, I didn't realize that either.
I suppose if you were picky (and cared about your user-agent for browsing
other than Apple's site), you could create another FF profile [0] which you
use just for Apple and modify the UA for it and it only. ;-)

[0] http://kb.mozillazine.org/Shortcut_to_a_specific_profile


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (OT) Computer seems to have died

2016-01-04 Thread Mike - st257
On Mon, Jan 4, 2016 at 7:12 PM, Tom Bishop  wrote:

> +1 or bad capacitors, look on the board and make sure none are leaking or
> puffed out.
>

+1 as well for capacitors ... I was "gifted" a NetVista ages ago and
discovered leaking capacitors ... plus it wasn't acting quite right. It was
properly stripped down and recycled quite some time ago.

Same goes for the older Dell Optiplex GX260/270/280 series desktops. ;-)

Check the board for bulging/leaking caps first.
Then I'd recommend testing the power supply if you have access to a PSU
tester (or multimeter if you know what you're doing and are careful).



> On Jan 4, 2016 6:08 PM, "David Both" 
> wrote:
>
> > Power supply
> >
> > On 01/04/2016 07:03 PM, tdu...@palmettoshopper.com wrote:
> >
> >> Hello,
> >>
> >> I have an old IBM Netvista. Lately, it would seem to go into sleep mode
> >> but I have all that disabled. I would have to power off to wake it up.
> >> Now I think its done. I can't even get to the CMOS/BIOS. The power light
> >> is on but no beeps or anything spinning up.
> >>
> >> I have two of these Netvistas and had put on away when I upgraded one of
> >> the machines. I pulled the HD from it and installed it in the other.
> >> Same thng. I'm fairly certain it was working when I updraded. I've
> >> swapped out monitors as well.
> >>
> >> Power supply or hard drive, any ideas?
>
>
-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-30 Thread Mike - st257
On Wed, Dec 30, 2015 at 10:47 AM, James Hogarth 
wrote:

>
> > > Can you pastebin the init script by any chance? I wonder if it's
> > actually a
> > > properly written init script or if it's bad enough  that the generator
> > > fails to parse it ...
> >
> >
> > Yes - here is a pastebin with that script.
> >
> > And there was an error on line 130 ... or line 133 of the pastebin --
> which
> > I already fixed. ;-)
> > (I verified the typo against the contents of the RPM from LSI to be
> > certain.)
> > if ( "$rhel_ver" == "1" && "oel_ver" == "0" ) ; then
> > should have been
> > if ( "$rhel_ver" == "1" && "$oel_ver" == "0" ) ; then
> >
> >
> > http://pastebin.com/BGLjGiuT
> >
> >
> >
> That doesn't even make sense ... if it's both rhel and oel version 7 then
> systemctl start   ... :/
>
> Some lovely samples from it:
>  #A function to stop a program.
> statuscheck() {
>
> Let's import the standard distro function library! then ...
> mykillproc()
> {
>
>
> Okay we might have a pid we think ... better kill it ...
>
>kill -TERM $pid
>usleep 20
>if ps h $pid >/dev/null  >/dev/null 2>&1 ; then
> sleep 1
> if ps h $pid >/dev/null  >/dev/null 2>&1 ; then
> sleep 3
>...
>
> Hmm we have a snmpd dependency...
> if [ -x /etc/init.d/snmpd ] ; then
> /etc/init.d/snmpd start
>
> ./twitch && ./vomit
>
> That's so badly written it wouldn't surprise me if it just barfed and gave
> up ...
>

I guess that syntax error I found should have been a tip-off.
Thanks for analyzing LSI's SysV init script. ;-)

I didn't take the time to do that before you asked for a pastebin. I
appreciate the help.


>
> According to
>
> https://github.com/systemd/systemd/blob/master/src/sysv-generator/sysv-generator.c
> though the journal (or syslog) should contain a Failed to create unit file
>  if it couldn't translate it though ...
>

I briefly looked at (and grepped) logs and didn't find a message about
failing to create unit file.


>
> I'd seriously just give up on that and do the 3-5 line systemd unit that is
> soo much cleaner ... you could even have a proper snmpd.service dependency
> in place then!


Sounds like the best path.

Thank you everyone.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re-booting into CentOS-7.2 - advice sought

2015-12-30 Thread Mike - st257
On Wed, Dec 30, 2015 at 7:52 AM, Timothy Murphy  wrote:

> I have a remote home server updated to CentOS-7.2.1511
> (as stated in /etc/redhat-release)
> but I have not re-booted since the update.
> The machine is currently running kernel 3.10.0-229.11.1.el7.x86_64.
>
> I'm wondering if anyone has advice on any safety steps I can take
> before re-booting, so that in the event of failure
> I can give simple instructions to my daughter at the other end
> on how to get the system running?
>

Rather than initially involving a "remote hands" person...
... use "grub boot once" or in the case of grub2 it's called "grub reboot".
( Then only if it has a really bad fit should you have to involve a
physical person. )

The operations are a bit different with grub2 than they were for
grub1/grub-legacy.

https://wiki.debian.org/GrubReboot
http://ariekanarie.nl/archives/211/remote-kernel-upgrade-with-debianubuntu-and-grub2


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-30 Thread Mike - st257
Consolidating my reply to both James and Gordon in one message.


On Wed, Dec 30, 2015 at 2:38 AM, James Hogarth <james.hoga...@gmail.com>
wrote:

> On 30 Dec 2015 00:55, "Mike - st257" <silvertip...@gmail.com> wrote:
> >
> > On Tue, Dec 29, 2015 at 5:23 PM, Joseph L. Casale <
> jcas...@activenetwerx.com
> > > wrote:
> >
> > > Instead of converting the sysv script, you could trivially write your
> own,
> > > the following
> > > was tested against about 6 SNMP queries, the service stops and starts
> as
> > > expected.
> > >
> >
> > That's certainly an option.
> > One that I was prepared to resort to. But curiosity has the best of me
> ...
> > I would like to know why the SysV generator didn't do its job.
> >
> > And I wasn't able to find any "generated" unit files from those Dell
> > OpenManage SysV scripts either.
> >
> >
>
> The generators all run automatically when systemd reloads config.
>
> The transient unit files created are in /var/run ...
>

Thanks.
I located a few generated ones in /var/run/systemd/generator.late/
But not one for lsi_mrdsnmpagent


> Best way to see this is using systemctl (status|cat|show)  ...
>
> I expect if you do this for your failing service you'll get a better
> understanding of what's going on.


~]# systemctl status lsi_mrdsnmp.service
● lsi_mrdsnmp.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

~]# systemctl cat lsi_mrdsnmp.service
Unit lsi_mrdsnmp.service is not loaded: No such file or directory

~]# systemctl show lsi_mrdsnmp.service | egrep 'Name|Load'
Names=lsi_mrdsnmp.service
LoadState=not-found
LoadError=org.freedesktop.DBus.Error.FileNotFound "No such file or
directory"


Thanks for the assistance.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-30 Thread Mike - st257
On Wed, Dec 30, 2015 at 10:06 AM, James Hogarth 
wrote:

>
> > > Best way to see this is using systemctl (status|cat|show) 
> > ...
> > >
> > > I expect if you do this for your failing service you'll get a better
> > > understanding of what's going on.
> >
> >
> > ~]# systemctl status lsi_mrdsnmp.service
> > ● lsi_mrdsnmp.service
> >Loaded: not-found (Reason: No such file or directory)
> >Active: inactive (dead)
> >
> > ~]# systemctl cat lsi_mrdsnmp.service
> > Unit lsi_mrdsnmp.service is not loaded: No such file or directory
> >
> > ~]# systemctl show lsi_mrdsnmp.service | egrep 'Name|Load'
> > Names=lsi_mrdsnmp.service
> > LoadState=not-found
> > LoadError=org.freedesktop.DBus.Error.FileNotFound "No such file or
> > directory"
> >
> >
> >
> Can you pastebin the init script by any chance? I wonder if it's actually a
> properly written init script or if it's bad enough  that the generator
> fails to parse it ...


Yes - here is a pastebin with that script.

And there was an error on line 130 ... or line 133 of the pastebin -- which
I already fixed. ;-)
(I verified the typo against the contents of the RPM from LSI to be
certain.)
if ( "$rhel_ver" == "1" && "oel_ver" == "0" ) ; then
should have been
if ( "$rhel_ver" == "1" && "$oel_ver" == "0" ) ; then


http://pastebin.com/BGLjGiuT


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-29 Thread Mike - st257
On Tue, Dec 29, 2015 at 1:24 PM, Joseph L. Casale  wrote:

> > The particular software in question is LSI MegaRaid SNMP daemon.
> > I retrieved the latest version from LSI's site which was provided for
> EL7.
>
> While I don't have the answer to your specific question, LSI does does
> not advertise support for the latest point release and using their current
> version faults for me after upgrading a host.
>

This system is not a newly built one, so it was probably on a supported
release until a few weeks ago when 7.2 came out.

~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)


>
> You say "not functioning properly" but what issues are seeing specifically?
> Possibly "MegaRAID SNMP AGENT: Error in getting Shared
> Memory(lsi_mrdsnmpmain)"
> when starting?
>

No.
That daemon won't start ... reason being systemd unit files.
[ I replied to Greg's message just before yours. ]


>
> I have seen that each time a release of their software is used past a
> version they state support for...
>
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-29 Thread Mike - st257
On Tue, Dec 29, 2015 at 1:10 PM, Greg Bailey <gbai...@lxpro.com> wrote:

> On 12/29/2015 10:13 AM, Mike - st257 wrote:
>
>> Hello CentOS List,
>>
>> I have a server that has SysV script supplied by a hardware manufacturer,
>> which is not functioning properly. From my reading, systemd-sysv-generator
>> should handle them (like it did for Dell OpenManage software which
>> supplied
>> SysV init scripts).
>>
>> /usr/lib/systemd/system-generators/systemd-sysv-generator
>> Takes no or 3 arguments (it tells me), but I didn't find clear
>> documentation on this binary.
>> And no arguments doesn't seem to fix the issue.
>>
>> The particular software in question is LSI MegaRaid SNMP daemon.
>> I retrieved the latest version from LSI's site which was provided for EL7.
>>
>>
>> ~]# systemctl lsi_mrdsnmpd.service start
>> Unknown operation 'lsi_mrdsnmpd.service'.
>>
>
> Hi Mike,
>
> With "systemctl", the command comes before the name; did you try:
>
> systemctl start lsi_mrdsnmpd
>

Well shucks ... looks like I copy+pasted some nonsense rather than actually
what I did earlier.
Gotta pay more attention.

~]# systemctl start lsi_mrdsnmpd
Failed to start lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to
load: No such file or directory.


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Systemd and systemd-sysv-generator

2015-12-29 Thread Mike - st257
Hello CentOS List,

I have a server that has SysV script supplied by a hardware manufacturer,
which is not functioning properly. From my reading, systemd-sysv-generator
should handle them (like it did for Dell OpenManage software which supplied
SysV init scripts).

/usr/lib/systemd/system-generators/systemd-sysv-generator
Takes no or 3 arguments (it tells me), but I didn't find clear
documentation on this binary.
And no arguments doesn't seem to fix the issue.

The particular software in question is LSI MegaRaid SNMP daemon.
I retrieved the latest version from LSI's site which was provided for EL7.


~]# systemctl lsi_mrdsnmpd.service start
Unknown operation 'lsi_mrdsnmpd.service'.

~]# service lsi_mrdsnmpd start
Reloading systemd: [  OK  ]
Starting lsi_mrdsnmpd (via systemctl):  Failed to start
lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to load: No such
file or directory.
   [FAILED]

~]# /etc/init.d/lsi_mrdsnmpd start
Reloading systemd: [  OK  ]
Starting lsi_mrdsnmpd (via systemctl):  Failed to start
lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to load: No such
file or directory.
   [FAILED]

~]# /etc/init.d/lsi_mrdsnmpd status
lsi_mrdsnmpagent is stopped


~]# ls -1 /etc/init.d/
dataeng
dsm_om_connsvc
dsm_om_shrsvc
dsm_sa_ipmi
functions
instsvcdrv
lsi_mrdsnmpd
netconsole
network
racsvc
racsvc.sh
README

# in /etc/init.d/README
"Note that traditional init scripts continue to function on a systemd
system. An init script /etc/rc.d/init.d/foobar is implicitly mapped
into a service unit foobar.service during system initialization."

~]# ls -1 /etc/rc.d/init.d/
dataeng
dsm_om_connsvc
dsm_om_shrsvc
dsm_sa_ipmi
functions
instsvcdrv
lsi_mrdsnmpd
netconsole
network
racsvc
racsvc.sh
README


Thoughts as to why systemd didn't "implicitly" handle this SysV script (and
have it work)?

Suggestions as to where I go from here to properly solve this problem?

Thanks!

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-29 Thread Mike - st257
On Tue, Dec 29, 2015 at 5:23 PM, Joseph L. Casale  wrote:

> Instead of converting the sysv script, you could trivially write your own,
> the following
> was tested against about 6 SNMP queries, the service stops and starts as
> expected.
>

That's certainly an option.
One that I was prepared to resort to. But curiosity has the best of me ...
I would like to know why the SysV generator didn't do its job.

And I wasn't able to find any "generated" unit files from those Dell
OpenManage SysV scripts either.


> You may want to purge the sysv remnants.
>
> # cat /etc/systemd/system/lsi_mrdsnmpd.service
> [Unit]
> Description=LSI SNMP Agent startup/shutdown script
>
> Requires=network.target
> Requires=snmpd.service
>
> After=network.target
> After=snmpd.service
>
>
> [Service]
> Type=forking
> ExecStart=/etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp/snmpd.conf
>
> [Install]
> WantedBy=multi-user.target
>
> hth,
> jlc


I appreciate the effort.
You took some of the fun out of it for me ... less for me to write. :-)

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd and systemd-sysv-generator

2015-12-29 Thread Mike - st257
On Tue, Dec 29, 2015 at 3:14 PM, Gordon Messmer <gordon.mess...@gmail.com>
wrote:

> On 12/29/2015 09:13 AM, Mike - st257 wrote:
>
>> ~]# /etc/init.d/lsi_mrdsnmpd start
>> Reloading systemd: [  OK  ]
>> Starting lsi_mrdsnmpd (via systemctl):  Failed to start
>> lsi_mrdsnmpd.service: Unit lsi_mrdsnmpd.service failed to load: No such
>> file or directory.
>> [FAILED]
>>
>
> IIRC, you'll see that if you have a 64 bit system and try to run a 32-bit
> binary.  Run "ldd" on the binaries you've installed and make sure that all
> of the required libraries are installed.


[ Gordon, Thanks for pointing this all out. A couple simple
steps/information I needed to verify. ]


Following what information I've gathered below, I don't think this is
relative to needing x86 libraries.
( Has Red Hat even built x86 libraries for x86_64 since RHEL7 no longer
supports x86? )

~]# file /etc/lsi_mrdsnmp/lsi_mrdsnmpagent
/etc/lsi_mrdsnmp/lsi_mrdsnmpagent: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux
2.4.0, not stripped

~]# ldd /etc/lsi_mrdsnmp/lsi_mrdsnmpagent
linux-vdso.so.1 =>  (0x7ffd29f4a000)
libdl.so.2 => /lib64/libdl.so.2 (0x7fccadc7c000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x7fccad974000)
libm.so.6 => /lib64/libm.so.6 (0x7fccad671000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7fccad45b000)
libc.so.6 => /lib64/libc.so.6 (0x7fccad09a000)
/lib64/ld-linux-x86-64.so.2 (0x7fccade8a000)

~]# /etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp/snmpd.conf
LSI MegaRAID SNMP Agent Ver 3.18.0.2 (Oct 30th, 2012) Started

~]# ps aux | grep lsi
root 19446  0.1  0.0  37972  1604 ?Ssl  16:02   0:00
/etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp/snmpd.conf
root 19449  0.0  0.0  21576   584 ?Ss   16:02   0:00
/etc/lsi_mrdsnmp/lsi_mrdsnmpagent -c /etc/snmp/snmpd.conf
root 19459  0.0  0.0 112644   952 pts/0S+   16:02   0:00 grep
--color=auto lsi


The binary runs without crashing.


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewalld services

2015-12-28 Thread Mike - st257
On Mon, Dec 28, 2015 at 4:22 PM, Robert Moskowitz 
wrote:

> I am familiar with using commands like:
>
> firewall-cmd --permanent --add-service=http
>
> To enable firewalld services.  I am also aware that this is through xml
> 'scripts' in:
>
> /usr/lib/firewalld/services/
>
> But what I find interesting is what services are there and which are not.
> I went a'lookin with:
>
> grep "port=" /usr/lib/firewalld/services/*|more
>

firewall-cmd --get-services

Only the "most common" services, which will undoubtedly be up for
interpretation and opinions will differ.
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7

James has some good information here regarding precedence of service vs
port-based firewalld rules and creating your own custom service definitions.
https://www.hogarthuk.com/?q=node/9


>
> And found some like:
>
> http, https, imaps, smtp, and pop3s
>
> What I do not find are others that I would think are 'standard' like:
>
> pop3 (110) and imap (143)
>

(Given your findings which I've not confirmed...)
With the inclusion of pop3s, I'd expect imap, pop3, and imaps too.


>
> I can understand 587 not being included, but imap?
>
> I can always just add them with:
>
> firewall-cmd --permanent --add-port=587/tcp
>

I noticed the same for SNMP. No pre-configured "service profile" so I had
to use 161/udp ... but it was a small thing. ;-)


>
> But I want to use the standard files.  Perhaps because they are there.
> Have I missed how some are handled?
>

I don't think you have.
I was curious some weeks ago at the time, but had my solution with
port-based and moved on to other tasks.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] does centos have this grub2 issue?

2015-12-20 Thread Mike - st257
On Thu, Dec 17, 2015 at 1:41 PM, Wes James <compte...@me.com> wrote:

>
> > On Dec 17, 2015, at 11:29 AM, Mike - st257 <silvertip...@gmail.com>
> wrote:
> >
> > On Thu, Dec 17, 2015 at 1:19 PM, Wes James <compte...@me.com> wrote:
> >
> >> I saw this today:
> >>
> >>
> >>
> http://linux.slashdot.org/story/15/12/16/040223/0-day-grub2-authentication-bypass-hits-linux
> >>
> >> I installed a grub2 update in 7.2 yesterday. Did the update fix this?
> >>
> >
> > From the changelog, I'd say yes.
> >
> > ~]# yum changelog 1 grub2
> > <...snipped..>
> >
> > Listing 1 changelog
> >
> >  Installed Packages 
> > 1:grub2-2.02-0.33.el7.centos.1.x86_64installed
> > * Wed Dec 16 07:00:00 2015 Karanbir Singh <kbsi...@centos.org>
> > 2.02-0.33.el7.centos.1
> > - Add patch to fix grub password path ( hughesjr )
> >
> > changelog stats. 1 pkg, 1 source pkg, 1 changelog
> >
>
>
> OK. Thanks.  I’ll use that command next time to check.
>

Be sure to install yum-plugin-changelog (it's in the base repo) first.


>
> -wes
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] does centos have this grub2 issue?

2015-12-17 Thread Mike - st257
On Thu, Dec 17, 2015 at 1:19 PM, Wes James  wrote:

> I saw this today:
>
>
> http://linux.slashdot.org/story/15/12/16/040223/0-day-grub2-authentication-bypass-hits-linux
>
> I installed a grub2 update in 7.2 yesterday. Did the update fix this?
>

>From the changelog, I'd say yes.

~]# yum changelog 1 grub2
<...snipped..>

Listing 1 changelog

 Installed Packages 
1:grub2-2.02-0.33.el7.centos.1.x86_64installed
* Wed Dec 16 07:00:00 2015 Karanbir Singh 
2.02-0.33.el7.centos.1
- Add patch to fix grub password path ( hughesjr )

changelog stats. 1 pkg, 1 source pkg, 1 changelog


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] does centos have this grub2 issue?

2015-12-17 Thread Mike - st257
On Thu, Dec 17, 2015 at 1:29 PM, Mike - st257 <silvertip...@gmail.com>
wrote:

>
> On Thu, Dec 17, 2015 at 1:19 PM, Wes James <compte...@me.com> wrote:
>
>> I saw this today:
>>
>>
>> http://linux.slashdot.org/story/15/12/16/040223/0-day-grub2-authentication-bypass-hits-linux
>>
>> I installed a grub2 update in 7.2 yesterday. Did the update fix this?
>>
>
> From the changelog, I'd say yes.
>

Meant to also include the RH Advisory URL.
https://rhn.redhat.com/errata/RHSA-2015-2623.html


>
> ~]# yum changelog 1 grub2
> <...snipped..>
>
> Listing 1 changelog
>
>  Installed Packages 
> 1:grub2-2.02-0.33.el7.centos.1.x86_64installed
> * Wed Dec 16 07:00:00 2015 Karanbir Singh <kbsi...@centos.org>
> 2.02-0.33.el7.centos.1
> - Add patch to fix grub password path ( hughesjr )
>
> changelog stats. 1 pkg, 1 source pkg, 1 changelog
>
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fedora change announcements [was Re: wifi on servers and fedora [was Re: 7.2 kernel panic on boot]]

2015-12-11 Thread Mike - st257
On Thu, Dec 10, 2015 at 5:32 PM, Matthew Miller  wrote:

> On Thu, Dec 10, 2015 at 04:56:34PM -0500, m.r...@5-cent.us wrote:
> > Why not what was suggested, a summary every month or three? How about
> > sending announcements?
>
> Do people _want_ accepted Fedora change announcements posted to this
> list? That's pretty easy to arrange if it really helps. I don't see a
> big benefit over just following the annoucement list where they're
> posted (filtering out other topics if you want), but if people would
> really find that helpful, we could do it.
>

No.

I'd recommend those who want those announcements subscribe to the proper
Fedora list.
(as you point out, we think alike!)


>
> --
> Matthew Miller
> 
> Fedora Project Leader
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how do I download pictures from a dumb phone?

2015-12-01 Thread Mike - st257
On Fri, Nov 27, 2015 at 10:26 PM, John R Pierce  wrote:

>
>> dumb phone services have no email at all unless you pay Verizon or
> whomever $$ per email message sent.
>
>
Create a picture message and instead of putting in a cell phone number, put
in an email address.
Same goes for text messages.

I've used BitPim in the past with some success.
I don't believe I've ever used BitPim on CentOS though.

For a few pictures, simply send picture messages to your email address.


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 and "ip link alias"

2015-11-09 Thread Mike - st257
On Sun, Nov 8, 2015 at 7:52 AM, Jonathan Billings <billi...@negate.org>
wrote:

> On Nov 2, 2015, at 2:40 PM, Mike - st257 <silvertip...@gmail.com> wrote:
> > But when I try to remove it, I'm either trying to do something _actually_
> > not supported or I don't have the proper syntax to accomplish what I
> want.
>
> It doesn’t look like ‘ip link’ has the syntax to remove an alias, but it
> can be done via sysfs:
>

;-)
Nice.
[Forest for the trees!] I didn't think of sysfs because I was fixated on
the ip link utility.

Thanks Jonathan!


>
> # ip link show dev lo
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> # ip link set dev lo alias loopback
> # ip link show dev lo
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> alias loopback
> # echo > /sys/class/net/lo/ifalias
> # ip link show dev lo
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>
> It also can be set there too:
>
> # echo hicentos > /sys/class/net/lo/ifalias
> # ip link show dev lo
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> alias hicentos
>
> --
> Jonathan Billings <billi...@negate.org>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] safest way to grow a LV under VMware ESXi5.5

2015-11-07 Thread Mike - st257
On Tue, Nov 3, 2015 at 4:51 PM, Boris Epstein  wrote:

>
> Does it make any difference whether to use full disk device for your LV
> (i.e., /dev/sdc or some such) or make a partition instead (say, /dev/sdc1
> covering the whole disk end to end)? I mean, are there any pro's and con's
> to using either as extra space for the logical group?
>

Just like with software RAID (using mdadm), you can create partitions or
use the raw disk.

In the past I've been of the thought that a block device having partitions
is a good idea in terms of something visible denoting the use of the
device. But that may not be necessary in all situations.

Might check out the warnings and opinions at the following URLs to make
your decision. [ Opinions advise to create a partition and not to put LVM
on a raw disk. ]

[0] http://www.tldp.org/HOWTO/LVM-HOWTO/initdisks.html
[1]
http://unix.stackexchange.com/questions/76588/what-is-the-best-practice-for-adding-disks-in-lvm
[2] http://serverfault.com/questions/439022/does-lvm-need-a-partition-table


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 and "ip link alias"

2015-11-07 Thread Mike - st257
On Wed, Nov 4, 2015 at 12:45 PM, Gordon Messmer <gordon.mess...@gmail.com>
wrote:

> On 11/04/2015 05:16 AM, Mike - st257 wrote:
>
>> But when I try to remove it, I'm either trying to do something_actually_
>> >not supported or I don't have the proper syntax to accomplish what I
>> want.
>> >~]# ip link delete dev eno1 alias "hit"
>> >RTNETLINK answers: Operation not supported
>>
>
> The man page for "ip-link" does not indicate any means of deleting or
> un-setting an alias.
>

Thanks for the reply Gordon.
That's the conclusion I came to after scouring the man page, but wanted to
make sure I wasn't missing something.

It's a bit odd there isn't a method to remove an interface alias.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 and "ip link alias"

2015-11-04 Thread Mike - st257
Thoughts please?

Thanks,
- Mike

On Mon, Nov 2, 2015 at 2:40 PM, Mike - st257 <silvertip...@gmail.com> wrote:

> Hello List,
>
> After demystifying the cause for my /sbin/ifup-local not being executed by
> network scripts for an Ethernet interface (don't let NetworkManager control
> it or ifup-local won't be executed)...
>
> ... I have a question with hopefully a simple answer:
> I placed an alias/description on my interface during testing and now I
> want to remove it.
> But when I try to remove it, I'm either trying to do something _actually_
> not supported or I don't have the proper syntax to accomplish what I want.
>
>
> ~]# ip link set dev eno1 alias "hit"
>
> ~]# ip link show eno1
> 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
> DEFAULT qlen 1000
> link/ether 00:22:19:1e:a2:5b brd ff:ff:ff:ff:ff:ff
> alias hit
>
> ~]# ip link delete dev eno1 alias "hit"
> RTNETLINK answers: Operation not supported
>
>
> Thoughts?
> It's mildly annoying at most.
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing the centos name on boot

2015-11-02 Thread Mike - st257
On Mon, Nov 2, 2015 at 7:40 AM, Ramaseshan S 
wrote:

> I have been playing around with customizing the centos to create a spin for
> my workplace.
> I am using centos 6.6 minimal, and trying to change the centos name to some
> random string.
> I have been able to change the name in the grub using grub.conf, but the
> name while the system is booting, I am not able to find a reference to
> that.
> Can somebody help me with that ?
>

This can be found via a search engine.
http://www.rackspace.com/knowledge_center/article/centos-hostname-change


>
> Attached screenshot.
>
> Anyhelp with what to search for or some blogs and direct answers would help
> :-)
>
> --
> Cheers
> --
> S.Ramaseshan
> Engineer
> fractalio.com
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS7 and "ip link alias"

2015-11-02 Thread Mike - st257
Hello List,

After demystifying the cause for my /sbin/ifup-local not being executed by
network scripts for an Ethernet interface (don't let NetworkManager control
it or ifup-local won't be executed)...

... I have a question with hopefully a simple answer:
I placed an alias/description on my interface during testing and now I want
to remove it.
But when I try to remove it, I'm either trying to do something _actually_
not supported or I don't have the proper syntax to accomplish what I want.


~]# ip link set dev eno1 alias "hit"

~]# ip link show eno1
2: eno1:  mtu 1500 qdisc mq state UP mode
DEFAULT qlen 1000
link/ether 00:22:19:1e:a2:5b brd ff:ff:ff:ff:ff:ff
alias hit

~]# ip link delete dev eno1 alias "hit"
RTNETLINK answers: Operation not supported


Thoughts?
It's mildly annoying at most.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 - Serial Console and Flow Control

2015-10-22 Thread Mike - st257
Huge thanks to those who chimed in.
An issue of PEBKAC on my part (but I was s close!).

Once I got serial over LAN functioning I took the time pre-production to
figure out exactly what options are necessary. Here's a recap of what I
discovered.


On Thu, Oct 15, 2015 at 3:54 PM, Lamar Owen <lo...@pari.edu> wrote:

> On 10/15/2015 03:05 PM, Mike - st257 wrote:
>
>> Would anyone be so kind as to share their experience?
>> What has worked for your BMC/SoL configurations?
>>
> I have a C7 server with a physical RS-232 console, but the config should
> be similar.  I did not have to generate


I'm using COM2 (ttyS1) and leaving the physical COM1 (ttyS0) alone so it
could be used with null modem or Cisco console cables. Slight difference,
nothing that makes them wildly different.


> a systemd service for this; systemd saw the console line and automatically
> started the getty without me having to generate a .service file (as far as
> I recall all I had to do was generate the proper /etc/default/grub, and
> then run 'grub2-mkconfig -o /boot/grub2/grub.cfg' and it Just Worked).
>
> Now, I have the system set for console on both the VGA and on ttyS0, and I
> am not using flow-control.  Here's what I have that works (again with a
> physical ttyS0):
>
> [root@backup670 ~]# cat /etc/default/grub
> GRUB_TIMEOUT=5
> GRUB_DEFAULT=saved
> GRUB_DISABLE_SUBMENU=true
> GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no
> --stop=1"
>

I didn't need GRUB_SERIAL_COMMAND, but...
I have "Redirection After Boot" enabled in my BIOS for the serial console,
which is how I'm still able to see the GRUB prompt. And likely why I can
omit the GRUB_SERIAL_COMMAND line.

I also read about but did not need GRUB_TERMINAL=serial


> GRUB_TERMINAL_OUTPUT="console serial"
>

I got away with keeping the default of:
GRUB_TERMINAL_OUTPUT="console"


> GRUB_CMDLINE_LINUX="rd.md.uuid=long-uuid-string crashkernel=auto 
> rd.lvm.lv=vg/swap
> rd.lvm.lv=vg/root rd.md.uuid=another-long-uuid console=tty0
> console=ttyS0,9600 rd_NO_PLYMOUTH"
>

I found things functioned fine _with_ "quiet" and without rd_NO_PLYMOUTH
*hangs head* My PEBKAC was on the serial device ... I had /dev/ttyS1
instead of just _ttyS1_ ... my bad.

GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-1ad0ae71-75fa-46cf-aa5b-70e63c51a485
rd.lvm.lv=storage0/rootfs rd.lvm.lv=storage0/swap crashkernel=auto quiet
console=tty0 console=ttyS1,57600n8r"


> GRUB_DISABLE_RECOVERY="true"
>
>
> Also see: http://0pointer.de/blog/projects/serial-console.html
>
> There should be no need to modify any .service files; simply editing
> /etc/default/grub and regenerating grub2's config should be enough; it was
> in my case (I verified by looking through root's .bash_history and finding
> the lines around editing /etc/default/grub and not finding any edits of any
> .service files)
>

You are absolutely right, no need to modify service files (just like was
the case with Upstart in EL6).


~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-1ad0ae71-75fa-46cf-aa5b-70e63c51a485
rd.lvm.lv=storage0/rootfs rd.lvm.lv=storage0/swap crashkernel=auto quiet
console=tty0 console=ttyS1,57600n8r"
GRUB_DISABLE_RECOVERY="true"


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 - Serial Console and Flow Control

2015-10-21 Thread Mike - st257
On Fri, Oct 16, 2015 at 10:09 AM, <m.r...@5-cent.us> wrote:

> Mike - st257 wrote:
> > On Thu, Oct 15, 2015 at 5:50 PM, <m.r...@5-cent.us> wrote:
> >> Mike - st257 wrote:
> 
> >> > My servers have BMC with Serial over LAN support. In C5 and C6, I
> >> determined how to have BIOS/POST, kernel, and serial console access. I'm
> >> reading up on the method to accomplish the pieces with C7.
> >> >
> >> > Presently SoL output works, so I see BIOS/POST messages and the GRUB
> >> boot list.
> >> > My changes to enable serial redirection for the kernel do not appear
> >> to work.
> >> >
> >> > I've made the following changes to GRUB2's /etc/grub/default config
> >> file: -- removed rhgb
> >> 
> >> You did take out "quiet", too?
> >
> > I did not.
> > I would expect what shows up on the VGA console to be identical on the
> > serial console.
> >
> > I'll give that a shot today.
> 
> Do. That hides everything before the o/s switches root. It's *possible*
> that it's hiding where you're being prompted for the LUKS password.
>

I've been doing some testing now that it works and "quiet" did not hide the
LUKS passphrase prompt on the serial console. (More details in a future
message.)

I appreciate the suggestion because it very well could have. Another one of
those "shouldn't but did cause X problem" ;-)


> Personally, I'd have left / unencrypted
>

While my environment is not entirely hostile, it is one where I cannot
control physical access. So while the thought crossed my mind to leave
rootfs unencrypted, I opted not to (but to encrypt!).


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos wiki strangeness.

2015-10-20 Thread Mike - st257
On Tue, Oct 20, 2015 at 12:45 PM, Denniston, Todd A CIV NAVSURFWARCENDIV
Crane  wrote:

> In preparing to answer a question about some yum undesired behavior, I
> wanted to reference fastest mirror info, but when I went to
> https://wiki.centos.org/PackageManagement/Yum/FastestMirror
> I find all the text has been squished to the right hand side of the page
> and made 1 word wide all the way down.
> The https://wiki.centos.org/FrontPage looks similar but perhaps it is a
> little better?
>
> Or is this an issue of looking at it with IE?
>

Both pages display fine for me in Firefox.

And they look fine in Internet Explorer 11 on a Windows7 testing VM I have
access to.


>
>
> Even when this disclaimer is not here:
> I am not a contracting officer. I do not have authority to make or modify
> the terms of any contract.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] snmpd exec issue

2015-10-19 Thread Mike - st257
On Mon, Oct 19, 2015 at 11:29 AM, Leandro  wrote:

> Hello guys , I was trying to get a command output from my Centos 6 server
> using the snmpd "exec" section.
>
> The line added to  snmpd.conf id:
>
> exec get_whitelist  /bin/cat /home/snmp_user/whitelist.txt
>
> Afer trying to get the resut performing the snmpwalk client form another
> server I always got "permission denied"
> After reading some forums I founded  that disabling selinux It works.
> My question is .. What is the proper way to achieve snmpd executing some
> commands ?
> In my case it is working now but ... Im not sure if disabling selinux is
> the best way.
>

Disabling SELinux is not ideal.

Might try sifting through some of this info:
[0]
http://serverfault.com/questions/517893/configure-selinux-to-allow-snmpd-to-read-to-a-custom-location
[1] https://lists.centos.org/pipermail/centos/2012-May/126415.html
[2] https://lists.centos.org/pipermail/centos/2012-May/126455.html
[3] https://lists.centos.org/pipermail/centos/2012-May/126463.html
[4] https://bugzilla.redhat.com/show_bug.cgi?id=822480

Though that bug was fixed in 6.2 according to the info at URL [4].
You're using C6.7 and not 6.6 or earlier, right?


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 - Serial Console and Flow Control

2015-10-16 Thread Mike - st257
On Thu, Oct 15, 2015 at 5:50 PM, <m.r...@5-cent.us> wrote:

> Mike - st257 wrote:
> > Hello List,
> >
> > I'm ironing out details to upgrade a few systems to CentOS7.
> >
> > My servers have BMC with Serial over LAN support. In C5 and C6, I
> determined how to have BIOS/POST, kernel, and serial console access. I'm
> reading up on the method to accomplish the pieces with C7.
> >
> > Presently SoL output works, so I see BIOS/POST messages and the GRUB
> boot list.
> > My changes to enable serial redirection for the kernel do not appear to
> work.
> >
> > I've made the following changes to GRUB2's /etc/grub/default config
> file: -- removed rhgb
> 
> You did take out "quiet", too?
>

I did not.
I would expect what shows up on the VGA console to be identical on the
serial console.

I'll give that a shot today.

To make matters more complex, this is an offsite box for which I've
implemented full disk encryption.  And if I don't get the LUKS passphrase
prompt on the serial console, well I'm in a bind...


>
> mark
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 - Serial Console and Flow Control

2015-10-16 Thread Mike - st257
I started to compose this message, then got busy with other work...
Hopefully I'll have better details by the end of today.


Thanks Lamar!


On Thu, Oct 15, 2015 at 3:54 PM, Lamar Owen <lo...@pari.edu> wrote:

> On 10/15/2015 03:05 PM, Mike - st257 wrote:
>
>> Would anyone be so kind as to share their experience?
>> What has worked for your BMC/SoL configurations?
>>
> I have a C7 server with a physical RS-232 console, but the config should
> be similar.  I did not have to generate a systemd service for this; systemd
> saw the console line and automatically started the getty without me having
> to generate a .service file (as far as I recall all I had to do was
> generate the proper /etc/default/grub, and then run 'grub2-mkconfig -o
> /boot/grub2/grub.cfg' and it Just Worked).
>
> Now, I have the system set for console on both the VGA and on ttyS0, and I
> am not using flow-control.  Here's what I have that works (again with a
> physical ttyS0):
>
> [root@backup670 ~]# cat /etc/default/grub
> GRUB_TIMEOUT=5
> GRUB_DEFAULT=saved
> GRUB_DISABLE_SUBMENU=true
> GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no
> --stop=1"
> GRUB_TERMINAL_OUTPUT="console serial"
>

I didn't have Term Output specified as you do. Probably the biggest problem
right there, g'ah!
( will know when I have a moment to test )


> GRUB_CMDLINE_LINUX="rd.md.uuid=long-uuid-string crashkernel=auto 
> rd.lvm.lv=vg/swap
> rd.lvm.lv=vg/root rd.md.uuid=another-long-uuid console=tty0
> console=ttyS0,9600 rd_NO_PLYMOUTH"
>

I didn't have the option to disable Plymouth.

I see you don't have flow control enabled, otherwise you'd have 9600n8r
I'll try it without n8r.


> GRUB_DISABLE_RECOVERY="true"
>
>
> Also see: http://0pointer.de/blog/projects/serial-console.html
>
> There should be no need to modify any .service files; simply editing
> /etc/default/grub and regenerating grub2's


The baud rate I used is not specified in any of the service files systemd
generates.
But as you've said I should _not need_ a service file (which is much like
CentOS6 behaved with serial kernel params).


> config should be enough; it was in my case (I verified by looking through
> root's .bash_history and finding the lines around editing /etc/default/grub
> and not finding any edits of any .service files)
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS7 - Serial Console and Flow Control

2015-10-15 Thread Mike - st257
Hello List,

I'm ironing out details to upgrade a few systems to CentOS7.

My servers have BMC with Serial over LAN support. In C5 and C6, I
determined how to have BIOS/POST, kernel, and serial console access. I'm
reading up on the method to accomplish the pieces with C7.

Presently SoL output works, so I see BIOS/POST messages and the GRUB boot
list.
My changes to enable serial redirection for the kernel do not appear to
work.

I've made the following changes to GRUB2's /etc/grub/default config file:
-- removed rhgb
-- added the console= settings to GRUB_CMDLINE_LINUX
-- added  the last two lines related to serial as detailed here [0].

* Is there an option to enable hardware flow control?
I recall having to turn on flow control (agetty -h) to make it behave.
No mention of flow control at [1] or [2].
Nor does RHEL7 doc [3] mention it.

I've already tweaked the systemd service I generated for ttyS1 (I'm using
COM2 for SoL) and added the agetty "-h" option (for hardware flow control).
Despite modifying the baud rate to reflect the BMC's settings, I only get
symbols (so the console settings are amiss).

Would anyone be so kind as to share their experience?
What has worked for your BMC/SoL configurations?


[0] https://fedoraproject.org/wiki/GRUB_2#Enable_Serial_Console_in_Grub
[1] http://www.gnu.org/software/grub/manual/grub.html#Serial-terminal
[2] http://www.gnu.org/software/grub/manual/grub.html#serial
[3]
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-GRUB_2_over_Serial_Console.html
[4] https://lists.centos.org/pipermail/centos/2014-October/146719.html

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vino-server on Centos 6.7

2015-10-09 Thread Mike - st257
On Thu, Oct 8, 2015 at 8:43 PM, Milton Plasencia 
wrote:

> I uncheck only Allow other users “view” and leave without change “control”
> your desktop,
> and the screen (active session) remain freeze, close the connection and
> now i can not
> do a new connection, i remain out.
>
> i must wait the next Monday when i back to office or i can do something
> through ssh?
>
> M.
>

Gconftool can be used via SSH.
[ Untested, use at your own risk. ]

gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled false

[0]
http://linuxexplore.com/tips-tricks/configure-remote-desktop-from-command-line/
[1] https://access.redhat.com/solutions/346033
[2] https://projects.gnome.org/gconf/


>
> > On Oct 9, 2015, at 01:42, Gordon Messmer 
> wrote:
> >
> > On 10/08/2015 11:41 AM, Milton Plasencia wrote:
> >> Excuse me, i not find the gnome control panel, where is it? or how to
> call from the command line?
> >
> > System → Preferences → Remote Desktop from the user menu.  Under
> Sharing, uncheck the box labeled Allow other users to view your desktop.
> > ___
> > 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
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vino-server on Centos 6.7

2015-10-09 Thread Mike - st257
On Fri, Oct 9, 2015 at 12:29 PM, Gordon Messmer 
wrote:

> On 10/08/2015 05:43 PM, Milton Plasencia wrote:
>
>> I uncheck only Allow other users “view” and leave without change
>> “control” your desktop,
>> and the screen (active session) remain freeze, close the connection and
>> now i can not
>> do a new connection, i remain out.
>>
>> i must wait the next Monday when i back to office or i can do something
>> through ssh?
>>
>
> You can re-enable it over ssh.  As Mike very nearly suggested:
> $ gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
>

Ah, shucks - I set it to false ... hah!
Thanks for catching that, Gordon!


>
> You didn't mention, originally, that you're interacting with this desktop
> over VNC.
>
> I'm not sure why you think the VNC server is using too much memory or CPU
> time.  You might be able to reduce it with a lightweight desktop like XFCE,
> or not, depending on what applications you're using.  VNC is not especially
> lightweight.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] linux on a PPC (mac mini)

2015-09-15 Thread Mike - st257
On Tue, Sep 15, 2015 at 4:29 AM, wwp  wrote:

> Hello there,
>
>
> complete off-topic, sorry about this, but my former idea was to install
> a CentOS on an old mac mini (PPC!). Disappointed to see that PowerPC is
> not a supported architecture and that non ARM or Intel architecture are
> not managed by recent distros.. :-(.
>

Yeah, PPC - your options are limited.

http://distrowatch.com/search.php?ostype=All=All=All=All=None=All=powerpc=All=All=Active

A number of years back I saved an XServe G4 from the trash and kept it
until the fans drove me crazy! ;-)
I used Finnix [http://www.finnix.org/] as a LiveCD/rescue environment.  I
believe I installed Debian on it at the time and can't recall any problems
with bootloader installation.

For me PPC wasn't worth the hassle (or the XServe noise!).


>
> Searching the web, I see very few possibilities to install a recent (I
> need gnome2) GNU/Linux distro on such hardware. I gave Linux MintPPC 11
> (http://www.mintppc.org/content/list-macs) a try, but the netinstall
> iso simply fails in installing a boot loader that conserves the
> original OS/X partition even after many tries and workarounds.
>
> Any hint or experience would be welcome?
>

Might try Debian (even the netinstall as well) just to see if it will
install successfully?


>
>
> Regards,
>
> --
> wwp
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] virt-install message regarding Spice and TLS

2015-09-04 Thread Mike - st257
On Thu, Sep 3, 2015 at 11:56 AM, Leonard den Ottolander <
leon...@den.ottolander.nl> wrote:

> On Thu, 2015-09-03 at 09:53 -0400, Mike - st257 wrote:
> > Any other thoughts? :-/
> > I can't be the only person that wants to use Spice with out TLS for some
> > testing/labbing. ;-)
>
> Personally I only have experience with virt-manager or virt-install with
> --nographics over a serial tty.
>
> Quite a bit can be found when googling for "Auto allocation of spice TLS
> port requested but spice TLS is disabled in qemu.conf" (with quotes). It
> appears the issue is known and addressed for RHEL 7, but RHEL 6 seems to
> be ignored, a bit like the MySQL vs SSL breakage was fixed for RHEL 6
> but not RHEL 5 (https://bugzilla.redhat.com/show_bug.cgi?id=1231960 is
> still open even though the issues for RHEL 5 and 6 are identical).
>
> Sadly the communication between the development teams of the different
> versions of RHEL seems sub optimal :S . I suggest you open a bug report
> for RHEL 6 specifically.
>
>
Thanks Leonard!
I'll gather some references for a bug report so I present other people's
reports too.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] virt-install message regarding Spice and TLS

2015-09-03 Thread Mike - st257
On Wed, Sep 2, 2015 at 1:59 PM, Leonard den Ottolander <
leon...@den.ottolander.nl> wrote:

> Hello Mike,
>
> On Wed, 2015-09-02 at 13:05 -0400, Mike - st257 wrote:
> > I've been through the virt-install manpage a few times now to no avail.
> > What is wrong with my syntax here (seen below)?
>
> > ~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4
> > --arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole
> > --os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk
> > path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.iso
>
>
To also reply to nevis2us:
I have the Spice TLS config commented presently so it is not active (afaik).
At one point I did try switching the value from 1 to 0 when I did have it
uncommented.


> See if adding tlsport=0 to the --graphics option fixes your problem?
>
> --graphics spice,port=5931,tlsport=0
>

I did try that before (though didn't note it in my first message).

ERRORError in graphics device parameters: TLS port must be a number
between 5900 and 65535, or -1 for auto allocation

~]# cat /etc/redhat-release
CentOS release 6.7 (Final)
~]# yum info libvirt | egrep 'Name|Version|Release'
Name: libvirt
Version : 0.10.2
Release : 54.el6


>
> Compare
> http://www.spice-space.org/page/Features/Xspice#--tls-port_0_required
>


Any other thoughts? :-/
I can't be the only person that wants to use Spice with out TLS for some
testing/labbing. ;-)

Thanks!

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] virt-install message regarding Spice and TLS

2015-09-02 Thread Mike - st257
Is TLS required for the usage of Spice with KVM/libvirtd?

I've been through the virt-install manpage a few times now to no avail.
What is wrong with my syntax here (seen below)?

Thanks.


~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4
--arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole
--os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk
path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.iso

Starting install...
ERRORunsupported configuration: Auto allocation of spice TLS port
requested but spice TLS is disabled in qemu.conf
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start blahhost
otherwise, please restart your installation.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] GNU bc base conversion

2015-08-31 Thread Mike - st257
On Mon, Aug 31, 2015 at 11:15 AM, Warren Young <w...@etr-usa.com> wrote:

> On Aug 31, 2015, at 6:55 AM, Mike - st257 <silvertip...@gmail.com> wrote:
> >
> > I suppose my only options for this are to use shell functions or write a
> > script using a language that handles things properly (sanely?).
>
> No, there’s a fairly common hack around this problem: ibase=A and obase=A
> *always* means “base 10” regardless of the current base, due to a quirk in
> the way values for these settings are interpreted.  Thus you can always
> force your way back to sanity.
>

Not sure how this helps me with my most recent example of bin_to_hex where
the ibase within the define clause wasn't honored.

Working with bc interfactively or by piping produce the desired/correct
values.
Testing indicates the ibase is defaulted or overrode as base10 despite what
is specified in the define clause. :-(


>
> My objection is that this is even necessary in the first place.


Agreed.


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] GNU bc base conversion

2015-08-31 Thread Mike - st257
On Mon, Aug 31, 2015 at 12:50 PM, Gordon Messmer <gordon.mess...@gmail.com>
wrote:

> On 08/31/2015 05:55 AM, Mike - st257 wrote:
>
>> I'm not an expert in bc, so I might be wrong, but it looks like setting
>>>>
>>> >the ibase inside a function is simply too late.  ibase affects how bc
>>> >interprets input.
>>> >
>>>
>> Thanks Gordon.
>> Big bummer given that behavior. :-/
>>
>
> I suppose that depends on what you're trying to accomplish.  Most
> conversions you can do entirely within bash, if that's your goal.
>

Yes indeed it can be done in bash. I figure at this point I'm going that
route.
Thanks!


>
> function dec_to_hex () { printf '%x\n' $1; }
> function hex_to_dec() { printf '%d\n' $(( 16#$1 )); }
> function hex_to_bin() { echo 'obase=2;' $(( 16#$1 )) | bc; }
>
> $ dec_to_hex 10
> a
> $ hex_to_dec a
> 10
> $ hex_to_bin a
> 1010
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] GNU bc base conversion

2015-08-31 Thread Mike - st257
On Mon, Aug 31, 2015 at 1:06 PM, Warren Young <w...@etr-usa.com> wrote:

> On Aug 31, 2015, at 10:05 AM, Mike - st257 <silvertip...@gmail.com> wrote:
> >
> > On Mon, Aug 31, 2015 at 11:15 AM, Warren Young <w...@etr-usa.com> wrote:
> >
> >> ibase=A and obase=A
> >
> > Not sure how this helps me with my most recent example of bin_to_hex
> where
> > the ibase within the define clause wasn't honored.
>
> That’s because your bin_to_hex function is erroneously assuming that its
> input is just a string of digits that has no base interpretation, so that
> it can set ibase *after* bc has already seen the value, and that this will
> change the meaning of the prior input.
>

Explains the behavior.


>
> That’s just plain wrong: the prior input has already been interpreted.
> You can’t wind back the clock like that.  That sort of thinking only works
> in a string-based language like shell or Tcl, where a numeric string
> doesn’t take a meaning until you assign one.
>
> The correct form is:
>
> ibase=A   /* needed only if ibase might not be 10 at this point */
> obase=A   /* ditto */
> obase=16  /* means 16-base-10 here */
> ibase=2   /* no possibility of confusion */
> 10101011
>
> Result: AB, as expected.
>

Thank you.
We're in agreement, your solution _does_ work when piped or interactively.
Any order does not work from a definition stanza since base10 is
(apparently) not capable of being overrode with definitions.

tmp]$ grep bin_to_hex ~/.bcrc
#define bin_to_hex(b) { obase=16; ibase=2; return b; }
define bin_to_hex(b) { ibase=A; obase=A; obase=16; ibase=2; return b; }

tmp]$ echo "bin_to_hex(10101011)" | bc
9A2113
tmp]$ echo "ibase=A; obase=A; obase=16; ibase=2; 10101011" | bc
AB
tmp]$ echo "obase=16; ibase=2; 10101011" | bc
AB


>
> The tricky bit is that you can’t swap the second pair of ibase and obase
> settings, since that would cause bc(1) to interpret obase=16 in base 2:
> bc(1) will clamp “16” to 11, which in base 2 is 3-base-10.


Agreed.
Thank you, Warren.


I don't believe bc is the tool for this job since define stanzas don't
replicate the behavior as seen when used via piping or interactively. :-/

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] GNU bc base conversion

2015-08-31 Thread Mike - st257
On Fri, Aug 28, 2015 at 4:14 PM, Warren Young <w...@etr-usa.com> wrote:

> On Aug 28, 2015, at 9:50 AM, Gordon Messmer <gordon.mess...@gmail.com>
> wrote:
> >
> > On 08/28/2015 07:15 AM, Mike - st257 wrote:
> >> Thoughts as to why my BC functions aren't properly converting between
> bases?
> >>
> >> Decimal to binary or hex works fine, but not binary or hex to decimal
> and
> >> so forth.
> >
> > I'm not an expert in bc, so I might be wrong, but it looks like setting
> the ibase inside a function is simply too late.  ibase affects how bc
> interprets input.
>

Thanks Gordon.
Big bummer given that behavior. :-/
I had (and did test) definitions for other conversions (though I didn't
post them), but this one also drives it home.

~]$ grep bin_to_hex ~/.bcrc
define bin_to_hex(b) { obase=16; ibase=2; return b; }

~]$ echo "bin_to_hex(10101011)" | bc
9A2113
# so we're sending in a string with implied base10 ... sure enough matches
what BC errantly decided to do
~]$ echo "obase=16; 10101011" | bc
9A2113

~]$ echo "obase=16; ibase=2; 10101011" | bc
AB


>
> Yes, and it’s a serious design mistake in bc, IMHO.  No other programmable
> system I’ve ever used changes how numbers in program text are interpreted
> based on prior commands to the system.
>
> I wrote a long answer explaining this on the Unix & Linux Stack Exchange
> here:
>
>   http://unix.stackexchange.com/a/199620
>
>
Thanks Warren.
The order of obase and ibase definitely are bizarre and tripped me up the
first time around. I expected I should set ibase first and no no no that
was not the case! ;-)


To all:
I suppose my only options for this are to use shell functions or write a
script using a language that handles things properly (sanely?).


Thanks for the input everyone!

Best,
-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 KDE - post-boot splash screen

2015-08-31 Thread Mike - st257
On Sat, Aug 29, 2015 at 9:35 AM, Johnny Hughes <joh...@centos.org> wrote:

> On 08/24/2015 06:00 PM, Mike - st257 wrote:
> > On Mon, Aug 24, 2015 at 5:55 PM, Mike - st257 <silvertip...@gmail.com>
> > wrote:
> >
> >>
> >> On Mon, Aug 17, 2015 at 7:05 AM, Nicolas Thierry-Mieg <
> >> nicolas.thierry-m...@imag.fr> wrote:
> >>
> >>> On 08/17/2015 04:19 AM, Mike - st257 wrote:
> >>>
> >>>> Hello List Members,
> >>>>
> >>>> I decided to install C7 KDE on a workstation for a friend of mine.
> Works
> >>>> great, but the post-boot KDE splash screen (light blue and has 3 or
> more
> >>>> up
> >>>> ^ arrows that move from the lower center upwards) is a bit of a
> >>>> frustration
> >>>> for that person. I've determined that one can press the Escape key and
> >>>> move
> >>>> from that bluish splash to the login screen. (And at one point rolling
> >>>> the
> >>>> wheel on the mouse worked too, but didn't consistently cause the
> >>>> transition
> >>>> from splash to login screen.)
> >>>>
> >>>> At this point I think it's more ideal to just disable the splash
> screen
> >>>> and
> >>>> instead have the system go straight to the login screen (where user
> names
> >>>> are listed). Can that be done?
> >>>>
> >>>> Here's to hoping a KDE user or two on this list knows a solution. ;-)
> >>>>
> >>>> Thanks!
> >>>>
> >>>
> >>>
> >>> Since this is pre-login, it's the display manager's splash screen, not
> >>> the desktop environment's. I'm typing this on a C7 laptop under KDE,
> but I
> >>> still use GDM as display manager - and I don't see that splash screen
> you
> >>> describe (though I may have configured it away, I can't remember).
> >>> Which DM are you using?
> >>>
> >>
> >> The DM ends up being GDM (stock from a LiveDVD install).
> >> Thoughts?
> >>
> >
> > Update:
> > So on initial boot I'm seeing that the login list is shown. Once the
> > display is idle, the bluish splash [0] (with the time in large numbers)
> is
> > then present when the display is woke again.
> >
> > So far perusing the gdm.conf and some GDM config setting documentation
> > hasn't yielded me any good leads.
> >
> > Still searching for a solution. Thanks for any suggestions.
> >
> > [0] http://forums.fedoraforum.org/showthread.php?t=300862
>
> It is not a splash screen , it is a timeout screen saver
>

True enough, I did notice that post-boot it didn't show up until after the
machine went idle.


>
> Press the enter key (that brings up the login screen) or login when the
> machine first boots.
>

Thanks.

Any idea if the timeout screensaver can be disabled?


(Or maybe not worth the bother.?)
Though [0] and [1] may be a solution which I'll try later today.


[0]
https://ask.fedoraproject.org/en/question/32680/disabling-screen-lock-in-fedora-19/
[1]
http://superuser.com/questions/633669/permanently-disable-screensaver-fedora-19


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] camgirl spam on the list

2015-08-31 Thread Mike - st257
On Fri, Aug 28, 2015 at 5:18 PM, Fabian Arrotin  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 28/08/15 22:24, John R Pierce wrote:
> > On 8/28/2015 1:21 PM, Robert Wolfe wrote:
> >> I've been getting that intermittently during the day today.
> >
> > I haven't seen any since I put the sending domain with a 'DISCARD'
> > in my /etc/mail/access database (using sendmail here)
> >
>
> Well, is there another domain involved now ? It seems the previous
>

At least another one on Friday.  Porno-spam from from safethebaby.com

I reported the incident to Digital Ocean and Nodes Direct which I believe
got handled rather promptly.
(In short a host in Nodes Direct ip space was using a mail host in Digital
Ocean ip space.)


> spammer (using multiple VMs on DigitalOcean network) had been blocked.
> As nothing is sent through the mailman/centos.org server, I can't even
> look at logs, but if you have useful informations (like some headers),
> feel free to forward those to me (and not on the list).
>
> Cheers,
>
> - --
> Fabian Arrotin
> The CentOS Project | http://www.centos.org
> gpg key: 56BEC54E | twitter: @arrfab
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iEYEARECAAYFAlXg0D4ACgkQnVkHo1a+xU5OnACggUMg3QikAFsgAAeHSGGGI5Q1
> 5MgAn2leYj3Wbflv1w8gHnNICEEOKOo3
> =rEWD
> -END PGP SIGNATURE-
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] [OT] GNU bc base conversion

2015-08-28 Thread Mike - st257
Hello CentOS List Members,

Thoughts as to why my BC functions aren't properly converting between bases?

Decimal to binary or hex works fine, but not binary or hex to decimal and
so forth.
No doubt the syntax is in some way wrong, but when I test from the CLI and
the right values are returned, I have to wonder.

Other than a few other define statements, the only other option I have set
is scale=5 in my bcrc.

In reference to the order of (o|i)base parameters, I have specified obase
before ibase [0].
[0] http://docstore.mik.ua/orelly/unix/upt/ch49_03.htm

See below for my examples.
Thanks!



]$ echo bin_to_dec(1001) | bc
1001
# should be decimal 9

]$ echo obase=10; ibase=2; 1001 | bc
9

]$ grep bin_to_dec ~/.bcrc
define bin_to_dec(b) { obase=10; ibase=2; return b; }



]$ echo hex_to_dec(AB) | bc
99
# should be decimal 171

]$ echo obase=10; ibase=16; AB | bc
171
]$ echo obase=A; ibase=16; AB | bc
171

]$ grep hex_to_dec ~/.bcrc
define hex_to_dec(h) { obase=A; ibase=16; return h; }

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 KDE - post-boot splash screen

2015-08-24 Thread Mike - st257
On Mon, Aug 17, 2015 at 7:05 AM, Nicolas Thierry-Mieg 
nicolas.thierry-m...@imag.fr wrote:

 On 08/17/2015 04:19 AM, Mike - st257 wrote:

 Hello List Members,

 I decided to install C7 KDE on a workstation for a friend of mine. Works
 great, but the post-boot KDE splash screen (light blue and has 3 or more
 up
 ^ arrows that move from the lower center upwards) is a bit of a
 frustration
 for that person. I've determined that one can press the Escape key and
 move
 from that bluish splash to the login screen. (And at one point rolling the
 wheel on the mouse worked too, but didn't consistently cause the
 transition
 from splash to login screen.)

 At this point I think it's more ideal to just disable the splash screen
 and
 instead have the system go straight to the login screen (where user names
 are listed). Can that be done?

 Here's to hoping a KDE user or two on this list knows a solution. ;-)

 Thanks!



 Since this is pre-login, it's the display manager's splash screen, not the
 desktop environment's. I'm typing this on a C7 laptop under KDE, but I
 still use GDM as display manager - and I don't see that splash screen you
 describe (though I may have configured it away, I can't remember).
 Which DM are you using?


The DM ends up being GDM (stock from a LiveDVD install).
Thoughts?

Thanks,
-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 KDE - post-boot splash screen

2015-08-24 Thread Mike - st257
On Mon, Aug 24, 2015 at 5:55 PM, Mike - st257 silvertip...@gmail.com
wrote:


 On Mon, Aug 17, 2015 at 7:05 AM, Nicolas Thierry-Mieg 
 nicolas.thierry-m...@imag.fr wrote:

 On 08/17/2015 04:19 AM, Mike - st257 wrote:

 Hello List Members,

 I decided to install C7 KDE on a workstation for a friend of mine. Works
 great, but the post-boot KDE splash screen (light blue and has 3 or more
 up
 ^ arrows that move from the lower center upwards) is a bit of a
 frustration
 for that person. I've determined that one can press the Escape key and
 move
 from that bluish splash to the login screen. (And at one point rolling
 the
 wheel on the mouse worked too, but didn't consistently cause the
 transition
 from splash to login screen.)

 At this point I think it's more ideal to just disable the splash screen
 and
 instead have the system go straight to the login screen (where user names
 are listed). Can that be done?

 Here's to hoping a KDE user or two on this list knows a solution. ;-)

 Thanks!



 Since this is pre-login, it's the display manager's splash screen, not
 the desktop environment's. I'm typing this on a C7 laptop under KDE, but I
 still use GDM as display manager - and I don't see that splash screen you
 describe (though I may have configured it away, I can't remember).
 Which DM are you using?


 The DM ends up being GDM (stock from a LiveDVD install).
 Thoughts?


Update:
So on initial boot I'm seeing that the login list is shown. Once the
display is idle, the bluish splash [0] (with the time in large numbers) is
then present when the display is woke again.

So far perusing the gdm.conf and some GDM config setting documentation
hasn't yielded me any good leads.

Still searching for a solution. Thanks for any suggestions.

[0] http://forums.fedoraforum.org/showthread.php?t=300862



 Thanks,
 --
 ---~~.~~---
 Mike
 //  SilverTip257  //




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-docs] Markup for commands

2015-08-19 Thread Mike - st257
On Tue, Aug 18, 2015 at 3:19 PM, Roland Illig roland.il...@gmx.de wrote:

 Hi,

 I just edited http://wiki.centos.org/de/TipsAndTricks/BecomingRoot and
 formatted all the commands in section 1.1 as `monospace`. Since the main
 font and the monospace font look quite similar, it is sometimes
 difficult to see where one ends and the other starts.


There is already a convention used on other wiki pages that sounds like
what you want to do.
Example usage on the Yum page -
https://wiki.centos.org/TipsAndTricks/YumAndRPM



 Therefore I propose to add the following CSS rule to the whole CentOS wiki:

 #page tt.backtick {
   background-color: #eee;
   padding: 0 0.3em;
 }

 Using this styling, the commands stick out of the normal text, so that
 lazy readers can quickly scan through them. Additionally, the padding to
 the left and right helps when copying such a command to the clipboard.

 By the way, this styling is also used on StackOverflow, so it is quite
 popular already. It’s nothing that I just invented myself.

 Any comments?

 Roland
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS] CentOS7 KDE - post-boot splash screen

2015-08-16 Thread Mike - st257
Hello List Members,

I decided to install C7 KDE on a workstation for a friend of mine. Works
great, but the post-boot KDE splash screen (light blue and has 3 or more up
^ arrows that move from the lower center upwards) is a bit of a frustration
for that person. I've determined that one can press the Escape key and move
from that bluish splash to the login screen. (And at one point rolling the
wheel on the mouse worked too, but didn't consistently cause the transition
from splash to login screen.)

At this point I think it's more ideal to just disable the splash screen and
instead have the system go straight to the login screen (where user names
are listed). Can that be done?

Here's to hoping a KDE user or two on this list knows a solution. ;-)

Thanks!
-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Live migration using shared storage in different networks

2015-07-06 Thread Mike - st257
On Mon, Jul 6, 2015 at 7:58 AM, Miguel Barbosa Gonçalves m...@mbg.pt wrote:

 Hi!

 I am building a KVM cluster that needs VM live migration.

 My shared storage as well as the KVM hosts will be running
 CentOS.

 Because 10 Gbps Ethernet switches are very expensive at the
 moment I will connect the KVM hosts to the storage by
 cross-over cables and create private networks for each
 connection (10.0.0.0/30 and 10.0.0.4/30).

 The following diagram shows the topology

  Management ManagementManagement
 VLAN   VLAN  VLAN
  |  | |
 ++-+  10 Gbps  +++  10 Gbps  ++-+
 | KVM Host |---| Storage |---| KVM Host |
 ++-+   +++   ++-+
  |  | |
Public PublicPublic
 VLAN   VLAN  VLAN

 My question is: will live migration work in this configuration
 since the storage will have 2 different IP addresses
 (10.0.0.1 and 10.0.0.5) in 2 different networks even though
 it is the same storage?


I don't know for sure if you'll run into problems having two different IP
addresses, but I'd suspect you would.
Some people (myself included) on this list use LVM backing and DRBD on the
KVM hosts in which case the referenced storage layer is identically named.

Solution(?) for your scenario:
Maybe create a bridge on your Storage node that includes both 10Gbit NICs
going to your KVM hosts?
That way you put a single IP address on the bridge and it is accessible
(because it's bridged) to both KVM hosts. And less need for a 10Gbit switch
(just yet).


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] /boot on a separate partition?

2015-06-23 Thread Mike - st257
On Tue, Jun 23, 2015 at 9:27 AM, Robert Heller hel...@deepsoft.com wrote:

 At Tue, 23 Jun 2015 13:49:08 +0100 CentOS mailing list centos@centos.org
 wrote:

 
  Do most people today have /boot on a separate partition,
  or do they (you) have it on the / partition ?

 The default CentOS installer always puts /boot on a separate partition.
 This
 is mostly because, the default CentOS installer uses LVM for the bulk of
 the
 disk and Grub is *generally* clueless WRT LVM (at least Grub V1, not sure
 how
 smart Grub V2 is).  Also, there are lots of 'fun' options for what/where
 the


Accessing /boot within LVM was not possible with legacy GRUB (GRUB1)
GRUB2 is much smarter.

I've done a few Debian installs (VMs) with /boot as part of the root
partition which was an LV.  Those were done as a proof-of-concept, but it
also reduced wasted space which would otherwise only be usable within the
file system for /boot. And the flexibility of having everything a part of
LVM (which is great if the file systems in use support shrinking).

I'd expect GRUB2 in CentOS7 would allow for /boot within LVM, though I have
not tried it.


 root partition can be, not all of them compatible with what Grub (or other
 boot loaders) know how to deal with.  Having /boot on its own (small)
 partition, using something 'simple' for a file system makes things 'easy'
 for
 bootloaders.  Once the kernel is fired up it can load all sorts of modules
 to
 allow it to mount the root file system, everything from exotic file systems
 to LVM and RAID, etc.

 Another advantage of having /boot on its own partition is supporting
 multiple
 linux flavors that is, it is possible to 'share' /boot between CentOS,
 Fedora,
 Ubuntu, Debian, etc. if one wants to, although it is really easier to pick
 one
 system for your 'host' and then install VMs for all of the others, but
 sometimes one needs to test things with different Linux flavors *on the
 bare
 metal* for various reasons.

 
 

 --
 Robert Heller -- 978-544-6933
 Deepwoods Software-- Custom Software Services
 http://www.deepsoft.com/  -- Linux Administration Services
 hel...@deepsoft.com   -- Webhosting Services

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?

2015-06-23 Thread Mike - st257
On Tue, Jun 23, 2015 at 12:15 PM, Jason Warr ja...@warr.net wrote:



 On 6/23/2015 10:33 AM, Marko Vojinovic wrote:

 Inside / (which is mostly always ext4), 100% of the time. :-)

 That said, I prefer virtual machines over multiboot environments, and I
 absolutely despise LVM --- that cursed thing is never getting on my
 drives. Never again, that is...


 I'm curious what has made some people hate LVM so much.  I have been using
 it for years on thousands of


No clue.

My experiences with LVM have been positive as well.
And in opinion it doesn't add much complexity (if you know the LVM tools,
you're fine). Flexibility is worth an ounce of complexity.


 production systems with no issues that could not be easily explained as
 myself or someone else doing something stupid.  And even those issues were
 pretty few and far between.


The worst nail biter I had was an instance where a former employee did
not properly allocate LV space to /var and I had to reclaim space from
rootfs and add it to /var.  Even a small screw up and I'd have to go
recover from my backups (not fun).  Fortunately I spun up VMs and labbed
everything a few times over and wrote detailed notes. Went without a hitch.

Prior Proper Planning Prevents Poor Performance



 /opens can of worms


I'll bite, see above ;-)



  HTH, :-)
 Marko

 ___
 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




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resize KVM NTFS file system

2015-06-06 Thread Mike - st257
On Sat, Jun 6, 2015 at 7:19 PM, Mark LaPierre marklap...@gmail.com wrote:

 Hey all,

 I resized a partition inside a KVM RAW file system disk image.  When I
 start the Win7 virtual machine it does not report the new partition
 size.  It shows the file system as 15GB instead of the 50GB size of the
 partition that it lives on.  I gather from hours so reading the manual
 that I need to increase the NTFS file system size to fill the new larger
 partition where it lives.


While yes, you do need to increase the NTFS file system, I'd expect what
you'll find is the partition still needs to be enlarged first.



 The ntfresize command does not seem to be compatible with disk image
 files.  Do I have to mount the disk image file with a loopback first?

 I tried doing it inside the Win7 VM using the disk management tools but
 that didn't work either.


In the past I've booted up with a GNU/Linux live CD that has GParted and
enlarged the partition that Windows occupies.  Expect Windows to do a check
disk (I think) following the resize.

Or [instead of using GParted] I'd expect you could boot to a live
environment and use fdisk to delete the Windows partition (after marking
down the start of the existing partition). Then create an NTFS partition in
the same place that is of the larger desired size.  From there you might be
able to boot your Windows OS and have it resize ... but I don't know for
certain (though worth a test if you have a backup and don't mind testing
it!).

If you were feeling adventurous, you could also loopback mount it and
choose my second suggestion with fdisk.  But if you had gparted or ntfs-3g
you could also use utilities to manipulate the disk and file system.
Certainly not as easy as booting a live CD in the VM (let alone GParted
GUI).


 Any suggestions welcome.


Please back up your VM's disk image/backing before trying any of this. ;-)

HTH


-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What has happened to the CentOS logo?

2015-06-04 Thread Mike - st257
On Wed, Jun 3, 2015 at 3:55 PM, Timothy Murphy gayle...@eircom.net wrote:

 Mike - st257 wrote:

  On Wed, Jun 3, 2015 at 6:11 AM, Timothy Murphy
  gayle...@eircom.net wrote:
 
  Has the CentOS logo disappeared from CentOS-7?
 
  You are referring to Plymouth splash screen while booting.
 
  I thought the logo in CentOS-6 was very pleasant.

 Probably.
 The fact remains that booting was attractive, and now it isn't.


I'll agree that the boot splash change from EL6 to EL7 differs a lot.

We're of differing opinion ... I see the boot splash once every blue moon
so it doesn't bother me.  It's certainly more modern looking in EL7, though
it does lack the indicator ring that shows granular boot progress.

You can get/create and set different boot splash themes.
Maybe it's possible for you (or potentially someone already created it?) a
theme that gives you the attractiveness you desire.
http://www.tejasbarot.com/2009/01/19/enable-graphical-boot-with-plymouth/
http://theurbanpenguin.com/wp/?p=3227
https://www.youtube.com/watch?v=H4eiK7chQTo

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What has happened to the CentOS logo?

2015-06-03 Thread Mike - st257
On Wed, Jun 3, 2015 at 6:11 AM, Timothy Murphy gayle...@eircom.net wrote:

 Has the CentOS logo disappeared from CentOS-7?


You are referring to Plymouth splash screen while booting.


 I thought the logo in CentOS-6 was very pleasant.


The logo is in other areas of the desktop environment.


 Also I liked the way in which one increasing circle inside another
 showed how the boot was progressing.


There's a white spinner/throbber [like Mac OSX] to show the OS is loading.
I'll agree that until the OS is mostly booted that the spinner doesn't
change ... but with modern-ish hardware none of that lasts very many
seconds. ;-)


 The dots going round and round in Microsoft fashion in CentOS-7
 is a retrograde step, I think.

One always has the fear it might continue forever.


Doesn't bother me.  I expect my systems to be booted more often than not
and the boot splash is of less importance.



 --
 Timothy Murphy
 gayleard /at/ eircom.net
 School of Mathematics, Trinity College, Dublin


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Project Management Software

2015-06-01 Thread Mike - st257
On Fri, May 29, 2015 at 10:26 PM, H age...@meddatainc.com wrote:

 I have a need to use a project management software package under Centos
 6.6 and have started looking at ProjectLibre which is a Java package.

 Unfortunately it seems to have shortcomings when it comes to following up
 projects and my current understanding is that it falls short of Microsoft
 Project 2010, i.e., a previous version.


I have not used ProjectLibre, so I can't comment on its features.



 Does anyone have experience with this type of software and what would you
 recommend?


Years back I used [what appears to have been] GanttProject.
Worked fine for me, but I was only interested in creating Gantt charts and
not so much comparing features to Microsoft Project (though I used MS
Project briefly many moons ago).
http://www.ganttproject.biz/


Hope that helps.

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-docs] delete account

2015-05-01 Thread Mike - st257
On Thu, Apr 30, 2015 at 12:31 PM, Carl George carl.geo...@rackspace.com
wrote:

 Hello,

 I goofed and didn't read the contribute page before trying to create my
 account on the wiki.  I created the first account as carlgeorge.  I then
 created a second account in the proper format, CarlGeorge.  Please delete
 the first account.


You can change your username after the fact.



 Carl George
 Rackspace RPM Development
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Fwd: Wiki Contribution - YUM Tips and Tricks

2015-04-28 Thread Mike - st257
On Tue, Apr 28, 2015 at 12:46 PM, Akemi Yagi amy...@gmail.com wrote:

 On Sat, Apr 25, 2015 at 2:03 PM, Mike - st257 silvertip...@gmail.com
 wrote:
  Hi CentOS-Docs Team!
 
  I got distracted and didn't re-read the contribute to the wiki
  instructions before sending off a message to this list (I'm subscribed to
  Docs now for sure!).  So my initial message hit the bit bucket 'cause I
  wasn't subscribed (d'oh!).
  http://lists.centos.org/pipermail/centos-docs/2015-April/thread.html
 
  You'll find a copy of my original message below.
  Give me a shout back when your group gets a chance.
 
  Thanks,
  - Mike
 
  -- Forwarded message --
  From: SilverTip257 silvertip...@gmail.com
  Date: Mon, Apr 20, 2015 at 6:02 PM
  Subject: Wiki Contribution - YUM Tips and Tricks
  To: centos-docs@centos.org
  Cc: Silver Tip silvertip...@gmail.com
 
 
  Hi CentOS-Docs Team!
 
  Per http://wiki.centos.org/Contribute, I'm sending you all this message.
 
  I would like to add information to
  http://wiki.centos.org/TipsAndTricks/YumAndRPM wiki page detailing the
  existence/usage of yum-plugin-changelog.
 
  I plan on reorganizing bullet point #4 into subsections for RPM and YUM.
  And within the point #4 subsection for YUM, I will add the additional
  content I wrote up.
 
  You can find a copy of my post on LinkedIn -
 
 https://www.linkedin.com/pulse/yum-changelog-red-hat-enterprise-centos-fedora-linuxes-michael-bear
 ---

 Hi Mike,

 Just noticed this message has not been responded for a while...

 What is your wiki name (in the FirstnameLastname format)?


The wiki name I created is MichaelBear.



 Akemi
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs




-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Fwd: Wiki Contribution - YUM Tips and Tricks

2015-04-25 Thread Mike - st257
Hi CentOS-Docs Team!

I got distracted and didn't re-read the contribute to the wiki
instructions before sending off a message to this list (I'm subscribed to
Docs now for sure!).  So my initial message hit the bit bucket 'cause I
wasn't subscribed (d'oh!).
http://lists.centos.org/pipermail/centos-docs/2015-April/thread.html

You'll find a copy of my original message below.
Give me a shout back when your group gets a chance.

Thanks,
- Mike

-- Forwarded message --
From: SilverTip257 silvertip...@gmail.com
Date: Mon, Apr 20, 2015 at 6:02 PM
Subject: Wiki Contribution - YUM Tips and Tricks
To: centos-docs@centos.org
Cc: Silver Tip silvertip...@gmail.com


Hi CentOS-Docs Team!

Per http://wiki.centos.org/Contribute, I'm sending you all this message.

I would like to add information to
http://wiki.centos.org/TipsAndTricks/YumAndRPM wiki page detailing the
existence/usage of yum-plugin-changelog.

I plan on reorganizing bullet point #4 into subsections for RPM and YUM.
And within the point #4 subsection for YUM, I will add the additional
content I wrote up.

You can find a copy of my post on LinkedIn -
https://www.linkedin.com/pulse/yum-changelog-red-hat-enterprise-centos-fedora-linuxes-michael-bear


Please and thanks! ;-)

-- 
---~~.~~---
Mike
//  SilverTip257  //



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs