Jump to content
funtoo forums


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by lazlo.vii

  1. lazlo.vii


    My server has no desktop....
  2. For a long time I have wanted a simple and secure way to deploy NFS. While there are some options such as Kerberos it's not what I would call easy to set up. This may change based on what I read here: https://tools.ietf.org/html/draft-cel-nfsv4-rpc-tls-00 I won't claim to understand a lot of what is there. If this becomes the new standard for NFS or even RPC in general could it then be possible to add USE="tls" to a later version of the packages and have it work "out of the box" with a stable and sane default config? If someone has a valid SSL/TLS cert via Let's Encrypt could that same cert be used for encrypting all of their NFS and/or RPC traffic? Thanks for putting up with my questions.
  3. lazlo.vii

    Explicit setting CPU_FLAGS_X86 for Skylake Xeon E3 v5

    It will only have an effect if: 1.) The code being compiled comes from portage and 2.) The ebuild for that code specifies the use of the CPU_FLAGS. So, no ebuild = no settings from Portage are used by gcc.
  4. lazlo.vii

    Explicit setting CPU_FLAGS_X86 for Skylake Xeon E3 v5

    CPU_FLAGS used to be standard USE flags until some people that know a lot more about Portage than I do decided that they were tired of having a lot of USE flags for CPU options that could be enabled globally or per package and might have different meanings depending on which package you were talking about. In an effort to stream line the code base and end the confusion they decided that all CPU options would be moved into the CPU_FLAGS settings. I don't think that Portage will care if a CPU_FLAG is included even if no ebuilds use it. I think that they will just be ignored in the same way that Portage ignores invalid USE flags. So if I am right you could add "CPU_FLAGS_X86="12_dozen_hamsters_running_on_wheels" and Portage wouldn't not care, but PETA might.
  5. lazlo.vii

    A new Odroid x86_64 SBC

    Hardkernel.com has released the Odroid-H2. It's an SBC based around an Intel Celeron (14nm, 10W TDP) with dual Realtek 1Gb NICs, dual channel DDR4 SODIMM slots, 2 SATA3, and one m.2 NVMe slot. This looks like a fun project with some very serious uses. While I don't need another computer at all I am having to talk myself out of buying one so I don't blow my budget for Christmas. https://www.hardkernel.com/shop/odroid-h2/
  6. lazlo.vii

    Why Funtoo is not migrating on GitLab ?

    I think that Microsoft knows the kind of problems that would be caused if they abused their ownership of GitHub and I think they know beyond a shadow of a doubt what it would cost them: https://www.theregister.co.uk/2018/06/08/nat_friedman_github_ceo_elect_ama_session/ Let's face it, when it comes to freedom, privacy, an open market, and just about every other category of economic threat you can imagine Google/Alphabet/Android/Chrom* is bigger than Microsoft ever was. If Microsoft wants to stop their market share slide (much less regain market dominance) then they need software developers to like them and to work with them.
  7. With today's announcement of the upcoming switch to debian-sources-lts I have started thinking about stuff on my server that might be affected. While I want to track as much of the stable Funtoo Portage tree as can I am unsure what affects downgrading the kernel will have. I use btrfs for my RAID10 and that is my main concern. I don't really know what else might be affected because of the huge amount of work that goes into the kernel. I try to keep a my server simple and just install what I need or really want so I don't think it will be a lot. Short of downgrading to debian-sources-lts and testing it right now, is there an easy way to predict some the changes before hand so I be on the look out for trouble?
  8. lazlo.vii

    A quick question of the upcoming kernel switch.

    I have changed my mind about the size of LV's and decided to go with 8GB instead of 4GB so I don't have to guess about having enough space in /*/tmp to compile a new kernel. I'll edit this post to add my results when I get done. Hopefully that will be within the next 3 hours. Well, I have run basic tests with defrag and zlib compression and changed RAID back and forth from 0,1, and 10, added large amounts of data, deleted some of it, did it all again, made a few snap shops, deleted them, and so on. I can't find any obvious problems with the usage or functionality of kernel 4.9 on a btrfs filesystem created with newer kernel. I know that data point doesn't make a statistically useful sample, but it does put my mind at ease.
  9. lazlo.vii

    A quick question of the upcoming kernel switch.

    This morning I gave it some thought and decided I will set up a VM with 4x 4GB LV's on my ssd. I still have my copy of SRCD 5.2.2 so I will install in the same manner I used for the host server, which was to just use one drive formatted in btrfs for the install and then convert to RAID10 once the system had been rebooted and the profile set. Once that is done I can switch kernels and see what happens. If I run into any problems because of the switch I will not lose data because it will be a VM and because it is VM I can walk away and leave it paused if need be. If using different versions of the kernel is going to cause issues I think is good way to test for it because I'll end up using one kernel (4.14.32) for the creation of the initial btrfs partition, a second (4.14.12-2) for the creation of the RAID10, and a third (4.9.130) to test scrubbing, compression, rebalancing, and anything else I will have time for. The different SRCD versions and the kernel used in them are listed here if anyone needs them: http://www.system-rescue-cd.org/Changes-x86/ After this test I do not think I will use SRCD any more for installing btrfs based Funtoo systems. A Devuan or Debian livecd seems like a much safer choice.
  10. lazlo.vii

    A quick question of the upcoming kernel switch.

    Thank you for the information. I don't really own another system that fully compares with my server, but I can install Funtoo to a new btrfs partition on my desktop pc, copy over the world file from the server, build the same software, and then try the kernel down grade. It will take some time but might give me a good idea of the kinds of problems I might encounter.
  11. lazlo.vii

    Seems like everything's stuck

    Call me stupid, but I have to ask: If you have to add a keyword to unmask a package is it really part of the "normal update"? I am not trying to be an asshat. My view of it has always been that the Funtoo Devs (and most people on the forums) know far more about the inner workings of Portage than I do and if they have a package masked, key-worded, or otherwise locked out it's not my place to second guess them. I just don't make a habit of unmasking packages without a very good reason so I don't know if it is considered standard procedure. Maybe I am too conservative in my views and they need adjusting. Maybe this is getting too far off topic since the OP was asking about plex-media-server in one of the overlays...If so please tell me to be quiet.
  12. lazlo.vii

    Seems like everything's stuck

    I have also been on debian-sources 4.14.12 for months. In fact the last time I compiled a kernel was... ~ $ ls -al /boot total 23384 drwxr-xr-x 3 root root 4096 Oct 5 08:14 . drwxr-xr-x 1 root root 162 Aug 29 09:50 .. -rw-r--r-- 1 root root 0 Oct 5 08:14 .keep -rw-r--r-- 1 root root 0 Jul 20 07:39 .keep_sys-apps_baselayout-0 -rw-r--r-- 1 root root 3288058 Aug 20 21:29 System.map-debian-sources-x86_64-4.14.12-2 -rw-r--r-- 1 root root 5125120 Oct 2 12:12 early_ucode.cpio drwxr-xr-x 6 root root 4096 Oct 2 12:12 grub -rw-r--r-- 1 root root 10213136 Aug 20 22:05 initramfs-debian-sources-x86_64-4.14.12-2 -rw-r--r-- 1 root root 5240592 Aug 20 21:29 kernel-debian-sources-x86_64-4.14.12-2 ...August 20th. For the record: ~ $ emerge -pv ="debian-sources-4.14.17" These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS *] sys-kernel/debian-sources-4.14.17:4.14.17::core-kit [4.14.12:4.14.12::core-kit] USE="binary btrfs -zfs" 104,130 KiB Total: 1 package (1 in new slot), Size of downloads: 104,130 KiB The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) # required by =debian-sources-4.14.17 (argument) =sys-kernel/debian-sources-4.14.17 ** NOTE: The --autounmask-keep-masks option will prevent emerge from creating package.unmask or ** keyword changes.
  13. I don't know what I did, but what ever it was it wasn't good. I had to shut it down my server and move it to clean the floor and after booting it back up I noticed my containers were not running. Running /etc/init.d/lxd start: * Starting lxd service ... * start-stop-daemon: /usr/libexec/lxd does not exist [ !! ] * ERROR: lxd failed to start I tried "rc-update del lxd default" and rebooted then "rc-update add lxd default && openrc" Still had the same issue. So then I tried "mkdir /usr/libexec/lxd && openrc" and I got: * Starting lxd service ... [ ok ] lxc list Error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: no such file or directory tail -f /var/log/syslog showed me this: /etc/init.d/lxd[21723]: ERROR: lxd failed to start /etc/init.d/lxd[21771]: start-stop-daemon: failed to exec `/usr/libexec/lxd': Permission denied If I start lxd as root with "lxd --group lxd" I can get my containers but I have to do it in a tmux session so I can leave it running after logging out of ssh. Doing this I am unable to tell any difference from the way my server used to start lxd via openrc. What ever I did wrong was done days or maybe weeks ago. Did I miss configure something? Did I use the wrong option in etc-update? I have tried recompiling lxd, lxc, lxcfs, and cgmanager but it didn't change anything. I am at a loss. What should I look at next?
  14. OK, I have updated and the issue has not come back. Now I just need to recreate a few containers and restore their data (three cheers for backups) which will be a pain in the ass but at least it's working again.
  15. I rolled my filesystem back to a snapshot taken on Oct 8. This was before the update that installed LXD 3.6 and everything started correctly from openrc. Now I just need to install the updates from the past month and hope the issue doesn't resurface.
  16. lazlo.vii

    cannot set profile

    I have to ask, are you running the command as root or at least using sudo as a non-root user? If not you can't change files in /etc
  17. I have version 3.6 installed.
  18. I did this a while back to set up an AP with hostapd: /etc/conf.d $ cat net.brwlan template="bridge" ipaddr="" gateway="" nameserver="" slaves="net.eth0 net.wlan0" stp="on" forwarding=1 with /etc/conf.d $ cat net.eth0 template="interface-noip" and /etc/conf.d $ cat net.wlan0 template="interface-noip"[/code] Now, since you already have an AP I think you could configure net.brwlan to connect to the AP but to be honest I don't know much about it since that is not documented in the networking guide. NetworkManager seems to be the only official way to connect to an AP in Funtoo. If I had to do it I would start with reading up on wpa_supplicant and try to write a bash script to bring the bridge up and and then connect to the AP. Or, I would try to let NetworkManager manage the wifi and then attempt to get my box to just act as a router with no bridging of NICs at all. I don't have a lot of faith in NW though. Unless it has improved greatly in the past 5 years I think it would just get in the way. Have a look at https://wiki.gentoo.org/wiki/Home_router It might give you some ideas. With luck someone that knows the Funtoo networking scripts more intimately than I do can give you a better answer.
  19. If you can tell us what you are trying to do exactly it could help us give you the best answer. If you want to run a wireless access point there is software that can help with that, like hostapd. If you just want a simple bridge to play with you could take a look at https://www.funtoo.org/Networking just don't add any bridge you create to a run level with rc-update and it will only start when you start it. As with anything in Linux there are going to be a lot of ways to do it but really the best way is going to depend on what you are trying to do and why.
  20. lazlo.vii

    Funtoo on the Odroid-xu4

    I have an Odroid-xu4 and I would like to install Funtoo. The newest stage3 file is from late July and I took a peek inside at the ego.conf file. It isn't setup for 1.2 and naturally the version of ego is less than 2.6.0. Are there plans to continue supporting the Odroid-xu4? I understand that with limited resources you guys can only do so much. If the Odroid support is "on the back burner" that is ok. If it is discontinued I can live with that too. I'll just look for another solution. Either way I would be grateful for a status update.
  21. lazlo.vii

    Funtoo on the Odroid-xu4

    I am using the stage3 from here: https://build.funtoo.org/funtoo-current/arm-32bit/odroid-xu4/ The kernel is 4.14.78+ from here: https://github.com/hardkernel/linux/tree/odroidxu4-4.14.y/kernel I am using the default kernel config for an Odroid xu3 or xu4. The kernel was compiled following this guide for native compile: https://wiki.odroid.com/odroid-xu4/software/building_kernel#native-build EDIT: I copied the kernel .config to http://termbin.com/zeue
  22. lazlo.vii

    Funtoo on the Odroid-xu4

    * Messages for package sys-devel/gcc-7.3.1: * Failed to set XATTR_PAX markings -re /var/tmp/portage/sys-devel/gcc-7.3.1/image//usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/7.3.1/cc1. * Failed to set XATTR_PAX markings -re /var/tmp/portage/sys-devel/gcc-7.3.1/image//usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/7.3.1/cc1plus. This shows up at the end of merging gcc and there is a similar message after merging python. Is it going to impact my system stability or security in the long run? I would like to go ahead and start building my X server, DE, and other things I had planned for my XU4 but I don't want to waste time. With a bare bones stage3 install it took over 6 hours just to "emerge -e @world."
  23. lazlo.vii

    Funtoo on the Odroid-xu4

    Today I decided to start fresh with the stage3 tar from late July. I have made good progress in that gcc 7.3.1 compiled without crashing and while respecting my MAKEOPTS settings. It only took it about 3 hours to run. Now I am working my way through the rest of the 1.2 upgrade and am currently running "emerge -e @world" but there is one thing that I don't like. When an ebuild is done compiling I get an error that looks something like this: "Failed to set XATTR_PAX markings <string for markings> </path/to/portage/build/dir> Life is never dull as long as I have my Odroid 😛
  24. lazlo.vii

    Funtoo on the Odroid-xu4

    Thanks for the tips. Is there any significant difference between your suggested EMERGE_DEFAULT_OPTS and MAKEOPTS="-j2 -l4"? Right now my make.conf has MAKEOPTS="-j4 -l4" and the gcc ebuild was still spawning enough threads to send the load average through the roof. I tried everything else I could think of short of editing the files in Portage. I didn't try that because I know that I don't know enough to do it right and I would hate to screw up my system with an ugly hack 'n' slash of Portage. I even set up an NFS share to hold my root Odroid file system so I don't have to worry about corrupting the SD card with the constant I/O of compiling packages. Well, filesystems, really because it is hosting the default ubuntu as well as funtoo, devuan, and armbian. I am just one file edit and reboot away from switching between them and the gigabit NIC is faster than the SD card reader by a long shot. Anyway I'll try the EMERGE_DEFAULT_OPTS later and see if it has the desired effect. Thanks again. EDIT: OK, the EMERGE_DEFAULT_OPTS line you gave me is pretty much the same as "emerge --jobs=2 --load-average=4" and it had no effect on the amount of threads portage was spawning. I guess I'll either wait until an official update comes down the pipe or get brave enough to try editing Portage files.
  25. lazlo.vii

    I like 2FA

    Thanks for adding the 2FA to the site. I wish more would do it. I use it every where I can. Even my home server has the google-auth pam modules for ssh.