Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re:Linux is far worse than Microsoft (Score 1) 522

Dists didn't choose systemd because they had a gun pointed to their heads. They chose it because it is demonstrably better than either sysvinit or upstart.

Funny...I've had no issues on any system running SysV Init Script or Upstart. I've even built my own distros - from scratch - and managed them.

However, I have run into numerous issues with systemd-based distros because of systemd.

Sorry, but many distros are doing it because of not taking the option not to. Debian switched because a couple package maintainers made it a dependency and the Debian maintainers refused to make them make it optional - thus we now have Devuan which maintains that choice. Thus nearly all Debian derived distros don't have a choice but to use it either. (Devuan had a lot of trouble untwining systemd to keep it optional primarily due to the Debian decision not to keep it optional.)

So while there may not have been a gun to their head, it's been an oligarchy that has decided 'systemd is best for everyone' kind of decision when the vast majority don't want it.

Comment Re:Linux is far worse than Microsoft (Score 2) 522

There are major distros that are systemd free, and not only because systemd was removed from them, but because they never had it (Slackware)... or at least only have it as a non-required option (Gentoo).

Well according to Distro Watch Slackware rates 16 and Gentoo rates 36 on the list of page hits so they must be major distibutions.

Consider this: Slackware is the last of the original Linux distros still active, with updates, etc. It's the origin for numerous distros - including many other major distros. Its authors are some of the top and moist respected in the LInux community.

Gentoo is the first real major source-based distro, and the origin distro for numerous other distros, the most famous being ArchLinux.

Know your distro history before trying to downplay the role a distro has.

Comment Re:Does not replace mount (Score 1) 522

Most of the posts are just from people who really have no idea what systemd is for or even the old the init system.

Most posts I see are from people that know *exactly* what systemd is for, have used numerous init systems, and find a lot of issues that are extremely annoying if not system debilitating. I've run into several myself - including most recently an issue with the most basic of what systemd was suppose to do - monitoring daemons.

Comment Re: Does not replace mount (Score 1) 522

Seems pointless wasting memory and load time on a service that just duplicates systemd functionality that is already loaded for use by other things. Also increases the available attack surface.

I get that the Unix way is to have lots of little utilities and services doing specific things, but it actually turned out to not be the best model. It's better to build a higher level, more generic system that can implement as much of this functionality in a clean, consistent way that can be carefully security hardened and tested.

It's quite obvious that you know extremely little about security issues. When it comes to security you want things that are extremely limited in functionality - that enables security to be proven and well tested. So the Unix methodology of "do one thing and do it extremely well" is a very tried and true security method.

By contrast, one reason that malware runs so rampant on Windows is because Microsoft can't lock stuff down because of how tied together everything is. Infect IE? There goes nearly every help system in every Windows app too. Got a Windows Handle to a text box? Now you can inject code into a random app as they won't likely check the text box constraints when using the data from it. Prior to Vista there were even circular Kernel and Userspace dependencies.

So no, putting everything into one big project time and time again shows bad things happen - from poor code management because of how intertwined stuff gets and people getting lazy about linking code together to security issues since you can break one thing and crack your way into something else a whole lot easier.

systemd is the opposite of providing security in any kind of easy to lock down model.

Comment Re:Does not replace mount (Score 4, Interesting) 522

From Lennart's reddit comment:

"first of all, this doesn't replace util-linux' mount tool. Not at all. It just tells systemd to mount something, going through systemd's dependency logic. For the actual mount operation PID 1 will fork off util-linux' mount tool like it always did."

Big fucking deal.

Well, IMHO, it just means one more thing to go wrong. I recently had to diagnose why my agent - started via a /etc/init.d script - would not start after having been killed using "kill -9" on a systemd-based system (Deb8); running the program and daemonizing it directly worked just fine, but the init script wouldn't start it. Reason? Systemd had some state somewhere that would only get cleared if "service myservice stop" was run. Only then would the init script work.

Expect this to be similar where you'll have systemd mount something during boot, and then for some reason it gets unmounted in a way systemd didn't expect and now you can't remount it because systemd thinks its still mounted but won't tell you that.

systemd is just a piece of crap that needs to be removed.

Comment Re:Heu.. ???? (Score 1) 396

What I particularly dislike is how it automatically filters output, and you have to use arguments or other applets to give you fuller output. It just strikes me as being the exact opposite of how any particular command or script should work.

No, it is not the opposite. It's giving the information that is the most usable and easily read by a human. Even *nix utilities do this. Hell, type "ls" and you don't get the file sizes and dates; you have to add -l to get those details.

And objects, big fucking deal. I've been using Bourne variants for a quarter of a century and never thought "Boy, I wish I had classes".

That just shows that you are stuck in the mindset of manipulating text outputs of commands to find the information you need. It certainly shows a lack of imagination that there could be anything better. What it doesn't show is that there is anything wrong with the concept of PowerShell simply because you don't get it.

When you start writing scripts that make web requests that you can read the value you want without having to do clunky regular expressions, then directly updating specific cells in a spreadsheet (including with formatting) then you realise just how much easier this is with an object-based system. Or how about writing your own software as a .NET library so that the same code can be used for manual viewing in a .NET application or with powerful scripting with PowerShell with no additional effort.

No, it shows that you need to use the right tool for the job.

For example, if I'm writing a web request in a Bash script then either I'm calling out to wget/curl to handle it, or I'm writing a Python script (or another language) that will do the work elegantly and isolate it to just that script. I don't do web requests directly in Bash - I use the right tool. All of these combine together through the return value of the program and stderr/stdout/stdin to pass data back and forth using basic text - which is typically all you need. If more structured information is needed then it's really easy to dump it into a structured temp file and provide the path for that.

Again, debugging is very easy - just at "echo" where needed, capture outputs to text files, and keep temp files from destroying themselves to analyze their contents. It's all pretty basic stuff and no advanced computer science degree is required or even knowledge of some special IDE (f.e VisualStudios) required to analyze or debug the stuff.

And yes, I'm aware that you can use debuggers with PS, but then I have to load a debugger - which means yet another tool has to be installed and run - more memory required to figure out what is going wrong.

And yes, I get the desire for OO-based scripts - but then, if I wanted that I would go to Python, Scala, or one of many other OO-based languages.

Really, the only useful thing I found in PS was the ease with which one can access the Windows Registry since they treat it like another file path ("cd \\hklm\..."); this is not necessary on a non-Windows system since the Windows Registry doesn't exist.

Comment Re:Heu.. ???? (Score 1) 396

This is a serious question from a Unix user who is curious about PowerShell... I like the idea of piping objects around. Does it play with anything outside the .Net ecosystem? Is there some sort of platform-agnostic object notation or broker that would let me exchange objects with external (non .Net) programs? Say I write a script in Python. Is there any way to export the Python objects such that PowerShell can manipulate them?

No. PowerShell is exclusively written in C# AFAIK; at best you might be able to get another .NET-based Language (like IronPython), but .NET provides the basis for the object structure in PS.

Comment Re:Heu.. ???? (Score 1) 396

Ugh, PS is horrendous - especially trying to learn the f***ed up way it works.

But on Windoze hosts you have nothing else command line wise to manage AD and Exchange (mostly what I punish my self with).

It's object oriented. If you don't have a even a basic understanding of how objects work, of course it's going to be confusing. Once you break past that wall however, you find a well documented and sane terminal. Sadly many think "different" = "bad".

I tried out PowerShell (PS) when it first came out, the general idea being attractive. However, even in Windows I install the GNUWin32 Utils and 90% of the aliases in PS conflict with standard Unix Commands (f.e ls, cp) and mean something entirely different. So I between that and the complete inability to have a nice debugging environment like Bash does - where it's easy to figure out what you're looking at just by looking at the output and not having something completely foreign to work with when piped - I quickly abandoned PS as useless.

Yes, I know some people file it useful - good for them. But I'd rather have Bash where the output is entirely predictable and when something breaks it's extremely easy to figure out why.

Comment Re:21% less 1 (Score 1) 272

If I may ask, what are you using to watch movies? I haven't watched movies on Linux for a while, and I keep getting the impression that mainstream services aren't compatible because DRM OMG teh piratzz

I run Netflix under Chrome on Linux regularly. DVD playback typically works great as well. And if you're using Android, well - you're already running Linux, and apps there work just fine.

Comment Re:Charter could be wrong (Score 1) 110

Broadband Internet is a luxury — dial-up speeds are perfectly sufficient for job-search and e-mailing one's resume. But this is distinction without difference — why should one company running low-voltage cables to each house be treated differently from another company running low-voltage cables to each house?

While I agree, I would hate to try to use gmail, hotmail, Yahoo! Mail, etc over a 56k modem. You'd never get the pages loaded, or files uploaded - even in their "basic" modes.

Comment Re:Empires fall (Score 1) 517

The important difference is that taxes in states like Texas and California are moved by the Federal government to states with weaker economies. This helps to ensure that the difference in purchasing power between a dollar in Texas and a dollar in Alaska is not too great. The Germans vetoed such a mechanism in the Eurozone, which economists at the time said was required to prevent exactly the kind of crisis that we've seen over the last few years.

Have you been to Alaska? Or Hawaii? Both are very expensive to live in; not as bad as NYC, but not good either. Though wages in each typically adjusts.

There are reason why wages are disparate in various regions in the US - cost of Living in Columbia, SC is different than Atlanta, GA, or NYC, NY, Wasilla, AK, Seattle, WA, Provo, UT, etc. How far a dollar goes in any one those is different. A dollar in Columbia, SC will certainly go little bit farther than it does in Atlanta, GA, and much further than it would in NYC, NY.

Slashdot Top Deals

"Necessity is the mother of invention" is a silly proverb. "Necessity is the mother of futile dodges" is much nearer the truth. -- Alfred North Whitehead

Working...