[CentOS] are there reference lists/cheat sheets for categorized commands?

2018-02-20 Thread Robert P. J. Day

  prepping to teach a 5-day CompTIA linux+ course next week with
CompTIA-supplied courseware and, given that it was my choice, i chose
to set up the classroom with centos 7.4 on all the student systems
since i assume most students are there to learn sysadmin and that's
the most likely platform they'll have when they get back to work.
also, most students are taking this course to prep for the subsequent
LPI exams to get their certification, which plays into my question.

  while the C/W is not bad, it's awfully verbose, and it would be
handy if there were concise cheat sheets of commands/files related to
the standard sysadmin they'll be expected to answer questions on. as
an example, regarding user/group management, i'm collecting all of the
relevant commands that they need to know about, in the sense of, "if
you understand these commands, you should be fine."

  regarding user/group admin, my tentative list of commands would be:

  * user{add,mod,del}
  * group(add,mod,del}
  * passwd, gpasswd
  * chage, chsh, chfn
  * pwck, grpck
  * pwconv, pwunconv

not sure what i'm missing here, i just typed those off the top of my
head.

  rather than scatter all of that over an entire chapter, are there
any official centos/rhel reference sheets like that? if not, i can
just write my own and post them at my wiki. thanks for any pointers.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

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


Re: [CentOS] CentOS 7 1708 won't boot after grub2 update

2018-02-20 Thread Sorin Srbu
> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Warren
> Young
> Sent: den 20 februari 2018 17:01
> To: CentOS mailing list 
> Subject: Re: [CentOS] CentOS 7 1708 won't boot after grub2 update
> 
> On Feb 19, 2018, at 5:00 AM, Sorin Srbu  wrote:
> >
> > This is the third fresh install of CentOS 7 1708 the last two months that
> > won't boot after a regular "yum update" just after the fresh install has
> > finished.
> 
> Define “won’t boot”.  Does it stop:
> 
> 1. Before the GRUB2 screen?
> 2. Between the GRUB2 screen and root device mount?
> 3. After root device mount but before entering runlevel 5?
> 4. Something else?

Not really sure.
A few times the screen just went black after the grub menu, a few times it 
stuck waiting on Plymouth to quit.

As for a screenshoot, I'll see if I can find another unused box to try 
reproducing this on. Don't want to mess up this particular machine.

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


Re: [CentOS] Does Huawei break the license of CentOS?

2018-02-20 Thread Genghuang Wang
Hello, Peter, thanks for your reply

1. Huawei DOES change the distribution EULA, if type in the following command:
vi /usr/share/eula/eula.en_US
you can see it changed to "HUAWEI EulerOS-2.0"
which is a copyright one, let alone original GPL license.

According to CentOS Linux EULA
The Distribution is released as GPLv2. Individual packages in the
distribution come with their own licences.

So the Distribution license is violated in this sense.

2. GPL is a strong copyleft license, which means that any derivative work to be
open-source under the same GPL license, this to be prevent it from switching to
some more permissive license. So release under a copyright license with the
statement linking to "open source license",which is done by Huawei, is not
allowed.

3. Euler OS by Huawei does not have any public source code repository.



On 21 February 2018 at 00:16, Peter Kjellström  wrote:
> On Tue, 20 Feb 2018 21:02:59 +0800
> Genghuang Wang  wrote:
>
>> Hello, CentOS team and everyone who cares about CentOS,
>>
>> Huawei release an Euler OS, which is an distribution based on CentOS.
>> http://developer.huawei.com/ict/en/site-euleros/euleros-introduction
>>
>> According to CentOS's statement, CentOS is distributed under the
>> GPLv2 License. http://mirror.centos.org/centos/7.4.1708/os/x86_64/EULA
>>
>> The GPL license requires the modified version to be open-source AND
>> release in the GPL license, as well.
>>
>> However, Huawei break the GPL license by close-source and replace the
>> license with their proprietary one.
>
> I picked up a few packages from it and they all retain their upstream
> License afaict (GPL). In their EULA they also say that a lot is "open
> source licensed".
>
> If they use CentOS branding that would be a problem (although not
> related to GPL).
>
> If they don't provide source upon request for any/all parts that are
> GPL that would be a problem (I have not checked).
>
> Linux distributions don't really have one license, it's a collection of
> packages with various licenses...
>
> /Peter
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OpenShift Origin Install

2018-02-20 Thread Antonio da Silva Martins Junior
Hi Fran,

 Thanks for your help! Now it's almost working :)

 The biggest problem we are encountering is the lack of concise
documentation. What we find diverges in key points, and often does not work
in the latest version which is the one we are using.

 Thanks,

Antonio.

2018-02-17 18:43 GMT-02:00 Fran Garcia :

> On 15 February 2018 at 12:31, Antonio da Silva Martins Junior
>  wrote:
> > Hi,
> >
> > I'm trying to install OpenShift Origin on a CentOS 7 host (just for
> > initial testing), and I'm trying to follow the instructions from here:
> > https://wiki.centos.org/SpecialInterestGroup/PaaS/OpenShift-Quickstart
> >
> > On that page we need to run: "atomic-openshift-installer install" to
> > configure OpenShift... after run the script it throws this errors:
>
>
> hi Antonio,
>
> I believe you're facing the problems because OCP 3.7 was released and
> that page notes that only up to 3.6 that bit works.
>
> Based on the page you mention I was able to get ocp up and running as
> follows :
>
> yum install centos-release-openshift-origin
> yum install wget git net-tools bind-utils iptables-services
> bridge-utils bash-completion origin-clients
> yum install -y docker
> vim /etc/sysconfig/docker
> yum install -y vim nano
> vim /etc/sysconfig/docker
> systemctl enable --now docker
> systemctl status docker
> yum install origin
> openshift -h
> openshift start &
>
>
> WebUI is available on https://yourserver:8443  (admin/admin)
>
> HTH
>
> Fran
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br*  / asmartins@gmail.com
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Does Huawei break the license of CentOS?

2018-02-20 Thread Peter Kjellström
On Tue, 20 Feb 2018 21:02:59 +0800
Genghuang Wang  wrote:

> Hello, CentOS team and everyone who cares about CentOS,
> 
> Huawei release an Euler OS, which is an distribution based on CentOS.
> http://developer.huawei.com/ict/en/site-euleros/euleros-introduction
> 
> According to CentOS's statement, CentOS is distributed under the
> GPLv2 License. http://mirror.centos.org/centos/7.4.1708/os/x86_64/EULA
> 
> The GPL license requires the modified version to be open-source AND
> release in the GPL license, as well.
> 
> However, Huawei break the GPL license by close-source and replace the
> license with their proprietary one.

I picked up a few packages from it and they all retain their upstream
License afaict (GPL). In their EULA they also say that a lot is "open
source licensed".

If they use CentOS branding that would be a problem (although not
related to GPL).

If they don't provide source upon request for any/all parts that are
GPL that would be a problem (I have not checked).

Linux distributions don't really have one license, it's a collection of
packages with various licenses...

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


Re: [CentOS] CentOS 7 1708 won't boot after grub2 update

2018-02-20 Thread Warren Young
On Feb 19, 2018, at 5:00 AM, Sorin Srbu  wrote:
> 
> This is the third fresh install of CentOS 7 1708 the last two months that
> won't boot after a regular "yum update" just after the fresh install has
> finished.

Define “won’t boot”.  Does it stop:

1. Before the GRUB2 screen?
2. Between the GRUB2 screen and root device mount?
3. After root device mount but before entering runlevel 5?
4. Something else?

Maybe post a screenshot to imgur.

> Am I missing something here?

You’re a computer person.  This means people come to you with problems they 
want you to solve.  I know this because it is a law of the universe; Q.E.D.

Is “won’t boot” the sort of report you’d like to receive from those depending 
on you for support?  Give us the sort of problem report you’d most dearly love 
to receive from your users.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 1708 won't boot after grub2 update

2018-02-20 Thread Warren Young
On Feb 19, 2018, at 6:36 PM, Steven Tardy  wrote:
> 
> BTW, anyone have a good method for finding driver for a given
> disk(/dev/sdX)?

Use this script: https://stackoverflow.com/a/42382011

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


Re: [CentOS] Problem with ssh disconnecting

2018-02-20 Thread H
On 02/19/2018 10:09 PM, Marcelo Ricardo Leitner wrote:
> On Mon, Feb 12, 2018 at 08:05:18PM -0500, H wrote:
> ...
>> Not sure if I am reading your reply correctly but I should clarify
>> that I have problems when running naked ssh to the server, when I
>> run ssh to the same server but over the VPN connection (that goes
>> via third server) everything is flawless.
>>
>> I should also explain that:
>>
>> - I am on a workstation (located in the US), ssh-ing into server 1
>> (located in the US).
>>
>> - From server 1 I use scp to transfer large files from server 2
>> (located in Europe) to server 1 (in the US).
>>
>> The above randomly disconnects.
> You have two ssh sessions here. AFAICT, it's the first one
> (workstation->server 1) that randomly disconnects, right?
>
>> However, when:
>>
>> - I use a VPN connection to server 3 (also located in Europe).
>>
>> - From the same workstation as above, do exactly as above,
>> connections are rock-solid.
> It would seem to me that something between your workstation and server
> 1 is possibly mishandling TCP options (being it sack, timestamps or
> both).  Is there a router or a firewall in between?
>
> Try doing a traffic capture between both and see why it hangs. If
> you're hesitant to post the binary traffic capture, post the text
> version of it with anonymized IP addresses. Just please be sure to
> disable ssh protocol so it would include TCP details on it then.
>
>   Marcelo

Let's reduce the problem to a simpler case: the workstation running CentOS 7 is 
behind a router, behind the same router is the server running CentOS 6. For 
various reasons, I access the server via its external IP address, not the local 
one. Access is via ssh.

When using straight ssh, the connection times out after random times, always 
less than 20 minutes or so, though, with the error message "packet_write_wait: 
broken pipe", not the common "write failed: broken pipe".

However, when I am in a ssh session on a VPN connection (which terminates in an 
outside server far away from my network), the ssh connection does /not/ time 
out.

Further, accessing the same server as first mentioned, in the identical 
fashion, from another computer running CentOS 6, I never encounter the 
"packet_write_wait" error and disconnection.

My conclusion is thus that this is not a router issue but could conceivable be 
a bug in CentOS 7. I am also ruling out a cable issue or a physical network 
card issue since the VPN connection is stable.

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


[CentOS] Does Huawei break the license of CentOS?

2018-02-20 Thread Genghuang Wang
Hello, CentOS team and everyone who cares about CentOS,

Huawei release an Euler OS, which is an distribution based on CentOS.
http://developer.huawei.com/ict/en/site-euleros/euleros-introduction

According to CentOS's statement, CentOS is distributed under the GPLv2 License.
http://mirror.centos.org/centos/7.4.1708/os/x86_64/EULA

The GPL license requires the modified version to be open-source AND
release in the GPL license, as well.

However, Huawei break the GPL license by close-source and replace the
license with their proprietary one.

How do I find it? Well, I download the so-called Euler OS from
http://developer.huawei.com/ict/site-euleros/euleros/repo/yum/2.2/os/x86_64/iso/20170930/

And install it in the virtual machine. From the following path:
/usr/share/euleros-release/EULA
/usr/share/eula/eula/eula.en_US
I find that it is NOT the GPL license, but Huawei's own license.

So is Huawei breaking the license of CentOS?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 156, Issue 2

2018-02-20 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. [Infra] - planned outage : bugs.centos.org (Bug   Tracker)
  (Fabian Arrotin)


--

Message: 1
Date: Mon, 19 Feb 2018 14:30:21 +0100
From: Fabian Arrotin 
To: "The CentOS developers mailing list." ,
centos-annou...@centos.org
Subject: [CentOS-announce] [Infra] - planned outage : bugs.centos.org
(BugTracker)
Message-ID: 
Content-Type: text/plain; charset="utf-8"

This notification to let you know that we'll migrate our
https://bugs.centos.org bug tracker service to a different node, and
also updated to a new version of MantisBT (version 2.x)

This migration will give us more possibilities, including soon trying to
get SSO working even on our bug tracker (that part still need to be done
though)

Migration is scheduled for Tuesday February 20th, 8:00 am UTC time.
You can convert to local time with $(date -d '2018-2-20 8:00 UTC')

The expected "downtime" is estimated to ~10 minutes , time needed to
update/propagate updated dns A/ records + last mysql dump/restore on the
new node.

Thanks for your comprehending and patience.

on behalf of the Infra team,
-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: 


--

Subject: Digest Footer

___
CentOS-announce mailing list
centos-annou...@centos.org
https://lists.centos.org/mailman/listinfo/centos-announce


--

End of CentOS-announce Digest, Vol 156, Issue 2
***
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos