Re: [Users] bash_profile execution
That's odd. I've been using openvz since well, a long time. And as far as I can remember, doing "vzctl enter" has never sourced the login profile, since entering the CTin that fashion makes you basically sort of an unknown uid 0 entity. Jake On Thu, Jul 1, 2021 at 10:21 AM Oleksiy Tkachenko wrote: > but my bash_profile's were always executed before I run latest openVZ7 > updates. > that's the point) > is that bug? > > > чт, 1 лип. 2021 о 20:05 jjs - mainphrame пише: > >> It would run during an actual login. But entering the CT via vzctl enter >> bypasses the normal login process. >> >> Jake >> >> On Thu, Jul 1, 2021 at 9:55 AM Oleksiy Tkachenko >> wrote: >> >>> That's works fine. >>> But how to run that automatically during login? >>> >>> чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише: >>> This works for me: su - Jake On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko wrote: > I realize that bash_profile not executed automatically when "vzctl > enter CID" now. > > How to execute it ? > Thank you! > > > -- > Olexiy > ___ > 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 >> > ___ > 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] bash_profile execution
but my bash_profile's were always executed before I run latest openVZ7 updates. that's the point) is that bug? чт, 1 лип. 2021 о 20:05 jjs - mainphrame пише: > It would run during an actual login. But entering the CT via vzctl enter > bypasses the normal login process. > > Jake > > On Thu, Jul 1, 2021 at 9:55 AM Oleksiy Tkachenko > wrote: > >> That's works fine. >> But how to run that automatically during login? >> >> чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише: >> >>> This works for me: >>> >>> su - >>> >>> Jake >>> >>> On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko >>> wrote: >>> I realize that bash_profile not executed automatically when "vzctl enter CID" now. How to execute it ? Thank you! -- Olexiy ___ 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 > ___ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users
Re: [Users] bash_profile execution
It would run during an actual login. But entering the CT via vzctl enter bypasses the normal login process. Jake On Thu, Jul 1, 2021 at 9:55 AM Oleksiy Tkachenko wrote: > That's works fine. > But how to run that automatically during login? > > чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише: > >> This works for me: >> >> su - >> >> Jake >> >> On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko >> wrote: >> >>> I realize that bash_profile not executed automatically when "vzctl enter >>> CID" now. >>> >>> How to execute it ? >>> Thank you! >>> >>> >>> -- >>> Olexiy >>> ___ >>> 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] bash_profile execution
That's works fine. But how to run that automatically during login? чт, 1 лип. 2021 о 18:19 jjs - mainphrame пише: > This works for me: > > su - > > Jake > > On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko > wrote: > >> I realize that bash_profile not executed automatically when "vzctl enter >> CID" now. >> >> How to execute it ? >> Thank you! >> >> >> -- >> Olexiy >> ___ >> 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] bash_profile execution
This works for me: su - Jake On Thu, Jul 1, 2021 at 8:03 AM Oleksiy Tkachenko wrote: > I realize that bash_profile not executed automatically when "vzctl enter > CID" now. > > How to execute it ? > Thank you! > > > -- > Olexiy > ___ > 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] bash_profile execution
I realize that bash_profile not executed automatically when "vzctl enter CID" now. How to execute it ? Thank you! -- Olexiy ___ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users