Re: [CentOS] Question about ntp

2019-05-27 Thread Chris Adams
Once upon a time, Jobst Schmalenbach  said:
> Chrony cannot supply time info, so if you have clients requesting time info 
> the server cannot serve time, you need ntpd for that. I have many windows 
> stations that pull time from my CentOS servers.

That is not correct.  In the default config, chrony doesn't serve time,
which is a good thing (see: all the problems with ntpd serving a lot
more than time).  All you have to do is uncomment/add "allow" lines in
/etc/chrony.conf.
-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] multilib problem during "yum update"

2019-05-27 Thread Ian Mortimer
On Mon, 2019-05-27 at 14:05 +1000, Bill Maidment wrote:

> > ---> Package libgpg-error.x86_64 0:1.13-1.el7.centos will be an
> > update
> > ---> Package libgpg-error-debuginfo.x86_64 0:1.13-1.el7.centos will
> > be an update
> > ---> Package libgpg-error-devel.x86_64 0:1.13-1.el7.centos will be
> > an update
> 
> The update for libgpg-error.i686 1.13-1 seems to be missing

Where are the libgpg-error 1.13-1.el7.centos packages coming
from?  They're not in CentOS updates (or RHEL updates either).


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


Re: [CentOS] Question about ntp

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 09:50:51PM -0400, Fred Smith 
(fre...@fcshome.stoneham.ma.us) wrote:
> On Tue, May 28, 2019 at 11:44:35AM +1000, Jobst Schmalenbach wrote:
> > On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
> > (ralf.pren...@rprengel.de) wrote:
> > > 
>
> It's hard to imagine that someone would have REMOVED that ability in
> the intervening years

I read a couple of comparisons some time back, I learned chrony cannot server 
time.
The comparison might have been wrong!

I just read this, so I stand corrected:

https://chrony.tuxfamily.org/comparison.html





-- 
Jobst Schmalenbach

Egotism is pain, and the only way to end it is to cease to believe that the 
world revolves around one's petty life.

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


Re: [CentOS] Question about ntp

2019-05-27 Thread Fred Smith
On Tue, May 28, 2019 at 11:44:35AM +1000, Jobst Schmalenbach wrote:
> On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
> (ralf.pren...@rprengel.de) wrote:
> > 
> > Hallo,
> > 
> > what is the standard way to sync time under Centos 7.
> > ntp or chrony.
> 
> YMMV.
> 
> I have used NTP for many, many years so I am familiar with it and also have 
> ALL config files, I normally just delete chrony and install ntpd, then copy 
> the config files and start ntp. All done, 2 minutes.
> 
> Chrony cannot supply time info, so if you have clients requesting time info 
> the server cannot serve time, you need ntpd for that. I have many windows 
> stations that pull time from my CentOS servers.

Back when I used chrony in my home LAN it certainly did serve time. I
brought it up on my firewall (an old PC running SmoothWall) as a local
time server and it worked great for that purpose.

It's hard to imagine that someone would have REMOVED that ability in
the intervening years

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 06:32:19AM +0200, Ralf Prengel 
(ralf.pren...@rprengel.de) wrote:
> 
> Hallo,
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.

YMMV.

I have used NTP for many, many years so I am familiar with it and also have ALL 
config files, I normally just delete chrony and install ntpd, then copy the 
config files and start ntp. All done, 2 minutes.

Chrony cannot supply time info, so if you have clients requesting time info the 
server cannot serve time, you need ntpd for that. I have many windows stations 
that pull time from my CentOS servers.


-- 
Jobst Schmalenbach

A computer without Microsoft is like chocolate cake without ketchup!

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


Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-27 Thread Jobst Schmalenbach
On Mon, May 27, 2019 at 12:43:41PM +0200, Miroslav Geisselreiter 
(m...@intar.cz) wrote:
> Hi Jobst,
> 
> you can use latest samba package from CentOS 7 - there is no problem with NT
> style domains support (ie. it supports NT style domains). We use servers
> with CentOS 6 and CentOS 7 both with NT style domains.

Phew!
Thank you, this is great news!


I had huge trouble to get the samba server started after I ported it onto a 
CentOS 7 machine.
I tried to start it with

systemctl start smbd nmbd winbind samba

and it failed without error messages.


So I has asked a question on the Samba mailing list.
They told me I should do this as 

systemctl stop smbd nmbd winbind samba
systemctl disable smbd nmbd winbind samba
systemctl mask smbd nmbd winbind samba
systemctl unmask samba-ad-dc
systemctl enable samba-ad-dc
systemctl start samba-ad-dc

Can you confirm, you start this with 

systemctl start samba-ad-dc



thanks
-- 

Jobst Schmalenbach

Sendmail administration is not black magic.  There are legitimate technical 
reasons why it requires the sacrificing of a live chicken.

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


Re: [CentOS-virt] CentOS 7 Xen 4.12 libvirt/virt-manager wrong path for qemu-system-i386

2019-05-27 Thread Pasi Kärkkäinen
Hi,

On Wed, May 22, 2019 at 10:46:25AM +0100, Anthony PERARD wrote:
> On Sun, May 05, 2019 at 02:23:22PM +0300, Pasi Kärkkäinen wrote:
> > Hello,
> 
> Thanks for the bug report.
> 
> > While testing Virt-SIG Xen 4.12 rpms on CentOS7 I noticed the following 
> > problem with libvirt/virt-manager when manually installing a new HVM guest 
> > from virt-manager GUI.. basicly the VM installation won't start, because 
> > libvirt/virt-manager is not able to start the VM, due to "missing" 
> > qemu-system-i386 binary:
> > 
> > Unable to complete install: 'unsupported configuration: emulator 
> > '/usr/lib/xen/bin/qemu-system-i386' not found'
> > 
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in 
> > cb_wrapper
> > callback(asyncjob, *args, **kwargs)
> >   File "/usr/share/virt-manager/virtManager/create.py", line 2553, in 
> > _do_async_install
> > guest.start_install(meter=meter)
> >   File "/usr/share/virt-manager/virtinst/guest.py", line 498, in 
> > start_install
> > doboot, transient)
> >   File "/usr/share/virt-manager/virtinst/guest.py", line 434, in 
> > _create_guest
> > domain = self.conn.createXML(install_xml or final_xml, 0)
> >   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3725, in 
> > createXML
> > if ret is None:raise libvirtError('virDomainCreateXML() failed', 
> > conn=self)
> > libvirtError: unsupported configuration: emulator 
> > '/usr/lib/xen/bin/qemu-system-i386' not found
> 
> Starting a guest with libvirt works fine, libvirt is able to find the
> qemu binary. (Well, libxl can...)
> 
> Here is an osstest flight starting an HVM guest with libvirt:
> http://logs.test-lab.xenproject.org/osstest/logs/136701/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64/info.html
> 
> Maybe the issue is that I need to rebuild `libvirt-python' and
> `virt-manager' packages?
> 

Hmm.. maybe. I guess we need to investigate a bit more where the directory path 
is actually coming from..


> > Quick'n'dirty fix is to create a symlink:
> > 
> > ln -s /usr/lib64/xen/bin/qemu-system-i386 
> > /usr/lib/xen/bin/qemu-system-i386
> > 
> > .. after creating that symlink the VM can be started just fine and works OK.
> > 
> > We need to fix that default directory path for qemu-system-i386 to be 
> > correct out-of-the-box..
> 
> I can certainly move the binary from "/usr/lib64" to "/usr/lib", and
> hope it doesn't break anything, with Xen 4.10 packages the qemu binary
> is in /usr/lib64. But to be honest I don't know which is best for CentOS
> between "lib64" and "lib".
> 

I think /usr/lib64/ is the correct location, as the qemu-system-i386 binary is 
64bit:

# file /usr/lib64/xen/bin/qemu-system-i386
/usr/lib64/xen/bin/qemu-system-i386: ELF 64-bit LSB shared object, x86-64, 
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, 
BuildID[sha1]=12576991824bc1611d8630aaa30df9b00f175980, stripped



> -- 
> Anthony PERARD


Thanks,

-- Pasi

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


Re: [CentOS] Question about ntp

2019-05-27 Thread Fred Smith
On Mon, May 27, 2019 at 04:29:28PM +0100, Pete Biggs wrote:
> 
> > 
> > what is the standard way to sync time under Centos 7.
> > ntp or chrony.
> > 
> chrony syncs to an NTP server, in the same way that ntp syncs to an NTP
> server. The both work.
> 
> I have both ntpd (under CentOS 6) and chronyd (under CentOS 7) NTP
> servers on my network, they all work fine together.
> 
> P.

I used chrony at home, a couple of decades ago (give or take) way back
when I was on dialup, because if its ability to serve time to machines
that are not always connected.

Since it is now the default NTP provider for EL7 I use it again, and
it still works fine for my needs. 

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about ntp

2019-05-27 Thread Nicolas Kovacs
Le 27/05/2019 à 06:32, Ralf Prengel a écrit :
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.
> 
> Thanks for a short hint.

Chrony is the standard way, but one of the first things I do when
installing a CentOS server is replace it with NTP.

Here's a short blog article (in french) about NTP on CentOS.

  * https://www.microlinux.fr/centos-7-ntp/

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.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


Re: [CentOS] Question about ntp

2019-05-27 Thread Pete Biggs


> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.
> 
chrony syncs to an NTP server, in the same way that ntp syncs to an NTP
server. The both work.

I have both ntpd (under CentOS 6) and chronyd (under CentOS 7) NTP
servers on my network, they all work fine together.

P.


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


Re: [CentOS] Question about ntp

2019-05-27 Thread Jonathan Billings
On May 27, 2019, at 07:51, Jonathan Billings  wrote:
> 
> ntp is provides but not default.

*Sigh* I mean “provided”. It’s too early. 

--
Jonathan Billings


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


Re: [CentOS] Question about ntp

2019-05-27 Thread Jonathan Billings
On May 27, 2019, at 00:32, Ralf Prengel  wrote:
> 
> 
> what is the standard way to sync time under Centos 7.
> ntp or chrony.

chrony is the default time sync daemon on C7. ntp is provides but not default. 

--
Jonathan Billings


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


Re: [CentOS] Older versions of samba that work with CentOS 7?

2019-05-27 Thread Miroslav Geisselreiter

Hi Jobst,

you can use latest samba package from CentOS 7 - there is no problem 
with NT style domains support (ie. it supports NT style domains). We use 
servers with CentOS 6 and CentOS 7 both with NT style domains.


Mirek

Dne 27.5.2019 v 2:57 Jobst Schmalenbach napsal(a):

Hi.

Are there any places I can download older versions of Samba working with CentOS 
7?

Reason:

I have been upgrading all of my servers from 6.X to 7.X.
This alone is a massive task for me as I am a one man band.

Samba made massive changes not allowing NT style domains anymore in the 4.10 
branch.

If I can find older samba RPM's for CentOS 7 than I can finish all upgrades of 
the OS, then later upgrade samba once I am finished when I have more time.


Any ideas anyone?

thanks
Jobst







--
Jobst Schmalenbach
The future isn't what it used to be (it never was).
___
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