Reddit

Subscribe to Reddit feed
All things Linux and GNU/Linux -- this is neither a community exclusively about the kernel Linux, nor is exclusively about the GNU operating system.Linux, GNU/Linux, free software...
Updated: 24 min 12 sec ago

Some stupid systemd-logind failure…

3 hours 20 min ago

I've been seeing lots of

systemd-logind[29289]: Failed to enable subscription: Launch helper exited with unknown return code 1 systemd-logind[29289]: Failed to fully start up daemon: Input/output error

spamming the kernel log (where it has no right to be, and I do believe that there's a recently-added kernel config option to stop this).

It seems that systemd-logind is getting EAGAIN while trying to send a message to org.freedesktop.systemd1. No idea why. Probably something left over after the jessie→stretch upgrade, or just random “unreproducible problem”. Either way, it probably needs to handle that better.

Thankfully, systemd-shim is installed, so I can get away with disabling the service. (Of course, should I ever switch away from sysvinit…)

dpkg-divert --package systemd-shim --add --rename \ --divert /usr/share/dbus-1/system-services/org.freedesktop.login1.service.systemd \ /usr/share/dbus-1/system-services/org.freedesktop.login1.service submitted by /u/__soddit
[link] [comments]

Why do enterprise environments typically choose to deploy Red Hat or CentOS instead of Ubuntu or Debian? [X-Post /r/sysadmin]

3 hours 35 min ago

I've been administering a small office in the USA Midwest for about two years and we have three Ubuntu servers that I set up when I started. The original servers were FreeBSD systems (the administrator that set these up was let go) but I didn't know how to administer that so I opted to re-do them. They're just doing basic file-serving to Windows 10 machines via Samba and one of them does the internal company website with Apache.

Everything has been working well since I set them up and only had a couple minor issues but I was able to figure it out and fix it.

My question is: why do "large" enterprises choose Red Hat or CentOS for their base operating system instead of something like Ubuntu or Debian? Amazon Linux (their supported AWS AMI) is a Red Hat derivative. Oracle Linux (also a Red Hat derivative).

Is Red Hat or even just CentOS just fundamentally better? What is their motivation? Should I consider switching our offices' systems over to Red Hat-derived OS?

Thanks!

submitted by /u/snacktastic2
[link] [comments]

Container for single binary? (LXC and Docker seem bloated)

6 hours 4 min ago

Hello all,

Run into a bit of an odd issue distributing a binary which we can't compile completely static and also hitting different libc / glib issues across platforms (old old debian, new ubuntu etc) In any event I tried to get this project http://statifier.sourceforge.net/statifier/precompiled_packages.html to work however it seems very dated and I can't even get it to run on my platform.

In any event I am now looking to containers, I've used LXC a fair bit but it seems kinda bloated for this particular goal of "faking static bins" I looked into Docker and it seems even heavier.

Any suggestions or either addressing my static link issue, or a good tiny container solution?

Thanks for your comments and time!

submitted by /u/winkmichael
[link] [comments]

Is there a "hacker news" for sysadmin?

7 hours 29 min ago

Noob here looking for a career switch to linux sysadmin, i hope i'm doing the right thing any advice is very appreciated

submitted by /u/iotamy
[link] [comments]

What's your favorite VM Tool? (VMWare, etc)

7 hours 35 min ago

Hello, everyone! I am taking some classes at my local city college in San Francisco and need to be able to run Linux in a Virtual Machine. I would rather be running Linux on my machine altogether or at the very least be dual booting. Right now I simply need to run Linux in a VM environment.

All that being said can any one tell me their favorite VM software to use? Preferably free. I am taking the Kali Ethical Pen Testing Course at the local college so a VM player that will work well with my wireless card and other built in hardware would be nice. As always, Thanks!

submitted by /u/DeveloperDaniel
[link] [comments]

Need some help with `dlopen()` and search paths

8 hours 22 min ago

I know that this isn't a programming subreddit per se, but I've had good success here with questions like this. Anyways...

So I've been trying to get some Nim bindings for raylib working (they're here). Idea was to use the shared library version of raylib. It requires GLFW, which I also have the shared version installed.

So when I build the raylib examples using both shared raylib and shared GLFW, I can run them without having any extra hassle, since all of the .sos are installed into /usr/local/lib.

Now trying out this port of the core_basic_window example, it will compile. But when I try to run it, the executable says that it can't find the .so for GLFW. But if I do export LD_LIBRARY_PATH=/usr/local/lib before running the example, it doesn't give me that .so error.

What is going on here? The only difference between the C & Nim versions is that -lraylib is passed to the linker in the C version, where as Nim uses a wrapper over the dlopen() function. Isn't /usr/local/lib supposed to be a default search path?

submitted by /u/def-pri-pub
[link] [comments]

HandyKaraoke 1.0.0 release, make karaoke easy!

Sun, 2017-07-23 18:32

The author is Patcharapol Sae-ui. The original post is on facebook. But I post the content down below. This karaoke software display text as the songs are playing. Check out youtube vid. Please report bug on github. https://www.faaaacebook.com/groups/ubuntuclub/permalink/1381335308601449/ Source https://github.com/pie62/HandyKaraoke

Releases https://github.com/pie62/HandyKaraoke/releases

https://youtu.be/ybgdYwXKmXQ

submitted by /u/kevin_tee_th
[link] [comments]

Tried Installing Mint, broke everything

Sun, 2017-07-23 17:50

My laptop originally had Windows 10 installed. I dual booted it with Elementary OS and everything was working fine.

Recently I wanted to switch to Mint 18, I downloaded the ISO file and created my Bootable USB and booted up the Live Mode. The idea was that I'd use the partition manager to format the Elementary partition and install Mint there, however I ended up checking a box that said something about LVM or something, and that messed with my partitions and bootrecords.

Now I can't boot into eOS or Windows, and neither Windows boot repair, nor the equivalent 'nix program boot-repair could fix it. I really don't want to lose all the data on my laptop HDD, does anyone have any possible solutions?

Tl;Dr Broke Windows/eOS dual boot by not reading pop-ups in Mint installer, need help fixing bootrecords so I can get Atleast windows back.

submitted by /u/Hitman7987
[link] [comments]

Why polkit is needed?

Sun, 2017-07-23 17:48

Simple question, what is the problem that polkit tried to solve? Why dbus method calls should go in a series of polkit policy checks before performing the required action? Why not just that upower checks the caller groups, if he/she belongs to "power" then it is okay, otherwise permission denied? Same goes for mount/umount/... on "plugdev" group for example.

Why retaining the Unix groups simple concept is not enough in the case dbus daemons/polkit world? What are the advantages of implementing something like polkit?

BTW: I do develop system bus daemons with desktop clients, and I do see polkit as an abuse.

submitted by /u/alx82
[link] [comments]

Compatibility and Laptops

Sun, 2017-07-23 17:43

Hi all, my name is Tom. Let's keep this short and sweet.

[TL:DR] How do I know which machines will run linux effectively and how do people normally purchase im regards to Linux installation?

I have no prior experience with Linux. I am looking to invest in a new laptop soon to use for work as I am an aspiring web design/developer. I have heard that Linux is particularly useful in this pursuit due to its ease of workflow and customisation possibilities as well as simply learning Linux seems to be a useful tool. To this point I am a "Windows Wamble" as I have only ever been told to use windows, its the industry-leading product, and it's simply the "go to" until you learn otherwise.

My question is simply... As Linux doesn't have amy "pre-installed" machines ie laptops, what is the most important thing to consider when looking for a laptop i want to install Linux on? As a secondary question... what is the normal system? Do people usually buy a windows machine and immediately convert it? I want to avoid paying out for a laptop only to find it is not compatible or optimal.

I am new to this community and pursuit so apologies if this was not an easy question in any way.

All the best,

Tom

submitted by /u/tommyboggitt
[link] [comments]

What are these wlan security algorithms

Sun, 2017-07-23 17:27

Are these algorithms used for encrypting data that transmitted between AP and client and if so how I can see the all data which is transmitted over network when I'm connected to the network using Wireshark And one more thing, is the key of these wlan security are the password we keep for our wifis

submitted by /u/kirpton
[link] [comments]

Pages