Re: [CentOS] IUS repository for CentOS Linux release 8.x

2021-05-18 Thread Kaushal Shriyan
On Tue, May 18, 2021 at 11:24 PM Jonathan Billings 
wrote:

> On Tue, May 18, 2021 at 11:19:17PM +0530, Kaushal Shriyan wrote:
> > I am running CentOS Linux release 8.3.2011. I am referring to
> > https://ius.io/setup to set up the IUS repo for CentOS 8.3. Is CentOS
> 8.x
> > not supported?
>
> No, they only have packages for EL7.
>
> Here is their reasoning:
>
>
> https://github.com/iusrepo/iusrepo.github.io/blob/main/markdown/faq.md#why-doesnt-ius-have-packages-for-rhel-8
>
> --
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos


Thanks Jonathan for the email. I am looking out for the latest version of
PHP 7.4.19 to be installed for the CentOS Linux release 8.3.2011.

Please suggest. Thanks in Advance.

Best Regards,

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


Re: [CentOS] IUS repository for CentOS Linux release 8.x

2021-05-18 Thread Jonathan Billings
On Tue, May 18, 2021 at 11:19:17PM +0530, Kaushal Shriyan wrote:
> I am running CentOS Linux release 8.3.2011. I am referring to
> https://ius.io/setup to set up the IUS repo for CentOS 8.3. Is CentOS 8.x
> not supported?

No, they only have packages for EL7.

Here is their reasoning:

https://github.com/iusrepo/iusrepo.github.io/blob/main/markdown/faq.md#why-doesnt-ius-have-packages-for-rhel-8

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


[CentOS] IUS repository for CentOS Linux release 8.x

2021-05-18 Thread Kaushal Shriyan
Hi,

I am running CentOS Linux release 8.3.2011. I am referring to
https://ius.io/setup to set up the IUS repo for CentOS 8.3. Is CentOS 8.x
not supported?

Please suggest. Thanks in Advance.

Best Regards,

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


Re: [CentOS] non-functioning printer

2021-05-18 Thread Robert Heller
It also might be time to just replace the printer.  Inkjet printers are built 
to be thrown away after a *few* years (even HPs), and are rarely worth the 
time and effort to "repair".


At Tue, 18 May 2021 11:43:50 -0500 (CDT) CentOS mailing list 
 wrote:

> 
> I suspect that my friend does not want me working on her printer any more.
> If she asks, I will tell her that changing the cartidges might work,
> but that I am dubious.
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] non-functioning printer

2021-05-18 Thread Michael Hennebry

I suspect that my friend does not want me working on her printer any more.
If she asks, I will tell her that changing the cartidges might work,
but that I am dubious.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to build enca

2021-05-18 Thread Frank Cox
On Tue, 18 May 2021 12:12:20 +0200
Adrian van Bloois wrote:

> I want to get vlc or mplayer to work on CentOS 8. 

Any particular reason why you want to re-invent the wheel?  Both vlc and 
mplayer are available for Centos 8 from the rpmfusion repo.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7: samba 4.10.x: smbd daemon cannot free space used from the spool temp file removed

2021-05-18 Thread Dario Lesca
After a while, the /var filesystem is full because the smbd samba
daemon cannot release the space of job files removed:

To release this space I must restart the service or kill -15 the
process that already use this file.

This is the situation after some hours of work:

# lsof |grep smbprn.
smbd  10099  root   34u  REG  253,7 129691  
   82 /var/spool/samba/smbprn.Y44hEB (deleted)
smbd  10099  root   36u  REG  253,7 190666  
   72 /var/spool/samba/smbprn.Jqx29D (deleted)
smbd  10099  root   38u  REG  253,7  461718458  
   73 /var/spool/samba/smbprn.sY0OzI (deleted)
smbd  10099  root   41u  REG  253,7 129347  
   93 /var/spool/samba/smbprn.i7fjQ6 (deleted)
smbd  10099  root   42u  REG  253,7 128170  
   79 /var/spool/samba/smbprn.gdEDXN (deleted)
smbd  10099  root   45u  REG  253,7 229790  
   80 /var/spool/samba/smbprn.qjm2NL (deleted)
smbd  10099  root   46u  REG  253,7  43076  
   97 /var/spool/samba/smbprn.z0etcZ (deleted)
smbd  10099  root   48u  REG  253,7 129339  
   95 /var/spool/samba/smbprn.GHcowo (deleted)
smbd  10099  root   49u  REG  253,7 216893  
   98 /var/spool/samba/smbprn.2cqa6X (deleted)
smbd  10099  root   52u  REG  253,7 130143  
   87 /var/spool/samba/smbprn.QimHW4 (deleted)
smbd  10099  root   55u  REG  253,7  52581  
  100 /var/spool/samba/smbprn.snvGa3 (deleted)
smbd  10099  root   56u  REG  253,7 129623  
   94 /var/spool/samba/smbprn.w7L8y6 (deleted)
smbd  10099  root   68u  REG  253,7  64781  
   99 /var/spool/samba/smbprn.2uHnut (deleted)
smbd  10099  root   69u  REG  253,7  52581  
  101 /var/spool/samba/smbprn.Exeq3U (deleted)
smbd  10099  root   70u  REG  253,7  43681  
  106 /var/spool/samba/smbprn.REFsbL (deleted)
smbd  10099  root   71u  REG  253,7 342598  
  102 /var/spool/samba/smbprn.8Dka0u (deleted)
smbd  10099  root   72u  REG  253,7 222603  
  104 /var/spool/samba/smbprn.q6ZPY7 (deleted)
smbd  10099  root   73u  REG  253,7 221328  
  109 /var/spool/samba/smbprn.K2YwWA (deleted)
smbd  10099  root   74u  REG  253,7  43780  
  107 /var/spool/samba/smbprn.1o6uIX (deleted)
smbd  10099  root   75u  REG  253,7 221019  
  108 /var/spool/samba/smbprn.KeH0O3 (deleted)
smbd  10099  root   77u  REG  253,7  43315  
  111 /var/spool/samba/smbprn.KBL8ic (deleted)
smbd  10100  root   34u  REG  253,7 142770  
   77 /var/spool/samba/smbprn.s1h496 (deleted)
smbd  10100  root   35u  REG  253,7  33696  
   78 /var/spool/samba/smbprn.GncIKK (deleted)
smbd  10101  root   33u  REG  253,7 240900  
   69 /var/spool/samba/smbprn.3WQlx1 (deleted)
smbd  10101  root   34u  REG  253,7 409379  
   96 /var/spool/samba/smbprn.zZ5RbD (deleted)
smbd  10101  root   35u  REG  253,7 162610  
   67 /var/spool/samba/smbprn.ziDbOl (deleted)
smbd  10101  root   38u  REG  253,7 242494  
   68 /var/spool/samba/smbprn.X0YIZT (deleted)
smbd  10101  root   42u  REG  253,7 327729  
   70 /var/spool/samba/smbprn.ZUwcjE (deleted)
smbd  10101  root   43u  REG  253,7 429289  
   71 /var/spool/samba/smbprn.n5YHhG (deleted)
smbd  11962nobody   16u  REG  253,7 123406  
   74 /var/spool/samba/smbprn.Wclp0q (deleted)
smbd  11962nobody   33u  REG  253,72804169  
   86 /var/spool/samba/smbprn.BrKhuU (deleted)
smbd  11962nobody   35u  REG  253,7  63284  
   75 /var/spool/samba/smbprn.Aoq7I2 (deleted)
smbd  11962nobody   40u  REG  253,74814097  
   76 /var/spool/samba/smbprn.ZZy1rS (deleted)
smbd  11962nobody   41u  REG  253,7  82282  
   88 /var/spool/samba/smbprn.rAIBil (deleted)
smbd  11962nobody   42u  REG  253,7 602346  
   81 /var/spool/samba/smbprn.4ZTHAL (deleted)
smbd  11962nobody   44u  REG  253,7   28309942  
   83 /var/spool/samba/smbprn.45x0K9 (deleted)
smbd  11962nobody   45u  REG  253,75608461  
   84 

Re: [CentOS] Using Cgroups in CentOS-7

2021-05-18 Thread Jonathan Billings
On Tue, May 18, 2021 at 08:33:37AM +, GestiĆ³ Servidors wrote:
> I want to limit CPUQuota and Memory using "Cgroups". After reading
> some documents, it seems I need to modify "user.slice" systemd file
> adding "CPUQuota=25%" (for example) but, after it, if I run a
> "stress" with other user (not "root"), stress process takes 100%
> CPU. I have noticed that rebooting system non-root user has % CPU
> limited... but also root... so is it possible to configure that
> limits to all users but non root? 

Make sure you also turn on CPUAccounting=true.

Unfortunately, if you put any CPUQuota settings in user.slice, it will
apply it as a group to all users (including root).  So, every logged
in user, in total, will not be able to use more than 25%, not
per-user.  (so, if two users start stressing the CPU, they'll each
only be able to get around 12.5% each)

CentOS 7 doesn't have a mechanism to set per-user CPU quota, that
functionality wasn't introduced into a later version of systemd (it
does work in CentOS 8, use user-.slice which is a "template" for
user-1000.slice, user-1001.slice, user-999.slice, etc.)

You can always set the resource control settings per-user by
specifically writing a user-1000.slice, user-1001.slice, etc.  
What I did was write a systemd service that subscribed to the dbus
messages for logins and activated the CPUQuota as the user logged in
using systemctl --runtime.  I had tens of thousands of users logging
in via Active Directory, which changed constantly, so I couldn't
hard-code anything.

I suggest using the 'systemd-cgtop' command to look at what unit is
using resources, it is helpful for debugging.

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


[CentOS] Trying to build enca

2021-05-18 Thread Adrian van Bloois
Hi,
I want to get vlc or mplayer to work on CentOS 8. For this I need enca to
beinstalled. So I took it from Fedora 31 and tried to build the rpm.
At the end of the process I get this message:
Processing files: enca-debugsource-1.19-4.el8.x86_64
error: Empty %files file 
/home/adrian/rpmbuild/BUILD/enca-1.19/debugsourcefiles.list


RPM build errors:
Empty %files file 
/home/adrian/rpmbuild/BUILD/enca-1.19/debugsourcefiles.list



Any ideas about what's going wrong???



Cheers
Adrian




-- 
Adri P. van Bloois


   "The greatest threat to our planet is the belief that someone else
   will save it."
Robert Swan.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Using Cgroups in CentOS-7

2021-05-18 Thread GestiĆ³ Servidors
Hi,

I want to limit CPUQuota and Memory using "Cgroups". After reading some 
documents, it seems I need to modify "user.slice" systemd file adding 
"CPUQuota=25%" (for example) but, after it, if I run a "stress" with other user 
(not "root"), stress process takes 100% CPU. I have noticed that rebooting 
system non-root user has % CPU limited... but also root... so is it possible to 
configure that limits to all users but non root?

Thanks.

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