[CentOS] Configure WiFi at install on CentOS Stream 9

2024-01-09 Thread Tony Molloy
Hi,
I'm trying to install CS-9 and need to have WiFi setup on boot.

I've tried installing with KVM as a test but only get the choice of an
ethernet connection at install time.

I've tried installing onto a spare laptop and it gives a choice of ethernet
or WiFi for network connections. I choose WiFi and it allows me to
configure the WiFi. It detects the network and the IP-address. However when
I reboot the laptop there is no WiFi connection.

Any suggestions.

Thanks,

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


Re: [CentOS] CentOS 7 getssl script

2021-05-31 Thread Tony Mountifield
In article ,
Jerry Geis  wrote:
> I am using the getssl script to add a certificate to my server.
> The script is automatically adding a SANS www.myserver.com when I do not
> have a www.myserver.com - just simply the myserver.com
> 
> How can I tell getssl to "not add that SANS" entry ?

getssl creates a default getssl.cfg for the domain the first time you run it
for that domain. But on subsequent runs, it just uses what is in that file.

So look in the file .getssl/myserver.com/getssl.cfg at the line SANS=

You can remove the unwanted entries from there, or comment out the line
if you don't want any additional domains at all in the certificate.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 on a new Dell Precision

2021-05-15 Thread Tony Schreiner
On Tue, May 4, 2021 at 3:21 PM Tony Schreiner 
wrote:

> I am trying to install CentOS 7 on  a Dell Precision 3640 and am
> having some driver problems.
>
> I had to use kmod-e1000e from ElReo enable networking on the:
> 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet
> Connection (11) I219-LM [8086:0d4c]
>
>
> I still don't have graphics. When starting Gnome, it shows the graphic
> screen briefly but reverts to the text login.
>
> It has two graphics cards:
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Device
> [8086:9bc5] (rev 05)
> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
> [AMD/ATI] Lexa XT [Radeon PRO WX 3200] [1002:6981] (rev 10)
>
> lsmod shows i915 and amdgpu modules loaded
> but Xorg.0.log says the modules amdgpu cannot be found. Is it a version
> issue?
> Dell has a Radeon driver for RHEL 8, but not for 7.
>
> ...

Follow up.
It was suggested to me off-list to try the elrepo -lt kernel. I have and it
gives me network and graphics.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7 on a new Dell Precision

2021-05-04 Thread Tony Schreiner
ion
"Default Screen Section" for depth/fbbpp 24/32
[54.890] (==) FBDEV(1): Depth 24, (==) framebuffer bpp 32
[54.890] (==) FBDEV(1): RGB weight 888
[54.890] (==) FBDEV(1): Default visual is TrueColor
[54.890] (==) FBDEV(1): Using gamma correction (1.0, 1.0, 1.0)
[54.890] (II) FBDEV(1): hardware: EFI VGA (video memory: 6892kB)
[54.890] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[54.890] (II) FBDEV(1): checking modes against framebuffer device...
[54.890] (II) FBDEV(1): checking modes against monitor...
[54.890] (II) FBDEV(1): Virtual size is 1680x1050 (pitch 1680)
[54.890] (**) FBDEV(1):  Built-in mode "current": 176.4 MHz, 82.9 kHz, 77.2
Hz
[54.890] (II) FBDEV(1): Modeline "current"x0.0  176.43  1680 1712 1920 2128
 1050 1054 1058 1074 -hsync -vsync -csync (82.9 kHz b)
[54.890] (==) FBDEV(1): DPI set to (96, 96)
[54.890] (II) Loading sub module "fb"
[54.890] (II) LoadModule: "fb"
[54.890] (II) Loading /usr/lib64/xorg/modules/libfb.so
[54.890] (II) Module fb: vendor="X.Org Foundation"
[54.890] compiled for 1.20.4, module version = 1.0.0
[54.890] ABI class: X.Org ANSI C Emulation, version 0.4
[54.890] (**) FBDEV(1): using shadow framebuffer
[54.890] (II) Loading sub module "shadow"
[54.890] (II) LoadModule: "shadow"
[54.890] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[54.890] (II) Module shadow: vendor="X.Org Foundation
[54.890] compiled for 1.20.4, module version = 1.1.0
[54.890] ABI class: X.Org ANSI C Emulation, version 0.4
[54.890] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[54.890] (==) modeset(G0): RGB weight 888
[54.890] (==) modeset(G0): Default visual is TrueColor
[54.890] (II) Loading sub module "glamoregl"
[54.890] (II) LoadModule: "glamoregl"
[54.890] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[54.890] (II) Module glamoregl: vendor="X.Org Foundation"
[54.890] compiled for 1.20.4, module version = 1.0.1
[54.890] ABI class: X.Org ANSI C Emulation, version 0.4
[54.893] (II) modeset(G0): glamor X acceleration enabled on AMD
POLARIS12 DRM 3.27.0, 3.10.0-1160.25.1.el7.x86_64, LLVM 7.0.1)
[54.893] (II) modeset(G0): glamor initialized
[54.893] (II) modeset(G0): Output DP-1-1 has no monitor section
[54.893] (II) modeset(G0): Output DP-1-2 has no monitor section
[54.893] (II) modeset(G0): Output DP-1-3 has no monitor section
[54.893] (II) modeset(G0): Output DP-1-4 has no monitor section
[54.893] (II) modeset(G0): EDID for output DP-1-1
[54.893] (II) modeset(G0): EDID for output DP-1-2
[54.893] (II) modeset(G0): EDID for output DP-1-3
[54.893] (II) modeset(G0): EDID for output DP-1-4
[54.893] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[54.893] (==) modeset(G0): DPI set to (96, 96)
[54.893] (II) Loading sub module "fb"
[54.893] (II) LoadModule: "fb"
[54.893] (II) Loading /usr/lib64/xorg/modules/libfb.so
[54.893] (II) Module fb: vendor="X.Org Foundation"
[54.893] compiled for 1.20.4, module version = 1.0.0
[54.893] ABI class: X.Org ANSI C Emulation, version 0.4
[54.893] (EE) modeset(G0): drmSetMaster failed: Invalid argument
[54.893] (EE)
Fatal server error:
[54.893] (EE) AddScreen/ScreenInit failed for gpu driver 0 -1
[54.893] (EE)
[54.893] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[54.893] (EE) Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
[54.893] (EE)
[54.895] (EE) Server terminated with error (1). Closing log file.



Thanks if you have any recommendations.
tony
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8

2021-04-08 Thread Tony Schreiner
On Thu, Apr 8, 2021 at 2:33 PM Nicolas Kovacs  wrote:

> Le 08/04/2021 à 18:58, Steve Clark via CentOS a écrit :
> > How do I allow root log in on GDM.
>
> tl;dr: you don't.
>
> Log in as a non-root user, and when you do need root, either open up a
> terminal
> and use 'su -' or (even better) setup your user by making your user a
> member of
> the wheel group and then use sudo.
>
> Logging in to a GUI as root is *BAD* practice.
>
> Cheers,
>
> Niki
>
>
>
That said - you can do it, by clicking on "Not listed?" and typing root
into the user field.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to install XFCE on CentOS 8?

2021-02-25 Thread Tony Schreiner
On Thu, Feb 25, 2021 at 7:31 AM Stephen John Smoogen 
wrote:

> On Thu, 25 Feb 2021 at 02:11, Simon Matter  wrote:
>
> > >>
> > >> Smooge, you know I feel your pain, but becoming a maintainer in EPEL
> has
> > >> a pretty high bar (lots of new tools and methods to work with, amongst
> > >> other things) -- as it SHOULD, given that it's intended as an addon to
> > >> EL and needs to be very tightly controlled.  It's just more difficult
> to
> > >> get started these days relative to when anyone could build an rpm as
> > >> long as they had a copy of Maximum RPM and knew how to drive 'rpm -ba'
> > >>  back when building as root in a non-reproducible buildroot
> wasn't a
> > >> cardinal sin.
> > >>
> > >
> > > Not that it matters .. BUT .. EL8 is much harder to build for.  There
> > > are modular components, not all the Devel files exist, etc.
> > >
> > > It is much harder than EL7.
> >
> > Thanks Johnny for reminding. I was wondering why the situation for EL8 is
> > so much worse than for EL7 and that was true before CentOS Stream came
> up.
> >
> > In the end I have never been happy with the new modules system and how it
> > makes packaging much more difficult than it was and than it should be.
> >
> > IMHO the hurdles to build high quality packages should be as simple as
> > possible but the difficulties to do so went in the wrong direction. The
> > result we see now. Today we have an unstable distribution (Fedora) with a
> > quite good and comprehensive package set, and we have stable (EL) with an
> > unstable and lacking package set.
> >
> >
> Even without modules (A person wrote a program which undid some of those
> problems for us in EPEL), EL8 is not easy to build. Packages and software
> themselves have gotten more interdependent and complex. This leads to a
> larger and larger chain of 'buildrequires' and 'requires' for each package.
> To get some of the XFCE packages into EPEL you need to bring into EPEL all
> kinds of quaternary packages so you can build the tertiary packages which
> are needed for the secondary packages which allow you to get something like
> xfce4-cpufreq-plugin-1.2.1-7.fc33.src.rpm built. Each of those packages
> needs a maintainer who wants to deal with them in EPEL which requires them
> to run an EL to test.
>
> I tried an experiment during the RHEL-8 beta to see what it would take to
> get EPEL-8 1:1 with EPEL-7.. I gave up after adding nearly a thousand
> packages to the 'build chain' which were not in EPEL-7 nor even in the
> RHEL-8 beta or its 'buildroot'. These were mainly packages that are in
> Fedora already and would need to be maintained in EPEL and no one wants to
> do that.
>
> This was supposed to be a problem modularity was to fix.. so you need 100
> packages not in EPEL for your 1 application set, and you don't  want to
> maintain those extra packages? Just put them inside your module build chain
> and deliver what you wanted. Of course that is still a monumental task and
> most packagers would say 'meh I got better things to do, like do a root
> canal without anesthesia.'
>
>
>
> > Simon
> >
> > ___
> > 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


Does package building for debian and derivatives not run into this same
issue of interdependency? Is it because they have more packages to begin
with?
Not judging, I'm curious.

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


Re: [CentOS] Permission denied when updating CentOS 8 Streams

2021-02-22 Thread Tony Mountifield
In article <8dc3d2af-a7b0-d54f-85b4-fbdbc49b3...@gmail.com>,
Gordon Messmer  wrote:
> On 2/19/21 12:37 AM, Mathieu Baudier wrote:
> >- Curl error (7): Couldn't connect to server for
> > http://mirrorlist.centos.org/?release=8-stream=x86_64=AppStream=stock
> > [Failed to connect to mirrorlist.centos.org port 80: Permission denied]
> 
> 
> It's unusual to see EPERM on a call to connect()... The man page 
> suggests that this can be caused by a local firewall rule or an SELinux 
> policy.
> 
> https://man7.org/linux/man-pages/man2/connect.2.html
> 
> "yum" and "wget" should be running in an unconfined domain, so SELinux 
> is *probably* not the cause.  I'd take a look at the output of "iptables 
> -L OUTPUT" first.  I've tried creating local firewall rules that I'd 
> expect to result in EPERM, but they do not, so I'm not sure what such a 
> rule looks like.

Of course, SELinux can be confirmed or ruled out by doing "setenforce 0"
and then trying the operation again.

Then "setenforce 1" again afterwards, of course.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] letsencrypt error

2021-02-06 Thread Tony Mountifield
In article ,
Jerry Geis  wrote:
> Hi Tony,
> 
> Thanks for the suggestion https://github.com/srvrco/getssl was not aware of
> that.
> I got so close... It says it loaded the certificate the files are there - I
> edited /etc/httpd/conf.d/ssl.conf and set the two paths to the right file.
> restrated httpd - all seemed good - but when I goto my site it did not work.
> So I re-ran with -f option and I get:
> 
> Registering account
> Verify each domain
> Verifying rsd.layeredsolutionsinc.com
> rsd.layeredsolutionsinc.com is already validated
> Verification completed, obtaining certificate.
> Requesting Finalize Link
> Requesting Order Link
> Requesting certificate
> Full certificate saved in /root/.getssl/XX/fullchain.crt
> Certificate saved in /root/.getssl/XX/rsd.layeredsolutionsinc.com.crt
> /root/.getssl/XX/XX.crt didn't match server
> getssl: XX - rsa certificate obtained but certificate on server is
> different from the new certificate
> 
> So close...
> Any thoughts on that are appreciated.   Idid searching and those issues
> dont seem to relate to my case.

Hi Jerry, you need to explore the configuration files. They are in 
.getssl/getssl.cfg
and .getssl//getssl.cfg

First, in .getssl//getssl.cfg you need to tell it where to copy the 
certificate
and key for the web server. They should match what you have in 
/etc/httpd/conf.d/ssl.conf
Here are my entries as an example:


# Location for all your certs, these can either be on the server (full path 
name)
# or using ssh /sftp as for the ACL
DOMAIN_CERT_LOCATION="/etc/pki/tls/certs/your.domain.name.crt" # this is domain 
cert
DOMAIN_KEY_LOCATION="/etc/pki/tls/private/your.domain.name.key" # this is 
domain key
CA_CERT_LOCATION="/etc/pki/tls/certs/chain.crt" # this is CA cert


Then secondly, in the global config .getssl/getssl.cfg you need to tell it how 
to
restart the web server to pick up the new certs, which it will do before testing
whether the new certificate is served correctly:


# The command needed to reload apache / nginx or whatever you use
RELOAD_CMD="/usr/sbin/apachectl graceful"


I think these are the only changes I made from the defaults.

Cheers
Tony

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] letsencrypt error

2021-02-05 Thread Tony Mountifield
In article ,
Jerry Geis  wrote:
> *>>certbot-auto is no longer available.
> *>It still getting updates
> >https://github.com/certbot/certbot/blob/master/certbot-auto
> >>*   Forbidden\n\nForbidden\n *>Try opening up your page in the browser to see what's going on. You
> might not setup your nginx/apache properly
> >http://mydomain/.well-known/acme-challenge/i_fU1bFrQZzgfVI2FtWo8Ov0ITjplCcPjXdK61Fwa-w
> 
> I went there, downloaded it, and tried to run - and I get this.
> 
> Skipping bootstrap because certbot-auto is deprecated on this system.
> Your system is not supported by certbot-auto anymore.
> Certbot cannot be installed.
> Please visit https://certbot.eff.org/ to check for other alternatives.
> 
> My Centos 7 is basically out of the box.  Previously with certbot-auto - it
> worked every time.  Any one else run into this and know what the issue is ?

Try using getssl instead: https://github.com/srvrco/getssl

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8.2: error running non-shared postrotate script for /var/log/mysql/mysqld.log

2020-12-07 Thread Tony Mountifield
In article ,
Alexander Farber  wrote:
> Hello fellow CentOS users!
> 
> I have installed CentOS 8.2.2004 with the following packages:
> 
> mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64
> 
> Then I have run mysql_secure_installation and among other things set the
> root password for MySQL
> 
> As result I am greeted with the following anachron mail every morning:
> 
> /etc/cron.daily/logrotate:
> 
>  mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> error: error running non-shared postrotate script for
> /var/log/mysql/mysqld.log of '/var/log/mysql/mysqld.log '
> 
> I understand that the reason is me having set the root password for MySQL.
> 
> But my question is how to provide the password to postrotate without
> disclosing it too much?

Create a file .my.cnf owned by root with permission 600, containing these lines:

[mysqladmin]
user = root
password = YourMySqlRootPassword

You need to put it in / or in /root - I usually do both, as I think logrotate
has / as it's home dir instead of /root.

Then logrotate can call mysqladmin without having to give a password.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] server rebooted email

2020-11-19 Thread Tony Schreiner
On Thu, Nov 19, 2020 at 11:32 AM Oleg Cherkasov 
wrote:

> On 19.11.2020 12:07, Kenneth Porter wrote:
> > I used to put a line in rc.local to email root that my server rebooted.
> > Does anyone have a nice systemd unit file to do the same?
> >
> > Also useful would be a shutdown email with the output of uptime. (I
> > usually do that manually when rebooting for a kernel update.)
> >
>
> I would recommend to install logcheck and spend sometime to customize it
> for your needs.  It would report if your server rebooted with dmesg
> inlined.
>
>
crontab has a @reboot pattern
as an alternative
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (C8) root on mdraid

2020-11-16 Thread Tony Mountifield
In article <20201115123245.db62b8248e1f248afe028...@lukaszposadowski.pl>,
Lukasz Posadowski  wrote:
> 
> Hello everyone. 
> 
> I'm trying to install CentOS 8 with root and swap partitions on
> software raid. The plan is:
> - create md0 raid level 1 with 2 hard drives: /dev/sda and /dev/sdb,
> using Linux Rscue CD,
> - install CentOS 8 with Virtual Box on my laptop,
> - rsync CentOS 8 root partition on /dev/md0p1,
> - chroot in CentOS 8 root partition,
> - configure /etc/mdadm.conf, grub.cfg, initramfs, install bootloader on
> both sda and sdb drives.
> 
> I think I can do first four of the above, but my CentOS installation
> acts strange after rebooting the server. It recognizes the raid, but
> boots randomly with root on /dev/sda1 (and recognizes raid
> with /dev/sdb disk), or with root on /dev/sdb1 (and recognizes raid
> with /dev/sda disk). When booting from Linux Rescue CD, the raid with
> two disk is recognized.

I thought it was much more usual to partition both disks to give sda1,2,3
and sdb1,2,3, and then create /dev/md0 from sda1/sdb1, /dev/md1 from sda2/sdb3,
and so on.

That's the way I have always done it, and have never had any problems.
Never seen an attempt to partition an md device before. In that case,
how would the kernel and initrd be found in order to assemble the RAID?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8.2 / missing libc++ (libcxx-devel)

2020-10-13 Thread Tony Schreiner
On Tue, Oct 13, 2020 at 12:52 PM Paul Heinlein  wrote:

> On Mon, 12 Oct 2020, Alexandru Lazarev wrote:
>
> > Hi community,
> > In CentOS 7 there is such rpm (libcxx-devel - it seems from EPEL
> > repository), but in CentOS 8 it isn't.
> >
> > How is it possible to have it there as RPM? because alternative to build
> it
> > (libc++) from sources is a big headache (I need it in order to build v9
> and
> > plv8 projects)
>
> Do you mean the libstdc++-devel package? Or prehaps redhat-lsb-cxx?
>
>
> libbcxx is available on Epel 6 and 7

Summary : C++ standard library targeting C++11

Description :
libc++ is a new implementation of the C++ standard library, targeting C++11.

so maybe not necessary any more for 8.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality

2020-10-05 Thread Tony Mountifield
In article <0f27fc07-4b04-4b3b-bf3a-7a0d419d8...@mcon-group.com>,
Soeren Malchow  wrote:
> Not directly an answer to your question, but we had so many problems with the 
> certbot in different constellations, that
> we moved to
> 
> https://github.com/acmesh-official/acme.sh
> 
> which works just fine basically everywhere
> 
> cheers
> Soeren 
> 
> On 05.10.20, 15:18, "CentOS on behalf of Alexander Farber" 
>  alexander.far...@gmail.com> wrote:
> 
> Yes, I had a typo in the mail, but not in the cronjob
> 
> Still wondering how to get certbot-1.7.0-1.el7.noarch working on CentOS 7
> again.

https://github.com/srvrco/getssl also works pretty well, and just needs bash 
and openssl.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-28 Thread Tony Mountifield
In article ,
Erick Perez - Quadrian Enterprises  wrote:
> @tonymountifield
> Does this still hold true?
> https://superuser.com/a/1075837

It wouldn't surprise me. What I take away from those tests is that it is indeed
important to use a bs= setting that corresponds to the disk physical block size,
which is why I said to use bs=4096.

When I used "conv=noerror,sync bs=4096" I got an image of the correct size.
That seems to correspond with what is said in the comment you linked to.

Cheers
Tony

> On Sun, Sep 27, 2020 at 7:21 AM Tony Mountifield  wrote:
> 
> > In article ,
> > Valeri Galtsev  wrote:
> > >
> > >
> > > > On Sep 26, 2020, at 8:05 AM, Jerry Geis  wrote:
> > > >
> > > > I have a disk that is flagging errors, attempting to rescue the data.
> > > >
> > > > I tried dd first - if gets about 117G of 320G disk and stops
> > incrementing
> > > > the save image any more.
> > >
> > > did you try
> > >
> > > dd conv=noerror …
> > >
> > > this flag makes dd not stop on input error. Whatever is irrecoverable is
> > irrecoverable, but this way you will get stuff
> > > beyond failure point.
> >
> > You need conv=noerror,sync so that unreadable sectors get replaced by
> > zeros instead of not being written out at all.
> > Without sync, the filesystem geometry on the destination image will be
> > wrong after the first error.
> >
> > You also need bs=4096 so that ONLY the bad sector(s) get zeroed, and not
> > the surrounding ones. If you have, say,
> > bs=1M, then you will get a megabyte of zeros if any block within that
> > megabyte is bad.
> >
> > I'm speaking from recent experience!
> >
> > Cheers
> > Tony
> >
> > --
> > Tony Mountifield
> > Work: t...@softins.co.uk - http://www.softins.co.uk
> > Play: t...@mountifield.org - http://tony.mountifield.org
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> 
> 
> -- 
> 
> -
> Erick Perez
> Quadrian Enterprises S.A. - Panama, Republica de Panama
> Skype chat: eaperezh
> WhatsApp IM: +507-6675-5083
> -
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 


-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-27 Thread Tony Mountifield
In article ,
Valeri Galtsev  wrote:
> 
> 
> > On Sep 26, 2020, at 8:05 AM, Jerry Geis  wrote:
> > 
> > I have a disk that is flagging errors, attempting to rescue the data.
> > 
> > I tried dd first - if gets about 117G of 320G disk and stops incrementing
> > the save image any more.
> 
> did you try
> 
> dd conv=noerror …
> 
> this flag makes dd not stop on input error. Whatever is irrecoverable is 
> irrecoverable, but this way you will get stuff
> beyond failure point.

You need conv=noerror,sync so that unreadable sectors get replaced by zeros 
instead of not being written out at all.
Without sync, the filesystem geometry on the destination image will be wrong 
after the first error.

You also need bs=4096 so that ONLY the bad sector(s) get zeroed, and not the 
surrounding ones. If you have, say,
bs=1M, then you will get a megabyte of zeros if any block within that megabyte 
is bad.

I'm speaking from recent experience!

Cheers
Tony

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Tony Mountifield
In article <004e8170-e842-4e8b-9623-db3ea236d...@outlook.com>,
Carlos Lopez  wrote:
> Hi all,
> 
> 
> With SystemD, how can I make certain service dependent on certain network 
> interfaces being up?
> 
> For example, I have an 802.1ad bond interface I need to wait on for being up 
> (this interface has no ip address assigned,
> it is used to capture networks packets with a tcpdump’s script). Every time 
> this service fails because bond interface
> is not up.
> 
> 
> 
> I have configured the service as:
> 
> 
> 
> [Unit]
> 
> Description=tcpdump capture script
> 
> After=network.target
> 
> Wants=network-online.target
> 
> 
> 
> But it doesn’t work …. Any tip or trick?

Just add a line to the tcpdump script to wait for the interface.

Something like this:

until ifconfig -s | grep -q '^bond0' ; do sleep 1 ; done

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 - Register with Red Hat

2020-08-25 Thread Tony Schreiner
On Tue, Aug 25, 2020 at 2:00 PM Carl George  wrote:

> The subscription-manager dnf plugin is disabled by default as part of
> our debranding in both CentOS Linux and CentOS Stream.
>
> c8:
> https://git.centos.org/rpms/subscription-manager/blob/580aca8629536c64577e6a443b9349ecb629cc17/f/SPECS/subscription-manager.spec#_850
> c8s
> <https://git.centos.org/rpms/subscription-manager/blob/580aca8629536c64577e6a443b9349ecb629cc17/f/SPECS/subscription-manager.spec#_850c8s>:
>
> https://git.centos.org/rpms/subscription-manager/blob/603dc4a304e237a71a056f674378ff5113a7f710/f/SPECS/subscription-manager.spec#_855
>
> I don't know what caused it to be enabled on your system, but that is
> the way it currently ships.
>
> On Mon, Aug 17, 2020 at 6:54 PM Tony Schreiner 
> wrote:
> >
>
>
Sorry if I'm changing topic, But I'm curious, what is the use case for
subscription-manager in CentOS?
Tony
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Jamulus for Centos

2020-08-20 Thread Tony Mountifield
In article ,
Robert Moskowitz  wrote:
> Is anyone running their own Jamulus server?
> 
> I have an x86_64 system running Centos7 that I can try bringing it up 
> for my wife.  So I better get it right!
> 
> I have found rpms for 3.4.7.1 at:
> 
> https://pkgs.org/download/Jamulus
> 
> But on SourceForge I am seeing source for ver 3.5.10.  In blogs I am 
> seeing that the better client is for at least ver 3.5.1.
> 
> Are there rpms available for some 3.5 version?

I am a regular Jamulus user and have packaged the latest versions of the
headless server for CentOS 7 and 8, and Amazon Linux 2.

See http://jamulus.softins.co.uk/repo/ for details.

I haven't used the Jamulus client under Linux.

If you haven't already, you would find the two Facebook groups worthwhile:

- Jamulus (official group)
- Jamulus World Jam

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 - Register with Red Hat

2020-08-17 Thread Tony Schreiner
On Mon, Aug 17, 2020 at 7:37 PM Gregory P. Ennis  wrote:

> On Mon, 17 Aug 2020 17:49:29 -0500
> Gregory P. Ennis wrote:
>
> > What appears is below.
>
> Removing dependent packages is required.  Removing unused dependencies is
> optional.
>
> dnf remove *subscription* --noautoremove
>
> should remove the dependent packages but keep thee unused dependencies if
> you want them.
>
> There's also a setting in /etc/dnf/dnf.conf to set the default behaviour
> of the autoremove
> function.
>
> Having said that, I don't have any of those packages in your list on my
> system and it's
> working fine.  So removing them (probably) won't break anything.
> --
>
> Frank,
>
> Thanks for the help. I used the -noautoremove switch and the following was
> removed :
>
> abrt-2.10.9-11.el8.x86_64
>
>   abrt-addon-ccpp-2.10.9-11.el8.x86_64
>
>   abrt-addon-kerneloops-2.10.9-11.el8.x86_64
>
>   abrt-addon-pstoreoops-2.10.9-11.el8.x86_64
>
>   abrt-addon-vmcore-2.10.9-11.el8.x86_64
>
>   abrt-addon-xorg-2.10.9-11.el8.x86_64
>   abrt-cli-2.10.9-11.el8.x86_64
>   abrt-dbus-2.10.9-11.el8.x86_64
>   abrt-desktop-2.10.9-11.el8.x86_64
>   abrt-gui-2.10.9-11.el8.x86_64
>   abrt-tui-2.10.9-11.el8.x86_64
>   anaconda-core-29.19.2.17-1.el8.x86_64
>   anaconda-gui-29.19.2.17-1.el8.x86_64
>   anaconda-tui-29.19.2.17-1.el8.x86_64
>   dnf-plugin-subscription-manager-1.26.17-1.el8_2.x86_64
>   initial-setup-0.3.62.1-1.el8.x86_64
>   initial-setup-gui-0.3.62.1-1.el8.x86_64
>   libreport-plugin-ureport-2.9.5-10.el8.x86_64
>   python3-abrt-2.10.9-11.el8.x86_64
>   python3-abrt-addon-2.10.9-11.el8.x86_64
>   python3-subscription-manager-rhsm-1.26.17-1.el8_2.x86_64
>   subscription-manager-1.26.17-1.el8_2.x86_64
>   subscription-manager-initial-setup-addon-1.26.17-1.el8_2.x86_64
>   subscription-manager-rhsm-certificates-1.26.17-1.el8_2.x86_64
>   virt-who-0.27.6-1.el8.noarch
>
> After these were removed the request to register with Red Hat no longer
> appears with 'dnf
> update'
>
> Thanks again
>
> Greg
>
>
You could also just disable the yum subscription-manager plugin by setting
enabled=0
in /etc/yum/pluginconf.d/subscription-manager.conf
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 & HandBrakeCLI

2020-07-13 Thread Tony . Molloy
On Mon, 2020-07-13 at 08:55 -0400, mail...@toolz.com wrote:
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 2020-07-13 05:09, Kay Diederichs wrote:
> > On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote:
> > > Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:
> 
> I could not get HandBrake to work under CentOS 8, so I installed it 
> under
> Zorin 15 (an Ubuntu-derived German distro).  There, it works
> great.  I 
> did not try
> any of the other distros derived from Debian or Ubuntu itself.
> 
> Todd Merriman
> Software Tooolz, Inc.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

HandBrake-1.3.3-1.el8 and HandBrake-gui from RPM Fusion work fine on
CentOS-Stream 8. Haven't tried on CentOS 8.

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


Re: [CentOS] firewall help request

2020-06-17 Thread Tony Mountifield
In article ,
Paul Heinlein  wrote:
> On Tue, 16 Jun 2020, Leroy Tennison wrote:
> 
> > I have a gateway machine (currently Centos 7 with IPV4 only) with two
> > NICs.  One is connected to the internet, the other to an internal
> > network (10.0.0.0/24) of mixed hardware (windows7, android tablets,
> > android phones, linux boxes) using NAT.  I wish to block all outgoing
> > connects to any external IP address on port 22 (ssh) originating from
> > any internal machine except one (which has a known internal IP address).
> >
> > I've tried some commands using 'iptables' to accomplish this, but so
> > far have failed.  If anyone has a suggestion, I'd really appreciate
> > it.  In addition, a suitable version for 'firewalld' could be useful,
> > as an upgrade to Centos 8 is in plan.
> >
> > Examples of what I've tried, and then tested.  None of them stopped
> > an outgoing SSH from an internal system.
> >
> >   iptables -I INPUT -p tcp --dport 22 -s 10.0.0.0/24 -j DROP
> >   iptables -I INPUT -p tcp --dport 22 -s 10.0.0.0/24 -j DROP
> 
> I'm not sure it's your INPUT table that needs that rule. I don't have 
> any NAT machines for experimentation, but my initial hunch is that 
> you'd want OUTPUT rules, e.g.,
> 
> iptables -A OUTPUT -p tcp --dport 22 -s ${GOODIP}/32 -j ACCEPT
> iptables -A OUTPUT -p tcp --dport 22 -s 10.0.0.0/24  -j REJECT

No, the OUTPUT chains apply to traffic originating within the machine
itself (the gateway machine).

But for traffic being forwarded by the gateway, it will use the FORWARD
chains rather than the INPUT chains. So probably something like this:

iptables -A FORWARD -p tcp --dport 22 -s ${GOODIP}/32 -j ACCEPT
iptables -A FORWARD -p tcp --dport 22 -s 10.0.0.0/24  -j REJECT

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xinetd custom service - perl - remote address

2020-05-28 Thread Tony Mountifield
In article <202005281646.34790.gary.stainb...@ringways.co.uk>,
Gary Stainburn  wrote:
> Hi all,
> 
> I can't believe that I can't find the answer to this one.  I have a perl 
> script which is called by xinetd.
> 
> I want that perl script to be able to detect the remote IP address of the 
> caller.
> 
> I presumed that it would be an environment variable but I could be wrong.  
> I've found reference to the ENV and PASSENV
> arguments for xinetd.conf but no examples, and no indication of what 
> auguments to use.
> 
> In my script I have the following code:
> 
> foreach (keys %ENV) { print "$_=$ENV{$_}\n";}
> 
> 
> but the only line I get back is:
> 
> XINETD_LANG=en_US

Works for me. Here are my details:

1. /usr/local/bin/args:

#!/usr/bin/perl

$i=1;
while(defined($_ = shift)) {
printf "ARGV[%d]=\"%s\"\n",$i++,$_;
}
foreach $env (keys %ENV) {
printf "ENV{%s}=\"%s\"\n",$env,$ENV{$env};
}

2. /etc/xinetd.d/args:

service args
{
disable = no
port = 54321
type = UNLISTED
socket_type = stream
wait= no
user= root
server  = /usr/local/bin/args
server_args = --test
log_on_failure  += USERID
}

3. Results of telnet 127.0.0.1 54321:

# telnet 127.0.0.1 54321
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
ARGV[1]="--test"
ENV{CONSOLE}="/dev/console"
ENV{PREVLEVEL}="N"
ENV{SELINUX_INIT}="YES"
ENV{LC_COLLATE}="en_US"
ENV{RUNLEVEL}="3"
ENV{LC_ALL}="en_US"
ENV{previous}="N"
ENV{LC_NUMERIC}="en_US"
ENV{PWD}="/"
ENV{LC_TIME}="en_US"
ENV{LANG}="en_US"
ENV{LC_MESSAGES}="en_US"
ENV{runlevel}="3"
ENV{INIT_VERSION}="sysvinit-2.86"
ENV{SHLVL}="3"
ENV{LC_MONETARY}="en_US"
ENV{_}="/usr/sbin/xinetd"
ENV{PATH}="/sbin:/usr/sbin:/bin:/usr/bin"
ENV{vga}="773"
ENV{REMOTE_HOST}="127.0.0.1"
ENV{TERM}="linux"
Connection closed by foreign host.

Notice the value of ENV{REMOTE_HOST}

Cheers
Tony

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network Interfaces Issue

2020-04-28 Thread Tony Schreiner
On Tue, Apr 28, 2020 at 2:40 PM Jared Jacob  wrote:

> I have two network interfaces configured on a server. I would like both of
> them to be configured to start on boot, but when I enable the second
> interface to start on boot I do not have access to the first network
> interface. The second interface is a private network and does not allow any
> communication our or in from any other interfaces.
>
> I can start the server with the first network interface being the only one
> enabled to start at boot and go in and activate the second interface which
> allows communication on both interfaces, but when they are both enabled to
> start on boot only the private interface can communicate.
>
> I am running Centos 7.7. Thanks in advance for any assistance you can
> provide.
>
> Jared Jacob
>
>
THe private interface configuration might be setting a default route for
itself, which is not what you want. If you are using the NetworkManager
widget to configure, make sure "use this connection only for resources on
this network" is set

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


Re: [CentOS] CentOS repo question

2020-04-23 Thread Tony Molloy
On Thu, 2020-04-23 at 09:29 -0500, joh...@centos.org wrote:
> > On Wed, 2020-04-22 at 08:25 -0500, joh...@centos.org wrote:
> > > 
> > 
> > Thanks Johnny. I'll go with the Stream repos enabled and see how
> > that
> > works out.
> > 
> 
> For the record .. i just updated to what we have in the QA stream and
> it
> worked OK .. I expect that out soon (next day or so i think)
> 
> 

Okay  Thanks I'll form the weekend and do a new install.

Regards,
Tony
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.o-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS repo question

2020-04-22 Thread Tony Molloy
On Wed, 2020-04-22 at 08:25 -0500, joh...@centos.org wrote:
> EXTERNAL EMAIL: This email originated from outside of the University
> of Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.



> On 4/21/20 2:09 PM, Tony Molloy wrote:
> > 
> > Hi All,
> > 
> > I've just installed a test laptop with CentOS Stream 8.1.
> > 
> > I notice that the default install has both CentOS-Base and
> > CentOS-Base-Appstream repos enabled. Is that necessary, or should I
> > just have the Appstream repos enabled.
> > 
> > The reason I'm asking is because I'm having trouble updating the
> > installation. The problem seems to be some installed rpms seem to
> > depend on updates from the CentOS-Base repos and others seem to
> > depend
> > on similar updates from the CentOS-Base-Appstream repos and you
> > can't
> > install both.
> > 
> > A typical error looks like this.
> > 
> > cannot install both qt5-qttools-common-5.12.5-1.el8.0.1.noarch and 
> > qt5-qttools-common-5.11.1-9.el8.noarch
> > 
> > qt5-qttools-common-5.11.1-9.el8.noarch is from CentOS-Base
> > 
> > qt5-qttools-common-5.12.5-1.el8.0.1.noarch is from
> > CentOS-Base-Appstream
> > 
> > So updating some installed rpm depends on updating to the Appstream
> > version of qt5-qttools and some other installed rpm depends on the
> > original CentOS-Base version of qt5-qttools.
> > 
> > I've played around with --allowerasing --best and --nobest but
> > still
> > can't get a clean update.
> 
> We are working out Stream issues right now .. but no, it is not
> necessary to have all the repos active.  You only have to have one
> set
> of Base, Appstream, and Extras enabled (CentOS Stream or CentOS
> Linux).
> 
> Stream standup is very much a work in progress at this point , but it
> is
> what i am using as my personal workstation (for whatever that is
> worth).
> 
> You SHOULD be able to have both sets enabled though .. and will be
> able
> to once we have all the issues solved .. but i don't have them both
> enabled on my workstation right now, just CentOS Stream.
> 
> Thanks,
> Johnny Hughes
> 
> 

Thanks Johnny. I'll go with the Stream repos enabled and see how that
works out.

Regards,

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


[CentOS] CentOS repo question

2020-04-21 Thread Tony Molloy

Hi All,

I've just installed a test laptop with CentOS Stream 8.1.

I notice that the default install has both CentOS-Base and
CentOS-Base-Appstream repos enabled. Is that necessary, or should I
just have the Appstream repos enabled.

The reason I'm asking is because I'm having trouble updating the
installation. The problem seems to be some installed rpms seem to
depend on updates from the CentOS-Base repos and others seem to depend
on similar updates from the CentOS-Base-Appstream repos and you can't
install both.

A typical error looks like this.

cannot install both qt5-qttools-common-5.12.5-1.el8.0.1.noarch and 
qt5-qttools-common-5.11.1-9.el8.noarch

qt5-qttools-common-5.11.1-9.el8.noarch is from CentOS-Base

qt5-qttools-common-5.12.5-1.el8.0.1.noarch is from
CentOS-Base-Appstream

So updating some installed rpm depends on updating to the Appstream
version of qt5-qttools and some other installed rpm depends on the
original CentOS-Base version of qt5-qttools.

I've played around with --allowerasing --best and --nobest but still
can't get a clean update.

Thanks,

Tony
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firefox unable to load pkcs11 module

2020-04-06 Thread Tony Schreiner
On Sun, Apr 5, 2020 at 4:27 PM nschehovin--- via CentOS 
wrote:

>  Hi Tony,
> Have you solved this problem yet?I took another approach and used CACkey
> which supportsUS Government PIV cards including the CAC.  In my case I set
> it up on Linux Mint but there is an rpm version of CACKey for 32 or 64 bit
> Centos.Here is the process I went through.
> - setup CAC card by following instructions on:
> https://help.ubuntu.com/community/CommonAccessCard
> sudo apt-get install libpcsclite1 pcscd pcsc-tools
> - download CACkey from https://cackey.rkeene.org/fossil/index
> sudo dpkg -i cackey_0.7.5-1_amd64.deb
> The above command failed with:
> "dpkg: error processing archive cackey_0.7.5-1_amd64.deb (--install):
>  unable to create '/libcackey.so.dpkg-new' (while processing
> './usr/lib64/libcackey.so'): No such file or directory
> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> Errors were encountered while processing:
>  cackey_0.7.5-1_amd64.deb"
>
> - as root I created the directory /usr/lib64 and ran the command
> again!!It Worked!!!
> - ran command pcsc_scan and it found my CAC
> - had to manually install the DoD root certificates
> - certificates were manually installed one at a time for both Thunderbird
> and Firefox
> It turned out to be much easier than I thought it would to get my PIV
> working on a Linux machine.
> Hope that helps.Ed
>
>
> On Thursday, April 2, 2020, 1:37:32 PM EDT, Tony Schreiner <
> anthony.schrei...@bc.edu> wrote:
>
>  On Thu, Apr 2, 2020 at 12:47 PM Tony Schreiner 
> wrote:
>
> > CentOS 7, In firefox -> privacy & security -> certificates -> security
> > devices
> > i am trying to load the pkcs11 modules, but get the error  unable to
> load.
> >
> > I am following the directions at
> > https://piv.idmanagement.gov/engineering/firefox/
> >
> > I have installed opensc and openssl-pkcs11, which
> > contains /usr/lib64/openssl/engines/pkcs11.so
> > and am using that is the module
> >
> > Has anybody here done that, and can offer advice?
> >
>
> Answering myself, though not completely solved.
>
> I should have instead been loading /usr/lib64/opensc-pksc11.so
> ___
>
>

I was advising someone at a remote site, so didn't see the full experience.
But once I provided the correct path for the module, he was able to load it
and complete the authentication. Sorry I don't have more details.

But thanks for the info, I'll save it.
Tony
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firefox unable to load pkcs11 module

2020-04-02 Thread Tony Schreiner
On Thu, Apr 2, 2020 at 12:47 PM Tony Schreiner 
wrote:

> CentOS 7, In firefox -> privacy & security -> certificates -> security
> devices
> i am trying to load the pkcs11 modules, but get the error  unable to load.
>
> I am following the directions at
> https://piv.idmanagement.gov/engineering/firefox/
>
> I have installed opensc and openssl-pkcs11, which
> contains /usr/lib64/openssl/engines/pkcs11.so
> and am using that is the module
>
> Has anybody here done that, and can offer advice?
>

Answering myself, though not completely solved.

I should have instead been loading /usr/lib64/opensc-pksc11.so
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] firefox unable to load pkcs11 module

2020-04-02 Thread Tony Schreiner
CentOS 7, In firefox -> privacy & security -> certificates -> security
devices
i am trying to load the pkcs11 modules, but get the error  unable to load.

I am following the directions at
https://piv.idmanagement.gov/engineering/firefox/

I have installed opensc and openssl-pkcs11, which
contains /usr/lib64/openssl/engines/pkcs11.so
and am using that is the module

Has anybody here done that, and can offer advice?

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


Re: [CentOS] lapack

2019-12-31 Thread Tony Schreiner
On Tue, Dec 31, 2019 at 1:24 PM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> Has anyone gotten lapack to work on centos 7?
> If so, how?
>
> Most recently, I installed lapace-devel and let yum bring in what it
> wanted.
> Whenever I try to link, I get a long list of undefined references ending
> with
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapacke.so:
> undefined reference to `dgeevx_'
>
> [hennebry@localhost test]$ nm -D /usr/lib64/libblas.so | grep dge
> 00018850 T dgemm_
> 00011080 T dgemv_
> 000170c0 T dger_
> [hennebry@localhost test]$
> confirmes that the reference is not there.
>
> Installing blas or atlas first does not help.
> When installing lapack-devel, yum always wants to install blas-devel.
>
> What do I need?
>
>
> Are you also include -llapack ?

cc -I /usr/include/lapacke  source.c -llapacke -llapack
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

2019-12-13 Thread Tony Mountifield
In article <5c2439dc6351659900b0c7ef421ae3f1e7b84fe4.ca...@biggs.org.uk>,
Pete Biggs  wrote:
> 
> > 
> > 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?
> > 
> 
> The environment variable $PAGER determines what pager to use.  The
> default is 'less'. User 
> 
>   export PAGER=more 
> 
> to use 'more' instead. Or
> 
>  export PAGER=
> 
> to not pipe to a pager.

This would also affect "man". Better to use SYSTEMD_PAGER.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


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

2019-12-13 Thread Tony Mountifield
In article ,
Mauricio Tavares  wrote:
> Comparing the output of systemctl between centos 7 and 8:
> 
> [...]
> 
> 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?

See https://bugzilla.redhat.com/show_bug.cgi?id=713567 for info. It's
more of the systemd-mindset disease, and Schmidt looked to be pretty
intransigent in the face of concerted objection some years ago.

You either have to use: systemctl --no-pager status firewalld
Or you have to first do: export SYSTEMD_PAGER=

Maybe you could put the latter into a file in /etc/profile.d to make
it system-wide:

# echo 'export SYSTEMD_PAGER=' >>/etc/profile.d/systemd.sh
# echo 'setenv SYSTEMD_PAGER ""' >>/etc/profile.d/systemd.csh

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Fri, 2019-12-06 at 20:28 +, tony.mol...@ul.ie wrote:
> > > > 
> > > > You kindly offered a working version of Mate 1.20 - does that
> > > > offer still stand? If so, I am interested in installing it on C
> > > > 7.

Oh you were looking for mate-1.20 for CentOS 7. Sorry for the noise,
should read the e-mail before replying ;-(
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about Mate Desktop on Centos 8?

2019-12-06 Thread Tony Molloy
On Wed, 2019-12-04 at 20:18 +0100, age...@meddatainc.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On 11/25/2019 11:14 PM, isdtor wrote:
> > > > Enable and start httpd. Write a build script that builds the
> > > > rpms in order, transfers them to the local repo, runs
> > > > createrepo, repeat. mozo needs python 3.5 and I couldn't do
> > > > that in mock (SCLo rh-python35).
> > > > 
> > > 
> > > You kindly offered a working version of Mate 1.20 - does that
> > > offer still stand? If so, I am interested in installing it on C
> > > 7.
> > 
> >  
> > At this point, that would be a bit painful. I rebuilt the C7 vm
> > here and lost all the rpms, so I'd have to rebuild them from the
> > sources I posted online. For which I'd have to recreate the build
> > script.
> > 
> > At least those files are still online ...
> > 
> > There was a recent post to the list where someoen ported the Fedora
> > rpms, does that help you?
> > 
> 
> I see, that is indeed unfortunate. Although I have been using Linux
> for some time, I am a complete beginner to compiling etc.
> 
> Do you have notes left?
> 

You can install MATE for CentOS 8 from the stenstorp repo

https://copr.fedorainfracloud.org/coprs/stenstorp/MATE/


I've been using it for some time with no problems.

Tony

-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] systemd: Failed unmounting /var on reboot, should I worry about fs corruption?

2019-11-27 Thread Tony Mountifield
In article ,
Ján Lalinský  wrote:
> Hi all,
> 
> I have Centos 8 installed on a physical machine (www6) with separate LVM
> volumes for /, /var, /var/lib/mysql etc.
> 
> System boot proceeds without a hiccup, in terminal systemctl status says
> everything is OK and running, journalctl says so as well - systemd
> mounts everything stated in fstab.
> 
> However, on reboot systemd echoes problems with filesystem on /var :
> 
> ...// unmounting all volumes
> 
> Nov 26 23:51:30 www6 systemd[1]: Unmounting /var...
> Nov 26 23:51:30 www6 umount[2118]: umount: /var: target is busy.
> Nov 26 23:51:30 www6 systemd[1]: Stopped target Swap.
> Nov 26 23:51:30 www6 systemd[1]: Deactivating swap
> /dev/disk/by-label/lv_swap...
> Nov 26 23:51:30 www6 systemd[1]: var.mount: Mount process exited,
> code=exited status=32
> Nov 26 23:51:30 www6 systemd[1]: Failed unmounting /var.
> 
> Then proceeds and reboots the machine. This occurs on every reboot.
> 
> Did anybody here encounter similar problems on reboot?
> 
> I found this bug
> 
> https://github.com/systemd/systemd/issues/867
> 
> which was closed without a definitive solution, the developer says the
> issue is hard to solve and just cosmetic since /var gets unmounted in
> the end anyway, which is strange because there is a log line about
> unmounting just about every other mountpoint and in the end of the
> journal, there are about 7 log lines about unmounting swap volume, but
> zilch about /var. If the system is getting down without proper unmount,
> data corruption can happen. I would feel much better if there were no
> such errors...

You need to un-hide and read the hidden comments on that bug. They give
a few different workarounds, but also indicate that the issue has indeed
been solved in a later version of systemd. But that was only in April of
this year; I don't know which version of upstream systemd was used in
RHEL/CentOS 8. Maybe the fixed version won't appear until 8.2? Some of
the workarounds such as lazy unmount for /var ought to work in the
meantime.

Cheers
Tony

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum install fails - itertoolsmodule.so

2019-11-08 Thread Tony Mountifield
In article <201911071633.27771.gary.stainb...@ringways.co.uk>,
Gary Stainburn  wrote:
> Hi Paddy,
> 
> I was suspecting the same, and from the output below I think you're right. 
> However, I was hoping I could just repair
> this problem for now, and worry about replacing the HDD later.  I need to 
> resume some services that also seem to
> generate this same error.
> 
> Gary
> 
> [root@zeppo services]# ll /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so
> -rwxr-xr-x. 1 root root 61976 Sep 15  2016 
> /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so
> [root@zeppo services]# cat /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so
> cat: /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so: Input/output error
> [root@zeppo services]#

If the file contains a bad block, maybe you could rename the file using mv
(which shouldn't involve reading its contents), so that the bad block isn't
freed, and then do the suggested "yum reinstall python-libs" to restore it?

Make sure that anything precious on that hard drive is backed up somewhere!

Cheers
Tony

> On Thursday 07 November 2019 16:25:54 Paddy Doyle wrote:
> > Hi Gary,
> > 
> > That "Input/output error" suggests a disk problem to me. Does that file
> > /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so actually exist and is
> > it readable?
> > 
> > Also look the the output of 'rpm -V python-libs' to see if rpm considers
> > the installed files to be corrupt.
> > 
> > If it's not that, then you could try 'yum reinstall python-libs'.
> > 
> > Paddy
> > 
> > On Thu, Nov 07, 2019 at 04:18:18PM +, Gary Stainburn wrote:
> > 
> > > I've just tried a yum update on one of my C7 boxes and got the following 
> > > output.
> > > 
> > > I'm guessing to fix this I need to re-install the RPM, but I can't remove 
> > > it because of dependancies, so how can I
> fix the problem?
> > > I've managed to download a later version of the RPM, but haven't managed 
> > > to find the same version as the one installed.
> > > 
> > > Gary
> > > 
> > > [root@zeppo ~]# yum install
> > > There was a problem importing one of the Python modules
> > > required to run yum. The error leading to this problem was:
> > > 
> > >/usr/lib64/python2.7/lib-dynload/itertoolsmodule.so: cannot read file 
> > > data: Input/output error
> > > 
> > > Please install a package which provides this module, or
> > > verify that the module is installed correctly.
> > > 
> > > It's possible that the above module doesn't match the
> > > current version of Python, which is:
> > > 2.7.5 (default, Sep 15 2016, 22:37:39) 
> > > [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]
> > > 
> > > If you cannot solve this problem yourself, please go to 
> > > the yum faq at:
> > >   http://yum.baseurl.org/wiki/Faq
> > >   
> > > 
> > > [root@zeppo ~]# rpm -qf 
> > > /usr/lib64/python2.7/lib-dynload/itertoolsmodule.so
> > > python-libs-2.7.5-39.el7_2.x86_64
> > > [root@zeppo ~]# 
> > > [root@zeppo ~]# rpm -e python-libs-2.7.5-39.el7_2.x86_64
> > > error: Failed dependencies:
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-lxml-3.2.1-4.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > yum-metadata-parser-1.1.4-10.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > pyliblzma-0.5.3-11.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > pyxattr-0.5.1-5.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > cmpi-bindings-pywbem-0.9.5-6.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-kmod-0.9-4.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > newt-python-0.52.15-4.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-setproctitle-1.1.6-5.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-ethtool-0.8-5.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-urwid-1.1.1-3.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > python-pycurl-7.19.0-17.el7.x86_64
> > > libpython2.7.so.1.0()(64bit) is needed by (installed) 
> > > PyYAM

Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 20:19 +, liam.p.oto...@gmail.com wrote:
> CAUTION: This email originated from outside of the University of
> Limerick. Do not click on links or open attachments unless you
> recognize the sender's email address and know the content is safe.
> On Wed, 06 Nov, 2019 at 19:45:22 +, Tony Molloy wrote:
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> 
> Greetings from Cork.
> 
> What terminal emulator are you using? Assuming it's gnome-terminal
> (the default), what
> is the output of the commands
> 
> gsettings get org.gnome.desktop.interface monospace-font-name
> 
'Monospace 11'

> and
> 
>     fc-match monospace
>
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"


I got the solution for the terminal problem. It was a setting in the
terminal preferences settings which I had unticked. So now for the
e-mail problem. This I assume is also a preferences problem with either
my theme selection or with evoloution itself.

Thanks for the reply,

Tony 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible Font problem with CentOS 7

2019-11-07 Thread Tony Molloy
On Wed, 2019-11-06 at 13:57 -0600,
> This is caused by the colour profile settings in your terminal
> program (gnome-terminal, mate-terminal, whatever).
> 
> Edit-Prefrences-Colors
> 
> I generally just check "use colors from system theme" but I suppose
> that would depend on what you're using for a system theme.  But the
> setting you need to fix is under Text and Background Color.
> 

Thanks, that sorted the terminal problem. Now for the e-mail problem.

Regards,

Tony

> On Wed, 06 Nov 2019 19:45:22 +
> Tony Molloy wrote:
> 
> > 
> > Hi,
> > 
> > I've got a possible font problem with a fully updated CentOS 7
> > system.
> > 
> > An example with the man command.
> > 
> > #man kill
> > 
> > Should return the following
> > 
> > KILL(1) User Commands   KILL(1)
> > 
> > NAME
> >kill - terminate a process
> > 
> > SYNOPSIS
> >kill [-s signal|-p] [-q sigval] [-a] [--] pid...
> >kill -l [signal]
> > 
> > 
> > but what I actually get is the following
> > 
> > KILL(1)   User CommandsKILL(1)
> > 
> > 
> >kill - terminate a process
> > 
> > 
> > [ signal| ] [ sigval] [ ] [ ] pid...
> > [signal]
> > 
> > Notice the missing text.
> > 
> > If I select the text and paste it into an editor I see the missing
> > text. So it's there just not displaying on the screen.
> > 
> > I also notice the effect with links embedded in e-mails. I use
> > evolution. Embedded links do not appear in the e-mail but if I
> > hover
> > over a link location then it appears in the text box at the bottom
> > of
> > the page and I can select it.
> > 
> > I suspect I'm missing some common font(s).
> > 
> > Any ideas.
> > 
> > Regards,
> > 
> > Tony
> > 
> > 
> > 
> > 
> > 
> > 
> > -- 
> > Tony Molloy 
> > Home
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > 
> 
> 
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Possible Font problem with CentOS 7

2019-11-06 Thread Tony Molloy


Hi,

I've got a possible font problem with a fully updated CentOS 7 system.

An example with the man command.

#man kill

Should return the following

KILL(1) User Commands   KILL(1)

NAME
   kill - terminate a process

SYNOPSIS
   kill [-s signal|-p] [-q sigval] [-a] [--] pid...
   kill -l [signal]


but what I actually get is the following

KILL(1)   User CommandsKILL(1)


   kill - terminate a process


[ signal| ] [ sigval] [ ] [ ] pid...
[signal]

Notice the missing text.

If I select the text and paste it into an editor I see the missing
text. So it's there just not displaying on the screen.

I also notice the effect with links embedded in e-mails. I use
evolution. Embedded links do not appear in the e-mail but if I hover
over a link location then it appears in the text box at the bottom of
the page and I can select it.

I suspect I'm missing some common font(s).

Any ideas.

Regards,

Tony






-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] udev on CEntOS7 - can't get a match, looking for tips...

2019-10-29 Thread Tony Mountifield
In article <7025a0a8-1471-530d-dad0-3770e902c...@uw.edu>,
John H Nyhuis  wrote:
> The mtx binary requires my tape library to be assigned a sg# driver, but 
> the kernel periodically renumbers the sg devices.  Normally, we would 
> write a udev rule to manually assign a persistent name, but it looks 
> like things have changed as I can't seem to get a match on CEntOS7.  I'd 
> appreciate any feedback or pointers to help me get my rule working.  My 
> two attempts are below.
> 
> cat /etc/udev/rules.d/90-local.rules
> 
> KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \
> ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8"
> 
> SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \
> ATTRS{model}=="Scalar i40-i80  ", SYMLINK:="sg8"

You have a typo: scsi_genric instead of scsi_generic.

Don't know if that is the reason.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Gstreamer1

2019-10-15 Thread Tony Mountifield
In article 
,
Jerry Geis  wrote:
> How do  I tell from source rpm's:
> 1) the build order of gstreamer packages
> 2) the command line args for the ./configure
> 
> For centos 7.

Look in the .spec file, specifically at the %prep, %build, and %install 
sections.

For more than you ever wanted to know, see http://ftp.rpm.org/max-rpm/
particularly chapter 13.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidGuard update in EPEL

2019-10-01 Thread Tony Mountifield
In article ,
Nicolas Kovacs  wrote:
> Le 01/10/2019 à 09:05, Liam O'Toole a écrit :
> > [...]
> > 
> > FWIW, the current release has squidguard 1.6
> > https://packages.debian.org/source/stable/squidguard
> 
> And this all begs the question: who's flying this plane?

According to that page, the maintainer is Joachim Wiedorn, joodeb...@joonet.de
I guess he could tell you!

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] audit freeing multiple contexts (when running certbot)

2019-09-17 Thread Tony Mountifield
Apologies if it's considered off-topic, but I'm not sure in what part
of the system the issue lies. So I am giving as much info as possible,
not knowing which is most relevant.

I have two VMs hosted on ESX, running CentOS 6.10
One has kernel 2.6.32-754.11.1.el6.i686 and the other has 
2.6.32-754.18.2.el6.i686
Both have selinux, currently in permissive mode.

On both machines we have noticed messages like the following appear in 
/var/log/messages
from time to time:

Sep 17 10:32:28 merlin kernel: audit(:0): major=252 name_count=0: freeing 
multiple contexts (1)
Sep 17 10:32:28 merlin kernel: audit(:0): major=355 name_count=0: freeing 
multiple contexts (2)
Sep 17 10:32:29 merlin kernel: audit(:0): major=252 name_count=0: freeing 
multiple contexts (1)
Sep 17 10:32:29 merlin kernel: audit(:0): major=355 name_count=0: freeing 
multiple contexts (2)

On further investigation, this only happens when certbot-auto runs (under 
python 3.4),
whether or not it renews the certificate.

The above instance was created by running the following command:

[root@merlin ~]# date ; cd /opt/letsencrypt && ./certbot-auto renew ; date
Tue Sep 17 10:32:24 BST 2019
/opt/eff.org/certbot/venv/lib/python3.4/site-packages/cryptography/hazmat/bindings/openssl/binding.py:163:
 CryptographyDeprecationWarning: OpenSSL version 1.0.1 is no longer supported 
by the OpenSSL project, please upgrade. A future version of cryptography will 
drop support for it.
  utils.CryptographyDeprecationWarning
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not yet due for renewal

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The following certs are not due for renewal yet:
  /etc/letsencrypt/live//fullchain.pem expires on 2019-11-15 (skipped)
No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tue Sep 17 10:32:30 BST 2019
[root@merlin letsencrypt]#

Has anyone else seen anything similar? Is it something that can be fixed,
or should be ignored?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I broke "yum update" - C7

2019-08-30 Thread Tony Mountifield
In article <201908300952.37126.gary.stainb...@ringways.co.uk>,
Gary Stainburn  wrote:
> On Thursday 29 August 2019 18:10:19 Alexander Dalloz wrote:
> > > 2019-08-29 17:23:18,117 exception: [Errno 14] curl#60 - "Peer's
> > > Certificate issuer is not recognized."
> > > 2019-08-29 17:23:18,117 retrycode (14) not in list [-1, 2, 4, 5, 6,
> > > 7], re-raising
> > 
> > [ ... ]
> > 
> > > Cannot retrieve metalink for repository: epel/x86_64. Please verify
> > > its path and try again
> > 
> > So can we check what version of the ca-certificates packages is being 
> > installed on your system?
> > 
> > And a check into a different direction: what's the date and time of that 
> > system? Does it fit or is it wrong? Time being not accurate can make SSL 
> > connections fail.
> 
> Firstly, thank you for you help with this Alexander.
> 
> I had already checked the system time. It was about 3 minutes out, but I 
> fixed it anyway.  I have checked the RPM for
> the certificates, and it matches the one on another box that works.
> 
> 
> [root@stan2 ~]# date
> Fri 30 Aug 09:45:27 BST 2019
> [root@stan2 ~]# rpm -qa|grep cert
> ca-certificates-2018.2.22-70.0.el7_5.noarch
> [root@stan2 ~]# 

Can you verify the ca-certificates package on both your systems and compare?
Here is what my C7 box shows (same version package as yours):

[root@hp3 ~]# rpm -Vv ca-certificates
./etc/pki/ca-trust
./etc/pki/ca-trust/README
.  c /etc/pki/ca-trust/ca-legacy.conf
./etc/pki/ca-trust/extracted
./etc/pki/ca-trust/extracted/README
./etc/pki/ca-trust/extracted/java
./etc/pki/ca-trust/extracted/java/README
.M...  g /etc/pki/ca-trust/extracted/java/cacerts
./etc/pki/ca-trust/extracted/openssl
./etc/pki/ca-trust/extracted/openssl/README
.M...  g /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
./etc/pki/ca-trust/extracted/pem
./etc/pki/ca-trust/extracted/pem/README
.M...  g /etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem
.M...  g /etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem
.M...  g /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
./etc/pki/ca-trust/source
./etc/pki/ca-trust/source/README
./etc/pki/ca-trust/source/anchors
./etc/pki/ca-trust/source/blacklist
.  g /etc/pki/ca-trust/source/ca-bundle.legacy.crt
./etc/pki/java
./etc/pki/java/cacerts
./etc/pki/tls
./etc/pki/tls/cert.pem
./etc/pki/tls/certs
./etc/pki/tls/certs/ca-bundle.crt
./etc/pki/tls/certs/ca-bundle.trust.crt
./etc/ssl
./etc/ssl/certs
./usr/bin/ca-legacy
./usr/bin/update-ca-trust
.  d /usr/share/doc/ca-certificates-2018.2.22/README
.  d /usr/share/man/man8/ca-legacy.8.gz
.  d /usr/share/man/man8/update-ca-trust.8.gz
./usr/share/pki
./usr/share/pki/ca-trust-legacy
./usr/share/pki/ca-trust-legacy/ca-bundle.legacy.default.crt
./usr/share/pki/ca-trust-legacy/ca-bundle.legacy.disable.crt
./usr/share/pki/ca-trust-source
./usr/share/pki/ca-trust-source/README
./usr/share/pki/ca-trust-source/anchors
./usr/share/pki/ca-trust-source/blacklist
./usr/share/pki/ca-trust-source/ca-bundle.trust.p11-kit
[root@hp3 ~]#

And you could try re-installing ca-certificates on the offending box.

# yum --disablerepo=\* --enablerepo=base --enablerepo=updates reinstall 
ca-certificates

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] browsers slowing Centos 7 installation to a crawl

2019-08-06 Thread Tony Mountifield
In article ,
Michael Hennebry  wrote:
> 
> I'll need to do some digging to discover whether my box needs DDR2 or 
> DDR3.DDR3 
> I doubt it's DDR4.

Do:

# dmidecode | less

and look for the entries for the existing RAM you have. It will also tell
you if you have any unpopulated RAM slots ("No module installed").

It won't tell you the maximum size RAM each slot will take. For that, you
would need to look up the specs for the motherboard or system (you can find
the model number in the dmidecode output too).

Or you can go to the website for a memory vendor such as Crucial or
Kingston and enter your model number, and it will tell you what RAM is
compatible and what it costs.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mariadb: How to delete foreign key constraint from non-existing table?

2019-04-24 Thread Tony Mountifield
In article ,
hwilmer  wrote:
> 
> Hi,
> 
> somehow phpmyadmin messed things up when I was trying to modify a table. 
>   The table disappeared, and now it's impossible to re-create it:
> 
> 
> MariaDB [time]> create table etikettend_metainfo (userID integer(6) 
> unsigned, stationsnummer integer(4) unsigned, primary key (userID));
> ERROR 1005 (HY000): Can't create table `time`.`etikettend_metainfo` 
> (errno: 150 "Foreign key constraint is incorrectly formed")
> MariaDB [time]> show tables like 'etikettend%';
> +--+
> | Tables_in_time (etikettend%) |
> +--+
> | etikettend_etikettentypen|
> | etikettend_stationen |
> +--+
> 2 rows in set (0.001 sec)
> 
> 
> Since the table has vanished, I'm finding myself unable to remove the 
> key constraints, and trying to disable them was also unsuccessful.
> 
> It is not necessary to recover the vanished table because it had just 
> been created and was still empty anyway.
> 
> But how do I fix this?

Have a look at the troubleshooting information at:
https://mariadb.com/kb/en/library/innodb-troubleshooting-overview/

You might also find useful information in the MySQL documentation at:
https://dev.mysql.com/doc/refman/5.5/en/innodb-troubleshooting-datadict.html

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] When should I reboot?

2019-04-13 Thread Tony Mountifield
In article ,
Kenneth Porter  wrote:
> I reboot when I yum update to a new kernel or systemd, which seems to come 
> out about once a month. Should I do it for this week's glibc? Is that 
> "core" enough to justify a reboot or should I wait for the next kernel 
> update? I know the glibc update was mainly to handle the new Japanese 
> calendar, so that shouldn't affect my usage. So my question is more about 
> how shared libraries work and whether anything bad would happen with 
> different forks of running services (mainly the mail suite with dovecot and 
> the various content scanners launched by sendmail) running different 
> versions of the library based on when they were started. 

That shouldn't matter. The running programs will have mapped the original
glibc into memory, which will create a reference to the original inode, even
though the directory entries pointing to it are gone. See the output of "lsof"
for one of those processes, and you will see the libraries tagged as (deleted).

Any program started after the glibc update will open and map the new libraries,
independently of any open instances of the old ones.

Both old and new libraries will occupy their own separate disk space until the
last reference to the old library is closed, by terminating all programs using
it, at which time the disk space occupied by the old libraries will be released.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel panic after removing SW RAID1 partitions, setting up ZFS.

2019-04-09 Thread Tony Mountifield
In article <6566355.ijnrhnp...@tesla.schoolpathways.com>,
Benjamin Smith  wrote:
> System is CentOS 6 all up to date, previously had two drives in MD RAID 
> configuration. 
> 
> md0: sda1/sdb1, 20 GB, OS / Partition
> md1: sda2/sdb2, 1 TB, data mounted as /home 
> 
> Installed kmod ZFS via yum, reboot, zpool works fine. Backed up the /home 
> data 
> 2x, then stopped the sd[ab]2 partition with: 
> 
> mdadm --stop /dev/md1; 
> mdadm --zero-superblock /dev/sd[ab]1; 

Did you mean /dev/sd[ab]2 instead?

> Removed /home in /etc/fstab. Used fdisk to set the partition type to gpt for 
> sda2 and sdb2, then built *then destroyed* a ZFS mirror pool using the two 
> partitions. 
> 
> Now the system won't boot, has a kernel panic. I'm remote, so I'll be going 
> in 
> tomorrow to see what's up. My assumption is that it has something to do with 
> mdadm/RAID not being "fully removed". 
> 
> Any idea what I might have missed? 

I think it's because you clobbered md0 when you did --zero-superblock on sd[ab]1
instead of 2.

Don't you love it when some things count from 0 and others from 1?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 on Dell Precision 7530

2019-03-11 Thread Tony Molloy
On Fri, 2019-03-08 at 18:25 +0100, wwp wrote:
> Hello,
> 
> does anybody have experience with installing and running CentOS 7 on
> Dell Precision 7530 series (w/ Intel gfx chipset if that matters)?
> It can be bought w/ Ubuntu 16.04 LTS pre-installed (which doesn't
> attract me at all), but prior to use such hw model at work, I'd like
> to
> understand where I'm going to. Especially after my bad experiences
> installing C7 on "modern" (read since skylake variants) hardware
> whereas Ubuntu variants went better, gosh. Or maybe I should wait for
> C8.
> 
> Of course I did dig the Internet for intel, found very few stuff and
> this: https://access.redhat.com/ecosystem/hardware/3431551
> 
> Regards,
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

I see you got no replies to your question so here goes.

I've got CentOS 7 running on a Dell Precision 7510 workstation. It has NVidia 
graphics 
but I've never had problems with Intel graphics on any CentOS box before. The 
install was 
straight forward and it runs like a dream. 

YMMV ;-)
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with mdadm, raid1 and automatically adds any disk to raid

2019-02-25 Thread Tony Mountifield
In article <20190225050144.ga5...@button.barrett.com.au>,
Jobst Schmalenbach  wrote:
> Hi.
> 
> CENTOS 7.6.1810, fresh install - use this as a base to create/upgrade new/old 
> machines.
> 
> I was trying to setup two disks as a RAID1 array, using these lines
> 
>   mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 
> /dev/sdc1
>   mdadm --create --verbose /dev/md1 --level=0 --raid-devices=2 /dev/sdb2 
> /dev/sdc2
>   mdadm --create --verbose /dev/md2 --level=0 --raid-devices=2 /dev/sdb3 
> /dev/sdc3
> 
> then I did a lsblk and realized that I used --level=0 instead of --level=1 
> (spelling mistake)
> The SIZE was reported double as I created a striped set by mistake, yet I 
> wanted the mirrored.
> 
> Here starts my problem, I cannot get rid of the /dev/mdX no matter what I do 
> (try to do).
> 
> I tried to delete the MDX, I removed the disks by failing them, then removing 
> each array md0, md1 and md2.
> I also did
> 
>   dd if=/dev/zero of=/dev/sdX bs=512 seek=$(($(blockdev --getsz 
> /dev/sdX)-1024)) count=1024
>   dd if=/dev/zero of=/dev/sdX bs=512 count=1024
>   mdadm --zero-superblock /dev/sdX
> 
> Then I wiped each partition of the drives using fdisk.

The superblock is a property of each partition, not just of the whole disk.

So I believe you need to do:

mdadm --zero-superblock /dev/sdb1
mdadm --zero-superblock /dev/sdb2
mdadm --zero-superblock /dev/sdb3
mdadm --zero-superblock /dev/sdc1
mdadm --zero-superblock /dev/sdc2
mdadm --zero-superblock /dev/sdc3

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing UID numbers

2019-02-21 Thread Tony Mountifield
In article <2f86eabc-697f-4f57-3a0a-f2e5da13d...@nist.gov>,
Chris Schanzle via CentOS  wrote:
> My guess is you used something like
> 
>    find -uid=500 -exec chown 1000 {} \;
> 
> This will start a chown process for each file, changing only one file at a 
> time.  That's a lot of work the system has
> to do for each file!  But you probably know chown (and similar utilities) 
> can take multiple file arguments, and 'find'
> can help you take advantage grouping many arguments with the '+' operator to 
> -exec:
> 
>    find -uid=500 -exec chown 1000 {} +

Well I never knew that! Thanks. For many years I have been doing: find ... 
-print0 | xargs -0 ...

Ah, I see the newer syntax was introduced in CentOS 5. :-)

Cheers
Tony

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /boot partition running out of space randomly. Please help!

2019-02-13 Thread Tony Mountifield
In article ,
Sean Son  wrote:
> Hello all
> 
> First off, I am running Oracle Linux 7.6 on a Hyper-V 2016 VM for a
> customer. I know this is not an Oracle Linux mailling list, but because
> Oracle Linux and CentOS are so similar, to an extent, I figured why not ask
> on here because someone MIGHT know the answer.. Here is the issue.  I have
> a 600MB /boot partition allocated on a UEFI system. The /boot/efi partition
> is on a separate EFI partition.  Recently, I noticed that this system has
> been crashing every few minutes and when I checked the disk space, I
> noticed that the /boot partition has zero free space available.  I removed
> all of the old kernels and left the running kernel in place, in hopes that
> will free up some space. It freed up about 50MB or so, but  then the system
> would crash again. After I would reboot the VM to bring the system back up,
> I ran a df -h /boot, and the results were reporting ZERO disk space again
> for the /boot partition.. It makes absolutely no sense how a partition
> which is generally static UNLESS you move something into it, is running out
> of space after space has been manually freed up in the partition! What
> boggles me even more is that when I do an ls -lh /boot, the file systems do
> not add up to 600M (well 594M) at all.  See below:
> 
> df -h
> Filesystem Size  Used Avail Use% Mounted on
> devtmpfs   2.8G 0  2.8G   0% /dev
> tmpfs  2.8G 0  2.8G   0% /dev/shm
> tmpfs  2.8G  8.5M  2.8G   1% /run
> tmpfs  2.8G 0  2.8G   0% /sys/fs/cgroup
> /dev/mapper/VolGroup00-LogVolRoot   30G   19G   12G  63% /
> /dev/sda2  594M  594M 0 100% /boot
> /dev/sda1  238M  9.7M  229M   5% /boot/efi
> /dev/mapper/VolGroup00-LogVolHome  3.3G  415M  2.9G  13% /home
> tmpfs  565M 0  565M   0% /run/user/54321
> tmpfs  565M 0  565M   0% /run/user/1000
> 
> ]$ ls -lh /boot
> total 92M
> -rw-r--r--  1 root root 179K Dec 12 22:52
> config-4.14.35-1844.0.7.el7uek.x86_64
> drwx--  3 root root  16K Dec 31  1969 efi
> drwx--. 2 root root   21 Feb  8 15:55 grub2
> -rw---. 1 root root  54M Aug 28 12:31
> initramfs-0-rescue-0287c4db206d4a9abe14f750b9091a01.img
> -rw---  1 root root  22M Dec 21 17:24
> initramfs-4.14.35-1844.0.7.el7uek.x86_64.img
> -rw-r--r--  1 root root 329K Dec 12 22:52
> symvers-4.14.35-1844.0.7.el7uek.x86_64.gz
> -rw-r--r--  1 root root 3.6M Dec 12 22:52
> System.map-4.14.35-1844.0.7.el7uek.x86_64
> -rwxr-xr-x. 1 root root 6.1M Aug 28 12:31
> vmlinuz-0-rescue-0287c4db206d4a9abe14f750b9091a01
> -rwxr-xr-x  1 root root 7.2M Dec 12 22:52
> vmlinuz-4.14.35-1844.0.7.el7uek.x86_64
> 
> I have no idea what is going on here and why the space keeps filling up and
> the VM crashing!  ANY and all help will be greatly appreciated! Thanks!

Firstly, to see the space taken by everything on /boot without including the
sub-mount /boot/efi, do this:

# du -axk /boot

Then if that doesn't account for all/most of the space, see if there are any
processes holding a deleted file open:

# fuser -m /boot

Like you, I don't know what might be trying to fill up /boot when you are not
installing a new kernel.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade CentOS 7.4 to 7.5 and don't want to upgrade it to 7.6

2019-01-07 Thread Tony Mountifield
In article <68ce2ebfe8545ef4eda869657c72b9be.squir...@webmail.bi.invoca.ch>,
Simon Matter via CentOS  wrote:
> > On Mon, Jan 7, 2019 at 5:49 PM Kenneth Porter 
> > wrote:
> >
> >> On 1/6/2019 10:51 PM, Kaushal Shriyan wrote:
> >> > the product does not support the latest CentOS Linux
> >> > release 7.6.1810 (Core) version as of now.
> >>
> >> What product and what, specifically, about 7.6 does it not support?
> >> Could you not just exclude the incompatible packages? You could then
> >> provide your own repo for the incompatible packages drawn from 7.5 and
> >> backport any security fixes for those packages yourself.
> >>
> >
> > Hi Kenneth,
> >
> > I am referring to https://docs.apigee.com/release/supported-software
> 
> Interesting, looking around apigee (part of Google) website I see a lot of
> words like "Security" or "TLS" and I'm wondering how this fits with only
> supporting outdated operating systems?

Well, it's only a month since CentOS "7.6" was released, and some of that
month has been taken up with Christmas holidays.

So I would think it is probably not a case of "we won't support 7.6" but rather
that "we haven't yet finished testing it on 7.6".

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 12:56 -0500, Stephen John Smoogen wrote:
> On Tue, 4 Dec 2018 at 12:18, Richard  net> wrote:
> > 
> > 
> > 
> > > Date: Tuesday, December 04, 2018 17:08:52 +
> > > From: Tony Molloy 
> > > 
> > > On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> > > > On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > OT for this list, but maybe I can get some pointers - how
> > > > > hard is
> > > > > it to get some packages updated in EPEL? The project web site
> > > > > sends you from link to link, and the ML web interface is
> > > > > horrible. No interest here to become a package maintainer or
> > > > > regular contributor.
> > > > > 
> > > > 
> > > > If you have interest in being a package maintainer or regular
> > > > contributor it can be very hard to get packages updated. EPEL
> > > > is
> > > > trying to mainly deal with people who want long term supported
> > > > package
> > > > sets with limited manpower to do so.
> > > > 
> > > > > I have taken it upon myself to rebuild MATE from Fedora 29,
> > > > > seeing that the current EPEL-7 packages are four revisions
> > > > > behind. Also updated a few packages to their latest upstream
> > > > > version.
> > > > 
> > > > If you are needing the latest upstream versions... I would say
> > > > you
> > > > are
> > > > probably going to need to maintain these things yourself. As
> > > > much
> > > > as you want/need the latest MATE or some other item there are
> > > > other
> > > > people who don't and EPEL package maintainers can't satisfy
> > > > both
> > > > demands.
> > > > 
> > > > > 
> > > > > ___
> > > > > CentOS mailing list
> > > > > CentOS@centos.org
> > > > > https://lists.centos.org/mailman/listinfo/centos
> > > > 
> > > > 
> > > 
> > > The problem is that the current version of Mate in the EPEL repos
> > > prevents updating from 7.5 to 7.6. There is a dependency problem
> > > with libgtop.
> > > 
> > > For example trying to update marco gives you.
> > > 
> > > Resolving Dependencies
> > > --> Running transaction check
> > > ---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
> > > --> Processing Dependency: libgtop-2.0.so.10()(64bit) for
> > > package:
> > > marco-1.16.1-3.el7.x86_64
> > > --> Finished Dependency Resolution
> > > Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
> > >    Requires: libgtop-2.0.so.10()(64bit)
> > >  You could try using --skip-broken to work around the problem
> > > 
> > > The same dependency holds for several mate packages.
> > > 
> > > So either hold back on the update until mate is updated or build
> > > it
> > > yourself are the choices..
> > > 
> > > Regards,
> > > 
> > > Tony.
> > 
> > The epel-testing repo resolves these dependencies, so include it
> > when
> > updating and things should be ok -- I just updated a mate desktop
> > system with no issues (it pulled about half a dozen items from
> > -testing).
> 
> 
> The maintainer of the Mate packages did not push the updated packages
> to EPEL until after CentOS-7.6 was out because he did not want to
> break 7.5 users. Now that 7.6.1810 is released, it should get
> promoted
> to epel in the next couple of days.
> 
> 

Great, thanks.

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


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Tue, 2018-12-04 at 09:16 -0800, Alice Wonder wrote:
> On 12/04/2018 09:08 AM, Tony Molloy wrote:
> 
> > 
> > The same dependency holds for several mate packages.
> > 
> > So either hold back on the update until mate is updated or build it
> > yourself are the choices..
> > 
> 
> Using EPEL-testing also solves the problem in many cases, might also
> be 
> able to build a temporary compat library package for old version of 
> libgtop until MATE packages are updated.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Yep I'm just running up a VM to test the epel-testing solution.

Regards,

Tony
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] EPEL update?

2018-12-04 Thread Tony Molloy
On Mon, 2018-12-03 at 07:44 -0500, Stephen John Smoogen wrote:
> On Mon, 3 Dec 2018 at 06:00, isdtor  wrote:
> > 
> > Hi,
> > 
> > OT for this list, but maybe I can get some pointers - how hard is
> > it to get some packages updated in EPEL? The project web site sends
> > you from link to link, and the ML web interface is horrible. No
> > interest here to become a package maintainer or regular
> > contributor.
> > 
> 
> If you have interest in being a package maintainer or regular
> contributor it can be very hard to get packages updated. EPEL is
> trying to mainly deal with people who want long term supported
> package
> sets with limited manpower to do so.
> 
> > I have taken it upon myself to rebuild MATE from Fedora 29, seeing
> > that the current EPEL-7 packages are four revisions behind. Also
> > updated a few packages to their latest upstream version.
> 
> If you are needing the latest upstream versions... I would say you
> are
> probably going to need to maintain these things yourself. As much as
> you want/need the latest MATE or some other item there are other
> people who don't and EPEL package maintainers can't satisfy both
> demands.
> 
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> 
> 

The problem is that the current version of Mate in the EPEL repos
prevents updating from 7.5 to 7.6. There is a dependency problem with
libgtop.

For example trying to update marco gives you.

Resolving Dependencies
--> Running transaction check
---> Package marco.x86_64 0:1.16.1-3.el7 will be installed
--> Processing Dependency: libgtop-2.0.so.10()(64bit) for package:
marco-1.16.1-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: marco-1.16.1-3.el7.x86_64 (epel)
   Requires: libgtop-2.0.so.10()(64bit)
 You could try using --skip-broken to work around the problem

The same dependency holds for several mate packages.

So either hold back on the update until mate is updated or build it
yourself are the choices..

Regards,

Tony.

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


Re: [CentOS] 'date' format differences between CentOS 6 and 7 using the en_GB locale ?

2018-11-15 Thread Tony Mountifield
In article <429fd6a2-d125-c231-b066-14a398da4...@moving-picture.com>,
James Pearson  wrote:
> Just noticed that the output of 'date' is different between CentOS 6 and 
> 7 when using the 'en_GB' locale - e.g.:
> 
> CentOS 6:
> 
>   % LANG=en_GB date
>   Thu Nov 15 11:42:46 GMT 2018
>   % LANG=en_US date
>   Thu Nov 15 11:42:56 GMT 2018
> 
> CentOS 7:
> 
>   % LANG=en_GB date
>   Thu 15 Nov 11:43:07 GMT 2018
>   % LANG=en_US date
>   Thu Nov 15 11:43:11 GMT 2018
> 
> i.e. with LANG=en_GB on CentOS 7, the day and month are swapped when 
> compared with CentOS 6
> 
> Any one know why the en_GB locale has changed between CentOS 6 and 7 ?
> 
> Thanks
> 
> James Pearson

Looks like a simple oversight or bug in RHEL 6 that was fixed for 7.
The latter is correct for UK standard usage. CentOS just follows RHEL.

It is defined in the file /usr/share/i18n/locales/en_GB

CentOS 6 has:

date_fmt"/

which translates to "%a %b %e", e.g. "Thu Nov 15"

CentOS 7 has:

date_fmt"/

which translates to "%a %e %b", e.g. "Thu 15 Nov"

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-05 Thread Tony Molloy
On Fri, 2018-10-05 at 17:55 +1300, Rob Kampen wrote:
> On 05/10/18 01:27, Tony Molloy wrote:
> > On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> > > On 04/10/18 05:45, Akemi Yagi wrote:
> > > > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > > > il.c
> > > > om> wrote:
> > > > 
> > > > > It would seem that the problem is with upstream-upstream's
> > > > > (aka
> > > > > Firefox) cleaning up of items that are not supposed to be
> > > > > there
> > > > > after
> > > > > Firefox 58
> > > > > 
> > > > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > > > 
> > > > > It looks like it is deleting files it thinks should have been
> > > > > converted to a newer more secure version.. but don't seem to
> > > > > be
> > > > > for
> > > > > some reason. I am not sure if those files will just removed
> > > > > again
> > > > > every time you restore them.
> > > > 
> > > > That link added to the related RHBZ:
> > > > 
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> > > 
> > > Yes, that seems to describe what I am experiencing. As I usually
> > > keep
> > > FF
> > > open for days at a time, it has taken a while to show up. Will
> > > now
> > > try the
> > > 
> > > $ export NSS_DEFAULT_DB_TYPE="sql"
> > > 
> > > > Akemi
> > > > 
> > 
> > Hi Akemi,
> > 
> > That sorted the problem for me, thanks.
> > Now to start re-entering all my previously stored passwords. Lucky
> > I
> > have a list of sites if not the usernames/passwords ;-(
> > 
> > Regards Tony
> 
> works for me too - will just need to make sure this goes somewhere
> safe 
> to ensure survival after a reboot.

Put it in your .bash_profile. Then it will be set in your environment
each time you boot.

Regards, Tony.

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


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-04 Thread Tony Molloy
On Thu, 2018-10-04 at 21:27 +1300, Rob Kampen wrote:
> On 04/10/18 05:45, Akemi Yagi wrote:
> > On Wed, Oct 3, 2018 at 9:19 AM Stephen John Smoogen  > om> wrote:
> > 
> > > It would seem that the problem is with upstream-upstream's (aka
> > > Firefox) cleaning up of items that are not supposed to be there
> > > after
> > > Firefox 58
> > > 
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
> > > 
> > > It looks like it is deleting files it thinks should have been
> > > converted to a newer more secure version.. but don't seem to be
> > > for
> > > some reason. I am not sure if those files will just removed again
> > > every time you restore them.
> > 
> > That link added to the related RHBZ:
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1633932
> 
> Yes, that seems to describe what I am experiencing. As I usually keep
> FF 
> open for days at a time, it has taken a while to show up. Will now
> try the
> 
> $ export NSS_DEFAULT_DB_TYPE="sql"
> 
> > 
> > Akemi
> > 


Hi Akemi,

That sorted the problem for me, thanks.
Now to start re-entering all my previously stored passwords. Lucky I
have a list of sites if not the usernames/passwords ;-(

Regards Tony
> > ___
> > 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
-- 
Tony Molloy 
Home
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Frefox update from firefox-60.2.0-1.el7.centos.x86_64 to 60.2.1-1.el7.centos.x86_64 lost master password

2018-10-03 Thread Tony Molloy
On Wed, 2018-10-03 at 12:08 +0200, Nicolas Thierry-Mieg wrote:
> On 10/03/2018 11:34 AM, Rob Kampen wrote:
> > Hi list,
> > 
> > Did an update to firefox last night and rebooted over night.
> > 
> > Today I find firefox started without asking for master password -
> > funny 
> > me thinks.
> > 
> > Try to log in to a web service I use and find that my password does
> > not 
> > appear.
> > 
> > Check preferences and find that no master password is set and the 
> > password list / table is empty.
> > 
> > As I do not trust my passwords to the cloud I do not save these to
> > my 
> > firefox profile . so back to manual entry for all my sites
> > wow 
> > going to be a slow month as I reset scores of passwords.
> > 
> > Any one else have this problem and any clues as to what causes
> > this? I 
> > am concerned if this should happen again, as I have saved passwords
> > for 
> > many scores of web services.
> 
> Hi,
> 
> haven't had that, but restoring logins.json and key3.db in 
> ~/.mozilla/firefox/.../ from your latest backup should do the trick.
> 

I had the same problem. Upgraded to the latest firefox last saturday
everything looked ok all day. Logged in on monday to find my master
password and all my stored passwords were gone. Unfortunately I had
done a backup of the home directories later on saturday. So restoring
the key3.db and logins.json files didn't work.

The problem seems to be with the key3.db file. When the latest firefox
(re)creates it, it has the wrong permissions

-rw---.  1 molloyt molloyt1137 Oct  3 16:09 logins.json
-rw---.  1 molloyt molloyt   16384 Oct  3 14:48 key3.db


I removed firefox, deleted the .mozilla directory and reinstalled
firefox. But the problem remains.

1. Delete the logins.json and key3.db files
2. Start firefox key3.db file created with the above permissions and
   selinux context looks ok
3. Set master password and a few account passwords
4. Check they're there in preferences, ok
   logins.json file created with above permissions
5. login/out a few times to the accounts to make sure everything
   works,ok
6. Shutdown firefox and restart it, account settings ok and working
   but key3.db file gone
7. Shutdown firefox and restart it, master password and accounts gone
   check recreated key3.db file and it has permissions as above.

I'm stumped.
Any ideas gratefully accepted ;-)

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


Re: [CentOS] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 11:33 AM Robert Moskowitz 
wrote:

>
>
> On 08/06/2018 11:11 AM, Tony Schreiner wrote:
> > On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
> > wrote:
> >
> >> Nicolas,
> >>
> >> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> >> read the actual commands, if not all the wonderful comments...
> >>
> >> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> >>> Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> >>>> But notes that this installs Gnome (which I don't want) and that
> >> instead to
> >>>> yum groupinstall “X Window System”
> >>>>
> >>>> But has concerns if this installs all needed followed up with
> >>>>
> >>>> yum groupinstall "Xfce"
> >>>>
> >>>> Thing is on armhfp, I do not have “X Window System” or "Xfce"
> >>> I can partially answer your question, since I'm running Xfce both on my
> >>> workstation and my laptop.
> >> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> >> Centos systems so far.
> >>
> >>> Here's my custom script that installs a full-blow bells-and-whistles
> >>> Xfce desktop from a minimal CentOS installation, without any
> unnecessary
> >>> packages.
> >>>
> >>>
> >>
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >>> Once you've installed the "X Window System" group and you invoke "yum
> >>> groupinstall Xfce", the group consists of not much more than a dozen
> >>> explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then
> -
> >>> of course - all the dependencies are installed. Give this a spin on an
> >>> x86_64 machine and then write down this relatively short list.
> >> I don't have an x86_64 machine with Centos on it.  I would have to play
> >> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> >> (other than the ClearOS one) are ARM.
> >>
> >> The armhfp repos (including epel) do not have either the "X Windows
> >> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> >> the content of those groups.  Hopefully the source scripts so I can
> >> modify them (as needed) for armhfp.
> >>
> >> It would seem that there is a source file somewhere in the source tree
> >> with the script(s) contents.
> >>
> >> thanks
> >>
> >>
> > In the file
> >
> 5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
> > from the repodata in the Epel 7 repository there is the following for the
> > Xfce group, is this helpful to you?
>
> Yes!  I can pull out the rpm list and build a file to feed into yum.
>
> Can you point out the URL for all the groups?  I am also going to need
> the "X Windows System" group, I believe (and should compare it to the
> Server GUI group).
>
> Thanks
>
>

The comps file i searched was (for example)

http://fedora-epel.mirror.lstn.net/7/x86_64/repodata/5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml

you can choose any Fedora/Epel mirror

But the "X Window System" group is in CentOS base, look for one of those
mirrors (for example)
http://mirror.atlanticmetro.net/centos/7.5.1804/os/x86_64/repodata/d87379a47bc2060f833000b9cef7f9670195fe197271d37fce5791e669265e8b-c7-x86_64-comps.xml

do
grep ""  your-comps.xml-fil
to see all the names
then page it and search for "X Window System" in your case
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Back to Xfce

2018-08-06 Thread Tony Schreiner
On Mon, Aug 6, 2018 at 10:55 AM Robert Moskowitz 
wrote:

> Nicolas,
>
> Thank you!  But I am Dyslexic and very mono-linguistic; at least I could
> read the actual commands, if not all the wonderful comments...
>
> On 08/06/2018 10:26 AM, Nicolas Kovacs wrote:
> > Le 06/08/2018 à 16:05, Robert Moskowitz a écrit :
> >> But notes that this installs Gnome (which I don't want) and that
> instead to
> >>
> >> yum groupinstall “X Window System”
> >>
> >> But has concerns if this installs all needed followed up with
> >>
> >> yum groupinstall "Xfce"
> >>
> >> Thing is on armhfp, I do not have “X Window System” or "Xfce"
> > I can partially answer your question, since I'm running Xfce both on my
> > workstation and my laptop.
>
> I switched to Xfce with Fedora 20 and have put up with Gnome on my
> Centos systems so far.
>
> > Here's my custom script that installs a full-blow bells-and-whistles
> > Xfce desktop from a minimal CentOS installation, without any unnecessary
> > packages.
> >
> >
> https://github.com/kikinovak/centos-7-desktop-xfce/blob/master/postinstall.sh
> >
> > Once you've installed the "X Window System" group and you invoke "yum
> > groupinstall Xfce", the group consists of not much more than a dozen
> > explicit core packages (Thunar, xfdesktop, xfce4-panel, etc.) and then -
> > of course - all the dependencies are installed. Give this a spin on an
> > x86_64 machine and then write down this relatively short list.
>
> I don't have an x86_64 machine with Centos on it.  I would have to play
> with Qemu VM for centos on this Fedora 28 notebook.  All my servers
> (other than the ClearOS one) are ARM.
>
> The armhfp repos (including epel) do not have either the "X Windows
> System" or "Xfce" (and any sub-groups that calls).  So I am asking for
> the content of those groups.  Hopefully the source scripts so I can
> modify them (as needed) for armhfp.
>
> It would seem that there is a source file somewhere in the source tree
> with the script(s) contents.
>
> thanks
>
>
In the file
5307666922f0cd10058b04791f3f596cfcaab48df6fdd6cf847f349bd455e0bd-comps-Everything.x86_64.xml
from the repodata in the Epel 7 repository there is the following for the
Xfce group, is this helpful to you?



  Thunar

  xfce-utils

  xfce4-panel

  xfce4-session

  xfce4-settings

  xfconf

  xfdesktop

  xfwm4

  NetworkManager-gnome

  gdm

  leafpad

  openssh-askpass

  orage

  polkit-gnome

  thunar-archive-plugin

  thunar-volman

  tumbler

  xfce4-appfinder

  xfce4-icon-theme

  xfce4-power-manager

  xfce4-pulseaudio-plugin

  xfce4-session-engines

  xfce4-terminal

  xfwm4-theme-nodoka

  xfwm4-themes

  pinentry-gtk


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


Re: [CentOS] ssm vs. lvm: moving physical drives and volume group to another system

2018-07-14 Thread Tony Schreiner
On Sat, Jul 14, 2018 at 2:02 PM Mike <1100...@gmail.com> wrote:

> On Sat, Jul 14, 2018 at 1:57 PM Tony Schreiner 
> wrote:
> >
> > >
> > > Is that first entry /dev/mapper/lvol001 right?
> > I'd expect /dev/mapper/lvm_pool-lvo001
>
> ssm list shows -
>
> /dev/lvm_pool/lvol001
>
> When I place /dev/lvm_pool/lvol001 into /etc/fstab the computer will
> boot using kernel 514.
> Kernel 862 still hangs/panics.
>
>
I don't have an answer to why kernel 514 is not booting,
but what I was trying to say is:

/dev/lvm_pool/lvol001
and
/dev/mapper/lvm_pool-lvol001
are both symlinks to the same /dev/dm-X device file.
You can use either name, but the one you listed was missing the volume
group name
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssm vs. lvm: moving physical drives and volume group to another system

2018-07-14 Thread Tony Schreiner
On Sat, Jul 14, 2018 at 1:36 PM Mike <1100...@gmail.com> wrote:

> When I change /etc/fstab from /dev/mapper/lvol001 to
> /dev/lvm_pool/lvol001, kernel 3.10.0-514 will boot.
>
> Kernel 3.10.0-862 hangs and will not boot.
> On Sat, Jul 14, 2018 at 1:20 PM Mike <1100...@gmail.com> wrote:
>
> Is that first entry /dev/mapper/lvol001 right?
I'd expect /dev/mapper/lvm_pool-lvo001
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix, system notifications and local servers

2018-06-25 Thread Tony Mountifield
In article <7919547a-2a23-901f-607e-5aef7300f...@microlinux.fr>,
Nicolas Kovacs  wrote:
> Hi,
> 
> I have CentOS 7 running on half a dozen public servers. For some stuff
> like automatic updates using yum-cron, I have Postfix installed with a
> relatively basic configuration. This allows me to send important
> notifications to my mail address i...@microlinux.fr. When there's a
> batch of updates, I get one mail per machine, so I can check quickly if
> everything went OK without having to connect to the server.
> 
> Now I'd also like to use this setup on machines that aren't in a
> datacenter and facing the Internet. For example, servers that have
> "dummy" hostnames like nestor.microlinux.lan or sauvegarde.scholae.lan.
> Is there a way I can setup Postfix so this machine can send an e-mail to
> i...@microlinux.fr, even if 'hostname --fqdn' returns a "dummy" hostname?

When you say "[not] facing the Internet", do those machines actually have
access to any other machines that ARE facing the internet? If not, then
you have to think "what possible route could an email take from the machine
to the email server for microlinux.fr?"

If they do have access to an internet-connected machine, then you could
set up postfix on the source machines to relay all emails via a suitable
SMTP mail relay. You do this by setting the "relayhost" option in the
config file /etc/postfix/main.cf. There are plenty of examples available
via Google.

You also need to think "What happens if an email from nestor.microlinux.lan
bounces for some reason? Where would the bounce go? If the sender address
is indeed in the .lan domain, the bounce would be undeliverable, so you
might want to investigate sender address masquerading.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Use EPEL without redirection ?

2018-05-22 Thread Tony Mountifield
In article <3be1bec7-3d50-f8df-7012-982573d9a...@microlinux.fr>,
Nicolas Kovacs <i...@microlinux.fr> wrote:
> Hi,
> 
> Is there any way to deactivate the redirection to a mirror when using
> the third-party EPEL repository ?
> 
> Our network uses a transparent HTTP/HTTPS proxy with a local AC. We can
> create exceptions for sites like centos.org or
> download.fedoraproject.org, but whenever we want to install a package
> from EPEL, the mirror redirection causes an error due to redirection.
> 
> Any suggestions ?

Firstly in /etc/yum.repos.d/epel.repo you need to use baseurl instead
of mirrorlist. I assume you are already doing this.

So then you need to do a curl -i to the baseurl (change $basearch to either
i386 or x86_64) to see where it is redirecting you. For example:

$ curl -i http://download.fedoraproject.org/pub/epel/6/i386
HTTP/1.1 302 Found
Date: Tue, 22 May 2018 09:04:35 GMT
Server: Apache/2.4.29 (Fedora) mod_wsgi/4.5.15 Python/2.7
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin
Content-Length: 0
Location: 
https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/
Content-Type: text/html; charset=UTF-8
AppTime: D=4793
AppServer: proxy14.fedoraproject.org

Then edit baseurl in epel.repo to use the URL listed in Location: instead, 
changing
the i386 or x86_64 back to $basearch

Then you can create an exception for the specific host you configured.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Vmware - Slightly off topic

2018-04-24 Thread Tony Mountifield
In article <cabr8-b6fcngogynq66nnmkslchatqa4orl09xy6abprv4h+...@mail.gmail.com>,
Jerry Geis <jerry.g...@gmail.com> wrote:
> Hi All,
> 
> What is the correct way to provide a CentOS 7 - WMware image for ESX ?
> 
> As an amateur to VMware - I thought - great I can get VMplayer and ESX
> should be able to import my image... Wrong... I even went through the
> trouble of "converting" to VMWare workstation and thinking ESX could import
> that - Apparently still Wrong...  I cannot for the life of me understand
> how one product family is so incompatible with itself. But that is another
> story.
> 
> I just want to be able to provide a pre-built image with CentOS 7 and my
> other programs on a bootable VMware image that is easily imported into any
> VMware platform - Workstation, ESX or other.
> 
> How is that accomplished ?
> Thanks for your thoughts and experience.

Looking at the results for 
https://www.google.co.uk/search?q=how+to+export+a+vmware+image
it looks like you need to export a built, working VM as an OVF.

Not sure which VMware products can do that. Possibly Workstation? The old, free
VMware server 1.0.10 that I use doesn't appear to have that feature.

You should then be able to copy the OVF file to another VMware host an import 
it.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring centos.org

2018-01-29 Thread Tony Mountifield
In article <canzsmmm6c_f+nupdjd+mgdexajvcfc1bdhpwdessbc2cr7d...@mail.gmail.com>,
Felipe Westfields <felipe.westfie...@gmail.com> wrote:
> Hello,
> 
> I would like to mirror the centos.org repository for an offline network. I
> don't need the ISO images, don't need any i386 stuff, and I think I
> probably don't need any of the source code rpms either. Most of the clients
> are CentOS 6.x, so I don't want to download the CentOS 7.x tree yet either
> (that will come soon, but separately from this one).
> 
> I tried using this command, but it still downloaded all of the i386
> sub-folders anyway, and I got about 15 gigs or so of stuff I didn't want.
> 
> wget -m -np --exclude-directories=i386 http://mirror.centos.org/centos-6/6/
> 
> I'm guessing there's a formatting mistake of some kind in this command. Do
> you need to specify the excluded sub-folders relative to the top directory
> you're downloading from? i.e. rather than "i386", you'd need to specify
> "/centos-6/6/updates/i386/"?

Don't use wget at all. Use rsync instead, from a mirror that supports it.
Here is what I use (in a nightly cron):

# cd /myrepo
# rsync -rltHvz --delete 
rsync://rsync.mirrorservice.org/mirror.centos.org/6/os/i386/ centos6/os/i386/
# rsync -rltHvz --delete 
rsync://rsync.mirrorservice.org/mirror.centos.org/6/updates/i386/ 
centos6/updates/i386/
# rsync -rltHvz --delete 
rsync://rsync.mirrorservice.org/mirror.centos.org/6/os/x86_64/ 
centos6/os/x86_64/
# rsync -rltHvz --delete 
rsync://rsync.mirrorservice.org/mirror.centos.org/6/updates/x86_64/ 
centos6/updates/x86_64/

Omit the ones you don't want.

There are other ideas listed at https://wiki.centos.org/HowTos/CreateLocalMirror

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] R: dplyr, doBy, and ggplot2 in CentOS7

2017-10-30 Thread Tony Schreiner
On Mon, Oct 30, 2017 at 10:27 AM, Larry Martell <larry.mart...@gmail.com>
wrote:

> I have a R script that I am running from python with rpy2. On a debian
> system I run this:
>
> apt-get install R-cran-ggplot2 R-cran-caret
>
> And the script works. I want to move this to CentOS 7 system. There it
> cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
> packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
>


They are not in the CentOS or epel distros. I have built both dplyr and
ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from
epell) and rpmbuild. They both require building several other R packages,
and a bit of tweaking to the %files portion of the spec file, but are
doable. I've never tried doBy or caret.
Feel free to contact me directly for more information,

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


Re: [CentOS] Comparing directories recursively

2017-10-30 Thread Tony Mountifield
In article <20171027175431.e265479c4f9b4658fe217...@sasktel.net>,
Frank Cox <thea...@sasktel.net> wrote:
> On Sat, 28 Oct 2017 00:47:32 +0200
> Leon Fauster wrote:
> 
> > source:
> > 
> > find . -type f -exec md5sum \{\} \; > checksum.list
> > 
> > destination:
> > 
> > md5sum -c checksum.list
> 
> Wouldn't diff be faster because it doesn't have to read to the end of every 
> file and it isn't really calculating
> anything?  Or am I looking at this in the wrong way.

If the files are the same (which is what the OP is hoping), then diff does
indeed have to read to the end of both files to be certain of this. Only
if they differ can it stop reading the files as soon as a difference
between them is found.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Bash help

2017-10-25 Thread Tony Mountifield
In article ,
  wrote:
> Warren Young wrote:
> > On Oct 25, 2017, at 10:02 AM, Mark Haney  wrote:
> >>
> >> I have a file with two columns 'email' and 'total' like this:
> >>
> >> m...@example.com 20
> >> m...@example.com 40
> >> y...@domain.com 100
> >> y...@domain.com 30
> >>
> >> I need to get the total number of messages for each email address.
> >
> > This screams out for associative arrays.  (Also called hashes,
> > dictionaries, maps, etc.)
> >
> > That does limit you to CentOS 7+, or maybe 6+, as I recall.  CentOS 5 is
> > definitely out, as that ships Bash 3, which lacks this feature.
> 
> Associative arrays?
> 
> Awk! Awk! (No, I am not a seagull...)
> 
> sort file | awk '{ array[$1] += $2;} END { for (i in array) { print i "\t"
> array[i];}'

Why the sort? It doesn't matter in what order the lines are read.
Wouldn't this give you the same?

awk '{ array[$1] += $2;} END { for (i in array) { print i "\t" array[i];}}' 
http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] multipath

2017-10-03 Thread Tony Schreiner
I have inherited a system set up with multipath, which is not something I
have seen before so I could use some advice


The system is a Dell R420 with 2 LSI SAS2008 HBAs, 4 internal disks, and a
MD3200 storage array attached via SAS cables. Oh and CentOS 6

lsblk shows the following:
NAMEMAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sdd   8:48   0 931.5G  0 disk
├─sdd18:49   0 931.5G  0 part
└─mpathi (dm-0) 253:00 931.5G  0 mpath
sdc   8:32   0 931.5G  0 disk
├─sdc18:33   0  1000M  0 part  /boot
├─sdc28:34   0  31.3G  0 part  /
├─sdc38:35   0  31.3G  0 part  [SWAP]
├─sdc48:36   0 1K  0 part
├─sdc58:37   0 184.5G  0 part  /home
└─sdc68:38   0 683.6G  0 part  /data01
sde   8:64   0 931.5G  0 disk
├─sde18:65   0 931.5G  0 part
└─mpathj (dm-1) 253:10 931.5G  0 mpath
  └─mpathjp1 (dm-8) 253:80 931.5G  0 part  /data02
sdf   8:80   0 931.5G  0 disk
├─sdf18:81   0 931.5G  0 part
└─mpathk (dm-2) 253:20 931.5G  0 mpath
sda   8:0051T  0 disk
├─sda18:10  12.8T  0 part
├─sda28:20  12.8T  0 part
├─sda38:30  12.8T  0 part
├─sda48:40  12.8T  0 part
└─mpathe (dm-3) 253:3051T  0 mpath
  ├─mpathep1 (dm-4) 253:40  12.8T  0 part  /SAN101
  ├─mpathep2 (dm-5) 253:50  12.8T  0 part  /SAN102
  ├─mpathep3 (dm-6) 253:60  12.8T  0 part  /SAN103
  └─mpathep4 (dm-7) 253:70  12.8T  0 part  /SAN104
sdb   8:16   051T  0 disk
├─sdb18:17   0  12.8T  0 part
├─sdb28:18   0  12.8T  0 part
├─sdb38:19   0  12.8T  0 part
├─sdb48:20   0  12.8T  0 part
└─mpathe (dm-3) 253:3051T  0 mpath
  ├─mpathep1 (dm-4) 253:40  12.8T  0 part  /SAN101
  ├─mpathep2 (dm-5) 253:50  12.8T  0 part  /SAN102
  ├─mpathep3 (dm-6) 253:60  12.8T  0 part  /SAN103
  └─mpathep4 (dm-7) 253:70  12.8T  0 part  /SAN104

sda and sdb are two views of the unit on the MD, sdc is the boot and root
disk, one of the disks sde (mpathj) has a mounted file system, the
remaining two do not.
here is df:
Filesystem   Type   Size  Used Avail Use% Mounted on
/dev/sdc2ext431G   26G  4.0G  87% /
tmpfstmpfs   16G   92K   16G   1% /dev/shm
/dev/sdc1ext4   969M  127M  793M  14% /boot
/dev/sdc6ext4   673G  242G  398G  38% /data01
/dev/mapper/mpathjp1 ext4   917G  196G  676G  23% /data02
/dev/sdc5ext4   182G  169G  3.9G  98% /home
/dev/mapper/mpathep1 ext413T   11T 1005G  92% /SAN101
/dev/mapper/mpathep2 ext413T  5.0T  7.0T  42% /SAN102
/dev/mapper/mpathep3 ext413T  4.9T  7.1T  42% /SAN103
/dev/mapper/mpathep4 ext413T  8.2T  3.8T  69% /SAN104


So a few questions:

Is there any value in using multipath on the 4 internal drives; do they
actually have multiple data paths?

Why does multipath not create a mpath device for the system disk sdc, there
is no blacklist in the mulitpath.conf file.
If I do a dry-run mulitpath -d command, it sets up mpathh on sdc, but
apparently not on boot. Why not?
I should say that the system has not been rebooted since well before I took
it over, it has been up for over 400 days.

the sdd and sdf disks have a single partition, but apparently no mpath
device for the partition, how to I create one?


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


Re: [CentOS] rkhunter and prelink

2017-08-30 Thread Tony Schreiner
in my prior message, that should be in rkhunter.conf

On Wed, Aug 30, 2017 at 11:43 AM, Tony Schreiner <anthony.schrei...@bc.edu>
wrote:

> This has come up for me on the most recent upgrade, add the line
>
> HASH_CMD=sha1sum
>
> On Wed, Aug 30, 2017 at 11:15 AM, <m.r...@5-cent.us> wrote:
>
>> Can't remember if I posted this before... We're getting warnings from
>> rkhunterWarning: Checking for prerequisites   [ Warning ]
>>All file hash checks will be skipped because:
>>This system uses prelinking, but the hash function command does not
>> look like SHA1 or MD5.
>>
>> Now, googling, I find people saying to rm /etc/prelink.cache, then run
>> rkhunter --propupd.
>>
>> Works. And then, prelink runs in the middle of the night, via
>> /etc/cron.daily, and when the cron job of rkhunter runs, it's back to
>> complaining.
>>
>> Anyone have any ideas what's going on here? I don't see anything in the
>> prelink.conf, or any options in the prelink manpage to tell is what hash
>> to use.
>>
>>  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] rkhunter and prelink

2017-08-30 Thread Tony Schreiner
This has come up for me on the most recent upgrade, add the line

HASH_CMD=sha1sum

On Wed, Aug 30, 2017 at 11:15 AM,  wrote:

> Can't remember if I posted this before... We're getting warnings from
> rkhunterWarning: Checking for prerequisites   [ Warning ]
>All file hash checks will be skipped because:
>This system uses prelinking, but the hash function command does not
> look like SHA1 or MD5.
>
> Now, googling, I find people saying to rm /etc/prelink.cache, then run
> rkhunter --propupd.
>
> Works. And then, prelink runs in the middle of the night, via
> /etc/cron.daily, and when the cron job of rkhunter runs, it's back to
> complaining.
>
> Anyone have any ideas what's going on here? I don't see anything in the
> prelink.conf, or any options in the prelink manpage to tell is what hash
> to use.
>
>  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] System Start-Up Issue Progress

2017-07-04 Thread Tony Mountifield
In article <374968789.4117139.1499169677...@mail.yahoo.com>,
Chris Olson <chris_e_ol...@yahoo.com> wrote:
> My thanks to all that responded to my posting about our virtual
> machine CentOS 6 system start-up issue.  I found the alternative
> boot options to be the most helpful.  Interrupting the boot-up
> process with Alt-d or Escape allowed me to see what appears to
> be a quite normal string of start, install and mount activity.
> However, this process ends with the system hanging at the point
> below: 
> 
> Starting ipmidetectd: ipmidetectd: No nodes configured  [FAILED]
> Starting sendmail:
> 
> It is not clear to me whether the boot-up process is hanging due
> to the failed starting of ipmidetectd or sendmail, but I suspect
> that the ipmidetectd start up failure is the actual cause. It is
> not clear whether any IPMI related features were ever installed.

As another respondent said, the problem won't be ipmidetectd, as
that has successfully reported [FAILED].

So the problem is sendmail hanging during start-up.

I have in the past seen sendmail take an inordinately long time
to start up if it is unable to resolve or discover its hostname
in DNS.

You would probably find that if you waited a couple of minutes,
sendmail would eventually either start or fail, and the boot
continue.

But in the meantime, check your network configuration and the 
contents of /etc/resolv.conf. Make sure all nameservers listed
in that file do actually respond, and are able to resolve queries
for the machine's full hostname and IP address.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Low random entropy

2017-05-28 Thread Tony Mountifield
In article <792718e8-f403-1dea-367d-977b157af...@htt-consult.com>,
Robert Moskowitz <r...@htt-consult.com> wrote:
> 
> 
> On 05/26/2017 08:35 PM, Leon Fauster wrote:
> >> Am 27.05.2017 um 01:09 schrieb Robert Moskowitz <r...@htt-consult.com>:
> >>
> >> I am use to low random entropy on my arm boards, not an intel.
> >>
> >> On my Lenovo x120e,
> >>
> >> cat /proc/sys/kernel/random/entropy_avail
> >>
> >> reports 3190 bits of entropy.
> >>
> >> On my armv7 with Centos7 I would get 130 unless I installed rng-tools and 
> >> then I get ~1300.  SSH into one and it
> drops back to 30! for a few minutes.  Sigh.
> >>
> >> Anyway on my new Zotac nano ad12 with an AMD E-1800 duo core, I am seeing 
> >> 180.
> >>
> >> I installed rng-tools and no change.  Does anyone here know how to improve 
> >> the random entropy?
> >
> > http://issihosts.com/haveged/
> >
> > EPEL: yum install haveged
> 
> WOW!!!
> 
> installed, enabled, and started.
> 
> Entropy jumped from ~130 bits to ~2000 bits
> 
> thanks
> 
> Note to anyone running a web server, or creating certs.  You need 
> entropy.  Without it your keys are weak and attackable.  Probably even 
> known already.

Interesting. I just did a quick check of the various servers I support,
and have noticed that all the CentOS 5 and 6 systems report entropy in
the low hundreds of bits, but all the CentOS 4 systems and the one old
FC3 system all report over 3000 bits.

Since they were all pretty much stock installs, what difference between
the versions might explain what I observed?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ignoring /run/user/X

2017-04-12 Thread Tony Mountifield
In article <cablobcmg4irxk7cw6xyhz9g6_0jug9_lq33zvyhdqe-jaxo...@mail.gmail.com>,
Cameron Smith <came...@networkredux.com> wrote:
> We are running into an issue relating to snmpd and the temporary partitions
> created in /run/user/ so any insight by someone with magical
> net-snmp skills would be much appreciated.
> 
> Our monitoring app walks all our servers.
> We modify /etc/snmp/snmpd.conf on all our servers to just have one line:
> rocommunity ourcommnuityname monitor.ing.app.ip
> 
> This has worked just fine for almost 10 years.
> 
> Since the release of CentOS 7 we are getting alerts for partitions not
> being found during walks and these are the temporary partitions that are
> ephemeral while a user is logged in:
> /run/user/0
> /run/user/65000
> 
> Seems if the partition is there when the monitor is set or is added while
> the monitor is active the monitor will keep looking for it and these are
> meant to go away.
> 
> We thought "OK we can just ignore those" so we added a line to
> /etc/snmpd.conf :
> ignoredisk /run/user/*
> 
> but that has not helped :(
> 
> Does anybody have a recommendation on how we can stop those partitions from
> being seen on walks so we can stop being alerted about partitions for which
> we are not interested in monitoring their available space?

I had a quick play with it on a C7 VM, and found the same as you have.

It would appear that ignoredisk only allows you to specify device names
(such as /dev/sda1 or /dev/cciss/*), and not mount points. For /run and
/run/user/*, they are not mounted on devices but on tmpfs.

I tried "ignoredisk tmpfs" to see if that would work, but it didn't appear to.

It also doesn't help that the SNMP output for the mount table doesn't seem
to include a column for the device that was mounted, only for the mount point.
And all the mount points are listed as type "hrFSOther", so you can't tell
the difference between real disks, tmpfs, and so on.

You probably need to get the SRPM for net-snmp and have a look at the area
of code that process "ignoredisk".

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-5 End of Life

2017-03-03 Thread Tony Mountifield
In article <cagkb5vfxkjcbpqwupuzg0xp8_gtgv+55+yrzf8vdf0maio9...@mail.gmail.com>,
James Hogarth <james.hoga...@gmail.com> wrote:
> On 3 March 2017 at 11:47, James Hogarth <james.hoga...@gmail.com> wrote:
> > On 3 March 2017 at 11:34, John Hodrien <j.h.hodr...@leeds.ac.uk> wrote:
> >> On Fri, 3 Mar 2017, Tony Mountifield wrote:
> >>
> >>> You mean just thrown away, or archived somewhere? Just thrown away would
> >>> seem rather irresponsible...
> >>
> >> Mirroring EPEL makes sense well before this point, as they don't keep old
> >> versions of packages online either AFAIK.
> >>
> >> jh
> >
> > Indeed they aren't kept ... and since there hasn't been an EOL of EPEL
> > before I honestly have no idea ... I've asked on the epel-devel
> > mailing list as to whether it'll move to archive like old fedora
> > releases do.
> 
> My mistake - I forgot there was an EPEL4 in the mists of time .. so
> the last version of the repo is likely to end up here:
> 
> http://archive.fedoraproject.org/pub/epel/

Cool, thanks!

Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-5 End of Life

2017-03-03 Thread Tony Mountifield
In article 

Re: [CentOS] IPv6 broken on Linode

2017-02-16 Thread Tony Mountifield
In article <4cbb9dc4-f063-3434-b7a1-d4d0e6581...@domblogger.net>,
Alice Wonder <al...@domblogger.net> wrote:
> https://forum.linode.com/viewtopic.php?f=19=14570=72785
> 
> I can not figure out what I need to do.
> 
> Apparently according to linode support, the VM is trying to grab an IPv6 
> address with some privacy stuff enabled by default causing it to not 
> grab the IPv6 address that is assigned to me.

Does the accepted answer at the following link give you any useful hints?

http://superuser.com/questions/243669/how-to-avoid-exposing-my-mac-address-when-using-ipv6

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Script not running correctly as cronjob

2017-02-02 Thread Tony Mountifield
In article <9f43c460b0374ac3951c18dd2d477...@2sic.com>,
Daniel Reich <daniel.re...@2sic.com> wrote:
> Thank you for the hints
> 
> I modified like you described.
> I also moved the permission part out of the loop (once at the end of the 
> script is enough).
> 
> Now with the "set -x" the script is working also in cron.

The "set -x" would not be not what made it work - it is a debugging aid only.

If it now works, then that is due to one of your other changes and you can
remove the "set -x" again if you wish.

Cheers
Tony

> Best regards
> Daniel
> 
> 
> 
> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of Tony Mountifield
> Sent: Wednesday, February 1, 2017 11:04 AM
> To: centos@centos.org
> Subject: Re: [CentOS] Script not running correctly as cronjob
> 
> In article <86827d81f1944333ae213f2d3f198...@2sic.com>,
> Daniel Reich <daniel.re...@2sic.com> wrote:
> > Hi
> > 
> > I have a script to resign all DNS zones every two weeks. When i run 
> > the script from bash, it works like it should. But when it is executed in 
> > cron not. Its starting normal as cronjob:
> > Feb  1 03:00:01 xxx CROND[20116]: (root) CMD (sh 
> > /opt/dnssec/resign_dnssec_zones.sh)
> > 
> > But after i get a mail that everything is finsihed, but it isn't.
> > 03:04:28 DNSSEC-Signierung abgeschlossen
> > 
> > The script deletes the old signed zones, but don't resign it. The mail is 
> > also sent.
> > Below the script.
> > 
> > Anybody an idea why it doesn't work in cron?^ I cannot find any error 
> > in any log.
> 
> After the first line, add a line saying: set -x
> 
> Then set cron to run it and examine the output that gets mailed to you.
> 
> The -x tells it to echo each command it is about to execute. That will help 
> you to see how far it is getting.
> 
> Further comments below.
> 
> Cheers
> Tony
> 
> > Best regards
> > Daniel
> > 
> > 
> > #!/bin/bash
> > KSKDIR="/etc/named/KSK"
> > ZSKDIR="/etc/named/ZSK"
> > ZONEDIR="/var/named/chroot/var/named"
> > LOG="/var/named/chroot/var/log/dnssec_resign.log"
> > MAILREC="monitor@xx"
> > 
> > #delete old signed files
> > rm -rf $ZONEDIR/*.signed
> > 
> > #delete the old log
> > rm -rf $LOG
> > 
> > #read the zonefiles
> > ZONEFILES=$(ls -p $ZONEDIR | grep -v '/$' | grep -v 'dsset*')
> > 
> > for FILES in $ZONEFILES; do
> > #remove the .zone at the end
> > ZONE=$(echo "${FILES%.*}")
> 
> Why not just: ZONE=${FILES%.*}
> 
> > #remove the old signed zone
> > rm -rf $ZONEDIR/$ZONE.signed
> 
> You deleted them all further up.
> 
> > #Sign the zone
> > cd $ZONEDIR
> 
> Why not do this before the loop? Then you also don't need $ZONEDIR/ 
> everywhere.
> 
> > dnssec-signzone -o $ZONE -k $KSKDIR/K$ZONE.*.key -e +3024000 
> > -f $ZONE.signed $ZONEDIR/$ZONE.zone $ZSKDIR/K$ZONE.*.key >> $LOG
> > 
> > #Set the correct permissions
> > chown named.named $ZONEDIR/*.signed
> > chmod 755 $ZONEDIR/*.signed
> > sleep 5
> > done
> > rm -rf $ZONEDIR/named.zone
> > 
> > echo $(date +"%T")"DNSSEC-Signierung abgeschlossen - Neustart des 
> > Servers" >> $LOG echo "$(cat $LOG)" | mail -s "DNSSEC-Signierung 
> > abgeschlossen auf xxx" $MAILREC
> > 
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > 
> 
> 
> --
> Tony Mountifield
> Work: t...@softins.co.uk - http://www.softins.co.uk
> Play: t...@mountifield.org - http://tony.mountifield.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
> 


-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Script not running correctly as cronjob

2017-02-01 Thread Tony Mountifield
In article <86827d81f1944333ae213f2d3f198...@2sic.com>,
Daniel Reich <daniel.re...@2sic.com> wrote:
> Hi
> 
> I have a script to resign all DNS zones every two weeks. When i run the 
> script from bash, it works like it should. But
> when it is executed in cron not. Its starting normal as cronjob:
> Feb  1 03:00:01 xxx CROND[20116]: (root) CMD (sh 
> /opt/dnssec/resign_dnssec_zones.sh)
> 
> But after i get a mail that everything is finsihed, but it isn't.
> 03:04:28 DNSSEC-Signierung abgeschlossen
> 
> The script deletes the old signed zones, but don't resign it. The mail is 
> also sent.
> Below the script.
> 
> Anybody an idea why it doesn't work in cron?^
> I cannot find any error in any log.

After the first line, add a line saying: set -x

Then set cron to run it and examine the output that gets mailed to you.

The -x tells it to echo each command it is about to execute. That will help
you to see how far it is getting.

Further comments below.

Cheers
Tony

> Best regards
> Daniel
> 
> 
> #!/bin/bash
> KSKDIR="/etc/named/KSK"
> ZSKDIR="/etc/named/ZSK"
> ZONEDIR="/var/named/chroot/var/named"
> LOG="/var/named/chroot/var/log/dnssec_resign.log"
> MAILREC="monitor@xx"
> 
> #delete old signed files
> rm -rf $ZONEDIR/*.signed
> 
> #delete the old log
> rm -rf $LOG
> 
> #read the zonefiles
> ZONEFILES=$(ls -p $ZONEDIR | grep -v '/$' | grep -v 'dsset*')
> 
> for FILES in $ZONEFILES; do
> #remove the .zone at the end
> ZONE=$(echo "${FILES%.*}")

Why not just: ZONE=${FILES%.*}

> #remove the old signed zone
> rm -rf $ZONEDIR/$ZONE.signed

You deleted them all further up.

> #Sign the zone
> cd $ZONEDIR

Why not do this before the loop? Then you also don't need $ZONEDIR/ everywhere.

> dnssec-signzone -o $ZONE -k $KSKDIR/K$ZONE.*.key -e +3024000 -f 
> $ZONE.signed $ZONEDIR/$ZONE.zone
> $ZSKDIR/K$ZONE.*.key >> $LOG
> 
> #Set the correct permissions
> chown named.named $ZONEDIR/*.signed
> chmod 755 $ZONEDIR/*.signed
> sleep 5
> done
> rm -rf $ZONEDIR/named.zone
> 
> echo $(date +"%T")"DNSSEC-Signierung abgeschlossen - Neustart des Servers" >> 
> $LOG
> echo "$(cat $LOG)" | mail -s "DNSSEC-Signierung abgeschlossen auf xxx" 
> $MAILREC
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 


-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Fwd: The CentOS list]

2017-01-31 Thread Tony Mountifield
In article <37213.128.135.52.6.1485815997.squir...@cosmo.uchicago.edu>,
Valeri Galtsev <galt...@kicp.uchicago.edu> wrote:
> Dear All,
> 
> Mark has problem sending mail to centos@centos.org list... He has trouble
> with flash plugin on CentOS 6, please, take a look at his e-mail below.
> I'll try to see what I can do to help, but what I can do definitely is no
> match to Experts on this list.
> 
> Thanks in advance!
> 
> Valeri

Mark's original message asking about flash-plugin did eventually show up,
as I'm sure people have seen by now.

Looking at its Received headers, it appears it got stuck for 5 hours at
Mark's email provider. It was submitted to host290.hostmonster.com using
squirrelmail at 18:56 GMT, but didn't leave that machine for the next hop
(cmgw2) until 23:55 GMT.

Hope this helps!
Cheers
Tony

>  Original Message 
> Subject: The CentOS list
> From:m.r...@5-cent.us
> Date:Mon, January 30, 2017 3:11 pm
> To:  "Valeri Galtsev" <galt...@kicp.uchicago.edu>
> --
> 
> Hi, Valeri,
> 
>I've tried, twice, to post to the list today, and they neither show up,
> *nor* do I get a blocked message - they just go to /dev/null.
> 
>The second was just a test, the first was asking if anyone else was
> seeing, with CentOS 6 (updated) flash-plugin crashing every 10-15 min.
> And there's no downgrade for it.
> 
>mark

-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 install on one RAID 1 [not-so-SOLVED]

2017-01-26 Thread Tony Mountifield
In article <5ef97952-14c0-6ad2-0803-c24691a68...@gmail.com>,
Gordon Messmer <gordon.mess...@gmail.com> wrote:
> On 01/26/2017 01:40 AM, Tony Mountifield wrote:
> > Anaconda doesn't set up the boot sector on the second drive by default,
> > so I put some grub commands in the post-install section of kickstart
> > to do so.
> 
> 
> I can't attest that it *works* (mostly since I use UEFI everywhere 
> possible) but anaconda definitely attempts to install grub on each drive 
> with a copy of /boot:
> 
> https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/bootloader.py

Thanks, that's interesting to know. When I first started doing this it was on
CentOS 4, and I'm pretty sure the second drive didn't get grubbed back then,
which would be what prompted me to add the post-install grub for the second
drive at that time.

I never went back to check whether the need had been obviated in CentOS 5 or 6.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 install on one RAID 1 [not-so-SOLVED]

2017-01-26 Thread Tony Mountifield
In article <1485416344.2047.1.ca...@biggs.org.uk>,
Pete Biggs <p...@biggs.org.uk> wrote:
> 
> > 
> > If you are using RAID 1 kernel mirroring, you can do that with /boot too,
> > and Grub finds the kernel just fine. I've done it many times:
> > 
> > 
> Hmm, OK. I wonder why anaconda doesn't do it then.
> 
> Reading various websites, it looks like grub2 can do it, but you have
> to make sure that various grub modules are installed first - i.e. do
> something like 
> 
>   grub-install --modules='biosdisk ext2 msdos raid mdraid' /dev/xxx
> 
> I don't know if they are added by default these days.

I don't know, but I've never had to do it, when using plain mirroring,
on either C4, C5 or C6.  I can imagine you would need to if /boot was
RAID 0 striped, if indeed that is even possible.

> The other gotcha is, of course, that the boot sectors aren't RAID'd -
> so if /dev/sda goes, replacing it will make the system unbootable since
> it doesn't contain the boot sectors. Hot swap will keep the system
> running but you have to remember to re-install the correct boot sector
> before reboot. If you have to bring the machine down to change the
> disk, then things could get interesting!

Yup, been there, done that. So long as you use grub to install the boot
sector on both drives, then you can always tell the BIOS to boot from
the other drive to bring the system up after replacing the first disk.

Anaconda doesn't set up the boot sector on the second drive by default,
so I put some grub commands in the post-install section of kickstart
to do so.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 install on one RAID 1 [not-so-SOLVED]

2017-01-25 Thread Tony Mountifield
In article <1485342377.3072.6.ca...@biggs.org.uk>,
Pete Biggs <p...@biggs.org.uk> wrote:
> On Tue, 2017-01-24 at 17:14 -0500, m.r...@5-cent.us wrote:
> > So, it installed happily.
> > 
> > Then wouldn't boot. No problem, I'll bring it up with pxe, then chroot and
> > grub2-install.
> > 
> > Um, nope. I edited the device map from hd0 and hd1 being the RAID to
> > /dev/sda and /dev/sdb, then ran grup2-install. It now tells me can't
> > identify the filesystem on hd0, and can't perform a safety check, and
> > gives up.
> > 
> > What am I missing? Google is not giving me any answers
> > 
> 
> Surely, if you are using software RAID, then you should configure that
> RAID in anaconda, that will then cope with setting up the partitions to
> allow booting.  Basically it needs a small non-RAID partition to hold
> /boot on the boot disk.
> 
> Remember that the boot sequence is generally: BIOS reads MBR and
> executes it; MBR code reads kernel from /boot and executes it (yes,
> it's more complicated than that). If the MBR code doesn't know how to
> read a RAID partition, then it's going to fail, that's why you have a
> small non-RAID partition to hold /boot.
> 
> Hardware RAID is different because it interfaces at the BIOS level so
> the MBR code doesn't need to know how to specifically read it.

If you are using RAID 1 kernel mirroring, you can do that with /boot too,
and Grub finds the kernel just fine. I've done it many times:

1. Primary partition 1 type FD, size 200M. /dev/sda1 and /dev/sdb1.
2. Create /dev/md0 as RAID 1 from /dev/sda1 and /dev/sdb1.
3. Assign /dev/md0 to /boot, ext3 format (presumably ext4 would work too?)
4. Make sure to setup both drives separately in grub.

Typically I then go on to have /dev/sda2+/dev/sdb2 => /dev/md1 => swap,
and /dev/sda3+/dev/sdb3 => /dev/md2 => /

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] koji in extras older than epel

2017-01-20 Thread Tony Schreiner
Now that EPEL 7 has koji-1.11, should the one in CentOS 7 extras be updated
or removed?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing Dependency python-yubico

2017-01-10 Thread Tony Schreiner
On Tue, Jan 10, 2017 at 3:17 PM, Mark LaPierre <marklap...@gmail.com> wrote:

> On 01/10/17 13:12, Tony Schreiner wrote:
> > On Tue, Jan 10, 2017 at 11:12 AM, Mark LaPierre <marklap...@gmail.com>
> > wrote:
> >
> >> Hey all, I'm trying to install the fedora-packager group so that I can
> >> build Fedora source packages into RPMs that I can install.  I'm getting
> >> this error:
> >>
> >> Error: Package: fedora-packager-0.6.0.1-1.el6.noarch (epel)
> >>Requires: python-yubico
> >> 
> >> [root@peach ~]# yum install python-yubico
> >> 
> >> No package python-yubico available.
> >>
> >>
> >> Do you suppose that maybe this is a typo where python-yubico was typed
> >> instead of python-yubikey?  When I google for python-yubico Google
> >> suggests python-yubikey instead.  But maybe not!  RPM Search turns up
> >> python-yubico packages for Fedora 2[234] for x86_64, and CentOS 7.3 for
> >> x86_64 and finds no hits for python-yubikey.  Maybe the fedora-packager
> >> group only works on CentOS 7?
> >>
> >> I'm so confused ;-)
> >>
> >> Does anyone have a suggestion for how I can solve this issue?  Is there
> >> another way to build source packages into RPM packages that I can
> install?
> >>
> >> CentOS release 6.8 (Final)
> >>
> >> Linux peach.patch 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05
> >> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> --
> >> _
> >>°v°
> >>   /(_)\
> >>^ ^  Mark LaPierre
> >> Registered Linux user No #267004
> >> https://linuxcounter.net/
> >> 
> >>
> >
> > This is more properly an EPEL question. But I am having the same issue.
> >
> > There seems to have been a small rash of package releases on EPEL 6 that
> > have requirements only satisfied by RHEL 7 and friends.
> >
> > I have to ask though. If you just want to rebuild Fedora RPMs for your
> > Centos, you do not need fedora-packager, you just need rpmbuild (in
> > rpm-build).
> >
> > Tony Schreiner
>
> Thanks Tony,  I'll see if I can figure out how to build RPM packages
> from source packages without fedora-packager.  I hope there's not a crap
> load of black art and fringe science involved.
>
>
> --
> _
>°v°
>   /(_)\
>^ ^  Mark LaPierre
> Registered Linux user No #267004
> https://linuxcounter.net/
> 
> ___
>



> Mark
> See this
>


> https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
>
> More properly, you should use mock, but I often just stick with rpmbuild
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing Dependency python-yubico

2017-01-10 Thread Tony Schreiner
On Tue, Jan 10, 2017 at 11:12 AM, Mark LaPierre <marklap...@gmail.com>
wrote:

> Hey all, I'm trying to install the fedora-packager group so that I can
> build Fedora source packages into RPMs that I can install.  I'm getting
> this error:
>
> Error: Package: fedora-packager-0.6.0.1-1.el6.noarch (epel)
>Requires: python-yubico
> 
> [root@peach ~]# yum install python-yubico
> 
> No package python-yubico available.
>
>
> Do you suppose that maybe this is a typo where python-yubico was typed
> instead of python-yubikey?  When I google for python-yubico Google
> suggests python-yubikey instead.  But maybe not!  RPM Search turns up
> python-yubico packages for Fedora 2[234] for x86_64, and CentOS 7.3 for
> x86_64 and finds no hits for python-yubikey.  Maybe the fedora-packager
> group only works on CentOS 7?
>
> I'm so confused ;-)
>
> Does anyone have a suggestion for how I can solve this issue?  Is there
> another way to build source packages into RPM packages that I can install?
>
> CentOS release 6.8 (Final)
>
> Linux peach.patch 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> --
> _
>°v°
>   /(_)\
>^ ^  Mark LaPierre
> Registered Linux user No #267004
> https://linuxcounter.net/
> 
>

This is more properly an EPEL question. But I am having the same issue.

There seems to have been a small rash of package releases on EPEL 6 that
have requirements only satisfied by RHEL 7 and friends.

I have to ask though. If you just want to rebuild Fedora RPMs for your
Centos, you do not need fedora-packager, you just need rpmbuild (in
rpm-build).

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


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

2017-01-05 Thread Tony Schreiner
Also seeing duplicates on a CentOS 7 kvm vm

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

On Thu, Jan 5, 2017 at 12:32 PM, Mike - st257 
wrote:

> On Thu, Jan 5, 2017 at 4:04 AM, Nikolaos Milas  wrote:
>
> > On 4/1/2017 7:37 μμ, Gordon Messmer wrote:
> >
> > I don't see that on VMs that I manage.  Some of the physical machines
> that
> >> I manage do have duplicates in the device.map.
> >>
> >
> > Thank you Gordon for your feedback!
> >
> > Can others please report the content of /boot/grub2/device.map on their
> > CentOS 7 (physical or virtual) installations?
> >
>
> On my CentOS7 installs I find dups too.
>
> Physical
> # this device map was generated by anaconda
> (hd0)  /dev/sda
> (hd1)  /dev/sda
>
> Virtual (KVM VM)
> # this device map was generated by anaconda
> (hd0)  /dev/vda
> (hd1)  /dev/vda
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-12-24 Thread Tony Molloy
On Tuesday 22 November 2016 15:23:08 Tony Molloy wrote:
> Hi,
> 
> I'm recently retired from my university job. I am looking for a
>  laptop to run CentOS 6/7. My university was a traditional Dell
>  site so I've used Latitude laptops for years, currently
>  E6500/E6510.
> 
> Anybody got any experience of running CentOS on the newer Dell
> Latitudes E5000 or E7000. These are not certified according to
>  Redhats' Hardware Guide.
> 
> Alternatively Precision Workstations would do. These can be
>  supplied with Ubuntu installed so they run Linux.
> 
> Thanks,
> 
> Tony
> 

Thanks to all who replied to my request above. I'm sorry for the delay 
in replying but I've been in hospital for the past month, just out on 
christmas leave.

I finally ordered a Precision 7510 Workstation, as recommended by a 
couple of people. It arrived with Ubuntu installed ( god I don't like 
Unity ) Over my christmas break I'll have a go at installing CentOS 7 
and let ye know how I get on.

Again thanks to everyone who took the time to reply, and have a Happy 
Christmas and a Merry New Year.

Tony. 
-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 21:49:52 John R Pierce wrote:
> On 11/22/2016 1:14 PM, wwp wrote:
> > D800 series (810, etc.), E6500 series (E6500, E6530, etc.), at
> > least.
> 
> D series are 10 years or more old.   ancient in laptop terms.   I
>  had a D600 for a long time (new in 2003).
> 
> The E6x00, '10, '20, and '30 are also fairly old (2008, 2010, 2011,
>  and 2012, respectively).
> 
> The current models branded like Latitude 15 5000, 14 7000, etc, are
>  in fact Exx70 models, these are 6th gen core i3/i5/i7 based, aka
>  Skylake, and its this newest generation of stuff thats got
>  compatibility issues with CentOS.
> 


That's what I thought. I think I'll go for a Precision Workstation. 
Anybody see any major problems with the following configuration.

I'm the ex Systems Manager of a Computer Science Dept. so I have lots 
of experience in configuring Linux systems.


precision 15 7510

Intel® Core i5-6300HQ Processor (Quad Core 2.30G
Ubuntu Linux 14.04 SP1 
NVIDIA Quadro M1000M w/2GB GDDR5
15.6 Ultrasharp™ FHD IPS (1920x108
Bezel For Full HD Non Touch with Camera +MIC
16GB (2x8GB) 2133MHz DDR4 N-ECC
Intel® Dual Band Wireless 8260 (802.11ac)
256GB M.2 PCIe Solid State Drive
Additional 1TB 2.5inch SATA (7200 Rpm) Hard Drive
6-cell (72Wh) Lithium Ion battery

Seems pretty standard components to me.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 21:14:15 wwp wrote:
> Hello John,
> 
> On Tue, 22 Nov 2016 12:55:27 -0800 John R Pierce 
<pie...@hogranch.com> wrote:
> > On 11/22/2016 12:41 PM, wwp wrote:
> > > Latitude OK, I run CentOS6/7 on that.
> >
> > which Latitude?  they've probably made 100 different laptops over
> > the last couple decades branded 'Latitude'.
> >
> > I bet my wife's new Latitude 15 5000 would be problematic, it
> > uses USB C/Thunderport for its docking station which has 2
> > additional video adapters in it.   She's even having some issues
> > with Windows 7 with the docking ports, Win 10 is the officially
> > supported OS, but her $job software is all win7 based..
> 
> D800 series (810, etc.), E6500 series (E6500, E6530, etc.), at
>  least. Depends also of what you get inside, controller chips,
>  video.. Globally everything will work according to my experience.
> 
> 
> Regards,
> 

But they're all old models. I already run CentOS 6/7 on Latidude 
E65xx.

I'm looking for newer models.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-23 Thread Tony Molloy
On Tuesday 22 November 2016 20:41:34 wwp wrote:
> Hello Tony,
> 
> On Tue, 22 Nov 2016 19:01:18 + Tony Molloy <tony.mol...@ul.ie> 
wrote:
> > On Tuesday 22 November 2016 18:32:14 Gordon Messmer wrote:
> > > On 11/22/2016 07:23 AM, Tony Molloy wrote:
> > > > I am looking for a laptop  to run CentOS 6/7. My university
> > > > was a traditional Dell site so I've used Latitude laptops for
> > > > years, currently E6500/E6510.
> > >
> > > Dell's Linux laptops are listed here:
> > >
> > > http://www.dell.com/learn/us/en/555/campaigns/xps-linux-laptop?
> > >c=us =en=biz
> >
> > Been through the Dell site, I'm very familiar with Dell.
> >
> > The original question was whether anybody was running CentOS 6/7
> > on Dell Latitude or Precision Workstation so I could replace
> > Ubuntu with CentOS.
> >
> > Rather not go for XPS basically a gaming machine not expandable
> > enough same with Inspiron.
> 
> Latitude OK, I run CentOS6/7 on that.
> 
> 
> Regards,
> 
What Latitude model  though. E5000 or E7000

Thanks 

Tony


-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New laptop recomendation

2016-11-22 Thread Tony Molloy
On Tuesday 22 November 2016 18:32:14 Gordon Messmer wrote:
> On 11/22/2016 07:23 AM, Tony Molloy wrote:
> > I am looking for a laptop  to run CentOS 6/7. My university was a
> > traditional Dell site so I've used Latitude laptops for years,
> > currently E6500/E6510.
> 
> Dell's Linux laptops are listed here:
> 
> http://www.dell.com/learn/us/en/555/campaigns/xps-linux-laptop?c=us
> =en=biz
> 

Been through the Dell site, I'm very familiar with Dell.

The original question was whether anybody was running CentOS 6/7 on 
Dell Latitude or Precision Workstation so I could replace Ubuntu with 
CentOS.

Rather not go for XPS basically a gaming machine not expandable enough 
same with Inspiron.

Thanks,

Tony

-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] New laptop recomendation

2016-11-22 Thread Tony Molloy

Hi,

I'm recently retired from my university job. I am looking for a laptop 
to run CentOS 6/7. My university was a traditional Dell site so I've 
used Latitude laptops for years, currently E6500/E6510.

Anybody got any experience of running CentOS on the newer Dell 
Latitudes E5000 or E7000. These are not certified according to Redhats' 
Hardware Guide.

Alternatively Precision Workstations would do. These can be supplied 
with Ubuntu installed so they run Linux.

Thanks,

Tony
-- 
Linux nogs.tonyshome.ie 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 
19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: latest util-linux-ng dependency on kernel?

2016-11-21 Thread Tony Mountifield
In article 

[CentOS] C6: latest util-linux-ng dependency on kernel?

2016-11-21 Thread Tony Mountifield
I am just applying the latest C6 updates to a couple of KVM Linodes.
It appears that the latest update of util-linux-ng has added a new
dependency on the kernel package.

On these VMs, the kernel package is not normally installed, and the VM
runs a host-supplied kernel. But now, a "yum update" wants to install for
dependencies kernel, kernel-firmware and grubby, none of which should be
necessary in this environment.

I have allowed it on one Linode and rebooted it. All seems ok and it is
still running the host-supplied kernel, but it still grates that an
unused kernel should have been required to be installed.

Is this an error in util-linux-ng, or a real new requirement?

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CVE-2016-5195 DirtyCOW: Critical Linux Kernel Flaw

2016-11-01 Thread Tony Mountifield
In article <5818cd31.4050...@moving-picture.com>,
James Pearson <jame...@moving-picture.com> wrote:
> Leonardo Oliveira Ortiz wrote:
> > RedHat and Centos 4.x can be explored by this flaw?
> 
> See:
> 
>   https://access.redhat.com/security/cve/cve-2016-5195

In other words, no: RHEL 4 and CentOS4 are not affected by this flaw.

Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


  1   2   3   4   5   >