|
Are there any known problems we'd be opening ourselves up to by disabling NetworkManager on rhel7 systems? I'm inclined to just let it sit and learn to use it but people around me are concerned that it messes with configs and would rather kill it off. But it was supposed to be a big important dependency in rhel7 and am unsure how true that actually is.
|
# ¿ Mar 19, 2018 17:08 |
|
|
# ¿ Apr 17, 2024 21:42 |
|
anthonypants posted:You'll have to configure DHCP separately, and there are some services that wait for NetworkManager to declare that the network is ready. The good thing is that once you've gotten rid of NetworkManager you can remove all the wifi driver/firmware packages. I looked into that and it looks like network-online.target is smart enough to keep on trucking even if the NetworkManager rpm has been removed. I made a brief attempt to track down exactly what process that target uses to determine network status but quickly lost interest when I ended up floundering through the systemd documentation.
|
# ¿ Mar 21, 2018 19:09 |
|
Even on Windows you still end up with issues when changing from 4k to HD. Needing a full reboot isn't common but it's not unheard of. App restarts are a reality you gotta get used to. Logging out and back in is more of a fringe situation. Point being, linux also not being great at it is not a surprise to me. It's just one of those things where the software hasn't caught up quite yet and it's gonna be pain for a while longer.
|
# ¿ Mar 22, 2018 18:09 |
|
You didn't do it wrong, updating the files manually has been The Method for 20 years. You probably just had a permission set wrong or a formatting error somewhere that the command cleaned up for you.
|
# ¿ Mar 29, 2018 13:48 |
|
Hadlock posted:I have a Mac and love iTerm 2 Terminator is the best I know of. It has a bad case of EVERYTHING MUST BE AN OPTION but the upside is if you're willing to put in the effort it'll do exactly what you need. I have it configured to more or less work the way iTerm2 does, with tab splitting/creation and all that jazz. I've honestly never used ctrl+c/v pasting under linux so can't say how well it deals with it. Control-C is sigint and is the only correct configuration.
|
# ¿ Apr 10, 2018 19:30 |
|
Look up the -s option, the numbers are "sections" and -s lets you specify which section to search for the man page. Each section is a fairly specific category, like second 2 is system calls and section 3 is library functions.
|
# ¿ Apr 14, 2018 02:47 |
|
It'd be at least 20 years since I looked at the man page for man. I started using -s as a rookie and it worked so I never questioned what it was actually doing.
|
# ¿ Apr 14, 2018 04:28 |
|
I've never done the rhcsa, what's their deal with autofs? We use it at our place in limited cases, users hate it because their files aren't INSTANTLY AVAILABLE and we dislike it because managing the maps is zero fun. See way fewer problems adding entries to fstab with puppet, so I can't imagine a reason why redhat would test it so heavily.
|
# ¿ Apr 14, 2018 17:58 |
|
The main justification for autofs in the bad old days is being able to bring up a system that uses nfs but doesn't need it to boot.. like home directories. There's also some logic that if an nfs server goes to poo poo it doesn't lock clients up because those clients will have unmounted unused mounts. You could also update mounts via nis to allow adding and removing nfs servers without having to update fstabs everywhere. In practice it's not that elegant. The on-demand mounting generally works, but some poorly written software will fail on an fopen because a file doesn't exist yet. Or users keep a mount mounted 100% of the time so if the server croaks, the client locks up anyways. The nis part is pretty handy though (but puppet has made it irrelevant).
|
# ¿ Apr 14, 2018 18:59 |
|
RFC2324 posted:the nightmare part was added when someone tied it to ad Kerberos auth instead of basic ldap. I feel bad for the guy who had to roll out nfs4 with kerberos auth that would work on both linux and windows workstations. I think I watched his hair go grey overnight.
|
# ¿ Apr 15, 2018 22:01 |
|
Slackware, it was my first back in 1995 so obviously it'll work for everyone else too.
|
# ¿ Apr 18, 2018 13:49 |
|
That's actually ideal because it will convince a new user to never touch linux ever again and that's probably the best possible option for living a happy and peaceful life.
|
# ¿ Apr 18, 2018 16:10 |
|
G-Prime posted:Finding a copy of Gentoo that old is a surprisingly difficult task. Still looking. I found a 2007 portage snapshot, though. Best I got.
|
# ¿ Apr 19, 2018 03:46 |
|
The arch wiki is probably the best linux "how do I do a thing" site out there right now. Yes it's basically cut and paste admin but I don't have an issue with that, it lets you quickly get a basic config going from which you can add customization. It could definitely be better but in the sphere of "linux documentation" they're a rare diamond.
|
# ¿ Apr 20, 2018 15:30 |
|
peepsalot posted:Yeah I think the problem is the mindset of command-line types(and particularly those would would be willing to contribute to such a text based project) don't value improving things like discoverablility in interface design and would rather refer you to RTFM ad infinitum until you have memorized everything or you give up and stop using the program. How the heck does one implement "discoverability" in a console based program that has a resolution of maybe 100x50 "pixels" (depending how big the user makes the window)? In principle I agree but this is why we ended up with GUIs, it allows much greater information density and are generally designed around a few easily grasped concepts that welcome exploration. Duplicating that in vi would be a colossal waste of time due to the fact it would make the program less effective at displaying text and still not be as convenient as a full GUI app. Let vi be vi, and let visual editors be visual editors. It's a solved problem, refactor not necessary.
|
# ¿ May 2, 2018 16:20 |
|
vim has the :help command which it informs the user about on startup if they don't load a file and it has a simple keyword search with ":help searchterm".
|
# ¿ May 2, 2018 16:33 |
|
peepsalot posted:Also if screen real-estate is a concern, it possible to have a menu that hides until activated (elinks does this for example). But in the strictest sense this hurts discoverability because the user has to know about the feature before they can use it. Which elinks does sufficiently so I'm not saying it can't work, but I'm trying to make the point that every solution is a compromise of some sort. vi and its clones just went down the road of compromising all semblance of usability to make things as efficient as possible provided the user is able to figure out the commands. Trying to change that at this point is 100% futile, so the best suggestion is to just use something else. nano, pico, joe, and jed are the main console based visual editors I've seen used over the years and all are perfectly good at their job.
|
# ¿ May 2, 2018 17:01 |
|
So there was a minor office debate about free memory on a linux system, triggered by the output of the 'free' command. Its output disagrees with another tool we've started using (netdata) for the 'used' column. Long story short, the procps-ng free command subtracts SReclaimable memory from the 'used' column, I guess because they figure if the memory can be used by something else it's not actually used. Netdata does a straight "MemTotal - MemFree - Buffers - Cached" type calculation. Don't really have a question about this, it seems like a purely philosophical debate because reclaimable memory is still "used" in the sense the kernel is caching data in there, but it's sort of free in the sense it can be reallocated when needed. Curious if anyone knows the story behind this or has an opinion on which is "correct." (I did notice the older procps package used in RHEL6 and earlier did not subtract SReclaimable so it's a relatively new behavior)
|
# ¿ May 3, 2018 17:28 |
|
Maybe they reverted then because the machine I happened to be investigating on is using 3.3.10. Or maybe it's one of those annoying backport-but-keep-the-old-version-number things redhat likes to do with rhel.code:
code:
|
# ¿ May 3, 2018 19:27 |
|
18 Character Limit posted:https://www.linuxatemyram.com/ This isn't completely current because there actually is an issue with the dentry cache and users working on volumes with zillions of files.. I'm not clear on the specifics because I'm not the guy in my group dealing with it but the gist is that linux hasn't been emptying the cache properly when applications are asking for ram. If you hunt around redhat has actually been suggesting people having issues to run a cron job to manually empty the cache "periodically." But don't do it during high I/O or you might cause corruption. I heard in a group meeting this morning there's been some recent work on the sysctl vm.vfs_cache_pressure option to make it more effective.
|
# ¿ May 4, 2018 18:55 |
|
Yes but if your systems are in a secure environment it's totally okay to be vulnerable. Intrusions never happen you know.
|
# ¿ May 8, 2018 20:17 |
|
The ''.join() approach is garbage and python is bad for letting us do it.
|
# ¿ May 11, 2018 15:29 |
|
It's not hard to read once you're familiar with it, it's just a poo poo idiom. No one thinks "take a delimiter and feed it a list to insert itself between each element." The natural thought process is "I have a list and I need to turn it into a string with hyphens between each element." For a language that prides itself on clean legible code it's a really odd convention and from what I can tell the only justification is "well it's ten billion times faster than string concatenation so guess what it's the rule now!" If join() was a list method it would read a lot better.
|
# ¿ May 11, 2018 19:05 |
|
Use Kerberos, the principal and account accessed get put in system logs. For even more auditing look up HISTTIMEFORMAT.
|
# ¿ May 12, 2018 15:02 |
|
The fun part about port 80 is it serves no purpose anymore but handing out a permanent redirect to 443. It should be a single line option in httpd.conf at this point.
|
# ¿ May 15, 2018 14:44 |
|
Books are kinda questionable when you can google literally every administrative task you would ever need for a linux machine. If that's your preferred type of learning not trying to talk anyone out of it, but it's not the One True Way(tm) to become competent.
|
# ¿ May 15, 2018 15:04 |
|
nem posted:. Red hat publishes some great, thorough documentation. Read question, describes my problem exactly, scroll down.. SUBSCRIBER EXCLUSIVE CONTENT
|
# ¿ May 15, 2018 16:10 |
|
Best way to learn linux, or any OS, is find an itch and scratch it. Pick a specific computing goal and go after it. It's better if you get dirty setting things up, but even if you cut and paste from a recipe you still will have learned something and will be better at it next time.
|
# ¿ May 15, 2018 18:20 |
|
Do you want something rsync style, or btsync style?
|
# ¿ Jun 4, 2018 16:33 |
|
btsync is a kickass tool until you run into their attempts at monetization. Great tech, silly strategy. Unfortunately none of the open source options are anywhere near as stable. Syncthing was garbage last time I tried it.
|
# ¿ Jun 4, 2018 16:44 |
|
Maybe look up Unison too. It's a manual file sync tool but is more fire and forget than something like rsync. https://www.cis.upenn.edu/~bcpierce/unison/
|
# ¿ Jun 5, 2018 13:47 |
|
If you want a posix environment with a GUI that Just Works there is no easier solution than a Mac.
|
# ¿ Jun 6, 2018 17:50 |
|
You're gonna have to validate that with some specifics because as stated it sounds like knee-jerk IF IT'S NOT LINUX IT'S CRAP neckbeard trolling.
|
# ¿ Jun 6, 2018 20:10 |
|
mystes posted:Windows with wsl is probably actually easier in 2018 since it actually supports unmodified Linux software. Has the clipboard issue been fixed yet? When I tried it I really wanted to enjoy it but all the available X servers had this infuriating quirk where I had to ctrl+c two or three times before it would register and make the buffer available to X11 programs. Which I guess is not technically a WSL issue, but was a real detriment to my work style regardless.
|
# ¿ Jun 6, 2018 21:03 |
|
Volguus posted:Once in the terminal, it's fine (though even that is broken - kinda, exit bash and the app doesn't close), since IT IS UNIX indeed. The window lingering on shell exit is a configurable option somewhere.. though I can't remember where. It became irrelevant when I moved to iTerm2. quote:But, that UI. and not only the UI, the user experience overall. The lack of customization, the my way or the highway. The loving cmd vs control (copy&paste&whatever). Apps closing vs quitting. The finder (what a loving abomination, listing every drat file in home, no way to turn it off). The keyboard (WTF indeed, carpal tunnel here i come). The million little things that made daily usage of it weird at least. All of them were small, but holy hell, many. From where I stand it just looks like they were different for the sake of being different not to actually improve usability or productivity. This is really more "I don't like it" than "it doesn't work and apple sabotages attempts to do work." Lots of people can do an effective day of work on a mac so it's not the UI that's fundamentally flawed, it just doesn't give you what you want. The UI does have a number curious "let's go in a different direction" decisions, but I think that's more because everyone knows windows and linux has been trying to copy windows for 20 years so they share a lot of the same idioms. Overall it's pretty coherent on its own terms and they do some things better than anyone else. Their trackpad integration is unmatched, spotlight search is dreamy, and spaces is the best virtual desktop solution I've ever used (largely because of the trackpad gestures).
|
# ¿ Jun 6, 2018 21:20 |
|
Server taking too long to respond is a browser error, not a web server error. So looking at your apache config is not going to fix that problem. Whatever IP your browser is getting from name resolution is dropping packets, probably due to a firewall somewhere. (if the port was not open but your client could reach the IP in question, you'd get a connection refused error)
|
# ¿ Jun 25, 2018 22:14 |
|
Sorry, missed that the www variant was working fine. Get a dig tool or use a web based one and verify resolution for all the associated domains returns the IP you expect. Actually, do both: your local machine and some random 3rd party. This will isolate any caching issues. Then consider stripping down the apache config to basically nothing, get port 80 working, then add on 443. Apache's config file scheme is a little myopic if you aren't used to it but it's not magic and there should be a billion vhost samples you can cut and paste off the internet.
|
# ¿ Jun 26, 2018 00:27 |
|
I think as long as they get their spf and dkim records set up properly there won't be any issues. It's not easy to do, but it's not hard either. If I remember correctly far enough back in the thread they just want to send the occasional email and that's a reasonable thing to want to do. There's certainly easier and more modern ways to get this done, but as a learning exercise it's not a horrible idea. The more people who know how to be good smtp citizens, the better.
|
# ¿ Jun 27, 2018 00:01 |
|
If you look up the certbot-auto source on github it calls sudo to elevate itself to root. If sudo isn't available it uses su. They give a few options for running in the comments:code:
Or if I'm reading the script right, running "certbot-auto --cb-auto-has-root" as root will skip around the sudo/su parts entirely.
|
# ¿ Jun 28, 2018 15:44 |
|
|
# ¿ Apr 17, 2024 21:42 |
|
The kernel is pretty big these days, we still have a handful of decripit old servers where some doofus (was probably me) only gave /boot 128MB and it can only hold three kernels. I don't know what Mint does but redhat will quietly hang on to every kernel it installs.
|
# ¿ Jul 7, 2018 18:18 |