|
waffle iron posted:If that version of Ubuntu uses systemd, you can get the log with "systemctl status NetworkManager -a". Ubuntu has yet to change over to systemd (apparently it's going to be on monday) so the correct place to look is in /var/log/upstart/network-manager.log
|
# ? Mar 7, 2015 20:23 |
|
|
# ? Jun 13, 2024 02:21 |
|
Longinus00 posted:Ubuntu has yet to change over to systemd (apparently it's going to be on monday) so the correct place to look is in /var/log/upstart/network-manager.log There isn't a network-manager log, but there is a whoopsie (Jesus...) log, which did mention network-manager in it, so I'm going to keep an eye on that for when the problem re-occurs.
|
# ? Mar 7, 2015 23:56 |
|
How do I add a task to be run as a particular user at bootup in Ubuntu (actually Xubuntu, but who's counting)? Specifically, I want rotorrent to run with scgi port 5000 as a user named rUser. I have been running rtorrent using screen (screen -fa -m -d rtorrent) with the scgi specified in rUser's .rtorrent.rc (scgi_port = 5000). I can get rtorrent to run at boot, but it runs as root. This is not particularly useful to me.
|
# ? Mar 8, 2015 00:26 |
|
PBCrunch posted:How do I add a task to be run as a particular user at bootup in Ubuntu (actually Xubuntu, but who's counting)? Just run it as a cron job (using crontab -u ruser -e) with the timing set to @reboot?
|
# ? Mar 8, 2015 01:09 |
|
PBCrunch posted:How do I add a task to be run as a particular user at bootup in Ubuntu (actually Xubuntu, but who's counting)? When you are root, you can switch to any other user without entering a password using the su command (or even with sudo, assuming typical sudo configuration). System boot-up scripts always run initially as root, and the script should run the command/service/daemon as an appropriate user whenever necessary. So you could arrange for this command to run at boot: code:
code:
|
# ? Mar 8, 2015 01:33 |
|
PBCrunch posted:How do I add a task to be run as a particular user at bootup in Ubuntu (actually Xubuntu, but who's counting)? It's been a while since I wrote upstart scripts, but this should be a very trivial thing
|
# ? Mar 8, 2015 01:58 |
|
I've got a question about licensing. At work we're using Ghost to do disk to disk imaging for new Windows PCs. WDS is my ideal solution but I think that's just too much to ask for right now. I got a copy of Parted Magic and it works great! How do I prove to my boss that we're okay on licensing if I want to use this all over the company?
|
# ? Mar 10, 2015 00:00 |
|
Dr. Arbitrary posted:I've got a question about licensing. Email them and ask for an explanation of their licensing. Alternatively just get Clonezilla and Gparted from their sources, both are entirely free. Parted Magic is pretty nicely packaged though.
|
# ? Mar 10, 2015 00:20 |
|
thebigcow posted:Email them and ask for an explanation of their licensing. I guess that's the obvious answer. I'm still struggling in general with all the different kinds of licensing for free software. Does it get easier as you work with it more?
|
# ? Mar 10, 2015 00:28 |
|
Dr. Arbitrary posted:I guess that's the obvious answer. There's lots of different kinds of licensing for non-free software as well (have you ever looked into windows licensing?). Also don't confuse the license on the raw source code (probably what most people think of first when they think of free software) and other ancillary licenses you might have to deal with. For instance, nowhere in the GPL is there some pricing structure for the cost you have to pay redhat depending on how many CPU sockets per server you're using red hat linux on.
|
# ? Mar 10, 2015 00:59 |
|
I'm sure RMS is eating something from his foot angry over redhat licensing. I once met that crazy fucker. He came to Rackspace. Went on a rant about coke and refused to sign my vim book. Other crazy guy that worked at rack invited him and followed him into the bathroom and talked to him through the stall door. Linux techs are some weird fuckers I tell you what. And yes. The vim book was a joke. He didn't take it well. jaegerx fucked around with this message at 01:15 on Mar 10, 2015 |
# ? Mar 10, 2015 01:12 |
|
jaegerx posted:I'm sure RMS is eating something from his foot angry over redhat licensing. Edit: I went to a Linux User group a few weeks ago and we got in a discussion about Stallman. Apparently one of the people there had hosted him for a few days for a conference. He didn't change clothes once and ended up doing his speech with a huge mustard stain on his shirt. We joked around about how at conference hotels you can play a game of "Unix admin or homeless person" I got a good response when I said "Oh, he just took a poo poo onto a piece of newspaper... Unix admin." Dr. Arbitrary fucked around with this message at 01:38 on Mar 10, 2015 |
# ? Mar 10, 2015 01:36 |
|
https://www.youtube.com/watch?v=jskq3-lpQnE
|
# ? Mar 10, 2015 01:39 |
|
God help us if the corporate guys that pay us ever figure out that weirdo is behind GNU. That's reason alone to never call it GNU Linux.
|
# ? Mar 10, 2015 02:21 |
|
jaegerx posted:I'm sure RMS is eating something from his foot angry over redhat licensing. We don't license, and it doesn't interact with the gpl in any way. All the code I write is GPL. Upstream and downstream. You pay us a subscription which entitles you to support and a binary update stream, but you're free to download the srpms, which we release, and update red hat systems. You can install RHEL and never update it or tell us. You can stop your subscription after a year and keep a 10000 server environment running forever without paying us a dime, or download srpms and update them. It's not closed source. It's not a license. It's convenience, support, and someone to blame if it breaks. That's all the subscription is.
|
# ? Mar 10, 2015 03:38 |
|
evol262 posted:We don't license, and it doesn't interact with the gpl in any way. Used the wrong wording. Yes a subscription and well worth it. I've abused the Rackspace tam a time or to for issues until I left. I wish redhat had a minor tier subscription just for updates. I'd run that on my personal box instead of centos but that doesn't really matter anymore since centos is being run by redhat somewhat now. If you do need support though redhat is the way to go. E: I bet RMS still hates you though because it's not called GNU RedHat Linux.
|
# ? Mar 10, 2015 03:55 |
|
Could be worse ways to handle the logistics of commercializing it. MongoDB has this annoying there where you can build it with SSL, but their free RPMs don't add the flag to enable it. They don't give away source RPMS and the spec files in their repo are missing the parts to actually build the code. They conveniently will give you SSL compiled in if you pay for their commercial version though. I liked working with MongoDB a lot, but that was just a pain in the rear end because this new environment I work in my manager is gung-ho about having encryption everywhere possible.
|
# ? Mar 10, 2015 04:17 |
|
If we need to add SSL to an app, we just put it behind STunnel or HAProxy.
|
# ? Mar 10, 2015 05:18 |
|
jaegerx posted:I wish redhat had a minor tier subscription just for updates. I'd run that on my personal box instead of centos but that doesn't really matter anymore since centos is being run by redhat somewhat now. We do. I'd just run OEL or something, but if running RHEL matters, a developer sub is $50, maybe $80
|
# ? Mar 10, 2015 05:38 |
|
Running OEL would leave a bad taste in my mouth. I'd much rather run CentOS.
|
# ? Mar 10, 2015 13:03 |
|
spankmeister posted:Running OEL would leave a bad taste in my mouth. I'd much rather run CentOS. I run centos or fedora everywhere, but I can't dispute oel rebuilding and distributing our srpms the fastest. When the centos build system rework is done, that may change
|
# ? Mar 10, 2015 14:20 |
|
If I create an account with a shell of "/usr/bin/piss" and give someone ssh access to that account, there is no way they can pass arguments in, right? like they can't run "/usr/bin/piss --poo poo" Just double checking i'm not doing something retarded.
|
# ? Mar 10, 2015 22:00 |
|
Illusive gently caress Man posted:If I create an account with a shell of "/usr/bin/piss" and give someone ssh access to that account, there is no way they can pass arguments in, right? like they can't run "/usr/bin/piss --poo poo" They definitely can. Just try it out. For example, make a user and set the shell to /bin/ls. Then run code:
|
# ? Mar 10, 2015 22:28 |
|
Docjowles posted:They definitely can. Just try it out. For example, make a user and set the shell to /bin/ls. Then run welp. Guess I just have to wrap whatever "/usr/bin/piss" in a shell script that doesn't pass the arguments then?
|
# ? Mar 10, 2015 23:16 |
What should I be using to run uWSGI at startup on a CentOS 6.6 box? I'm going down the route of an init script but it's kind of a pain in the rear end. edit: All this time I thought upstart was a debian/ubuntu only thing...turns out it's on CentOS 6 as well so I'll just follow this: http://uwsgi-docs.readthedocs.org/en/latest/Upstart.html fletcher fucked around with this message at 00:22 on Mar 12, 2015 |
|
# ? Mar 12, 2015 00:02 |
|
fletcher posted:What should I be using to run uWSGI at startup on a CentOS 6.6 box? I'm going down the route of an init script but it's kind of a pain in the rear end. Just to follow up, even though you found it, yes, upstart is on rhel6. sysvinit on 5, upstart on 6, systemd on 7 In honesty, we dropped upstart because it had/has a ton of warts after some initial promise. But it's way better than sysv, at least
|
# ? Mar 12, 2015 01:08 |
evol262 posted:Just to follow up, even though you found it, yes, upstart is on rhel6. sysvinit on 5, upstart on 6, systemd on 7 I started reading about why there are conflicting init systems...I wish I hadn't. Has the dust settled on what will be used going forward?
|
|
# ? Mar 12, 2015 01:30 |
|
fletcher posted:I started reading about why there are conflicting init systems...I wish I hadn't. Has the dust settled on what will be used going forward? Ugh barely. Systemd is gonna be redhat based for a while. I think Debian is still on upstart. Ubuntu does whatever the gently caress it wants depending on the weather so no idea where they're going. Just run coreos and stick everything in docker and pretend this never happened.
|
# ? Mar 12, 2015 01:33 |
|
Ubuntu switched to systemd by default a day or two ago, for new installations of 15.04. As a result, the Kubuntu daily CD image is broken at the moment.
|
# ? Mar 12, 2015 01:40 |
|
Is there a short explanation of why some people flip the gently caress out when systemd gets mentioned?
|
# ? Mar 12, 2015 01:45 |
|
Dr. Arbitrary posted:Is there a short explanation of why some people flip the gently caress out when systemd gets mentioned? No. Well yeah no. It makes people learn something new and that pisses off people. There are those who trust in Linus completely who I believe came out against systemd or maybe it was upstart and they're now stuck on that bandwagon because Linus can do no wrong.
|
# ? Mar 12, 2015 01:52 |
|
Dr. Arbitrary posted:Is there a short explanation of why some people flip the gently caress out when systemd gets mentioned? Some people are also seriously angry at Lennart Poettering in general, the guy behind pulseaudio and much of systemd, because that one time in 2007 audio didn't work on their system. Also, obviously, systemd is literally Hitler and violates Unix principles and did I mention it's literally Hitler?
|
# ? Mar 12, 2015 01:59 |
|
lots of people don't actually know what systemd is and says it has a binary configuration format or something
|
# ? Mar 12, 2015 02:07 |
|
Suspicious Dish posted:lots of people don't actually know what systemd is and says it has a binary configuration format or something It has a binary logging format. Which I honestly wouldn't mind so much, journalctl is pretty handy, except journalctl is also rear end-slow.
|
# ? Mar 12, 2015 02:26 |
|
Some people perceive systemd as going beyond just "start up these things in this order" and encroaching onto setting up sockets and mounts, acting as a inetd server, setting up network configuration, log forwarding, etc etc. This goes against the Unix philosophy of each tool doing something small and well-defined, and so it makes neckbeards mad. What they may misunderstand is that "Systemd" is actually composed of lots of small well-defined tools which handle the above, and they're all optional except for the base "systemd" init system and the journal itself. It doesn't help that Lennart Poettering is on par with Linus Torvalds for not being the greatest and most welcoming communicator. I've been using systemd for a while on CoreOS and despite a few problems, I'm really happy with it. There are so many features that are a vast improvement over sysv init.
|
# ? Mar 12, 2015 02:31 |
|
ToxicFrog posted:It has a binary logging format. Shouldn't be. What version are you on, and what are you trying to do with it?
|
# ? Mar 12, 2015 02:35 |
|
I've found journal to be either lightning quick or really slow, on the same system. (CoreOS, FWIW)
|
# ? Mar 12, 2015 02:53 |
|
Dr. Arbitrary posted:Is there a short explanation of why some people flip the gently caress out when systemd gets mentioned? My co-worker occasionally goes on about how he hates that its being put in. Says the whole system works more like Windows and that scares him. I think it has promise, but it has a lot more benefit for desktop stuff. Though right now we have servers running monit, and ditching that in favor of built in service state checking would be a blessing.
|
# ? Mar 12, 2015 03:24 |
|
JHVH-1 posted:My co-worker occasionally goes on about how he hates that its being put in. Says the whole system works more like Windows and that scares him. I think it has promise, but it has a lot more benefit for desktop stuff. Though right now we have servers running monit, and ditching that in favor of built in service state checking would be a blessing. The systemd roadmap for the next year is crazy, though. I like systemd, and I think the "just want timekeeping and not running a stratum 1 server? Use timed instead of ntpd. Simple networking? Use networkd instead of networkmanager" is a very good thing. And good for Linux. And it's not like Windows. Nor do I hold to the idea of some inviolable "UNIX philosophy" where you need to have just a kernel and libc with a bunch of big daemons from a bunch of projects handling the rest. But systemd is something different. In a simplifying, unifying, better way. Also, I like coreos, but "run everything in docker" is a huge clusterfuck for a variety of reasons (mostly related to docker being hacky and not suited for security updates/etc), and I hope systemd containers+flannel eat docker's lunch
|
# ? Mar 12, 2015 05:20 |
|
|
# ? Jun 13, 2024 02:21 |
|
I pretty much don't like systemd because I fear change. No really, it's "problems" have been solved long ago and it's just change for the sake of change. ntpd works perfectly fine. init.d works perfectly fine for 99% of use cases. The current trend is to make the OS less relevant and I think systemd is just going to make people hate the OS faster / more. It's eating (or, if you prefer, re-defining) the userspace and everyone seems to think this is their chance to "re-invent" linux. Additional layers of complexity that add nothing to the system except for debugging headaches. It's initial push, start up items concurrently to boot faster, has been backed off and now you're left with little useful (at the moment, roadmaps are not features). It really brings nothing substantial to the table because it's harder, not easier, than what it's replacing. It's not compatible with poo poo and the devs clearly don't care about the end user. That's my uninformed rant, thanks for listening. Of course it doesn't matter what I think because systemd is here to stay. Pretty sure everyone and their dog is freezing at RHEL6 for enterprise right now and that's just fine with me. I have less than a decade left in my career and I'm just gonna ride what I know into the sunset. http://blog.lusis.org/blog/2014/11/20/systemd-redux/ Bhodi fucked around with this message at 05:45 on Mar 12, 2015 |
# ? Mar 12, 2015 05:29 |