[09:10] <rbasak> smoser: ping. Need some ephemeral image debugging help when you get in please. For some reason it's not configuring DNS right even though IP-Config lists correct info (can't resolve ports.ubuntu.com later). I can't reproduce by booting the machine into a normal installation. Is there a way to get a shell onto the system via the console and/or stop it shutting down?
[10:25] <jtv> Daviey: got a moment to talk about how we run dhcpd?
[10:31] <Daviey> jtv: Hmm, i can try.. kinda knee deep atm
[10:31] <jtv> Thanks.  It's just that /etc/default/isc-dhcp-server seems to be the only place where we can set which interfaces it should serve on.
[10:31] <Daviey> rbasak: are you using an apt proxy?
[10:32] <jtv> And so my only option to set that _if I stay within MAAS code_ is to rewrite that file, which is all sorts of ugly.
[10:32] <rbasak> Daviey: no. I've got a bit further though. Looks like cloud-init is not writing a resolv.conf at all. Some conflict with resolvconf and the nature of my image perhaps.
[10:32] <Daviey> jtv: Well, that is the proper way... but you can supply your own upstart job with a config, if that makes more sense
[10:32] <Daviey> rbasak: resolvconf awesomeness !
[10:34] <jtv> Daviey: I'm not sure it'd be good to have two upstart jobs for the same daemon side by side.  Otherwise, tempting.
[10:35] <jtv> Obviously I want to avoid just appending endless lines... is there a standard reusable way to rewrite a single line with some kind of I-wrote-this marker comment in front?
[10:37] <rbasak> augeas is the standard answer. Not sure how well adopted that is in Ubuntu. And it's probably overkill
[10:37] <jtv> Don't know what that is, but the name certainly carries an air of overkill!
[10:37] <rbasak> It's a generic mechanism to understand different file formats and change them programatically and losslessly
[10:37] <Daviey> rbasak: yeah, we never really quite got into the augeas vibe
[10:38] <jtv> Something else then?
[10:38] <jtv> It's a relatively simple problem, but obviously not unique.
[10:38] <rbasak> I would use a comment as a marker and combine that with sed
[10:38] <rbasak> I think that's the usually done thing
[10:38] <Daviey> jtv: Well... having /etc/default/isc-dhcp-server - ENABLED=False.. then writing a /etc/maas/isc-dhcp-server is another option, no?
[10:38] <jtv> Not _particularly_ nice to have the comment on the same line, but...
[10:39] <jtv> But then we're back to writing that file.  :)
[10:39] <rbasak> Usually it's the immediately preceding line
[10:39] <rbasak> Which notes that it's an automatic thing and not to mess with the line below
[10:39]  * jtv has not mastered inter-line editing in sed
[10:39] <Daviey> well, ## Begin MAAS entries\n .. ### End MAAS entries ?
[10:39] <jtv> A comment like that is exactly what I had in mind though.
[10:40] <jtv> I thought sed got horribly involved when you had to edit across lines.
[10:40] <rbasak> It's not too bad.
[10:40] <Daviey> smoser would fight for awk here :)
[10:40] <rbasak> If you use Daviey's start and end markers, then:
[10:40] <rbasak> hmm, maybe too much to do in irc
[10:40] <rbasak> You may have a point
[10:40]  * jtv thought so :)
[10:41] <jtv> It's not _very_ much code but given how evil corruption in /etc would be, I'd much prefer something that's already in widespread use.
[10:42] <jtv> Failing that, I can just write some python myself.
[10:42] <rbasak> It's against debian policy for packages to change other packages conffiles
[10:42] <rbasak> isn't it?
[10:42] <rbasak> How would that work for maas packaging then?
[10:43] <rbasak> I think the separate upstart job would be cleaner and more policy-compliant
[10:43] <jtv> But if it requires editing /etc/default/isc-dhcp-server to disable the original upstart job, it doesn't make things much better.
[10:44] <rbasak> Luckily the dhcp server installs disabled
[10:44] <jtv> Ideally we'd have some kind of conf.d hook here.
[10:44] <jtv> Oh, yes, of course it does!
[10:44] <jtv> *facepalm*
[10:44] <jtv> Oh dear.  But that's in the config, innit?
[10:44] <jtv> And we write to the config.
[10:44] <rbasak> Have an entirely separate config. /etc/maas/dhcp
[10:45] <jtv> Yeah, that's what springs to mind but it's a lot of weight to carry around.
[10:45] <rbasak> The maas dhcp upstart job would fire up the daemon to use that, with separate pidfiles, lockfiles, leases files and everything
[10:45] <rbasak> It is
[10:46] <rbasak> Unfortunately there's no accepted mechanism for packages to stack up automatically in the way that maas needs to sit higher in the stack and manuiplate dhcp
[10:46] <rbasak> So right now that's the only clean way to do it in packaging I think
[10:46] <rbasak> But who am I to say this anyway. I'm neither a Debian nor an Ubuntu anything
[10:47] <jtv> And yet you cite debian policy.
[10:47] <jtv> At least it's giving me a much better view of the problem, so I thank you for that.
[10:48] <rbasak> You're right about the conf.d hooks btw. That's the normal way of packages getting hooks into other packages
[10:50] <rbasak> I suppose /etc/default/isc-dhcp-server could have something like [ -d /etc/default/isc-dhcp-server.d ] && for f in $(run-parts --list /etc/default/isc-dhcp-server.d); do . $f; done
[10:51] <rbasak> That could go in as an Ubuntu delta to the dhcp package, and then maas would just need to manipulate /etc/default/isc-dhcp-server.d/maas
[10:51] <rbasak> I think that would be clean and policy compliant, but it would be unusual
[10:54] <Daviey> ^ that seems better actually
[10:56] <jtv> But it'd have to be in Precise as well.
[10:58] <jtv> Daviey: any chance of getting anything like that into Precise?
[10:58] <jtv> As well as Quantal?
[10:59] <Daviey> jtv: well quantal is easy.. precise is so messed up with this massive change, what is more pain. :)
[10:59] <jtv> *cough*
[10:59] <jtv> Who might be able to do such a thing?
[11:02] <Daviey> jtv: I honeslty can't see the massive change going into precise at the moment...
[11:02] <Daviey> that run-parts style thing, is /possible/
[11:02] <jtv> Wait... which is the massive change then?  You mean writing our own config is the impossible one?
[11:02] <Daviey> no, the massive change.. as in, pulling everything back :)
[11:03] <jtv> I don't understand that expression.
[11:04] <Daviey> jtv: The plan to SRU trunk maas back to precise.. I have reservations abou it being possible.
[11:04] <jtv> Oh!  That one.
[11:04] <jtv> Sorry, I had no idea you were talking about that.
[11:05] <Daviey> not saying it can
[11:05] <jtv> Well, one thing at a time then: do you know how we might achieve a runparts extension on /etc/defaults/isc-dhcp-server?
[11:05] <Daviey> not saying it can't/won't be done.. i just have reservations
[11:06] <Daviey> jtv: Well, we won't achieve it until it's required.. does that make sense?
[11:06] <Daviey> ie, we won't update the precise version.. on the off-chance it might be needed in a few months.
[11:06] <Daviey> Does that make sense?
[11:06] <jtv> Of course.
[11:08] <jtv> The only other solution that's come up is to write our own upstart job and our own dhcpd config.
[11:12] <jtv> It's a lot of weight to carry around, basically just to work around this relatively standard piece of config machinery not being there.
[11:22] <Daviey> jtv: right
[11:29] <jtv> rvba: you wrote the dhcp config files, right?
[11:30] <rvba> jtv: no, Julian did iirc.
[11:30] <jtv> Ah
[11:31] <jtv> Oh, maybe the problem you had was with the dns config.
[11:31] <rvba> Can I help with something?
[11:31] <jtv> The problem where you had to write into the config file.
[11:31] <rvba> Yeah, that's with the DNS config file.
[11:31] <jtv> Well, there's only one place where we can specify what interfaces dhcpd should service.  And it's in /etc/default/, so we're not really supposed to change it.
[11:31] <jtv> Alternatives include:
[11:32] <jtv>  * Doing it anyway.
[11:32] <rvba> (that's what we did with the DNS stuff)
[11:32] <jtv>  * Getting a "runparts" into the packaged version of that file.
[11:32] <jtv>  * Creating our own upstart job, and using our own config that isn't in the usual /etc/dhcpd or wherever it normally is.
[11:33] <rvba> (That might be a problem if you add Appamor into the mix)
[11:33] <jtv> Oh dear yes, there's that too.
[11:34] <rvba> Let's hangout briefly if that's ok  with you, the decisions we made for the DNS stuff are still fresh in my memory so maybe the two of us can figure out the best way to do this.
[11:34] <rvba> jtv: ^
[11:34] <jtv> Sure, thanks.  I don't have much time, but I have some.
[11:34] <jtv> I'm creating a hangout.
[11:35] <jtv> rvba: inviting...
[11:35] <jtv> https://plus.google.com/hangouts/_/c5f8c770e7c02a1703b226632493d84bb508ad53?authuser=0&hl=en-GB
[11:52] <jtv> Daviey: looks like my only realistic option is to write the existing config file anyway.  Thanks for  sparring with me!
[11:52]  * jtv is off
[11:53] <Daviey> \o/
[13:33] <smoser> rbasak, what happened above?
[13:33] <rbasak> smoser: I got a bit further
[13:33] <smoser> i'd prefer the separate upstart job myself.
[13:33] <rbasak> It seems that resolv.conf isn't being populated for some reason
[13:33] <smoser> and i dont really think its a lot of additional things to carry. its 1 file.
[13:33] <rbasak> Oh
[13:33] <smoser> oh. yeah, that too. the above comments were wrt dhcp
[13:33] <smoser> but rbasak yeah, i suspect you have clock issues and dhcp :)
[13:34] <rbasak> The dhcp thing is between Daviey and jtv I guess
[13:34] <smoser> or the eth0 naming bug we agreed existed.
[13:34] <rbasak> I'm not sure about clock. The rest of DHCP seems to work fine. It's just resolv.conf that's not being populated
[13:34] <rbasak> Could it be a race between eth0 and eth1?
[13:34] <smoser> rbasak, where is your image?
[13:35] <smoser> what does /etc/resolv. conf looki like in the pristine image?
[13:35] <rbasak> It's a symlink
[13:35] <smoser> because if you're using something older on 12.04, that was busted, and i'm not sure how it would react (although it seems to work fine on intel...)
[13:35] <smoser> rbasak, ok. then i think i know.
[13:35] <smoser> ah. i know.
[13:35] <rbasak> I can look up the target if you need
[13:35] <smoser> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1031065
[13:36] <smoser> i suspect it is that.
[13:36] <smoser> and you can verify by removing the 'start networking' line from cloud-init-nonet.
[13:36] <smoser> its a race condition.
[13:36] <smoser> interestingly, i came upon that bug when I was incorrectly not specifying 'ro' on the kernel command line
[13:37] <rbasak> Verify by removing it from where? In the image?
[13:37] <smoser> so you might want to verify that you're doing that as it massages the race differently :)
[13:37] <smoser> in the image, yes.
[13:37] <smoser> so, you *should* boot with 'ro' on the kernel command line, and that *might* "fix" your problem here.
[13:37] <rbasak> What's the plan for the armhf image for precise in general?
[13:37] <roaksoax> rbasak: can you give us a short summary of the dhcp issue?
[13:37] <roaksoax> err
[13:37] <roaksoax> sorry
[13:37] <roaksoax> rvba:
[13:37] <roaksoax> ^^
[13:38] <smoser> rbasak, we'll get you one if you need one.
[13:38] <rbasak> I definitely need one
[13:38] <smoser> i made a daily of the images available, and my plan was to get those down.
[13:38] <rbasak> Critical for MAAS on ARM - in time for 12.10
[13:38] <smoser> but due to many blocking bugs in quantal maas, i've not been able to sufficiently test the images to move them to 'release'.
[13:38] <smoser> i've verified they're good for precise usage.
[13:39] <rbasak> I believe MAAS trunk is essentially working now
[13:39] <rbasak> Not sure about the packaging
[13:39] <rvba> roaksoax: the dhcp issue that Jeroen was having?
[13:44] <roaksoax> rvba: yeah, did you guys reach concensus on how should it be fixed?
[13:44] <rvba> roaksoax: we basically don't have a choice here: with support for a proper conf.d directory, the only solution is to write to the config file directly. Same as what we've done for the DNS config.
[13:45] <rvba> s/with support/without support/
[13:46] <rvba> roaksoax: can you think of another way to do this?
[13:46] <roaksoax> rvba: so I asked the securoity team about this the other day
[13:46] <roaksoax> rvba: and this is the response: "Perhaps it would be easier for MAAS to have a helper that spawns the"
[13:46] <roaksoax> dhcp and bind daemons itself? This would allow specifying different
[13:46] <roaksoax> configuration files, in a location that is accessible by the maas
[13:47] <roaksoax> rvba: which I believe is probably the best way to mess up with files, without messing up with files (if you know what i mean)
[13:47] <rvba> We ruled that out because Apparmor restrict where, say, the named daemon can read its config file quite seriously.
[13:47] <rvba> restricts*
[13:47] <roaksoax> rvba: right, but we can always ship apparmor profiles
[13:47] <rvba> Right, that would solve the Apparmor problem.
[13:48] <rvba> But this means adding conf.d support for the apparmor profiles.
[13:48] <roaksoax> rvba: not really no
[13:48] <rvba> Which, IIRC, isn't available yet.
[13:48] <rvba> ah?
[13:48] <roaksoax> rvba: it is the same as what happened with cobbler/maas-provisiion
[13:49] <roaksoax> rvba: we just ship an apparmor profile which is also the same as the original one
[13:49] <roaksoax> rvba: but we add the differences to it
[13:49] <roaksoax> rvba: so we can just copy the dhcp apparmor profile and those to would lie their
[13:50] <roaksoax> ie. /etc/apparmor.d/usr.sbin.dhcp and /etc/apparmor/usr.sbin.dhcpd-maas
[13:50] <roaksoax> or similar
[13:50] <roaksoax> and the -maas profile includes the files we are touching
[13:52] <rvba> I can't say I know Apparmor very well but I suppose this means that the profile are "cumulative"?  I mean that we would have to provide a /etc/apparmor/usr.sbin.named-maas which would sort of" extend" the default /etc/apparmor/usr.sbin.named
[13:52] <rvba> Is that right?
[13:55] <roaksoax> rvba: I don't know actually if it would work that way
[13:55] <roaksoax> rvba: we shoud ask jdstrand
[13:55] <roaksoax> rvba: cause otherwise we ship the same exact profile, plus the location of the maas configu files
[13:55] <roaksoax> rvba: we will simply have 2 different profiles installed
[13:58] <rbasak> smoser: definitely booting with ro. I'll try dropping the "start networking".
[14:02] <rvba> roaksoax: if using the apparmor profile tricks works, this would also mean duplicating all the startup scripts to control our custom dns/dhcp services.  Is this really something we want to do?
[14:02] <roaksoax> rvba: what do you mean by duplicating all the startup scripts? Isn't it just the upstart job?
[14:03] <rvba> roaksoax: yeah, the upstart jobs.
[14:03] <roaksoax> rvba: yeah, so only 2 upstarts jobs
[14:03] <roaksoax> 1 for DHCP and 1 for DNS
[14:04] <roaksoax> but for now we can just try this out with DHCP
[14:10] <smoser> rvba, i +1 roaksoax's solutoin.  this is the right way especially for dhcp. we can probably find some way to get around bind, though.
[14:10] <smoser> using groups i think.
[14:10] <smoser> but that might be more trouble than its worth also
[15:45] <allenap> roaksoax: Is python-txtftp published to a PPA somewhere?
[15:46] <allenap> Or, where's it coming from for precise?
[15:46] <roaksoax> allenap: for precise its on maas-trunk
[15:46] <roaksoax> allenap: are you planing any fixes?
[15:46] <allenap> roaksoax: Where's the maas-trunk PPA?
[15:48] <roaksoax> allenap: err there';s no precise package fro python-txtftp
[15:48] <roaksoax> we dont want it
[15:48] <roaksoax> because we wont be able to have it in the archives
[15:49] <roaksoax> allenap: python-tftftp is installed as part of maas
[15:51] <allenap> roaksoax: debian/control says that python-django-maas depends on python-txtftp. How will that work on precise then?
[15:51] <roaksoax> allenap: there's a different precise branch
[15:51] <allenap> Ah, right.
[15:51] <roaksoax> allenap: the precise packaging branch is stacked on top of the quantal one
[15:54] <rbasak> smoser: ping
[15:55] <rbasak> smoser: I've tried the workaround you suggested, but now it cloud-init seems to failcompletely. It doesn't even attempt apt-get update
[15:55] <rbasak> cloud-init-nonet gave up waiting for a network device.
[15:55] <rbasak> Then it lists eth0 as configured correctly, and eth1 as unconfigured this time
[15:56] <rbasak> What is cloud-init-nonet doing here, anyway?
[15:57] <smoser> rbasak, cloud-init-nonet ensuring that network comes up before cloud-init.conf runs
[15:57]  * rbasak doesn't understand why this isn't called cloud-init-net
[15:58] <smoser> rbasak, i can help if you can point me at something i can look at.
[15:58] <smoser> but i'm almost certain you're seeing the bug that i pointed you at.
[15:58] <rbasak> smoser: I've tried the workaround you suggested - I removed "start networking"
[15:58] <smoser> combined with the other bug we discussed (which does not have a launchpad bug for) of eth0 not being the device that was pxe booted from.
[15:58] <rbasak> Behaviour has changed now
[15:58] <rbasak> It definitely has booted off eth0
[16:00] <rbasak> smoser: is it significant that it lists eth1 _before_ eth0?
[16:01] <smoser> rbasak, well are hte mac's right?
[16:01] <smoser> did it boot off of eth0 ?
[16:01] <rbasak> Yes
[16:01] <smoser> then its not significant
[16:02] <rbasak> smoser: am I right in thinking that this bug isn't arch specific, and not specific to having two interfaces either then?
[16:03] <smoser> i dont think its specific to 2 nics.
[16:03] <smoser> i dont think its arch specific
[16:03] <smoser> if it is arch specific, it is not really because of arch, but rather because of some config somewhere that makes an assumption
[16:04] <smoser> or because of race condition
[16:04] <rbasak> I think this is release critical for maas
[16:04] <smoser> that just happens because arm has different bottlenecks.
[16:04] <smoser> well, yes, its clearly critical
[16:04] <rbasak> OK, where do we need to go from here?
[16:06] <smoser> rbasak, other things stoped me from poking further at bug 1031065 after i found that the bug we were working around by adding 'start networking' was not fixed otherise (ie, we still needed 'start networking' to correctly boot under lxc).
[16:06] <smoser> i ran out of time the day i was poking at it nad haven't been bakc.
[16:06] <smoser> it is possible that if we debug that firuter, the root of the problem would also be the root of your issue.
[16:06] <smoser> its also possible they're unreleated.
[16:07] <rbasak> I understand that you have too much to do in too little time. I didn't mean to imply that you were slacking! I'm just not sure how to proceed right now and this issue completely blocks me
[16:08] <smoser> rbasak, i'm not complaining.
[16:08] <smoser> rbasak, so there are 3 issues here.
[16:09] <smoser> a.) 1031065 documents the fact that cloud-init should not have 'start networking' as it does. but removal of that breaks booting under lxc. we need to fix that.
[16:09] <smoser> b.) your issue, which seems unrelated to me, but may be the core cause of a.
[16:10] <smoser> c.) nothing in the ephemeral images is going to force 'eth0' to be "pxe booted interface". however we assume that.
[16:10] <smoser> i dont have a bug opened for 'c', but i'd call that critical too
[16:10] <rbasak> As an aside, there's no support for ipappend in U-Boot right now
[16:11] <smoser> rbasak, right. so i'm not sure how we'd solve that for arm, but the solutoin is possible for intel
[16:11] <rbasak> I want to propose that rather than getting that through, we instead have the MAAS dynamic TFTP server just supply the MAC address of the node it is responding for in the kernel command line, if that will work
[16:11] <smoser> rbasak, the tftp server is a IP application, no?
[16:12] <smoser> would it necessarily (without arp hackery) know the mac of the client?
[16:12] <smoser> and if it could figure that out, i suspect it would still break any case where the client was not on the same network
[16:12] <rbasak> I think arp hackery may be needed to make that work, but I think that would be cleaner than ipappend
[16:12] <rbasak> I'd like to assume that the tftp server is on the same network if I am permitted to do that
[16:13] <rbasak> It seems unclean to me for the node to boot and re-dhcp and then assume that the pxelinux supplied IP is the same as the one on the correct interface that it dhcp'd
[16:13] <rbasak> Oh
[16:14] <rbasak> The TFTP currently does know the mac of the client
[16:14] <rbasak> it's in the pxelinux.cfg/01-<mac>
[16:14] <rbasak> that it tried to fetch
[16:14] <rbasak> Only catch is that if I have it fall back to default for arch detection then that will break
[16:14] <rbasak> (without keeping some state which is horriblew)
[16:16] <smoser> tftp does work generically over ip
[16:16] <smoser> so mac cannot actually be assume di dont think . unless its part of the tftp protocol
[16:16] <smoser> (ie, inside the packet)
[16:16] <rbasak> Oh wait - you're using ipappend 2?
[16:16] <rbasak> for the mac directly?
[16:17] <smoser> rbasak, i believe we use http://www.syslinux.org/wiki/index.php/SYSLINUX#IPAPPEND_flag_val_.5BPXELINUX_only.5D
[16:17] <smoser> at least previously cobbler used that, and the installer knows how to handle that.
[16:18] <rbasak> OK, just checked. It's ipappend 2 which adds bootif=<mac>
[16:19] <smoser> so yeah, 2
[16:19] <rbasak> So a workaround for U-Boot would be to supply bootif=<mac> from maas if it knows it
[16:19] <smoser> rbasak, yes. tha twuld work.
[16:19] <smoser> except where it is not known.
[16:19] <rbasak> yeah
[16:19] <smoser> but, as you say, that might not be a requirement.
[16:19] <rbasak> like enlistment, without storing state from the previous miss :-/
[16:19] <smoser> and, i'm not certain that its *not* in a tftp request
[16:20] <smoser> although my argument about it being IP breaks that too
[16:20] <rbasak> Just checked. TFTP doesn't include it
[16:21] <rbasak> but it is supplied by pxelinux in a previous pxelinux.cfg/01-<mac> (what will be a) miss
[16:22] <rbasak> would you mind if we define a missing bootif to mean eth0?
[16:24] <smoser> rbasak, ok. i just see what you were saying about 01-MAC now.
[16:24] <smoser> rbasak, well w can just make the fall through case "do nothing"
[16:25] <smoser> but "eth0" is completely arbitrary. i think we're to the point in the kernel now that upgrades probably consistently order network adapter names on the same bus consistently
[16:26] <smoser> but hard coding eth0 basically implies/enforces wiring in a specific way. which sucks. but we dont have a lot of other options.
[16:26] <smoser> rbasak, how does pxe work?
[16:26] <rbasak> that's a bit of an open question!
[16:27] <smoser> it dhcp's , uses that IP to then do a tftp i guess.
[16:27] <rbasak> Yes
[16:27] <rbasak> I think the NIC it uses is hardware-defined
[16:27] <rbasak> The first one on the case
[16:27] <rbasak> (probably)
[16:28] <rbasak> I've never seen/heard of a real server trying to PXE off a second nic, but I don't usually PXE them so I may be wrong there
[16:28] <smoser> what is our tftp server?
[16:28] <rbasak> It's one that's now built into maas
[16:28] <rbasak> (some twisted thing)
[16:28] <smoser> can you g+ really quick?
[16:28] <rbasak> Sure
[18:48] <roaksoax> allenap: still around?


[00:21] <canthus13> Unit193: I just started with debian netinst and installed only what I need.
[00:22] <canthus13> It's a dedicated DL320.
[00:26] <Unit193> I setup grsec once, but that was just to mess around with it.
[00:48] <canthus13> I just don't worry that much about it. there's nothing super important on that server and I trust the people I allow on it.
[00:48] <yano> https://github.com/goshakkk/nsa_panel
[00:49] <jenni> [ goshakkk/nsa_panel · GitHub ] - http://j.mp/15Yefry
[16:41] <c107> Seeing as I hate Ubuntu, I need to change this config file that jrgifford very generously published.
[16:42] <c107> See y'all.
[16:45] <jrgifford> Wow, I forgot I published that conf. :p
[17:15] <skellat> jrgifford: Yet another reason to be careful with data?
[17:21] <jrgifford> skellat: more like I just forgot I answered a AskUbuntu question with my irssi conf.
[17:22] <jrgifford> Its harmless data.
[17:29] <Unit193> I remembered. :P
[19:52] <skellat> http://victorygirlsblog.com/?p=11981
[19:52] <jenni> [ How to Keep Your Conversations Private from the NSA ] - http://j.mp/12cYpdu
[19:52] <yano> one word: encryption
[19:52] <skellat> Yep
[19:52] <skellat> I vaguely remember there being an encrypted back-end for mailing lists so that GnuPG can be used all the way...Schleuder or something or other
[19:52] <skellat> I wonder if we could get that set up
[19:53] <yano> ooh that'd be cool
[19:54] <skellat> I gotta look through my notes and find it.  I doubt it could be integrated directly into Launchpad, though.  Arms-length maybe, but not into LP itself.
[19:54] <skellat> It came up in the Identica Cryptogram Practice Group
[20:05] <skellat> Ah, here we go: http://schleuder2.nadir.org/
[20:05] <jenni> [ Schleuder ] - http://j.mp/12d04ji
[20:06] <skellat> The mailing list server has its own keypair, downloads all the public keys for participants and remails to 'em.  You only encrypt a message to the mailing list instead of the number of recipients.
[20:06] <skellat> Could prove useful
[20:12] <skellat> I think we're going to have to have a LoCo meeting this month to dispose of some business.
[20:21] <skellat> Alrighty, the scheduling poll on Doodle for having a business meeting is up and the meeting should last far less than one hour: http://doodle.com/q84nfe52hganum4u
[20:21] <jenni> [ Doodle: Ubuntu Ohio June 2013 Business Meeting ] - http://j.mp/12d1REQ
[22:12] <Unit193> paultag: Thanks, dev really wanted to get that version in.
[22:12] <paultag> Unit193: totes
[22:12] <paultag> Oh shit, it didn't get uploaded
[22:13] <paultag> shit I uploaded it to debuild
[22:13] <paultag> which got rejected
[22:13] <paultag> sec
[22:13] <Unit193> Hah, alrighty.
[22:13] <paultag> shit, there
[22:13] <paultag> ok
[22:13] <paultag> actually dput
[22:13] <paultag> sorry for being lame
[22:14] <Unit193> Hah, no problem. :)
[22:14] <paultag> Unit193: been working on debuild.me all day, force of habit
[22:14] <paultag> relatedly; http://notes.pault.ag/debuild-me/
[22:14] <jenni> [ Ceci n'est pas une -EPIPE ] - http://j.mp/12A04Lu
[22:15] <paultag> Unit193: running an archive rebuild of all Python packages owned by DPMT with an arch:all package in it
[22:15] <paultag> c.f. http://debuild.me/group/python-rebuild
[22:21] <Unit193> Wow, interesting.  I had looked at the site before, but didn't see the announcement and who it was aimed at.
[22:21] <paultag> Unit193: debuild.me ?
[22:22] <Unit193> Yeppers.
[22:22] <paultag> Yeah, I'm using it to review packages
[22:22] <paultag> still ironing things out, but it's working great
[22:22] <paultag> I'm rebuilding parts of the archive to test it
[22:22] <paultag> and sadly finding FTBFS bugs
[22:24] <paultag> Unit193: inxi accepted; thanks!
[22:24] <Unit193> paultag: Yep, just saw the email about 3 seconds ago, thank you.
[22:28] <paultag> no problem, thank you
[22:29] <paultag> right, I'm off for a while
[22:29] <paultag> love
[22:30] <Unit193> Have a good one.


[00:01] <Psi-Jack> There we go! libinput-gestures worked like a charm.
[00:01] <Psi-Jack> fusuma method did as well, but it was a bit more janky and hacky.
[00:01] <oerheks> wayland?
[00:01] <Psi-Jack> No, Xorg
[00:01] <oerheks> oh cool
[00:01] <Psi-Jack> Exactly. :)
[00:02] <Psi-Jack> Now I can 4-finger swipe to next/previous workspaces in Gnome.
[00:02] <Psi-Jack> On both touchpad, AND screen.
[00:04] <Psi-Jack> heh. Sheash, enpass is still oversized... Beginning to think that's an enpass specific bug.
[00:37] <tomreyn> !bug | coffeeGhost: please file a bug then
[01:06] <WoC> do i need to put changes using timedatectl in a script ( i.e. rc.local ) or are they supposed to stick ?
[01:08] <WoC> i could have sworn i set the timezone to US/Central, but now when i looked; it was back to Chicago ;P
[01:10] <WoC> CPU~Quad core AMD A10-9620P RADEON R5 10 COMPUTE CORES 4C+6G (-MCP-) speed/max~798/2500 MHz Kernel~4.15.0-88-generic x86_64 Up~55 min Mem~442.4/6971.6MB HDD~1000.2GB(2.2% used) Procs~193 Client~Irssi 1.0.5-1ubuntu4.2 inxi~2.3.56
[01:11] <sorin-mihai> WoC, they are supposed to stick. make sure you don't get some error because of some typo
[01:12] <WoC> k, no errors
[01:13] <sorin-mihai> check timedatectl output, same as you expected?
[01:14] <WoC> yup
[01:14] <WoC> i'll check again afer the next boot
[01:14] <WoC> appreciated
[01:43] <_Myst_> need help with dual boot & my 2 in 1 was dual boot win/linux, ran windows update . included lenova bios upgrade.. again disabled secure boot. was unable  to boot the pcto either os.I had lenova " preparing automatic repair" frozen at that screen. Eventually I was able to recover windows & could not access my dual boot linux. locked at initramfs, as I had no documents needing saving. I reinstalled linux(ubuntu) as I have touch screen 2n 1.
[01:43] <_Myst_> I could not boot into windows afterwards. currently again  I'm running trouble shoot restoring (keeping my data in place) with windows.what am I doing wrong so grub can overide thewindows bootloader. Even with grub showing windows, windows would not boot
[01:48] <MarkB3> Lusing mind.  Have a library with a known library, call it libmylib.so .  Trying to compile with gcc -o sample -L/path_to_directory_containing_libmylib.so  -lmylib simple.o  and get an error from gcc saying there is an undefined reference.  The library has the referred to symbol.
[01:49] <MarkB3> I can't figure out why the symbol is undefined when I can do nm libmylib.so and there is the symbol.
[01:53] <ss23> Having some problems with netplan on 18.04. https://bugs.launchpad.net/netplan/+bug/1724895 seems to indicate that you can't set the mtu through netplan without a match paramater, however the match paramater breaks with bonded interfaces
[01:53] <ss23> It's marked as "solved" though from what I can see, it was never actually solved, just a lot of people talking aobut the different components that interact to cause this bug
[01:53] <ss23> Does anyone have a way to work around this?
[01:58] <_Myst_> hey guys finally I have everything working with touch screen
[01:59] <oerheks> ss23, 'With dhcp set to false, use-mtu seems to be useless .." , answer #25 seems a workaround https://bugs.launchpad.net/netplan/+bug/1724895/comments/25
[01:59] <_Myst_> on my touch screen how can I make they keyboard keys larger
[02:00] <ss23> oerheks: The issue is that with bonds all interfaces (two slaves and the bond device) all have the same mac, so it seems to break
[02:01] <ss23> Not to rant, but actually yes to rant, I am still in awe of how buggy and broken netplan is... I just want a workaround but it feels like so often the answer is "Netplan literally can't do things like set mtu" and it feels insane to me
[02:02] <ss23> :(
[02:08] <oerheks> it is worth mentioning that to the same or new bugreport
[02:13] <theborger> hello can someone lend me a hand?
[02:14] <theborger> i'm having issues connecting to VNC. it keeps saying "vnc viewer the connection was refused by the computer" its running on the computer i can ping between both computers. i have turned the firewall off and on also
[02:21] <vlt> theborger: Can you connect locally?
[02:22] <vlt> theborger: I mean on the remote machine?
[02:22] <theborger> yes i can connect to it screen KB/Mouse work fine
[02:23] <theborger> i can see vnc running. but i have tried to connect from 2 computers. both tell me the same thing.
[02:30] <theborger> no something has gotten messed up. I cant even connect via SSH right now
[02:30] <vlt> theborger: Seems to be a network problem then.
[02:31] <theborger> i can ping fine
[02:31] <theborger> very odd issue
[02:31] <theborger> i need to blow this install out and get a newer one.
[02:32] <theborger> i think this is 17.3 i am using
[02:32] <theborger> nope i was wrong 17.2
[02:40] <leftyfb> theborger: 17.2 of what?
[02:42] <theborger> sorry typed last wrong
[02:42] <theborger> 17.10
[02:43] <leftyfb> theborger: version 17.10 of ubuntu?
[02:47] <theborger> yep
[02:48] <leftyfb> theborger: that version of ubuntu went End of Life over 2 years ago
[02:48] <theborger> leftyfb: is that not what i said i was going to do?
[02:49] <theborger> i know it old. i just have a lot of stuff on it and have not wanted to redo it all
[02:50] <leftyfb> theborger: if you are inclined to not upgrade often, I would suggest sticking with LTS releases. 18.04 will be supported for another 3 years, while 20.04 which comes out in April will be supported till 2025.
[04:06] <bet0x> Hello and good night. Quick question, Will Ubuntu keep using Netplan for their network configuration ?
[04:14] <matsaman> that depends on a lot of things
[04:14] <matsaman> like if it will be maintained, which depends on how easy it is to maintain
[04:14] <matsaman> and whether something independent that's superior ever emerges
[06:06] <juanonymous> off topic, do you guys know a library or a website where i can download audiobooks for free?
[06:15] <strive> juanonymous: Not the place for that question :(
[06:55] <slingamn> i'm setting up mysql on 18.04 and trying to understand the relationship between /etc/mysql/conf.d/mysql.cnf and /etc/mysql/mysql.conf.d/mysqld.cnf
[06:55] <slingamn> the first of these is conveniently empty, the second has content
[06:55] <slingamn> however, it looks like the second is loaded last, so it takes precedence
[06:55] <slingamn> should i modify the second file?
[06:57] <slingamn> oh never mind, it looks like the first is for section [mysql] and the second is for section [mysqld]
[07:07] <melatonina> Hello. VLC player, Spotify and the YouTube player can work all at the same time, but ffplay requires exclusive access to the audiio device. I have to close Spotify (not only stopping it) in order to have it work.  I have problem with Lenovo V130-15IKB battery indicator in gnome shell. When I plug out charger - I still see indicator that show that churger is plug on
[08:34] <user217_> but acpi -a -b  show correct information
[09:29] <pa> hi
[09:29] <pa> anyone using nomachine NX?
[09:30] <dionysus69> what are the ways to diagnose memory leak?
[09:30] <dionysus69> I want to figure out what is causing it
[10:05] <mlok_> Hey does anybody know why this error is occuring on Ubuntu 16.04?
[10:05] <mlok_> Error: /Stage[main]/Cron/Service[cron]: Could not evaluate: Execution of '/sbin/status cron' returned 1: status: Unable to connect to Upstart: Failed to connect to socket /
[11:08] <deadrom> hi
[11:08] <EriC^> hello
[11:08] <wanyanlangpu> hi i am fine
[11:09] <deadrom> what's a good method to create a bare metal restore backup of a running ubuntu  server?
[11:09] <EriC^> deadrom: dd the relevant partitions/disk? try asking in #ubuntu-server too as they're more server-oriented
[11:12] <deadrom> wanyanlangpu, ask your questions in public, please
[11:13] <lesshaste> how can I install/enable julia mode for emacs?
[11:14] <deadrom> EriC^, block wise for live file systems won't work.
[11:15] <EriC^> deadrom: why not, i dont see the difference if you copy the actual files, might be missing something
[11:16] <EriC^> deadrom: i think you're going to have to shut it down and backup for best results, no matter what
[11:37] <jdarnley> Where's the list of packages for ubuntu 14?
[11:38] <jdarnley> It ain't here https://packages.ubuntu.com/ any more
[11:38] <jdarnley> And I can't see packages on http://old-releases.ubuntu.com/
[11:39] <lotuspsychje> jdarnley: are you on 14.04 ESM?
[11:39] <al2o3-cr> jdarnley: what about the part that says: Old releases can be found at ....
[11:39] <jdarnley> Yeah, so where's the packages at?
[11:40] <jdarnley> And I have no idea.  I just need to see what's in one in particular.
[11:40] <geirha> http://archive.ubuntu.com/ubuntu/dists/
[11:40] <lotuspsychje> jdarnley: 14.04 is end of life
[11:41] <lotuspsychje> jdarnley: unless you contacted canonical for ESM support
[11:41] <jdarnley> Look, you guys are based on Debian so you are outdated as soon as you release.  I'm not doing this by choice.
[11:41] <lotuspsychje> jdarnley: this isnt the complaints channel
[11:41] <jdarnley> geirha: thanks
[11:44] <CompleteNoob> Anyone recommend which channel to join to solve an issue I have with getting tor repository to install on Ubuntu, please?
[11:45] <lotuspsychje> CompleteNoob: what seems to be the issue please?
[11:45] <CompleteNoob> https://ibb.co/pPCr28b
[11:45] <CompleteNoob> I screenshot the VM, save explaining it.
[11:47] <pa> anyone using nomachine NX? maybe i should ask on reddit :-)
[11:50] <evilscrew> gettin no audio throughput
[11:50] <evilscrew> whatsoever
[11:52] <jdarnley> Meh.  Looks like I couldn't have found what I was looking for there anyway.
[11:52] <jdarnley> Fortunately someone else resoved the issue.
[11:52] <jdarnley> Peace.
[11:53] <CompleteNoob> Can anyone please recommend some additional channels I can join, to seek help with a Tor install on Ubuntu?
[11:59] <deadrom> CompleteNoob: describe the outline of what you want to achieve first
[12:00] <CompleteNoob> I am trying to install Tor Browser on Ubuntu 18.04
[12:01] <deadrom> CompleteNoob. ok. what happens? what doesn't work?
[12:03] <CompleteNoob> Deadrom, I provided a link to a screenshot of the error I am having. (https://ibb.co/pPCr28b)
[12:03] <CompleteNoob> No valid openPgP data found.
[12:04] <CompleteNoob> Along wuth a bunch of other issues it can't lock, open lock, unlink etc.
[12:05] <deadrom> CompleteNoob, which instructions are you following? it looks like you are going by recipe
[12:06] <deadrom> pa , that still supported? I for one use x2go mostly these days
[12:06] <CompleteNoob> https://linuxize.com/post/how-to-install-tor-browser-on-ubuntu-18-04/
[12:06] <vlt> Hello. I'm running an vnc4server session (openbox) on Ubuntu 18.04.  Most GUI programs I tried work just fine, even playing back video files using mpv.  But there are problems with olive-editor. I can open it and import clips but when it tries to use some OpenGL stuff the screen gets entirely black: https://dpaste.org/mSLy  Any idea what I need to install or configure to make this work?
[12:07] <vlt> Or rather the content of its program window turns black, not the entire screen.
[12:10] <deadrom> CompleteNoob: off the top of my head I don't know, but #gnupg might help
[12:11] <deadrom> CompleteNoob, look here, too: https://stackoverflow.com/questions/21338721/gpg-no-valid-openpgp-data-found
[12:12] <deadrom> if you want to sneak by your company's firewall it usually involves shenanigans AND might get you fired, just sayin
[12:14] <CompleteNoob> Thank you. I'll check it out.
[12:14] <CompleteNoob> Have a good day.
[12:14] <deadrom> vlt, the opengl program gets rendered to an opengl viewport... I'd check vnc4server options for including external viewports. but it won't be pretty anyway, i.e. slow
[12:17] <Mark_D> I am unable to disable pulseaudio on 19.10. The "old" method of setting autospawn=no in client.conf does not work. Any suggestions ?
[12:17] <deadrom> Mark_D, uninstall
[12:18] <Mark_D> deadrom, I want to be able to use pulseaudio --kill and pulseaudio --start to have the option to use it.
[12:20] <deadrom> Mark_D, need some old alsa program to suspend it temporarily?
[12:21] <deadrom> #pulseaudio is a rather vivid place
[12:23] <Mark_D> deadrom, no, this is about a small machine I want to use for audio effects and I just want to be able to stop every demon I do not use to save resources. Pasuspender would still keep the demon running.
[12:36] <BluesKaj> hi folks
[12:38] <CompleteNoob> Solved the issue I was having, thank you Deadrom. Any idea on any channels that deal with torsocks? Can't use the go get command with it, for some reason.
[12:38] <CompleteNoob> It just says 'go cannot be found'
[12:51] <deadrom> CompleteNoob, what fixed it? which "go get" command are you talking about?
[12:52] <CompleteNoob> I went through the whole process again, from scratch. Then I split a large line of code into two lines, and that solved it.
[12:52] <deadrom> Mark_D, what machine is so small it cannot keep pulse running in backgrouund? there is a measurabel impact?
[12:53] <CompleteNoob> torsocks go get-insecure (randomonionaddress.onion/random-random-random
[12:53] <pa> https://askubuntu.com/questions/1212689/19-10-nomachine-nxclient-3-5-0-7-amd64-deb
[12:55] <deadrom> CompleteNoob: tails?
[12:56] <CompleteNoob> I think it might have something to do with the fact I haven't set the $GOROOT or I'm in the wrong directory. (Ubuntu 18.04)
[12:57] <deadrom> it might be that the go get command got axed, but not really sure. I think there is a #tor channel here
[12:57] <deadrom> https://tails-dev.boum.narkive.com/QEnQ9cDa/support-of-go-get-command
[12:57] <deadrom> this might not fix it but give some insight
[12:58] <CompleteNoob> Deadrom, if there is, I can't find it. I'll check that link out, thank you.
[13:00] <deadrom> CompleteNoob, https://www.torproject.org/contact/ <- different irc server, that's where the party is
[13:00] <CompleteNoob> Thank you so much for your help. I'll see if they can assist me.  :P
[13:05] <deadrom> :D
[13:17] <vlt> deadrom: Thank you. I only need it to start the rendering process ;-)
[13:18] <CompleteNoob> I think I've not installed the Golang program correctly.
[13:19] <CompleteNoob> Thus why it doesn't understand the go get command. But that's just a feeing.
[13:24] <deadrom> CompleteNoob, did you install from source or add a ppa?
[13:25] <deadrom> https://github.com/golang/go/wiki/Ubuntu <- check this.
[13:25] <lotuspsychje> deadrom: compiling software is not really what this channel reccomends, also external ppa's we dont support, or at least warn the user for the risks
[13:26] <CompleteNoob> I don't know what that means, but I think the former is probably the answer. I'm just going back through the steps from scratch to install golang and see what happens. I have that link open already, thanks :)
[13:27] <deadrom> CompleteNoob, due hint from lotuspsychje, PPAs always means some external code that is up to you to decide if you trust it or not.
[13:28] <deadrom> lotuspsychje, if compiling has gone out of style now we might as well use windows
[13:28] <lotuspsychje> golang is on the official ubuntu repos if you need..
[13:28] <lotuspsychje> deadrom: i didnt say you cant compile, its just not supported nor adviced here
[13:29] <deadrom> compiling software is what oss is all about, a distro channel speaking against it is the downfall of the idea
[13:29] <CompleteNoob> I'm using a VM, I figured that would give me some security against dodgy code.
[13:29] <lotuspsychje> deadrom: feel free to discuss that in #ubuntu-discuss
[13:29] <CompleteNoob> Guess who just joined that channel ;xD
[13:30] <deadrom> CompleteNoob, well, a certain degree of host security, but not necessarily net security. the very least you want is www access, so your VM has to have a network interface
[13:30] <CompleteNoob> Yeah, it does. Express VPN is what I use on my main OS.
[13:31] <deadrom> you can firewall it against every other machine and other machines against your VM, but still I'd prefer clean code over binary blobs of unspoken sources.
[13:32] <CompleteNoob> Yeah, I see what you mean.
[13:32] <CompleteNoob> Right, got to dash. Have a good day all.
[13:55] <deadrom> !ppa
[14:02] <deadrom> wot, 20.04 won't release on 4/20?
[14:03] <Ool> deadrom: why not ?
[14:04] <Guest11218>     while IFS=$'\t' read -rd $'\0' _ file; do
[14:04] <Guest11218>       printf '%s\n' "$file"
[14:04] <Guest11218>     done < <(find "$logdir" -type f -mtime +"$age" -printf '%T@\t%p\0' \
[14:04] <Guest11218>              | sort -nz \
[14:04] <Guest11218>              | awk -v n="$ncandidates" 'BEGIN {ORS=RS="\0"} NR<=n') \
[14:04] <Guest11218> Hello, is there any reason for why this isn't working on Xenial?
[14:04] <Guest11218> It is currently working for me on 18.04.4 LTS
[14:05] <Guest11218> I have installed the relevant packages
[14:05] <pragmaticenigma> Guest11218: When pasting code, please use paste.ubuntu.com and paste the link here... (cc: mlokpc )
[14:06] <mlokpc> pragmaticenigma: ok thanks
[14:06] <deadrom> mlokpc, what's it do and what does it not?
[14:06] <pragmaticenigma> mlokpc: Also, please also understand that you're going to have to explain what your code is doing. Otherwise, #bash might be a better channel for help with bash scripts
[14:06] <ignaziocassano1> Hello All, any help on bionic /etc/dhcp/dhclient.conf ? If I remove rfc3442-classless-static-routes from request it does not take any effect and it continues to receive static routes
[14:07] <mlokpc> Sure I can explain that
[14:07] <mlokpc> https://paste.ubuntu.com/p/FBWzXX2yZQ/
[14:08] <deadrom> pragmaticenigma, now sending unsuspecting people into greycat's den just like that should be accompanied by a warning, too ;)
[14:08] <pragmaticenigma> ignaziocassano1: Because rfc3442 is an update for rc2132.. which if you disable rfc3442, it's going to fall back to the old behavior as defined in rfc-2132
[14:08] <mlokpc> You set a specific age for log files, and how many to constantly keep, e.g. if there are 35 log files, it will remove the oldest by date stamp to keep 30 in total
[14:08] <mlokpc> *35
[14:09] <pragmaticenigma> mlokpc: Why not use logrotate, which does that all automatically?
[14:09] <mlokpc> pragmaticenigma: because each log file has a differen't syntax
[14:09] <mlokpc> *different
[14:10] <pragmaticenigma> mlokpc: What do you mean by "different syntax"?
[14:10] <mlokpc> e.g. 01-01-2019.log 01-02-2019.log with corresponding date stamps
[14:10] <ignaziocassano1> pragmaticenigma: I am sorry but what can I do to stop this beahviuor ?
[14:11] <pragmaticenigma> ignaziocassano1: You can't... without routes, your computer will not be able to access anything. You might as well just unplug the network cable
[14:12] <ignaziocassano1> pragmaticenigma: on centos 7 it works . Probably also on ubuntu 16
[14:13] <ignaziocassano1> they set only default route table
[14:14] <two4tea> Hi All, is there a process I should follow when upgrading Ubuntu 16.04 -> 18.04? As Ubuntu wants to remove Certbot during the upgrade which I use for ssl certificates. Thanks.
[14:15] <pragmaticenigma> ignaziocassano1: you might want to look up how to accomplish that removal with Ubuntu 18... The networking stack is very different in Ubuntu 18.04 than it was in Ubuntu 16.04. Ubuntu 18.04 uses netplan.io and/or NetworkManager to define network settings. You may need to find a new approach
[14:16] <ignaziocassano1> OK, many thanks
[14:16] <deadrom> generic question: shutdown: "a stop job is running" and keeps running for a full  90seconds, but doesn't tell me *what* is taking so long.
[14:16] <deadrom> where do I go looking?
[14:17] <pragmaticenigma> mlokpc: logrotate can be configured to ignore the file name, and instead use the created date of the file. Which I would think would be much easier than manually writing a script to do the same thing. https://stackoverflow.com/a/27566659
[14:17] <deadrom> two4tea, onlyl speaking from personal experience, but the smoothest transition from 16.04 to 18.04 was "keep /home and reinstall / "
[14:17] <pragmaticenigma> deadrom: Possibly journald ? Does "systemctrl status {}" return anything?
[14:19] <deadrom> pragmaticenigma, at the time this comes up I lost all tty
[14:19] <mlokpc> pragmaticenigma: currently the issue is that since each log file is unique it keeps log.1.log which aren't rotated, is this a solution for this?
[14:21] <mcurasya> hello
[14:22] <pragmaticenigma> mlokpc: Set "rotate 0" which turns off the rotation of the files. You shouldn't end up with x.1.log files. You can always execute logrotate manually with a defined profile in simulation mode.
[14:23] <mlokpc> pragmaticenigma: the thing is, I need to always keep at least 30 log files in the directory
[14:23] <pragmaticenigma> mlokpc: pardon, --debug will simulate, without making changes
[14:27] <tomreyn> two4tea: certbot is available in 18.04 LTS, so it's yet unclear why that'd be removed. do you have third party packages or package versions installed which could trigger this?
[14:28] <tomreyn> two4tea: generally you should remove any third party packages or package versions (i.e. downgrade / purge and install packages where needed) and disable those repositories before upgrading.
[14:29] <pragmaticenigma> mlokpc: after this, I think you would be better reading "man logrotate" and that link I provided earlier as all the answer to your questions are coming directly from there. You can also leverage the "endscript" option to define a simple bash script to execute "find -type f -mtime +30 -name "*.log" -delete" at the end of each run.
[14:29] <two4tea> Hi tomreyn, I may have added third party package. I'll check this out. Thanks.
[14:29] <mlokpc> pragmaticenigma: good point
[14:30] <mlokpc> pragmaticenigma: thanks
[14:33] <tomreyn> two4tea: have a look at apt-forktracer and https://github.com/tomreyn/scripts/#foreign_packages
[14:33] <two4tea> OK, this next one is really simple, but I don't know what to do. When I perform a sudo apt-get upgrade (I'm working on a headless server via ssh) I somtimes get a program that wants to update, but the configuration I've created is customised and it wants to know what to, such as keep my config, update to distributor config, ect. One of these is the option to 'show the differences' which is
[14:33] <two4tea> displayed as text but I can't for the life of me get out of the text 'window' and back to command prompt. How can I get back without just terminating the upgrade with CTRL+C?
[14:34] <two4tea> I just get stuck on "END"...
[14:35] <tomreyn> two4tea: press "q"
[14:35] <two4tea> ok. thanks :)
[14:36] <tomreyn> the default text viewer there is "less", you can override it by setting the PAGER environment variable
[14:37] <two4tea> to somthing useful like vi or nano?
[14:38] <tomreyn> i find less to be useful, YMMV
[14:38] <pragmaticenigma> personally I would leave it with "less" ... nano/vi would encourage me to think I can edit the file
[14:39] <tomreyn> i'm not sure that vi and nano could serve as drop-in replacements as pagers.
[14:39] <alfatau> hi everybody. I'm planning to install a new ubuntu 18.04 server edition. Actually I'm running an old 12.04 that has been out of support since 2017. Can you advise me some free very-concise-and-practical documentation to basically learn the main differences and advantages between "legacy" administrative tools and newest one (e.g. ifconfig vs
[14:39] <alfatau> netplan, apt-get vs snap, ...). My target is to have an overview of what's new and why some tools have been replaced. Then I'll deepen each new tool when needed. thank you in davance
[14:39] <two4tea> ok thanks guys
[14:41] <tomreyn> alfatau: you could review the LTS release notes between the latest LTS release you're used to and the latest available LTS release (18.04 currently, 20.04 in april)
[14:45] <tomreyn> alfatau: in fact a lot has changed since 12.04. start with systemd (this will take the most time, and prove most useful), then netplan, iproute2 ("ip") vs net-tools ("ifconfig", "route"), snap, apt vs apt-get
[14:45] <tomreyn> and don't just read about those, but play with them, set up test systems.
[14:46] <tomreyn> note there's #ubuntu-server for server specific support
[14:50] <alfatau> tomreyn: thank you, exactly my target is to have a schematic overview. of course I have already read release notes of the releases 14.04/16.04/18.04 and I understood there has been a lot of changes. I don't want to start playing with tools without knowing the advantages and drawbacks wrt older tools, that's why I was looking for some documentation
[14:50] <alfatau> and some "2020" best-practices for ubuntu server administration.
[14:57] <tomreyn> alfatau: there's also https://help.ubuntu.com/lts/serverguide/
[14:59] <alfatau> tomreyn: thank you, that appears to be interesting for me
[15:18] <two4tea> Hi again, I've got another weird one. I'm tryting to upgrade from 16.04 lts to 18.04lts but when I do: 'sudo do-release-upgrade' I get an error that there's 'There is no development version of an LTS available.'
[15:19] <two4tea> How can I fix this?
[15:19] <lotuspsychje> !ltsupgrade | two4tea
[15:19] <lotuspsychje> two4tea: make sure your current system is also up to date to latest
[15:20] <two4tea> hi lotuspsychje, yes, I've run apt-get update/upgrade and I was getting the 'upgrade' option but I think I broke a package during an update
[15:21] <lotuspsychje> two4tea: before lts upgrading, also see if apt does not give errors, if it does, could you pasetbin them to the channel please? volunteers can take a look for you
[15:22] <lotuspsychje> *pastebin
[15:22] <two4tea> Sure, I pretty much just followed this: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver
[15:24] <two4tea> apt get update/upgrade doesn't throw any errors.
[15:25] <lotuspsychje> two4tea: does update-manager -c trigger something for you?
[15:26] <two4tea> no? command not found.
[15:26] <two4tea> sudo apt-get update-manager -c instead?
[15:26] <lotuspsychje> no
[15:28] <lotuspsychje> !info update-manager xenial
[15:28] <resi__> Ubuntu server, anyone aware if you can add 16.04 repo's to 18.04 and install apps smoothly?
[15:29] <lotuspsychje> is update-manager installed two4tea ?
[15:29] <two4tea> no?
[15:30] <two4tea> I seem to have got somewhere with: 'sudo do-release-upgrade -d'
[15:31] <tomreyn> two4tea: that's not what you want, though
[15:31] <two4tea> oh?
[15:31] <two4tea> this isn't lts?
[15:32] <tomreyn> well i'm sure you read the man page or --help output before choosing to specify an option?
[15:34] <tomreyn> you probably want to ensure that Prompt=lts ius set in /etc/update-manager/release-upgrades
[15:34] <two4tea> yep, it's set to lts.
[15:35] <tomreyn> did you cancel the upgrade to a development release?
[15:36] <two4tea> not yet. it's still calculating the changes.
[15:36] <tomreyn> when you did, i recommend you run    do-release-upgrade --check-dist-upgrade-only    and share the output of this as well as of;
[15:36] <tomreyn> sudo /bin/true && cat &>/tmp/aptlog < <(sudo apt-get -y update 2>&1; apt-cache policy 2>&1; sudo apt-get -syV full-upgrade 2>&1;); nc termbin.com 9999 </tmp/aptlog && rm /tmp/aptlog
[15:37] <tomreyn> also:   nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};echo "Session: $XDG_CURRENT_DESKTOP ($XDG_SESSION_TYPE)";echo Shell: $SHELL)
[15:52] <two4tea> do-release-upgrade --check-dist-upgrade-only - Checking for a new Ubuntu release - There is no development version of an LTS available. -To upgrade to the latest non-LTS develoment release - set Prompt=normal in /etc/update-manager/release-upgrades.
[15:53] <lotuspsychje> two4tea: could you try what tomreyn adviced you please?
[15:58] <two4tea> https://termbin.com/r2em https://termbin.com/a12p
[16:00] <tomreyn> two4tea: this is a kernel from 2015
[16:00] <tomreyn> *2016
[16:00] <tomreyn> and not ubuntu's, also a custom initrd
[16:01] <two4tea> oh?
[16:01] <tomreyn> this system ran without kernel security patches for the past 3.5 years.
[16:02] <two4tea> oh, so what should I do?
[16:02] <tomreyn> is this an OVH dedicated server, or a cloud VM, or something else?
[16:03] <two4tea> OVH dedicated.
[16:03] <tomreyn> you may want to install an ubuntu kernel and initrd. or just install ubuntu properly.
[16:04] <tomreyn> since we can't even guess what other changes may be present, this is probably not a standard ubuntu installation.
[16:04] <tomreyn> well it certainly isn't, based on kernel and initrd.
[16:05] <two4tea> right, so I selected ubuntu from the available ISO's from OVH but OVH modified it?
[16:07] <tomreyn> ovh support could probably tell you about this
[16:07] <tomreyn> more than we can anyways
[16:08] <two4tea> OK. Thanks anyway. It maybe time to blow it all away and start again.
[16:09] <two4tea> Just one more question, how does it think I'm on Ubuntu 18.04 now?
[16:10] <two4tea> lsb_release -a
[16:10] <two4tea> No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.4 LTS Release:        18.04 Codename:       bionic
[16:10] <ioria> two4tea, do-release-upgrade has changed it
[16:10] <two4tea> So is it 'upgraded' or just a mess?
[16:11] <tomreyn> you are probably running an ubuntu derivate, such as "OVH-U", it may think it is ubuntu even though it actually isn't.
[16:11] <ioria> two4tea, the problem, in your case, is that your Sever mirror has no meta-release file (or a wrong one)
[16:11] <ioria> two4tea, if you want to still use xenial you need to revert sources.list or check if you have a .save file in /etc/apt
[16:12] <ioria> two4tea, no , only sources.list has been changed
[16:13] <two4tea> Basically guys, the whole reason I want to upgrade from 16.04 -> 18.04 lts is to run redimail.
[16:13] <ioria> two4tea, now, at your own risk, you might run 'apt full-upgrade', but probably not a good idea
[16:15] <ioria> !info redimail bionic
[16:15] <ioria> two4tea, what is redimail ?
[16:16] <two4tea> appologies, iredmail
[16:16] <ioria> !info iredmail bionic
[16:18] <two4tea> https://docs.iredmail.org/install.iredmail.on.debian.ubuntu.html
[16:19] <Chunkyz> !info iredmail xenial
[16:19] <Chunkyz> What is 18.04?
[16:19] <Chunkyz> Xenial, no?
[16:19] <SimonNL> bionic
[16:19] <Chunkyz> Oh dear
[16:20] <two4tea> I upgraded (or tried) to go from 16.04 -> 18.04 as I couldn't install under 16.04 as it isn't supported by iredmail.
[16:20] <ioria> two4tea, well, clearly it's not an ubuntu package, right ?
[16:21] <two4tea> no ioria, it's via git.
[16:21] <Chunkyz> Not an Ubuntu problem, contact ovh.
[16:22] <ioria> two4tea, it's ok.... so 3) options ; contact your server, fresh 18.04 install, try the full-upgrade
[16:23] <tomreyn> two4tea: i have no experience with iredmail.org myself, but suggest very much to be cautious about any "mailserver out of the box" solution. getting mailservers right and keeping them working properly is a task which involves daily maintenance it's not fully automatable, and definitely not a matter of a one-click-installation.
[16:24] <multifractal> This is the first time my laptop has failed to connect to the office's L2TP VPN. Don't know how to interpret these syslogs: https://pastebin.com/3hV9tHvv
[16:24] <two4tea> ioria, I'll likely try the full upgrade and if it goes wrong, i'll clean install.
[16:25] <ioria> two4tea, ok, purge your ppa (if you have it) and external sources
[16:25] <two4tea> tomreyn, It's more an expermental mail server (to see if I can get it going) not a production one :)
[16:26] <two4tea> I've got to shoot off to bed. Will be in touch tomorrow. Thanks again everybody!
[16:59] <kenperkins> Psi-Jack: I think I might love you
[16:59] <kenperkins> if that works
[17:00] <Psi-Jack> heh
[17:00] <Psi-Jack> It worked for me. :)
[17:00] <kenperkins> i've tried so many kernels, etc
[17:00] <Psi-Jack> And love jeremy31. He did it. :)
[17:01] <Psi-Jack> But, as he mentioned too, it would disable your ability to use USB WiFi adapters because the backport only has the Intel ones.
[17:01] <lotuspsychje> Psi-Jack kenperkins we have a nice #ubuntu-discuss channel where you can discuss all night if you want
[17:02] <Psi-Jack> This is an ongoing Ubuntu Networking issue.
[17:02] <lotuspsychje> Psi-Jack: doesnt matter, use this channel for ubuntu issues
[17:02] <Psi-Jack> This IS an issue. :p
[17:14] <timwis> Hi all. Yesterday I turned on unattended security updates (`dpkg-reconfigure -plow unattended-upgrades`) because YOLO and then at around 11pm the server stopped routing traffic to docker, taking the site down. I'm trying to diagnose what went wrong. Is there a way to check what time these unattended-upgrades ran?
[17:17] <ioria> timwis, /var/log/apt/history.log or /var/log/unattended-upgrades/
[17:19] <timwis> great, thanks
[17:20] <timwis> ioria: weird, the files in both directories were last updated on 20 feb, so neither were touched yesterday (even by running `dpkg-reconfigure`)
[17:20] <timwis> must have been some other issue..
[17:22] <tomreyn> you have an event time, so review the systemd journal around the time
[17:56] <sarnold> scientes: someone would need to file a main inclusion request, which includes getting a team to subscribe to the bugs; it'd be worth talking with the server team or desktop team to see if this is a feature they want
[17:57] <scientes> sarnold, also the very recent openSSH release just added support
[17:57] <sarnold> scientes: yay :)
[17:57] <scientes> (not yet packaged)
[17:57] <scientes> but seriously, when i did it myself, there was no security
[17:57] <scientes> that is why it needs to be a feature
[17:57] <scientes> cause security is best not done like that....
[17:58] <scientes> the software works, but the documentation is not sufficient to get a secure system
[17:58] <scientes> part of that is that pam kinda sucks, I remember when systemd was first adding pam stuff, and what a PITA it was
[18:00] <scientes> and if you use a bluetooth token, then it can be EXTEMELY slick, where the computer only works when you are a certain radius from it
[18:04] <tomreyn> you, or someone else, having this token.
[18:04] <tomreyn> (or a copy of it)
[18:04] <tomreyn> maybe that's more for #ubuntu-discuss, though
[18:16] <jsync> Hello. I compiled a software with Ubuntu 16.04, though I need to use an older version of libc6 so that a separate machine can use the software I'm compiling.
[18:16] <jsync> Is that potential?
[18:17] <sarnold> it'd be best to compile on whatever OS matches that old machine
[18:18] <jsync> The separate machine is a Debian Wheezy system. I'm just putting off reinstalling a newer release so I can organize my project files first.
[18:19] <jsync> Ubuntu libraries are more friendly for compiling the software I use in the Debian system.
[18:20] <jsync> The Debian systems typically have library install conflicts for the software I'm compiling.
[18:21] <jsync> Ubuntu libraries work great. I was just curious if I could compile with an older libc6 so I have time to organize my project files & do the new release install proper-like.
[18:23] <sarnold> you'd probably be better servced to use wheezy to do the builds -- whether via an lxd instance, schroot (perhaps with sbuild), etc
[18:23] <oerheks> interesting, you want an older libc6, and expect no dependency hell?
[18:25] <jsync> It was just a question. I'll upgrade my Wheezy system to Stretch. Ubuntu is suggested for compiling the software, & it typically works fine, aside of this conflict.
[18:26] <leftyfb> messing with libc6 is a nightmare. I would move mountains to never have to do that again
[18:47] <ptah> i tried to upgrade firefox by typing sudo apt-get upgrade firefox, and the system started upgrading every pkg, what did i not do right?
[18:48] <ptah> and now sometimes when i bootup the internet doesnt connect the dhclient doesnt loud
[18:49] <ptah> the ntpd and wpa_supplicant
[18:50] <ptah> do i check in cat /var/log/syslog | grep eth1 ?
[18:50] <Hellphyre23> if i'm on Ubuntu 19.10 / Kernel 5.3, is it worth upgrading to Kernel 5.6?
[18:51] <Menzador|Work> I would say no, especially since 20.04 LTS is due out in about a month and a half
[18:51] <Menzador|Work> but up to you, if you understand the risk - are you compiling it yourself on a non-production machine?
[18:52] <sixwheeledbeast> If it ain't broke there's no need to update yet.
[18:52] <ptah> anyone know this problem?
[18:52] <ptah> orZ?
[18:52] <ptah> -Z
[18:52] <ptah> hello?
[18:52] <pragmaticenigma> !patience | ptah , you've been told this before:
[18:52] <Hellphyre23> ok, thanks Menzador|Work and sixwheeledbeast
[18:53] <ptah> ok
[18:54] <pragmaticenigma> ptah: Current releases of Ubuntu no longer use dhclient. They systemd-networkd to manage the network connections. If you have modified your system to use older techniques, it is something that we can't help you with here.
[18:57] <sarnold> ptah: (a) apt install firefox would just upgrade firefox (b) why? package updates are tested with the assumption that you're installing all the updates, not picking and choosing
[18:58] <Menzador|Work> ptah: I would have ran [ sudo apt update ] and then [ sudo apt full-upgrade] (or [ sudo apt dist-upgrade]) instead. You may as well upgrade all of your packages at one.
[18:59] <Menzador|Work> *once.
[19:00] <SmellyCat> On a btrfs partition of 1TB, I have created a disk-image file with a luks partition in it of 950GB and formatted it with an ext4 fs. This leaves me with somewhat less than 50GB (say 45GB) of free space on the btrfs partition. When I mount this luks partition and fill it with files, I can see the free space on the btrfs partition shrink from 45GB while files are being written to this luks partition (using df -h). How is this
[19:00] <SmellyCat> possible?
[19:01] <pragmaticenigma> buffer perhaps? journaling?
[19:03] <SmellyCat> I'm talking about Gigabytes It'll probably fill up the remainder of the 45GB if I fill the luks partition. That seems like a lot for journaling.
[19:05] <pragmaticenigma> SmellyCat: I have no idea how BTRFS manages journaling ... it's entirely possible given that the LUKS image is one huge file, that what ever it is snapshotting would be very large
[19:06] <SmellyCat> Might it be the case that for every x bytes written to the disk, a checksum is stored for bad sector repair and that the space needed for this checksum is not yet accounted for when the image is empty (how would the external fs know that...)
[19:06] <SmellyCat> ah, snapshotting... that's also a thing that btrfs does, indeed. I only though about the checksum
[19:07] <SmellyCat> I'll see if I can turn that feature off maybe
[19:07] <oerheks> btrfs fi df / # would show used/ free space
[19:08] <oerheks> or more info: sudo btrfs fi usage /mnt
[19:08] <SmellyCat> thnx heksje
[19:08] <oerheks> :-)
[19:10] <openface> how can i incrase space for /boot partition with dd, e.g.?
[19:11] <sarnold> openface: please don't cross-post to channels
[19:11] <Menzador|Work> !crossport
[19:11] <sarnold> openface: whatever solution you get from us won't necessarily work well for you on rhel
[19:11] <Menzador|Work> !crosspost
[19:12] <Futurian> Simple question. Complicated answer. Do you have unpartitioned space available? You'll probably need a boot CD of some description.
[19:15] <badsektur> fs-uae is not updating to the latest version
[19:16] <badsektur> repositories have an old version
[19:16] <Bashing-om> !latest | badsektur
[19:17] <oerheks> badsektur,  there is a more recent snap version, https://snapcraft.io/fsuae
[19:20] <badsektur> oerheks, how do i get that? snap command?
[19:20] <badsektur> oerheks, do i first uninstall the one installed by apt? or can i upgrade using snap?
[19:21] <oerheks> a snap can run next to the apt version, no problem
[19:22] <oerheks> install instructions are on that page, edge for the latest
[19:45] <badsektur> oerheks, thanks man
[19:46] <tryhard21> i'm trying to run a script as a cronjob at a given minute, but it doesn't run. i included PATH in the given script. what else should i try?
[19:46] <tryhard21> also, where i can find a log? :) i tried in /etc/cron* but i can't find anything related to my failed crons.
[19:47] <pragmaticenigma> tryhard21: does it execute at all? syslog will likely have an entry, as well you can query journald
[19:48] <tryhard21> pragmaticenigma: i'm looking at syslog rn, grepping for CRON and it doesn't seem to execute my job
[19:48] <sarnold> tryhard21: cron sends emails on failure, check your /var/spool/* files
[19:49] <pragmaticenigma> tryhard21: how are you entering your task?
[19:50] <tryhard21> pragmaticenigma: via vim?
[19:50] <tryhard21> or what do you mean?
[19:50] <pragmaticenigma> tryhard21: To schedule/edit cron tasks. typically you use the command "crontab -e"
[19:51] <tryhard21> pragmaticenigma: yes, that's what i use
[19:53] <pragmaticenigma> tryhard21: can you paste your command (or a close example) entry on paste.ubuntu.com please?
[19:53] <tryhard21> no failure email in /var/spool/*
[19:54] <tryhard21> pragmaticenigma: sure
[19:54] <tryhard21> it's `5 * * * * bash /home/a/Documents/dir/script.sh`
[19:54] <pragmaticenigma> tryhard21: you might need full path on "bash"
[19:55] <tryhard21> like /usr/bin/bash ?
[19:55] <pragmaticenigma> I think it is at /bin/bash ... but yes
[19:57] <tryhard21> pragmaticenigma: doesn't work
[19:57] <pragmaticenigma> if you manually run it... I assume it works just fine?
[19:58] <tryhard21> pragmaticenigma: yes
[19:59] <tryhard21> yes, tested now and it works
[19:59] <ioria> tryhard21, paste the script, maybe the error is in some path in there
[19:59] <tryhard21> ok
[20:00] <rfm> if it's not even logging the execution in syslog, it's not even getting to the script, cron must not like the line.  cron is famously fussy about a newline at the end of every line and no DOS style formfeeds
[20:02] <kxsl> I have a computer that's about to die. OS and /home are on separate drives and /home is encrypted with ecryptfs. What do I need to do make sure I can get access to those files on another computer? I know the user and root password
[20:02] <pragmaticenigma> kxsl: Back those files up to a non-encrypted back up drive
[20:03] <tryhard21> rfm: i did at a new line at the end
[20:03] <tryhard21> should i upload the script
[20:03] <tryhard21> ?
[20:03] <kxsl> pragmaticenigma, I'm doing that too, but i'm being able to access the files on that drive is more useful
[20:04] <tryhard21> /s/at/add/g
[20:08] <tryhard21> oh
[20:08] <tryhard21> it is actully showing up in syslog
[20:08] <pragmaticenigma> kxsl: It will be far easier to just move them to another volume or drive that isn't encrypted... I'm sure you can mount that volume later, but I have no idea how to do it, and only seen limited success here with others trying to do the same thing
[20:08] <tryhard21> my bad
[20:11] <tryhard21> http://0x0.st/iq8K.sh
[20:13] <ioria> kxsl, iirc (but was long time ago), it should work out of the box, if you use the same credentials
[20:14] <ioria> tryhard21, use termbin.com 9999
[20:15] <tryhard21> ioria: it doesn't work?
[20:15] <ioria> tryhard21, please;   cat myscript.sh |  termbin.com 9999
[20:15] <ioria> tryhard21, please;   cat myscript.sh |  nc termbin.com 9999
[20:15] <tryhard21> ioria: ok
[20:16] <tryhard21> https://termbin.com/teqk1
[20:17] <ioria> that ^ is not working
[20:18] <tryhard21> ioria: i don't have a mouse at the moment, so i'm a bit slow.
[20:18] <tryhard21> and i can't copy from terminal since i dont have primary clipboard in terminal
[20:18] <ptah> espeak i--am--the--knight--unix--industries--8000
[20:19] <ptah> espeak i--am--the--knight--unix--industries--8000
[20:20] <oerheks> ptah, please stay on topic, you are banned in multiple channels now..
[20:20] <tryhard21> ioria: yeah, so i ran that command and that's the link it gave me
[20:20] <oerheks> !coc > ptah
[20:20] <ioria> tryhard21, sy, 404 error for me
[20:20] <tryhard21> i gave a 0x0.st link above
[20:20] <ioria> i'am not going to open it
[20:21] <ioria> sy, again
[20:22] <tryhard21> https://termbin.com/y36x ioria
[20:32] <ptah> espeak i--am--the--knight--unix--industries--8000
[20:32] <ptah>  /EXEC espeak i--am--the--knight--unix--industries--8000
[20:32] <ptah> typo i meant to do /exec
[20:32] <oerheks> ptah, you have been asked not to do so.
[20:33] <ptah> oerheks, i made a typo
[20:33] <ptah> sorry
[20:33] <jess> hello my ubuntu wont start
[20:34] <dax> jess: let's not
[21:24] <SomeT> guys I got this issue, with GNS3 network simulation, where I think the ubuntu docker image has auto set to ipv6 and the rest of the network is ipv4 how do I set eth0 on ubuntu so its ipv4?
[21:26] <SomeT> https://gyazo.com/4bbb342ebac77d4ad732742521216fd6
[21:26] <SomeT> would this be solution?
[21:27] <SomeT> https://www.youtube.com/watch?v=jhh2_PP9JLU&t=144s
[21:27] <SomeT> following this video for context
[21:32] <leftyfb> SomeT: by default, interfaces support both ipv4 and ipv6. Not one or the other
[21:33] <leftyfb> SomeT: sounds like you have a network/dhcp issue
[21:33] <sarnold> SomeT: I'm not a docker user but it feels very strange to me that you'd edit /etc/network/interfaces; I'd have expected this kind of thing to be exposed at a higher-level, eg docker config files or something
[21:34] <SomeT> um, I just followed this:  https://www.youtube.com/watch?v=jhh2_PP9JLU&t=144s
[21:34] <SomeT> in there video everything works without doing anything extra
[21:34] <SomeT> and I copied them exactly, only difference I can see is no ipv4
[21:34] <SomeT> when I run command ipconfig so I presumed its that, but I presume ipv6 is also backwards compatible?
[21:38] <leftyfb> SomeT: ipconfig is Windows
[21:38] <leftyfb> SomeT: if you're not seeing your ipv4 address from dhcp, then you probably have an issue with your network/dhcp
[21:39] <SomeT> sorry meant ifconfig
[21:39] <SomeT> um
[21:42] <SomeT> I think my switch might have auto powered off...
[21:42] <SomeT> but I re ran a dhcp enable command on the routers as well just to be sure
[21:42] <SomeT> lets try this again
[21:47] <SomeT> actually just realised I did'nt uncomment some lines lol
[21:51] <Silmarilion> Hi, I am running Ubuntu Mate 18.04 under VirtualBox 6.1.2. In my dual virtual screen setup after some time has passed all windows on the primary display are frozen. Basically when I try to click with the mouse nothing happens. Anyone had such issue?
[21:52] <SomeT> git it working
[21:52] <SomeT> *got
[21:52] <SomeT> thanks for help
[21:54] <tomreyn> Silmarilion: i haven't tried with multiple screens. note that shared (host and guest) graphics acceleration has never been complete or bug-free, though.
[21:55] <sarnold> SomeT: what'd it take?
[21:55] <tomreyn> Silmarilion: you may be better off seeking support in #vbox unless you have resons (logs?) to believe it's an ubuntu issue.
[22:03] <SomeT> I had to uncomment some lines in the config file lol
[22:03] <SomeT> https://gyazo.com/4bbb342ebac77d4ad732742521216fd6
[22:03] <SomeT> if you look at this
[22:03] <SomeT> I had the settings commented out
[22:04] <SomeT> so they were not being picked up lol
[22:04] <SomeT> but it was good going back and checking stuff anyhow, just not sure if enabling dhcp on both the routers and the switch has done any damage
[22:04] <SomeT> does not seem to have
[22:08] <jeremy31> SomeT: why the line with up echo nameserver?  You should be able to use dns-nameserver <IP_ADDRESS>
[22:09] <SomeT> wdym
[22:10] <SomeT> I just followed a tutorial
[22:10] <SomeT> to get a basic setup
[22:31] <Scriptonaut> I'm trying to setup mail from a crontab, but when I login as that user and type mail I get: Cannot open mailbox /var/mail/my_user: Permission denied. How do I create a mailbox for my user? This is on 18.04
[22:56] <yates> i'm a green ubuntu user: i've apt installed emacs25 but it seems I didn't get the info files for emacs or elisp. how to get?
[22:57] <oerheks> The Emacs documentation is in the package emacs25-common-non-dfsg
[22:58] <oerheks> Test it by trying,
[22:58] <oerheks> C-h i h
[22:58] <oerheks> It should now work.
[22:58] <yates> oerheks: thanks
[22:58] <oerheks> have fun!
[23:25] <Mystified> hi all, have a 2-1 laptop, are youys able to share how increase the size of the touch screen keys while in tablet mode. Thanks in advance
[23:28] <stefandxm> is there any handbook like in freebsd for ubuntu?
[23:28] <stefandxm> i checked the documentation on the site but it seems to be a bit.. graphical
[23:28] <stefandxm> trying to figure out how the usb/modem stuff works
[23:30] <tomreyn> there's https://help.ubuntu.com
[23:30] <tomreyn> there are man pages, there is the wiki, and there are third party manuals.
[23:32] <stefandxm> yeah
[23:32] <stefandxm> my problem is cannot find what is being in use
[23:33] <stefandxm> once i am there i bet the man pages will help
[23:33] <stefandxm> wheres the wiki?
[23:33] <stefandxm> wiki.ubuntu.com ?
[23:34] <tomreyn> yes
[23:34] <stefandxm> seems nice. but again i cannot find an overview. any hints?
[23:35] <stefandxm> iam just trying to understand what is installed and does what so i can dig further
[23:35] <stefandxm> if i hit search i get many hits but theyre not in context so i dont know what i should read
[23:37] <tomreyn> i'm not sure there's a guide which provides an iontroduction on all packages installed in a specific configuration you may chose during installation of a specific ubuntu variant
[23:37] <tomreyn> !terminal
[23:38] <stefandxm> ok
[23:38] <tomreyn> i think this UsingTheTerminal page has some links to get new linux users started with the CLI, if that could help
[23:38] <stefandxm> not really a new linux users
[23:38] <stefandxm> the problem i have is that my mangoh red card is sometimes de-init:ed and re-inited as a tty device (for modem usage)
[23:38] <stefandxm> in old ubuntu this was done by modemmanager
[23:39] <stefandxm> now i think its a combinationm of udev and networkmanager
[23:39] <stefandxm> but i cannot find the 'flow' of it so my rules wont bite i guess
[23:39] <tomreyn> i *think* network manager still makes use of modemmanager
[23:39] <stefandxm> i have it removed
[23:39] <stefandxm> or, it wasnt even installed
[23:39] <stefandxm> but it might be some weird plugin stuff
[23:40] <stefandxm> and there is even a rule for it added by sierra wireless in udev
[23:40] <stefandxm> but it seems it doesnt really work
[23:41] <stefandxm> i rewrote it to match ALL their stuff but it still goes into a stty device sometimes (depending on what usb port i connect it to)
[23:42] <jeremy31> stefandxm: the udev rule might be for usb-modeswitch
[23:42] <tomreyn> this sounds erratic enough that i'd look for existing bug reports about this very device or series of devices
[23:42] <stefandxm> tomreyn: i have. for a week ;)
[23:42] <stefandxm> jeremy31: yeah but usb-modeswitch is just for modemmanager right?
[23:43] <stefandxm> jeremy31: in ubuntu 19 there is no such thing. i did install it just to try but no luck
[23:43] <sudomake> hello, anyone using cpanel here?
[23:43] <jeremy31> stefandxm: sometimes usb-modeswitch is needed if the device is seem as a storage device.  It usually has Windows drivers
[23:44] <stefandxm> i checked that
[23:44] <stefandxm> its not mounted as a storage device, nor listed as one
[23:44] <stefandxm> all i get is a usb serial device
[23:44] <stefandxm> which i think is the modem part
[23:44] <stefandxm> but i dont want the "modem" part i want the 'ethernet' part of it
[23:44] <tomreyn> sudomake: hopefully not!
[23:45] <stefandxm> i changed port recently and it works again
[23:45] <sudomake> why not, sir?
[23:45] <stefandxm> i guess for a while
[23:45] <stefandxm> in windows you can chose wether or not to use it as a modem
[23:46] <stefandxm> or well, reportedly so. i dont have windows so i wouldnt know first hand
[23:46] <stefandxm> thats why i am looking for something like freebsd handbook to debug it
[23:46] <stefandxm> i dont know the route the drivers take
[23:46] <sudomake> stefandxm, I kindly asked, why not, sir?
[23:46] <stefandxm> sudomake: to me, about what?
[23:47] <sudomake> about cpanel, sir
[23:47] <stefandxm> i wasnt the one making the reply ;)
[23:47] <oerheks> sudomake, cpanel is prop software, we love open source
[23:47] <stefandxm> i dont know what cpanel is
[23:47] <oerheks> tons of other options to cpanel.
[23:47] <sudomake> oerheks, with hosting providers one is not left with an alternative, unfortunately
[23:49] <stefandxm> but surely there must be some arch overview scheme of ubuntu i can find?
[23:49] <stefandxm> its way to stable and nice to be just thrown together :)
[23:50] <oerheks> btw there is a snap modem manager
[23:50] <oerheks> https://snapcraft.io/modem-manager
[23:51] <stefandxm> but its not pre installed right?
[23:51] <oerheks> nope
[23:51] <stefandxm> so it cant be it
[23:51] <stefandxm> i dont want the modem
[23:51] <stefandxm> the problem is that its sometimes auto mounted as a "modem"
[23:52] <stefandxm> and disconnects the ethernet usb interface
[23:54] <oerheks> maybe an udev rule https://wiki.archlinux.org/index.php/USB_3G_Modem#Disable_mode_switching
[23:54] <stefandxm> i made one
[23:54] <stefandxm> it wont bite
[23:55] <jeremy31> I think there is a usb-modeswitch conf file where it can be disabled
[23:55] <oerheks> or to be exact /etc/usb_modeswitch.d/ <name>.conf
[23:56] <stefandxm> oh
[23:56] <stefandxm> i had that path
[23:56] <stefandxm> is it the same pattern as udev?
[23:57] <stefandxm> is it from a native package usb_modeswitch?
[23:57] <oerheks> het .d folder is for custom entries
[23:57] <oerheks> to save the clean configs
[23:57] <stefandxm> yeah
[23:58] <stefandxm> but i doubt it. it goes to cserial
[23:58] <stefandxm> qcserial*
[23:58] <stefandxm> but ill dig into it
[23:58] <stefandxm> its a thread of hope :)


[16:00] <mdeslaur> \o
[16:00] <mdeslaur> hrm, no stgraber, no infinity
[16:01] <mdeslaur> others are busy blowing fingers off
[16:01]  * mdeslaur declares meeting cancelled in 3...
[16:01] <mdeslaur> 2...
[16:01] <mdeslaur> 1...
[16:01] <mdeslaur> cancelled.