NuTyX user's Forum

General => Before you give a try => Topic started by: bozonius on Fri Jun 08 21:48:00 2018

Title: Any guarantees of future environment for NuTyX?
Post by: bozonius on Fri Jun 08 21:48:00 2018
Currently, it seems, the following is true for NuTyX:

1.   NuTyX is fixed release, not rolling.
2.  There will be some form of LTS for 9.2
3.  The init system is *NOT* systemd
4.  The package manager is Cards -- does this do dependency checking or not?
5.  There is support for hosting VirtualBox

I am basing this on info at distrowatch.org and my own testing and observations.  Please correct if any of this is inaccurate.

Assuming the above is accurate (or nearly so),  is NuTyX committed to this sort of "configuration" (if you will) moving into the future?  As it currently stands, this is the perfect arrangement for my needs and wants.  I am currently trying to find an adequate platform for virtualbox hosting that will be at least as long-term stable as CentOS 6 has been.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 10:24:31 2018
Currently, it seems, the following is true for NuTyX:

1.   NuTyX is fixed release, not rolling.
http://nutyx.org/en/dictionary#13
2.  There will be some form of LTS for 9.2
http://nutyx.org/en/old-news/2018-01-17.html  See "NuTyX 9.1 packages moved"
Those binaries will be available as long I have space enought (20 GB) 13 G are used at the moment.

4.  The package manager is Cards -- does this do dependency checking or not?
http://nutyx.org/en/dictionary#1

Regards
Thierry
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 10:34:25 2018
So I take it that my list was correct.   

My only question is what your dictionary means by dependencies for compile time.  I mean, if I need to install, say, an office suite and maybe that depends on other packages (fonts, etc), then cards will automatically install those dependencies; that is, I will not end up with a corrupted configuration.    I think that is what you mean.

I think NuTyX might be a good candidate.  It would be helpful if I can get the virtualbox Guest Additions working, as that would make testing and evaluation easier (the clipboard does not work even though the modules are installed and loaded).
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 10:41:26 2018
My only question is what your dictionary means by dependencies for compile time. 
Compilation dependencies are specified in the recipe of the package.

Runtime dependencies if it's a library, it will found it and add it automatically when you install something if other then a lib (python, perl module, script, etc..), it has to be specified at the time you build the package . But at the moment the end user want's to install it, the package will grab the dependencies, no need to worry about... unless the packager did a bad job (this is always possible as we are humans.)
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 11:18:55 2018
It would be helpful if I can get the virtualbox Guest Additions working, as that would make testing and evaluation easier (the clipboard does not work even though the modules are installed and loaded).

I can only talk for NuTyX host and virtual machines:

Code: [Select]
get kernel-lts.devel cards.devel
you mount the /opt/VirtualBox/additions/VBoxGuestAdditions.iso

then in NuTyX you do:
Code: [Select]
sudo mount /dev/sr0 /mnt
cd /mnt
sudo ./VBoxLinuxAdditions.run
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 16:15:07 2018
I have done exactly that -- several times, too.  But it keeps failing for some reason.  The script seems to want "build_in_tmp"  which does not exist.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 16:35:01 2018
I am running into another issue now, also.  Some problem with make:

bash-4.4# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
You may need to restart your guest system to finish removing the guest drivers.
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
bash-4.4# cat /var/log/vboxadd-setup.log
Building the main Guest Additions module.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.14.44-NuTyX-lts/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (    \
echo >&2;                           \
echo >&2 "  ERROR: Kernel configuration is invalid.";       \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
echo >&2 ;                          \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
make[2]: *** No rule to make target '/tmp/vbox.0/VBoxGuest-linux.o', needed by '/tmp/vbox.0/vboxguest.o'.  Stop.
make[1]: *** [Makefile:1528: _module_/tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile.include.footer:101: vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
modprobe vboxguest failed
bash-4.4#


Thierry, I realize I am hitting you with all sorts of questions and issues, so thanks for your patience as I learn your system.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 17:50:49 2018
My first concern is: how come you have a such Basic bash prompt. Should be green or red. Did you install NuTyX or you are trying this in a live session. My second concern, did you install kernel-Ltd.devel or kernel.devel. Make shure itís kernel-lts.devel
Send from my phone
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 17:57:20 2018
I got rid of the /etc/bashrc because it was generating a string that got sent to the upper right of the bash window, partially obscuring output and scrambling the output when I tried to scroll back.  I.e., it was getting too messy, so I removed it.  Is there some reason this has to be there?

At any rate, I had already installed the kernel-lts.devel as required/requested.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 18:04:02 2018
Will try to add a tuto to our documentation. This is a recurrent issue. Hopefully will help
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 18:27:52 2018
Will try to add a tuto to our documentation. This is a recurrent issue. Hopefully will help
Which -- the GA make problem or the /etc/bashrc problem?

Not having the GA's is making working with the VM difficult.  I hope you will look into that issue first.  Thanks.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 19:53:10 2018
Try to put it back then you will have your answer. I check on my side as well
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 20:01:26 2018
I think you forgot to upgrade your system:

Code: [Select]
checkIt will shows you "kernel"
Code: [Select]
sudo cards upgradethen reboot
and it should compiles the addons
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sat Jun 09 20:09:50 2018
(http://downloads.tuxfamily.org/nutyx/ScreenShots/VirtualBox_NuTyX_10.png)
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 22:49:55 2018
Nope.  I've done the upgrades -- cards tells me everything is up to date already.

As far as "putting it back," if you mean the bashrc file, I expect it to do the same thing it did before, which is namely to scramble the bash window.  Why would it behave any differently now?
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sat Jun 09 23:05:41 2018
So it looks like there is a new kernel -- not sure when that happened, because I did a sync and upgrade yesterday and all was up to date.  Even after updating the kernel-lts.devel package, I still get the same error.

So what did I "forget" this time?

bash-4.4# ls /boot
config_64-4.14.48  kernel            System_64.map-4.14.48
grub           kernel-4.14.48-NuTyX-lts
bash-4.4# uname -a
Linux nutyx 4.14.48-NuTyX-lts #1 SMP Wed Jun 6 10:27:38 UTC 2018 x86_64 GNU/Linux
bash-4.4# uname -m
x86_64
bash-4.4# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
You may need to restart your guest system to finish removing the guest drivers.
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
bash-4.4# cat /var/log/vboxadd-setup.log
Building the main Guest Additions module.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.14.48-NuTyX-lts/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (    \
echo >&2;                           \
echo >&2 "  ERROR: Kernel configuration is invalid.";       \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
echo >&2 ;                          \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
make[2]: *** No rule to make target '/tmp/vbox.0/VBoxGuest-linux.o', needed by '/tmp/vbox.0/vboxguest.o'.  Stop.
make[1]: *** [Makefile:1522: _module_/tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile.include.footer:101: vboxguest] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
modprobe vboxguest failed
bash-4.4#
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sun Jun 10 01:05:55 2018
Reboot maybe
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sun Jun 10 09:18:59 2018
OK I manage to reproduce: /etc/bashrc is needed ... It fails without. Another minor issue, you do:

Code: [Select]
suinstead of
Code: [Select]
su -
Anyway start all over again will be very fast, (i took me less then 5 minutes) and don't delete any bash config file. Instead comment the line:
PROMPT_COMMAND=prompt_command in /etc/bashrc

Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Sun Jun 10 10:24:48 2018
https://vimeo.com/274329195
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Sun Jun 10 19:29:35 2018
I replaced /etc/bashrc and it made no difference.  I have been using sudo not su.

Is there a way to get rid of that string that hovers in the upper right of the bash terminal window?  It is annoying.  I am not sure I understand why it is there or is needed.

Even after setting a root password and logging in as "su" (not "su -") and dotting in the /etc/bashrc script, the build still fails.  This does not surprise me, given that /etc/bashrc only does some tputs (which is probably causing the problem with the string appearing that scrambles the scrollback) and sets  a few non-make, non-vbox related variables.

How would bashrc impact make(1) or vbox?  What am I  not understanding?  (It is possible I am not seeing something obvious.)

Also, the exact means of logging in as root won't typically have much of an impact either.  I use sudo, su, and other means of becoming root on various systems and I've not noticed any particular variation in behavior from one to another.

You need to look at those tput calls, btw.  I don't think they are doing what you think they do.   Maybe a French v. English difference?  Idk.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Mon Jun 11 08:00:10 2018
Quote
Is there a way to get rid of that string that hovers in the upper right of the bash terminal window?
Anyway start all over again will be very fast, (i took me less then 5 minutes) and don't delete any bash config file. Instead comment the line:
PROMPT_COMMAND=prompt_command in /etc/bashrc

And do EXACTLY like in the tuto (video)
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Wed Jun 13 04:33:26 2018
Your fix corrected the shell issue, thanks.

Now, back to the GA question.  Which version of VirtualBox are you running?  This may be important because there are some issues with recent kernels.  Your response should be either 5.1.x or 5.2.x.  Thanks again.
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Wed Jun 13 05:00:12 2018
As I told you before, as long your prompt look like this:
Code: [Select]
bash-4.4# which means that your environment variables are not properly sets, GA will not compile ( I was able to reproduce this issue).
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Wed Jun 13 05:44:23 2018
Please tell me which VBox version you are using.  There is nothing in the shell environment that affects the GA build.   I made the change you requested, and the GA's still do not build!

Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Wed Jun 13 05:57:33 2018
You can find easily all the packages version on http://www.nutyx.org/en/packages.

I use Virtualbox 5.2.12 (http://nutyx.org/en/?type=pkg&branch=stable&arch=x86_64&searchpkg=virtualbox)

Regards,
Thierry
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Wed Jun 13 16:46:09 2018
Are you using 5.1.12 on both the host AND the guest?   Which OS's?
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Wed Jun 13 17:20:33 2018
Yes on both and NuTyX OS
Title: Re: Any guarantees of future environment for NuTyX?
Post by: bozonius on Wed Jun 13 18:00:05 2018
I am running CentOS as my VBox host with VBox 5.1.12.   So there is some other difference as to why I can't get GA's to compile.

I'll have a test box in a few days or so; maybe I can try some things then unless you have any more suggestions.  Not having the GA's makes evaluation of NuTyX difficult because the clipboard, shared file systems, and other VBox features do not work without them which slows me down a bit.  There's always FTP I guess...
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Thierry on Wed Jun 13 18:03:39 2018
Hello
My suggestion would be: Make a video of your all process so I can point out what you maybe wrong.

Thanks a lot for keep trying anyway. I'm shure it's  a small detail we miss.

You could also setup an ssh server and connect via ssh
Title: Re: Any guarantees of future environment for NuTyX?
Post by: Dania5583 on Sat Jun 16 16:57:54 2018
Hi Bozonius Hi Thierry
I think there is a mismatch between the version of virtualbox you use.
Bozonius says  he uses 5.1.12 (are you sure because your test show that you are uncompressing GA 5.2.12) and you Thierry 5.2.12 on both sides.
Normally you must use the same level on both the host and the guest if you have virtualbox 5.1.12 the GA must would be 5.1.12. To complicate the Nutyx kernel has the modules of  virtualbox 5.2.12 compile in.

if you use 5.1.12 the best way is to upgrade Virtualbox to 5.2.12 on the host

Best regards Daniel