Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Megaman
May 8, 2004
I didn't read the thread BUT...

Baron Bifford posted:

You can always get the latest software with Windows.

What is windows

Adbot
ADBOT LOVES YOU

I am not a book
Mar 9, 2013
How does LP's method solve the problem of security updates? A million assholes all bundling their own identical versions of openSSL would have been a nightmare to deal with a few months ago.

ninjaedit: and also, I might add, next month when the next openSSL RCE drops.

evol262
Nov 30, 2010
#!/usr/bin/perl

I am not a book posted:

How does LP's method solve the problem of security updates? A million assholes all bundling their own identical versions of openSSL would have been a nightmare to deal with a few months ago.

ninjaedit: and also, I might add, next month when the next openSSL RCE drops.

Most security updates are "core" enough that they'd come in the base image.

The idea is not to have a million assholes bundling their own versions of OpenSSL (even though that's kind of the current distro situation), but to provided versioned trees that applications can link against to break up the fragmentation and mess of packaging for a million distros and ease deployment of software for vendors who don't want to use it (Spotify tends to be my punching bag here -- they package all the libraries they need like a "fat binary", but their "Linux" support is basically Ubuntu until someone from another distro pulls apart their latest update and wraps in a trivial specfile for whatever packaging system).

Ideally, you'd just be able to update the OpenSSL framework/libraries (for 098 or 1.0, or whatever) in one go and everything linked against them would pick up updates, in much the same way as it works now. Except you wouldn't be locked into "this program only ships as an RPM and that one as a DEB, and I can't move off of RHEL6 or Ubuntu 12.04 or Yggdrasil or whatever because then my application will break horribly".

CaptainSarcastic
Jul 6, 2013



Elias_Maluco posted:

Speaking about it, Im in need of replacing my Mint 15 here, what distro would you guys recommend for having the latest ATI drivers working without much fuckery?

I remember it was drat hard to get the latest version working here and then I had even more issues getting it to work with steam.

OpenSUSE 13.1 has been great for that on my machine with AMD graphics. I run Steam on multiple OpenSUSE installs here.

I am not a book
Mar 9, 2013

evol262 posted:

Most security updates are "core" enough that they'd come in the base image.

The idea is not to have a million assholes bundling their own versions of OpenSSL (even though that's kind of the current distro situation), but to provided versioned trees that applications can link against to break up the fragmentation and mess of packaging for a million distros and ease deployment of software for vendors who don't want to use it (Spotify tends to be my punching bag here -- they package all the libraries they need like a "fat binary", but their "Linux" support is basically Ubuntu until someone from another distro pulls apart their latest update and wraps in a trivial specfile for whatever packaging system).

Ideally, you'd just be able to update the OpenSSL framework/libraries (for 098 or 1.0, or whatever) in one go and everything linked against them would pick up updates, in much the same way as it works now. Except you wouldn't be locked into "this program only ships as an RPM and that one as a DEB, and I can't move off of RHEL6 or Ubuntu 12.04 or Yggdrasil or whatever because then my application will break horribly".

How is that different from distros implementing the .click framework?

evol262
Nov 30, 2010
#!/usr/bin/perl

I am not a book posted:

How is that different from distros implementing the .click framework?

The argument, broadly, is that distro package maintainers are rarely the people who actually write the software, and keeping track of how to build libfoo and how every application interacts with it, then tracking down bugs which are potentially fixed upstream and backporting fixes is a nightmare, especially when you're trying to keep track of how the build systems on multiple distros work and running into bugs only on Distro 99.1.0 because they updated some other package you depend on but not a version you ever tested with, when your software works fine everywhere else...

Let developers maintain their own software and ship it in a sane, distro-agnostic way, basically.

Distros packaging someframework is great. But when you're staring down the barrel of your software that runs on Ubuntu LTS or RHEL and you've got a 10-year support cycle, and now you've got code that branches depending on whether it's python 2.6 or python 2.7 or upstart or systemd and you're limited because it's 2 years into your development cycle and RHEL 7 came and there's a new library you'd love to use, but you know it might never make it to RHEL 6, and users don't like it when you tell them that this new feature won't unless they upgrade to a new major release (which might break their other stuff). So you can either not use the new library, or maybe try to package it for RHEL 6 yourself, and now you're hamstrung and your code is getting ugly branching logic for something you should never have to think about (like what version of Linux it's running on).

It hampers development and progress.

Danny Glands
Jan 26, 2013

Possible thermal failure (CPU on fire?)
For users of Arch: How do I make xdm work properly and not just dump me back into xdm when I enter my login?

I am not a book
Mar 9, 2013

evol262 posted:

The argument, broadly, is that distro package maintainers are rarely the people who actually write the software, and keeping track of how to build libfoo and how every application interacts with it, then tracking down bugs which are potentially fixed upstream and backporting fixes is a nightmare, especially when you're trying to keep track of how the build systems on multiple distros work and running into bugs only on Distro 99.1.0 because they updated some other package you depend on but not a version you ever tested with, when your software works fine everywhere else...

Let developers maintain their own software and ship it in a sane, distro-agnostic way, basically.

Distros packaging someframework is great. But when you're staring down the barrel of your software that runs on Ubuntu LTS or RHEL and you've got a 10-year support cycle, and now you've got code that branches depending on whether it's python 2.6 or python 2.7 or upstart or systemd and you're limited because it's 2 years into your development cycle and RHEL 7 came and there's a new library you'd love to use, but you know it might never make it to RHEL 6, and users don't like it when you tell them that this new feature won't unless they upgrade to a new major release (which might break their other stuff). So you can either not use the new library, or maybe try to package it for RHEL 6 yourself, and now you're hamstrung and your code is getting ugly branching logic for something you should never have to think about (like what version of Linux it's running on).

It hampers development and progress.

Clearly the solution is to only support the current version of OpenBSD. You want features? gently caress you.
I unironically love openbsd

YouTuber
Jul 31, 2004

by FactsAreUseless

Danny Glands posted:

For users of Arch: How do I make xdm work properly and not just dump me back into xdm when I enter my login?

It sounds like your .xsession or .xinitrc is configured in a loop. I don't use a display manager so I don't know how it's supposed to look. I just log in and when I want to start the xserver I just startx.

YouTuber fucked around with this message at 01:33 on Oct 24, 2014

spankmeister
Jun 15, 2008






YouTuber posted:

It sounds like your .xsession or .xinitrc is configured in a loop. I don't use a display manager so I don't know how it's supposed to look. I just log in and when I want to start the xserver I just startx.

startx in 20 loving 14


Arch users :rolleyes:

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
code:
XCOMM This is just a sample implementation of a slightly less primitive
XCOMM interface than xinit.  It looks for user .xinitrc and .xserverrc
XCOMM files, then system xinitrc and xserverrc files, else lets xinit choose
XCOMM its default.  The system xinitrc should probably do things like check
XCOMM for .Xresources files and merge them in, start up a window manager,
XCOMM and pop a clock and several xterms.
XCOMM
XCOMM Site administrators are STRONGLY urged to write nicer versions.

Megaman
May 8, 2004
I didn't read the thread BUT...

spankmeister posted:

startx in 20 loving 14


Arch users :rolleyes:

Because wanting all the free resources you can get is bad?

evol262
Nov 30, 2010
#!/usr/bin/perl

Megaman posted:

Because wanting all the free resources you can get is bad?

Hahahahahahaha

"I use startx because of the sucking performance drain from lightdm/xdm/gdm"

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Is placing the /home directory on a separate partition a good idea? I have a 120GB SSD and a 750GB HDD. What I've been doing up until now is have the entire OS (including /home) installed on the SSD, and storing my movies/music/documents on the HDD and using sym links under home (e.g. so that /home/Movies points to the HDD).

But now I'm thinking, why not just have the entire /home directory physically located on the HDD? I realize that /home also contains configurations for many of my programs, which is the main thing that gives me pause.

Thoughts?

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!

caiman posted:

Is placing the /home directory on a separate partition a good idea? I have a 120GB SSD and a 750GB HDD. What I've been doing up until now is have the entire OS (including /home) installed on the SSD, and storing my movies/music/documents on the HDD and using sym links under home (e.g. so that /home/Movies points to the HDD).

But now I'm thinking, why not just have the entire /home directory physically located on the HDD? I realize that /home also contains configurations for many of my programs, which is the main thing that gives me pause.

Thoughts?
I keep all my media and documents on an external hard drive which is mounted to /media/bifford. I don't keep anything in my /home directory.

I am not a book posted:

How does LP's method solve the problem of security updates? A million assholes all bundling their own identical versions of openSSL would have been a nightmare to deal with a few months ago.

ninjaedit: and also, I might add, next month when the next openSSL RCE drops.
Ah, so shared libraries is not just a matter of saving disk space.

Baron Bifford fucked around with this message at 16:39 on Oct 24, 2014

unruly
May 12, 2002

YES!!!

caiman posted:

Is placing the /home directory on a separate partition a good idea? I have a 120GB SSD and a 750GB HDD. What I've been doing up until now is have the entire OS (including /home) installed on the SSD, and storing my movies/music/documents on the HDD and using sym links under home (e.g. so that /home/Movies points to the HDD).

But now I'm thinking, why not just have the entire /home directory physically located on the HDD? I realize that /home also contains configurations for many of my programs, which is the main thing that gives me pause.

Thoughts?
I would recommend it, actually. It makes reinstalling a breeze. You just tell the installer not to nuke the other drive, but to mount it as /home and you're basically back to sanity. Make sure you have backups -- but that's something you should be doing anyway.

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Baron Bifford posted:

I keep all my media and documents on an external hard drive which is mounted to /media/bifford. I don't keep anything in my /home directory.

Ah, so shared libraries is not just a matter of saving disk space.

Hmm. Are there any disadvantages to this approach? For some reason I've been under the impression that /home is the best place to store media and documents. I can't recall now why I thought this.

unruly
May 12, 2002

YES!!!

Baron Bifford posted:

Ah, so shared libraries is not just a matter of saving disk space.
Not entirely, no. Linking against one shared library allows you to update one and give all linked applications the newer, potentially better, code without having to update each and every app.

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

unruly posted:

I would recommend it, actually. It makes reinstalling a breeze. You just tell the installer not to nuke the other drive, but to mount it as /home and you're basically back to sanity. Make sure you have backups -- but that's something you should be doing anyway.

Is there any slowdown resulting from program settings being located on a HDD, while the programs themselves are installed on the SSD?

Megaman
May 8, 2004
I didn't read the thread BUT...

evol262 posted:

Hahahahahahaha

"I use startx because of the sucking performance drain from lightdm/xdm/gdm"

Hey man, those take up too much ram. I need all the ram i can get for my ascii pron.

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!

caiman posted:

Hmm. Are there any disadvantages to this approach? For some reason I've been under the impression that /home is the best place to store media and documents. I can't recall now why I thought this.
None that I can see. As I understand, /home/caiman is your personal directory to which you have full write permissions so you can keep your stuff there, but my external drive also gives me full write permissions.

unruly
May 12, 2002

YES!!!

caiman posted:

Is there any slowdown resulting from program settings being located on a HDD, while the programs themselves are installed on the SSD?
Most programs would be installed to and run from /, If you install your OS there, then your program startup times will be fast, etc. Accessing your personal files from your home directory might be slightly slower, but since many files are either small (config files) or generally not large enough to saturate a SATA2/3 connection, you likely won't notice much of a difference. The only time I ever did was when transferring large files (or collections of files) to and from the disk. That was rare enough and not really "slow".

You can also look into using your SSD as a caching system for your HDD, much in the same vein as a traditional "hybrid" drive works, if you're interested. Generally, though, I just keep with / on the SSD and /home (and maybe something like /opt or /tmp (if you don't have tmp in RAM or something), if you really think space will be a problem) on the HDD. You get the best of both worlds. Fast boot and program access time and cavernous storage for all of your linux ISOs and hentai tentacle porn.

hifi
Jul 25, 2012

caiman posted:

Is placing the /home directory on a separate partition a good idea? I have a 120GB SSD and a 750GB HDD. What I've been doing up until now is have the entire OS (including /home) installed on the SSD, and storing my movies/music/documents on the HDD and using sym links under home (e.g. so that /home/Movies points to the HDD).

But now I'm thinking, why not just have the entire /home directory physically located on the HDD? I realize that /home also contains configurations for many of my programs, which is the main thing that gives me pause.

Thoughts?

Do you actually have enough stuff installed where you are actually running out of space on your SSD? Stuff like any browser caches and local user applications are in various places in /home and would benefit from the SSD speedup.

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

hifi posted:

Do you actually have enough stuff installed where you are actually running out of space on your SSD? Stuff like any browser caches and local user applications are in various places in /home and would benefit from the SSD speedup.

Oh definitely. I actually have to delete stuff from my 750 periodically to make room. I guess I'm a hoarder.

After considering all the recommendations, I think what I'll do is this: partition /home onto the SSD (maybe giving it about half the capacity?), then using the HDD purely as storage for media and documents. I might not even mess with the sym links, just browse directly to the device like Baron Bifford has recommended. This should give me all the speed benefits of the SSD for programs, the ease of upgrading to a new distro in the future, and the cavernous storage for all my tentacle porn.

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!
So your /home directory will lie on another partition?

Question: what happens if you shift your /home directory to another partition when there is already stuff in it?

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Baron Bifford posted:

So your /home directory will lie on another partition?

That's the plan.

Baron Bifford posted:

Question: what happens if you shift your /home directory to another partition when there is already stuff in it?

Good question. My plan was to do a fresh install and start from scratch (which I was going to do anyway, switching from Mint to Xubuntu). But maybe there's a way to partition off /home before I vaporize everything to save me the hassle of reconfiguring my programs?

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!
Like, say that I have everything on one hard disk and I have some MP3s in my /home directory, then I tell my computer that "/home is now the external hard drive". What happens to all my MP3 files?

My Rhythmic Crotch
Jan 13, 2011

Can someone explain the pricing for Puppet, Ansible and/or Chef? Do you basically only need to pay if you want to use their web front-end?

We have about 100 or so machines we would like to do some basic configuration automation on, and I just cannot see spending money on it.

Mega Comrade
Apr 22, 2004

Listen buddy, we all got problems!

Baron Bifford posted:

You know the real reason I stick mostly with Mint? GRUBS auto-boots to Linux after a just a few seconds and I'm too busy getting a beer out of the fridge.

You can set the grub timer to what ever you want.


Danny Glands posted:

For users of Arch: How do I make xdm work properly and not just dump me back into xdm when I enter my login?

Xdm will check .xsession on login, .xsession will point to .xinitrc which is where you have whatever dm you want to exec, eg exec gnome-session, exec startkde etc etc

Mega Comrade fucked around with this message at 19:51 on Oct 24, 2014

evol262
Nov 30, 2010
#!/usr/bin/perl

Baron Bifford posted:

Like, say that I have everything on one hard disk and I have some MP3s in my /home directory, then I tell my computer that "/home is now the external hard drive". What happens to all my MP3 files?

They get the external /home mounted over them, and you'd have to umount /home to see your old home dir.

Just rsync or "cp -a" your homedir over to the external drive when you format it.

You can keep /home between distros as long as the UIDs and GIDs for your users match.

My Rhythmic Crotch posted:

Can someone explain the pricing for Puppet, Ansible and/or Chef? Do you basically only need to pay if you want to use their web front-end?

We have about 100 or so machines we would like to do some basic configuration automation on, and I just cannot see spending money on it.

You only need to pay for enterprise. The open source stuff is free and widely used.

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!

Mega Comrade posted:

You can set the grub timer to what ever you want.
But I need to get another beer out of my fridge.

Remapping /home to another partition seems complex and pointless. Why not let the partition mount to /media/caiman? You can access your pr0n just as easily. This is how I do it.

Baron Bifford fucked around with this message at 19:59 on Oct 24, 2014

mod sassinator
Dec 13, 2006
I came here to Kick Ass and Chew Bubblegum,
and I'm All out of Ass

My Rhythmic Crotch posted:

Can someone explain the pricing for Puppet, Ansible and/or Chef? Do you basically only need to pay if you want to use their web front-end?

We have about 100 or so machines we would like to do some basic configuration automation on, and I just cannot see spending money on it.

I haven't used it for commercial/real business stuff but for Ansible my understanding is it's totally open source and free. There's a separate product, Ansible Tower, that adds extra fanciness and costs money but the basic Ansible tool for running playbooks, etc. is free.

CaptainSarcastic
Jul 6, 2013



hifi posted:

Do you actually have enough stuff installed where you are actually running out of space on your SSD? Stuff like any browser caches and local user applications are in various places in /home and would benefit from the SSD speedup.

I turn off browser caches when I'm running of SSD, as it is my understanding they are a primary cause of wear and tear (and thus early death) for SSDs.

Cidrick
Jun 10, 2001

Praise the siamese
Does anyone have any experience with Pulp? I'm going to try and redesign a terrible repo that has been around for 8+ years with awful folder structures and no rhyme or reason as to what goes where, and I'd like to do it over from scratch using something that can mirror upstream repos. I was originally planning to do that using mrepo, but then someone mentioned pulp so I decided to give it a gander, and it seems like it might do everything I need it to do.

evol262
Nov 30, 2010
#!/usr/bin/perl

Cidrick posted:

Does anyone have any experience with Pulp? I'm going to try and redesign a terrible repo that has been around for 8+ years with awful folder structures and no rhyme or reason as to what goes where, and I'd like to do it over from scratch using something that can mirror upstream repos. I was originally planning to do that using mrepo, but then someone mentioned pulp so I decided to give it a gander, and it seems like it might do everything I need it to do.

Candlepin, Foreman, and Pulp are at the center of Katello. Pulp is a very capable choice which is likely to have a long future. Consider using Katello if you want systems management or easy Foreman integration.

Cidrick
Jun 10, 2001

Praise the siamese

evol262 posted:

Candlepin, Foreman, and Pulp are at the center of Katello. Pulp is a very capable choice which is likely to have a long future. Consider using Katello if you want systems management or easy Foreman integration.

Foreman (and Katello) interest me, but I think I'd have a hard time selling it in this environment since we are very entrenched in Chef rather than Puppet - plus we're currently using Cloudstack rather than Openstack, and Chef is the glue that holds them all together. Perhaps we bet on the wrong horses, but I think I'd have an easier time simply selling Pulp instead of a complete package using Foreman/Katello.

YouTuber
Jul 31, 2004

by FactsAreUseless

evol262 posted:

Hahahahahahaha

"I use startx because of the sucking performance drain from lightdm/xdm/gdm"

Nah it was more benign. I set the distro up and took a nap. When I came back I was kinda :11tea: about further bitch work and just started using it as it was. A year later it's still the same way.

unruly
May 12, 2002

YES!!!

CaptainSarcastic posted:

I turn off browser caches when I'm running of SSD, as it is my understanding they are a primary cause of wear and tear (and thus early death) for SSDs.
https://wiki.archlinux.org/index.php/SSD#Browser_Profiles

You're right. Though sometimes I wonder just how bad it could be, given that the situation would be the same on Windows and Mac, and no one seems to be clamoring for RAM disks or anything like that...

Anyway, there is a handy script linked from that Wiki page it's a deamon that will sync your profile to a TMPFS location, tell your browser to look there, and then sync back to the disk periodically, lessening the wear.

Edit: A word

unruly fucked around with this message at 20:33 on Oct 24, 2014

SurgicalOntologist
Jun 17, 2004

I'm thinking of making the switch to a more miminal DE/window manager and could use some advice. So far I've only used Unity and Gnome3. While I like both, I don't use a lot of the bells and whistles and could do with a smaller footprint.

I open applications maybe 50% of the time by pressing Super, the first few letters, then Enter. So I need to have something like this. I open stuff through the terminal maybe 40% of the time, and the last 10% through Nautilus.

I never minimize windows, or position them with the mouse. I exclusively use the keyyboard shortcuts to maximize, half-maximize, switch desktops, etc. So I'd like to move to a more keyboard-centric DE. But I've really gotten used to multiple desktops so that's a must. I do use alt-tab and ctrl-tab fairly often if I have multiple windows on the same desktop.

I value my screen real estate. I rarely if ever click on launchers so I don't need one. Even auto-hide just bugs me when it pops up. I don't mind a top bar like Unity has as long as it's small, but come to think of it the only thing I ever look at up there is the time.

I could just start trying things out (and I will) but if anyone has a suggestion that'd be great. I've looked at some of the more popular alternatives but everything either looks like WinXP (e.g. LXDE) or OSX (e.g. Enlightenment). I don't want something that looks like anything, I want it to be empty. Does that make sense?

Do throw another wrinkle into the equation, I'm asking for my desktop but also for my Chromebook, which is a touchscreen. The lightweight element is more important on the Chromebook, but something with touch features/support would be nice. But not critical, I mainly go into crouton for coding or writing and I don't see myself using a lot of touch in those cases.

Adbot
ADBOT LOVES YOU

Ashex
Jun 25, 2007

These pipes are cleeeean!!!
Regarding the startx circle jerk, there are still cases where it makes sense. I got my hands on a thinkpad X21 a few years back and the only way to make it useable with a modern browser was to ditch a dm and go with slim and openbox. I might have been able to make use of lightdm but it was pretty snappy with that setup. 128MB ram doesn't give you a lot of room to experiment.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply