Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Are you for or against systemd?
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
You're missing an option...
"It's okay, but it could be better."
A sense of scope and modularization of the package would do a great deal to defuse the freakout over it.
For instance: Journald is necessary, but it is not necessary that it be the system logger. Without it, parallel startup would have to wait on the logger to load and open it's files. It's one of the reasons Systemd boots so fast. But, you can fix this, install your own logger and configure Journald to pass on the system log and set it's mode to volatile. Personally, I do this and Metalog-3 does my actual logging.
I think, in the end... All I end up with is Systemd, Journald, Localed and Logind. Everything else is replaced and I'm happy with that.
This above url is also a good point showing why the biggest (PS4, Mac,...) use derivated *BSD. *BSD is a good operating system that makes sense to be widely used. Besides, the type of License also gives more freedom to companies for using it. *BSD will never have SystemD. Furthermore, since I moved my machines from Linux to BSD, I really understand that having stable system has a great meaning. I would always recommend *BSD* over Linux. In addition, this is also a good point for not having SystemD.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Quote:
Originally Posted by Xeratul
This above url is also a good point showing why the biggest (PS4, Mac,...) use derivated *BSD. *BSD is a good operating system that makes sense to be widely used. Besides, the type of License also gives more freedom to companies for using it. *BSD will never have SystemD. Furthermore, since I moved my machines from Linux to BSD, I really understand that having stable system has a great meaning. I would always recommend *BSD* over Linux. In addition, this is also a good point for not having SystemD.
I want to like BSD, but every time I try it I run into a wall on hardware support. Or, most recently, the 35 minute boot time due to some weird translation problem with console text and UEFI. It was like watching a billboard, the text scrolled so slowly and there was tearing all across the screen every time a linefeed went off. Whoever's doing the framebuffer console driver needs to go back to alpha with it.
As for systemd... 1: most bsd is running on servers, why would they need it? 2: I suspect the 3rd parties using BSD as a base don't leave the non-parallel default script based init. Unless booting off zfs it is slow, even on a non-uefi system. The bottom line is the script based init systems were based around a mutli-user system that was rarely rebooted and started few services on boot.
I'm all for staying with the old and reliable. At the same time, I'm not willing to buy a car with a hand crank starter just because it's "old and reliable" next to "them thar new fangled electric gismos." Seriously, some of the folks unwilling to embrace change (some kind, not necessarily systemd), should be living in teepees and starting the fire to cook their dinner with flint and steel, they way they go on about 40 year old applications.
PS: I think I still got a couple of 68k's laying around if you're still stuck on Von Neumann.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Keep in mind BSD has it's naysayers too. I read a blog a couple of years ago where the author was severly critical of recent BSD development, insisting it was changing too fast and becoming unstable. He went on about how upgrades were breaking systems he had in place for years, upgraded from long retired versions of BSD.
In spite of my ribbing above, I like BSD just fine. But, I see it more as a server OS than general purpose. After all, what happens when you attempt to install any desktop on BSD? Half of the GNU/Linux ecosystem gets installed fist: perl, autotools, readline, and dozens more. The first time I watched KDE installed on FreeBSD I thought, This doesn't look ported, it looks like they're just copying half of a Linux distro on this machine. I mean, after all, it didn't use BSD's build system, it didn't use BSD libraries (libedit vs Gnu readline), it didn't even use BSD's shell and elected to install Gnu Bash. Granted, a lot of that stuff is posix compliant but, it still seems like it installs half a Debian.
Keep in mind, I'm not complaining about BSD. I am genuinely curious, when they are so focused on doing things their particular way, why so much comes over from Linux as-is.
Keep in mind BSD has it's naysayers too. I read a blog a couple of years ago where the author was severly critical of recent BSD development, insisting it was changing too fast and becoming unstable. He went on about how upgrades were breaking systems he had in place for years, upgraded from long retired versions of BSD.
In spite of my ribbing above, I like BSD just fine. But, I see it more as a server OS than general purpose. After all, what happens when you attempt to install any desktop on BSD? Half of the GNU/Linux ecosystem gets installed fist: perl, autotools, readline, and dozens more. The first time I watched KDE installed on FreeBSD I thought, This doesn't look ported, it looks like they're just copying half of a Linux distro on this machine. I mean, after all, it didn't use BSD's build system, it didn't use BSD libraries (libedit vs Gnu readline), it didn't even use BSD's shell and elected to install Gnu Bash. Granted, a lot of that stuff is posix compliant but, it still seems like it installs half a Debian.
Keep in mind, I'm not complaining about BSD. I am genuinely curious, when they are so focused on doing things their particular way, why so much comes over from Linux as-is.
The problem is more about KDE. There were many applications of KDE that have still numerous bug. Krusader was a good example of crash-ful software. Today it is still better, but KDE remains largely unstable.
I believe that it has much more to do about KDE and not *BSD.
*BSD is vastly stable. Many servers run *BSD and *BSD servers are well known for their respected stability.
I do on occasion run a Debian box but wiped that drive in favor of building OpenBSD night before last, so it doesn't really effect me one way or the other as all my boxen now run BSD.
Quote:
Originally Posted by Luridis
Keep in mind BSD has it's naysayers too. I read a blog a couple of years ago where the author was severly critical of recent BSD development, insisting it was changing too fast and becoming unstable. He went on about how upgrades were breaking systems he had in place for years, upgraded from long retired versions of BSD.
In spite of my ribbing above, I like BSD just fine. But, I see it more as a server OS than general purpose. After all, what happens when you attempt to install any desktop on BSD? Half of the GNU/Linux ecosystem gets installed fist: perl, autotools, readline, and dozens more. The first time I watched KDE installed on FreeBSD I thought, This doesn't look ported, it looks like they're just copying half of a Linux distro on this machine. I mean, after all, it didn't use BSD's build system, it didn't use BSD libraries (libedit vs Gnu readline), it didn't even use BSD's shell and elected to install Gnu Bash. Granted, a lot of that stuff is posix compliant but, it still seems like it installs half a Debian.
Keep in mind, I'm not complaining about BSD. I am genuinely curious, when they are so focused on doing things their particular way, why so much comes over from Linux as-is.
When you build FreeBSD from scratch you start out with the base system and a terminal. Period.
If the programs you choose to install after that require perl, Linux enmulation, etc. that's on you. Yes, some programs do want to install bash as part of the build, but again, that's you installing what is a third party program.
Personally, I run Fluxbox on all my machines and it's very lightweight with few dependencies:
Yes, FreeBSD has the Power to Serve (I have that wallpaper at my site if you're interested, along with a tutorial on how to build a FreeBSD desktop from scratch), but it serves me well as a desktop OS, as does OpenBSD. Just because that person was whining about his outdated system being borked when he tried upgrading it does not constitute that to be everyone's experience.
Myself, I compile my programs from ports exclusively on FreeBSD and that gives me the option what variables I choose to install with it, and with portmaster I can choose not to install everything it recommends. I do a fresh build at every new release and have not once in over 10 years had a failed build or ended up with anything but a rock solid desktop.
Which may not be everyone's experience either, hence the tutorial.
Last edited by Trihexagonal; 07-14-2017 at 02:46 PM.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Quote:
Originally Posted by Trihexagonal
Myself, I compile my programs from ports exclusively on FreeBSD and that gives me the option what variables I choose to install with it, and with portmaster I can choose not to install everything it recommends. I do a fresh build at every new release and have not once in over 10 years had a failed build or ended up with anything but a rock solid desktop.
Which may not be everyone's experience either, hence the tutorial.
I do my Linux systems from scratch, so I don't have to deal with all the distro decisions I don't like. I choose what gets built and installed and what defaults it is set with. Linux is far less annoying in this fashion. Don't need to access LAN, don't build LDAP, Kerberos & Sasl, and also not have to deal with their constant string of updates.
I do my Linux systems from scratch, so I don't have to deal with all the distro decisions I don't like. I choose what gets built and installed and what defaults it is set with. Linux is far less annoying in this fashion. Don't need to access LAN, don't build LDAP, Kerberos & Sasl, and also not have to deal with their constant string of updates.
You means LFS? Really, it is very seldom that people do not rely on a distro. Even Linus himself does use a distro.
Anyhow, even with all compiling yourself, you'll end therefore to install GTK+ and all its dependencies, if you use X11 and other softwares. If you compile Firefox yourself, then, have fun (and lot of time).
Personally, I like the direction OpenBSD is going. While these are not my first OpenBSD boxen, this was the deciding factor for me to wipe my Debian drive and install it on 2 of my 4 laptops, the other 2 running FreeBSD:
Quote:
OpenBSD Will Get Unique Kernels on Each Reboot
A new feature added in test snapshots for OpenBSD releases will create a unique kernel every time an OpenBSD user reboots or upgrades his computer.
This feature is named KARL — Kernel Address Randomized Link — and works by relinking internal kernel files in a random order so that it generates a unique kernel binary blob every time.
Currently, for stable releases, the OpenBSD kernel uses a predefined order to link and load internal files inside the kernel binary, resulting in the same kernel for all users.
KARL is different from ASLR
Developed by Theo de Raadt, KARL will work by generating a new kernel binary at install, upgrade, and boot time. If the user boots up, upgrades, or reboots his machine, the most recently generated kernel will replace the existing kernel binary, and the OS will generate a new kernel binary that will be used on the next boot/upgrade/reboot, constantly rotating kernels on reboots or upgrades.
KARL should not be confused with ASLR — Address Space Layout Randomization — a technique that randomizes the memory address where application code is executed, so exploits can't target a specific area of memory where an application or the kernel is known to run.
"It still loads at the same location in KVA [Kernel Virtual Address Space]. This is not kernel ASLR!," said de Raadt.
Instead, KARL generates kernel binaries with random internal structures, so exploits cannot leak or attack internal kernel functions, pointers, or objects. A technical explanation is available below.
A unique kernel is linked such that the startup assembly code is kept in the same place, followed by randomly-sized gapping, followed by all the other .o files randomly re-organized. As a result the distances between functions and variables are entirely new. An info leak of a pointer will not disclose other pointers or objects. This may also help reduce gadgets on variable-sized architectures, because polymorphism in the instruction stream is damaged by nested offsets changing.
"As a result, every new kernel is unique," de Raadt says.
*snip*
Instead, the Linux project has just added support for Kernel Address Space Layout Randomization (KASLR), a feature that ports ASLR to the kernel itself, loading the kernel at a randomized memory address.
This feature was turned on by default in Linux 4.12, released last week. The difference between the two is that KARL loads a different kernel binary in the same place, while KASLR loads the same binary in random locations. Same goal, different paths.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.