Almalinux 9 exception when enabling namespace container

#1
Hello, I've installed Openlitespeed 1.8 on a new Almalinux 9.5 VPS and seems to work fine.

As soon as I enable Namespace Container (Server Configuration -> Security -> Containers) and restart litespeed I get the following in my journalctl output:

myserver.com systemd[1]: /usr/lib/systemd/system/lshttpd.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/openlitespeed.pid → /run/openlitespeed.pid; please update the unit file accordingly.
myserver.com lswsctrl[1003]: [OK] litespeed: pid=1079.
myserver.com kernel: litespeed[1173]: segfault at 0 ip 00007f865415ee9e sp 00007ffcb27fa088 error 4 in libc.so.6[7f8654028000+175000] likely on CPU 3 (core 3, socket 0)
myserver.com systemd-coredump[1193]: Process 1173 (litespeed) of user 0 dumped core.
#1 0x000000000054b48d source_create.isra.10 (openlitespeed + 0x14b48d)
#2 0x000000000054f508 ns_exec (openlitespeed + 0x14f508)
#3 0x00000000005498e6 _ZL10child_maini (openlitespeed + 0x1498e6)
#4 0x000000000054a275 lscgid_main (openlitespeed + 0x14a275)
#5 0x000000000054677d _ZN10CgidWorker9spawnCgidEiPcPKc (openlitespeed + 0x14677d)
#6 0x00000000005468f5 _ZN10CgidWorker5startEPKcS1_jji.part.26 (openlitespeed + 0x1468f5)
#7 0x000000000054710f _ZN10CgidWorker6configEPK7XmlNode (openlitespeed + 0x14710f)
#8 0x00000000004b9d40 _ZN14HttpServerImpl14configSecurityEPK7XmlNode (openlitespeed + 0xb9d40)
#9 0x00000000004c036f _ZN14HttpServerImpl18configServerBasic2EPK7XmlNodePKc (openlitespeed + 0xc036f)
#10 0x00000000004c3bf0 _ZN14HttpServerImpl12configServerEiP7XmlNode (openlitespeed + 0xc3bf0)
#11 0x00000000004c42f0 _ZN14HttpServerImpl10initServerEP7XmlNodeRii (openlitespeed + 0xc42f0)
#12 0x00000000004b0ffe _ZN11LshttpdMain6configEv (openlitespeed + 0xb0ffe)
#13 0x00000000004b42d3 _ZN11LshttpdMain4initEiPPc (openlitespeed + 0xb42d3)
#14 0x0000000000492ee5 _ZN11LshttpdMain4mainEiPPc (openlitespeed + 0x92ee5)
#15 0x0000000000492dec main (openlitespeed + 0x92dec)
#18 0x0000000000493901 _start (openlitespeed + 0x93901)
Subject: Process 1173 (litespeed) dumped core
Process 1173 (litespeed) crashed and dumped core.


If I disable Namespace Container it goes away.

Please note that when I enable Namespace Container it works fine and also reduces the number of directories available to PHP, just like it is supposed to.

Thanks
 
#4
@Cold-Egg Hello, I upgraded with lsup to 1.8.3 and the exception is gone. Couldn't find the upgrade using dnf. Will I be able to go back to using dnf from now on, or do I have to keep using lsup?

Thanks
 

Cold-Egg

Administrator
#5
Well, the repo package for OLS v1.8.3 is not even ready yet. If you use lsup to upgrade to v1.8.3, then you can use dnf to upgrade it to the next release once, e.g., v1.8.4 is released.
 
Top