Re: [CentOS] https://blog.centos.org/2020/12/future-is-centos-stream/

2020-12-08 Thread Harold Toms

On 08/12/2020 15:15, Pete Biggs wrote:


So as far as I can see all the RHEL rebuilds are dead now - WhiteBox,
Scientific Linux, now CentOS. Are there any left?


Springdale:

http://springdale.math.ias.edu/


--
Harold Toms
SBCS NMR Manager
Working from home

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


Re: [CentOS] CentOS 7 Repeating Update Messages

2015-06-11 Thread Harold Toms

On 10/06/15 17:07, Kirk Bocek wrote:
I've install yum-cron on a new CentOS 7 host and after a recent update 
I am now getting daily repeating emails about that update instead of 
the single notification I was expecting. Does anyone know what's going 
on?


Kirk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
By default, yum-cron just downloads updates but does not install them, 
so the e-mail you receive shows a list of updates waiting to be applied. 
If you want it to do that you must change "apply_updates" in 
/etc/yum/yum-cron.conf from "no" to "yes".


--
regards

Harold Toms
http://iodine.chem.qmul.ac.uk
"Priestley's works... tended to unsettle every thing, and yet settled nothing."
- Samuel Johnson.

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


Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Harold Toms

Try something like:

grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix
semodule -i zabbix.pp

On 16/06/15 15:58, Tim Dunphy wrote:

Hey guys,.

  I have a centos 7 machine I'm using as a zabbix server. And I noticed that
apache won't start, with this complaint in the error log:

(13)Permission denied: AH00091: httpd: could not open error log file
/var/log/zabbix_error_log.
AH00015: Unable to open logs


I tried having a look at audit2allow and this is the response I get back:

[root@monitor2:/etc/httpd] #grep http /var/log/audit/audit.log | audit2allow


#= httpd_t ==
allow httpd_t zabbix_log_t:file open;

How can I turn that bit of information into a rule that allows apache
access to this zabbix log file?

I notice that if I disable selinux using setenfor 0, apache starts up
without complaint. But I would rather not leave it disabled.

Thanks,
Tim




--
regards

Harold Toms
http://iodine.chem.qmul.ac.uk
"Priestley's works... tended to unsettle every thing, and yet settled 
nothing."

- Samuel Johnson.

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


Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Harold Toms

On 17/06/15 15:27, Tim Dunphy wrote:

Try something like:
grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix
semodule -i zabbix.pp



Thanks for your response! However this is what happens when I try to
install the module:

  [root@monitor2:~] #semodule -i zabbix.pp
libsepol.print_missing_requirements: zabbix's global requirements were not
met: type/attribute zabbix_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or
directory).
semodule:  Failed!


Any other thoughts?

Thanks,
Tim




That's because there's already a zabbix module loaded (the message isn't 
very informative!). I forgot that the received wisdom is to insert "my" 
in front of ones own modules i.e.:


grep zabbix /var/log/audit/audit.log | audit2allow -M myzabbix
semodule -i myzabbix.pp


--
regards

Harold Toms
http://iodine.chem.qmul.ac.uk
"Priestley's works... tended to unsettle every thing, and yet settled nothing."
- Samuel Johnson.

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


Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Harold Toms

On 17/06/15 16:29, Tim Dunphy wrote:

That's because there's already a zabbix module loaded (the message isn't
very informative!). I forgot that the received wisdom is to insert "my" in
front of ones own modules i.e.:
grep zabbix /var/log/audit/audit.log | audit2allow -M myzabbix
semodule -i myzabbix.pp



Hmm no luck there either:

[root@monitor2:~] #semodule -i myzabbix.pp
*semodule:  Failed on myzabbix.pp!*

I also tried:

[root@monitor2:~] #semodule -i my_zabbix
semodule:  Failed on my_zabbix!

And

[root@monitor2:~] #semodule -i my-zabbix
semodule:  Failed on my-zabbix!

Just in case.. none of that worked.


Got any other ideas? :)

Tim



What turns up in myzabbix.te?

--
regards

Harold Toms
http://iodine.chem.qmul.ac.uk
"Priestley's works... tended to unsettle every thing, and yet settled nothing."
- Samuel Johnson.

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


Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Harold Toms

On 17/06/15 17:43, Tim Dunphy wrote:

What turns up in myzabbix.te?


Same deal. :(

#semodule -i myzabbix.te
semodule:  Failed on myzabbix.te!


sigh... but thanks any other clues?


Sorry, I didn't put that very clearly. Could you show us the contents of 
myzabbix.te.



--
regards

Harold Toms
URL: http://iodine.chem.qmul.ac.uk

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


Re: [CentOS] Substitute pdftk with other command

2016-02-18 Thread Harold Toms

On 18/02/16 17:20, Dario Lesca wrote:


ATM there is no "ready to install" package directly for Centos 7,
but try the Centos /RHEL 6 package from there before
doing the full build circus (requires installed libgcj).
For this solution it's necessary to break some dependency:

# rpm -ivh  ./libgcj-4.4.7-16.el6.x86_64.rpm ./pdftk-2.02-1.el6.x86_64.rpm
avvertimento: ./libgcj-4.4.7-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, 
ID chiave c105b9de: NOKEY
errore: Dipendenze fallite:
 libgmp.so.3()(64bit) necessario a libgcj-4.4.7-16.el6.x86_64

# rpm -qf /usr/lib64/libgmp.so.10
gmp-6.0.0-12.el7_1.x86_64

I have adding --nodeps and it's able to install it.

If there are not other solution, I will use this method

Thanks

--
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
I would recommend that you do *not* do this. Installing C6 packages on 
C7 is a really bad idea. Instead perhaps try using cpdf:


http://community.coherentpdf.com/

--
regards

H

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


Re: [CentOS] how to prevent files and directories from being deleted?

2017-10-04 Thread Harold Toms

On 01/10/17 16:21, hw wrote:

Hi,

how can I prevent files/directories like /var/run/mariadb from being
deleted on reboot?  Lighttpd has the same problem.

This breaks services and makes servers non-restartable by anyone else
but the administrator who needs to re-create the needed files and
directories every time and has to figure out what selinux labels they
need.  This causes unnecessary downtimes.

This is entirely inacceptable.  This totally sucks.



Assuming that your /usr/lib/tmpfiles.d/mariadb.conf file contains:

d /var/run/mariadb 0755 mysql mysql -

the /var/run/mariadb should be recreated on every reboot... if it is 
not, perhaps either the mysql user or group do not exist. Check 
/etc/passwd and /etc/group.


--
regards

H

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


[CentOS] Centos 4.4 32-bit

2017-10-13 Thread Harold Toms
I've just noticed the i386 Centos 7.4 updates have appeared, including 
bringing it to kernel 3.10.0-693.2.2. I suspect that a great deal of 
work had to go in to achieving this. May I say a big "Thank-You" to 
everyone who has made this possible!



--
regards

Harold Toms

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


Re: [CentOS] Centos 7.4 32-bit

2017-10-13 Thread Harold Toms

On 13/10/17 09:53, Harold Toms wrote:
I've just noticed the i386 Centos 7.4 updates have appeared, including 
bringing it to kernel 3.10.0-693.2.2. I suspect that a great deal of 
work had to go in to achieving this. May I say a big "Thank-You" to 
everyone who has made this possible!



Oops! Must be Friday 13th or something... that title should have been 
"Centos 7.4".


--
regards

Harold Toms
http://iodine.chem.qmul.ac.uk
"Priestley's works... tended to unsettle every thing, and yet settled nothing."
- Samuel Johnson.

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


Re: [CentOS] Replacement for Pdftk under CentOS 7 ?

2018-05-09 Thread Harold Toms

On 05/09/2018 12:05 PM, Leon Fauster wrote:


Am 09.05.2018 um 12:22 schrieb Nicolas Kovacs :

Two weeks ago I migrated all our local school's servers and clients from
Slackware 14.1 to CentOS 7. Everything went perfectly, and now I'm busy
sanding down some edges.

The previous installation sported pdftk and a frontend (can't remember
the name) which allowed some basic operations on PDF files such as
splitting and concatenation. The school's staff used this application
all the time. Unfortunately it's not available under CentOS 7.

Can you suggest any replacement for this application? On a side note, it
should be something with a point-and-click GUI.


https://code-industry.net/free-pdf-editor/

(I have no relation to this product)

--
LF

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

pdftk is available from the nux-dextop repository.

--
regards

H

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