Re: [Users] Debian update to 10 fails on libc6

2019-09-22 Thread Hristo Benev
Sorry for late reply.


It fixed the kernel, but it had many other issues and I did not have to 
troubleshoot so I reverted back from backup.


I'm planning to revisit it soon.
Keep us posted for the issues you've encounter.

Thanks

> Оригинално писмо 
>От: Narcis Garcia informat...@actiu.net
>Относно: Re: [Users] Debian update to 10 fails on libc6
>До: users@openvz.org
>Изпратено на: 19.09.2019 12:05


> Hello Hristo,
>
> Did you encounter this error?
> $ systemctl
> Failed to lower RLIMIT_NOFILE's soft limit to 1K: Function not implemented
>
> Did you solve someway?
>
>
> El 11/7/19 a les 14:39, Hristo Benev ha escrit:
> > That fixed it.
> >
> >
> > Thank you
> >
> >
> >
> >> ---- Оригинално писмо 
> >> От: Vasily Averin v...@virtuozzo.com
> >> Относно: Re: [Users] Debian update to 10 fails on libc6
> >> До: OpenVZ users , Hristo Benev 
> >> Изпратено на: 11.07.2019 11:57
> >
> >
> >> On 7/11/19 11:45 AM, Vasily Averin wrote:
> >>> Dear Hristo,
> >>> if I remember correctly, osrelease.conf-related machinery recognized 
> >>> container's type by its template.
> >>> I.e. if you need to adjust osrelease "3.20.0" in some container, you need 
> >>> to specify proper IS template in its config file
> >>
> >> here is example from my test node,
> >> uname inside fedora-27 -based container was adjusted based on content of 
> >> osrelease.conf
> >>
> >> [root@vvs-ovz6 ~]# uname -a
> >> Linux vvs-ovz6.sw.ru 2.6.32-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 
> >> 13 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> [root@vvs-ovz6 ~]# grep TEMPLATE /etc/vz/conf/177.conf
> >> OSTEMPLATE="fedora-27-x86_64-20171116"
> >>
> >> [root@vvs-ovz6 ~]# grep fedora-27 /etc/vz/osrelease.conf
> >> fedora-27 4.14.0
> >>
> >> [root@vvs-ovz6 ~]# vzctl exec 177 uname -a
> >> Linux vvs-ovz6.sw.ru 4.14.0-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 
> >> 13 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >>> https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf
> >>>
> >>> # List of kernel versions (osreleases) required by different
> >>> # distributions (OS templates). vzctl tells kernel to report
> >>> # the given version to containers based on a specified distro.
> >>> #
> >>> # Format:  
> >>> ...
> >>> suse-13.2 3.16.6
> >>>
> >>>
> >>> On 7/11/19 1:54 AM, Hristo Benev wrote:
> >>>> Hi,
> >>>>
> >>>>
> >>>> as usual with the release on new debian version there is the issue with 
> >>>> libc refusing to install on older kernel.
> >>>>
> >>>>
> >>>>  cat /etc/debian_version
> >>>> 10.0
> >>>>
> >>>>
> >>>> cat /proc/sys/kernel/virt_osrelease
> >>>> 2.6.32-042stab139.1
> >>>>
> >>>>
> >>>> in
> >>>>  /etc/vz/osrelease.conf
> >>>> I have
> >>>> debian-8.0      3.20.0
> >>>> debian-9.0      3.20.0
> >>>> debian-10.0     3.20.0
> >>>>
> >>>>
> >>>> any idea how to fix it?
> >>>>
> >>>> ___
> >>>> Users mailing list
> >>>> Users@openvz.org
> >>>> https://lists.openvz.org/mailman/listinfo/users
> >>>>
> > ___
> > Users mailing list
> > Users@openvz.org
> > https://lists.openvz.org/mailman/listinfo/users
> >
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian update to 10 fails on libc6

2019-09-22 Thread Narcis Garcia
$ uname -a
Linux test1 3.20.0-openvz-042stab134.7-amd64 #1 SMP Tue Nov 27 18:37:39
MSK 2018 x86_64 GNU/Linux


I've tried Hristo's action (dist-upgrade Debian 9 to 10) and I see this
error message:

Job for systemd-udevd.service failed because the control process exited
with error code.
See "systemctl status systemd-udevd.service" and "journalctl -xe" for
details.
invoke-rc.d: initscript udev, action "restart" failed.
● systemd-udevd.service - udev Kernel Device Manager
   Loaded: loaded (/lib/systemd/system/systemd-udevd.service; static;
vendor preset: enabled)
   Active: activating (start) since Sun 2019-09-22 18:31:45 UTC; 6ms ago
 Docs: man:systemd-udevd.service(8)
   man:udev(7)
 Main PID: 4138 ((md-udevd))
   Memory: 0B
   CGroup: /system.slice/systemd-udevd.service
dpkg: error processing package udev (--configure):
 installed udev package post-installation script subprocess returned
error exit status 1


El 11/7/19 a les 14:39, Hristo Benev ha escrit:
> That fixed it.
> 
> 
> Thank you
> 
> 
> 
>>  Оригинално писмо ----
>> От: Vasily Averin v...@virtuozzo.com
>> Относно: Re: [Users] Debian update to 10 fails on libc6
>> До: OpenVZ users , Hristo Benev 
>> Изпратено на: 11.07.2019 11:57
> 
> 
>> On 7/11/19 11:45 AM, Vasily Averin wrote:
>>> Dear Hristo,
>>> if I remember correctly, osrelease.conf-related machinery recognized 
>>> container's type by its template.
>>> I.e. if you need to adjust osrelease "3.20.0" in some container, you need 
>>> to specify proper IS template in its config file
>>
>> here is example from my test node,
>> uname inside fedora-27 -based container was adjusted based on content of 
>> osrelease.conf
>>
>> [root@vvs-ovz6 ~]# uname -a
>> Linux vvs-ovz6.sw.ru 2.6.32-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
>> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>> [root@vvs-ovz6 ~]# grep TEMPLATE /etc/vz/conf/177.conf
>> OSTEMPLATE="fedora-27-x86_64-20171116"
>>
>> [root@vvs-ovz6 ~]# grep fedora-27 /etc/vz/osrelease.conf
>> fedora-27 4.14.0
>>
>> [root@vvs-ovz6 ~]# vzctl exec 177 uname -a
>> Linux vvs-ovz6.sw.ru 4.14.0-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
>> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>>> https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf
>>>
>>> # List of kernel versions (osreleases) required by different
>>> # distributions (OS templates). vzctl tells kernel to report
>>> # the given version to containers based on a specified distro.
>>> #
>>> # Format:  
>>> ...
>>> suse-13.2 3.16.6
>>>
>>>
>>> On 7/11/19 1:54 AM, Hristo Benev wrote:
>>>> Hi,
>>>>
>>>>
>>>> as usual with the release on new debian version there is the issue with 
>>>> libc refusing to install on older kernel.
>>>>
>>>>
>>>>  cat /etc/debian_version
>>>> 10.0
>>>>
>>>>
>>>> cat /proc/sys/kernel/virt_osrelease
>>>> 2.6.32-042stab139.1
>>>>
>>>>
>>>> in
>>>>  /etc/vz/osrelease.conf
>>>> I have
>>>> debian-8.0      3.20.0
>>>> debian-9.0      3.20.0
>>>> debian-10.0     3.20.0
>>>>
>>>>
>>>> any idea how to fix it?
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@openvz.org
>>>> https://lists.openvz.org/mailman/listinfo/users
>>>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian update to 10 fails on libc6

2019-09-19 Thread Narcis Garcia
Hello Hristo,

Did you encounter this error?
$ systemctl
Failed to lower RLIMIT_NOFILE's soft limit to 1K: Function not implemented

Did you solve someway?


El 11/7/19 a les 14:39, Hristo Benev ha escrit:
> That fixed it.
> 
> 
> Thank you
> 
> 
> 
>>  Оригинално писмо 
>> От: Vasily Averin v...@virtuozzo.com
>> Относно: Re: [Users] Debian update to 10 fails on libc6
>> До: OpenVZ users , Hristo Benev 
>> Изпратено на: 11.07.2019 11:57
> 
> 
>> On 7/11/19 11:45 AM, Vasily Averin wrote:
>>> Dear Hristo,
>>> if I remember correctly, osrelease.conf-related machinery recognized 
>>> container's type by its template.
>>> I.e. if you need to adjust osrelease "3.20.0" in some container, you need 
>>> to specify proper IS template in its config file
>>
>> here is example from my test node,
>> uname inside fedora-27 -based container was adjusted based on content of 
>> osrelease.conf
>>
>> [root@vvs-ovz6 ~]# uname -a
>> Linux vvs-ovz6.sw.ru 2.6.32-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
>> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>> [root@vvs-ovz6 ~]# grep TEMPLATE /etc/vz/conf/177.conf
>> OSTEMPLATE="fedora-27-x86_64-20171116"
>>
>> [root@vvs-ovz6 ~]# grep fedora-27 /etc/vz/osrelease.conf
>> fedora-27 4.14.0
>>
>> [root@vvs-ovz6 ~]# vzctl exec 177 uname -a
>> Linux vvs-ovz6.sw.ru 4.14.0-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
>> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>>
>>> https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf
>>>
>>> # List of kernel versions (osreleases) required by different
>>> # distributions (OS templates). vzctl tells kernel to report
>>> # the given version to containers based on a specified distro.
>>> #
>>> # Format:  
>>> ...
>>> suse-13.2 3.16.6
>>>
>>>
>>> On 7/11/19 1:54 AM, Hristo Benev wrote:
>>>> Hi,
>>>>
>>>>
>>>> as usual with the release on new debian version there is the issue with 
>>>> libc refusing to install on older kernel.
>>>>
>>>>
>>>>  cat /etc/debian_version
>>>> 10.0
>>>>
>>>>
>>>> cat /proc/sys/kernel/virt_osrelease
>>>> 2.6.32-042stab139.1
>>>>
>>>>
>>>> in
>>>>  /etc/vz/osrelease.conf
>>>> I have
>>>> debian-8.0      3.20.0
>>>> debian-9.0      3.20.0
>>>> debian-10.0     3.20.0
>>>>
>>>>
>>>> any idea how to fix it?
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@openvz.org
>>>> https://lists.openvz.org/mailman/listinfo/users
>>>>
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian update to 10 fails on libc6

2019-07-11 Thread Hristo Benev
That fixed it.


Thank you



> Оригинално писмо 
>От: Vasily Averin v...@virtuozzo.com
>Относно: Re: [Users] Debian update to 10 fails on libc6
>До: OpenVZ users , Hristo Benev 
>Изпратено на: 11.07.2019 11:57


> On 7/11/19 11:45 AM, Vasily Averin wrote:
> > Dear Hristo,
> > if I remember correctly, osrelease.conf-related machinery recognized 
> > container's type by its template.
> > I.e. if you need to adjust osrelease "3.20.0" in some container, you need 
> > to specify proper IS template in its config file
>
> here is example from my test node,
> uname inside fedora-27 -based container was adjusted based on content of 
> osrelease.conf
>
> [root@vvs-ovz6 ~]# uname -a
> Linux vvs-ovz6.sw.ru 2.6.32-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> [root@vvs-ovz6 ~]# grep TEMPLATE /etc/vz/conf/177.conf
> OSTEMPLATE="fedora-27-x86_64-20171116"
>
> [root@vvs-ovz6 ~]# grep fedora-27 /etc/vz/osrelease.conf
> fedora-27 4.14.0
>
> [root@vvs-ovz6 ~]# vzctl exec 177 uname -a
> Linux vvs-ovz6.sw.ru 4.14.0-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
> 19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> > https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf
> >
> > # List of kernel versions (osreleases) required by different
> > # distributions (OS templates). vzctl tells kernel to report
> > # the given version to containers based on a specified distro.
> > #
> > # Format:  
> > ...
> > suse-13.2 3.16.6
> >
> >
> > On 7/11/19 1:54 AM, Hristo Benev wrote:
> >> Hi,
> >>
> >>
> >> as usual with the release on new debian version there is the issue with 
> >> libc refusing to install on older kernel.
> >>
> >>
> >>  cat /etc/debian_version
> >> 10.0
> >>
> >>
> >> cat /proc/sys/kernel/virt_osrelease
> >> 2.6.32-042stab139.1
> >>
> >>
> >> in
> >>  /etc/vz/osrelease.conf
> >> I have
> >> debian-8.0      3.20.0
> >> debian-9.0      3.20.0
> >> debian-10.0     3.20.0
> >>
> >>
> >> any idea how to fix it?
> >>
> >> ___
> >> Users mailing list
> >> Users@openvz.org
> >> https://lists.openvz.org/mailman/listinfo/users
> >>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian update to 10 fails on libc6

2019-07-11 Thread Vasily Averin
On 7/11/19 11:45 AM, Vasily Averin wrote:
> Dear Hristo,
> if I remember correctly,  osrelease.conf-related machinery recognized 
> container's type by its template.
> I.e. if you need to adjust osrelease "3.20.0" in some container, you need to 
> specify proper IS template in its config file 

here is example from my test node,
uname inside fedora-27 -based container was adjusted based on content of 
osrelease.conf

[root@vvs-ovz6 ~]# uname -a
Linux vvs-ovz6.sw.ru 2.6.32-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@vvs-ovz6 ~]# grep TEMPLATE /etc/vz/conf/177.conf 
OSTEMPLATE="fedora-27-x86_64-20171116"

[root@vvs-ovz6 ~]# grep fedora-27 /etc/vz/osrelease.conf 
fedora-27   4.14.0

[root@vvs-ovz6 ~]# vzctl exec 177 uname -a
Linux vvs-ovz6.sw.ru 4.14.0-042stab132.1.vvs.psbm87155v12 #1 SMP Mon Aug 13 
19:28:24 MSK 2018 x86_64 x86_64 x86_64 GNU/Linux

> https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf
> 
> # List of kernel versions (osreleases) required by different
> # distributions (OS templates). vzctl tells kernel to report
> # the given version to containers based on a specified distro.
> #
> # Format:  
> ...
> suse-13.2 3.16.6
> 
> 
> On 7/11/19 1:54 AM, Hristo Benev wrote:
>> Hi,
>>
>>
>> as usual with the release on new debian version there is the issue with libc 
>> refusing to install on older kernel.
>>
>>
>>  cat /etc/debian_version
>> 10.0
>>
>>
>> cat /proc/sys/kernel/virt_osrelease
>> 2.6.32-042stab139.1
>>
>>
>> in
>>  /etc/vz/osrelease.conf
>> I have
>> debian-8.0      3.20.0
>> debian-9.0      3.20.0
>> debian-10.0     3.20.0
>>
>>
>> any idea how to fix it?
>>
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://lists.openvz.org/mailman/listinfo/users
>>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Debian update to 10 fails on libc6

2019-07-11 Thread Vasily Averin
Dear Hristo,
if I remember correctly,  osrelease.conf-related machinery recognized 
container's type by its template.
I.e. if you need to adjust osrelease "3.20.0" in some container, you need to 
specify proper IS template in its config file 


https://src.openvz.org/projects/OVZL/repos/vzctl/browse/etc/osrelease.conf

# List of kernel versions (osreleases) required by different
# distributions (OS templates). vzctl tells kernel to report
# the given version to containers based on a specified distro.
#
# Format:  
...
suse-13.2   3.16.6


On 7/11/19 1:54 AM, Hristo Benev wrote:
> Hi,
> 
> 
> as usual with the release on new debian version there is the issue with libc 
> refusing to install on older kernel.
> 
> 
>  cat /etc/debian_version
> 10.0
> 
> 
> cat /proc/sys/kernel/virt_osrelease
> 2.6.32-042stab139.1
> 
> 
> in
>  /etc/vz/osrelease.conf
> I have
> debian-8.0      3.20.0
> debian-9.0      3.20.0
> debian-10.0     3.20.0
> 
> 
> any idea how to fix it?
> 
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users