[05:49] <snake-venom> hi found this on my server,
[05:49] <snake-venom> is this attacker script http://termbin.com/x3iy
[05:49] <snake-venom> ?
[06:16] <andol> That shell script makes my eyes hurt.
[06:59] <lordievader> Good morning
[07:13] <siavoshkc> Good morning, I have a https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/#basic-configuration for my django server. But with this config server doesn't even start
[07:44] <technoob> Hey guys
[07:45] <technoob> I need help
[07:45] <technoob> I already installed ubuntu server on my nuc and want to know what the end result looks like so i know it is already fully booted up
[07:48] <lordievader> How do you mean?
[07:48] <lordievader> What you see on the screen?
[07:49] <lotuspsychje> technoob: and what kind of NUC is it exactly?
[07:49] <technoob> Nuc5cpyh
[07:50] <lotuspsychje> technoob: did you update bios firmware to latest version?
[07:50] <technoob> YES
[07:51] <lotuspsychje> technoob: explain whats happening please as lordievader asked
[07:51] <technoob> I see a command prompt
[07:51] <technoob> But nothing else
[07:51] <technoob> I see just text
[07:51] <technoob> No username input prompt
[07:52] <technoob> Last line of text is "reached target cloud-init target"
[07:58] <technoob> lordievader
[08:02] <lordievader> The command prompt is all you get on a server install. A server shouldn't need more
[08:12] <technoob> lordievader yes but what should i all booted up server look like
[08:13] <technoob> I hooked up my nuc on my tv
[08:13] <technoob> What should i be seeing there
[08:22] <lordievader> On the screen you'll only see an tty login-prompt.
[08:22] <lordievader> If you want to know if all the services started correctly you can issue `sudo systemctl status`.
[08:27] <technoob> I didnt see any tty login prompt
[08:27] <technoob> Should i reboit?
[08:27] <technoob> lordievader
[08:27] <lordievader> Could you maybe share a screenshot?
[08:28] <technoob> Kinda hard im on mobile
[08:28] <lordievader> Photo?
[08:34] <technoob> Do we have a way to attach photo to this irc?
[08:34] <lotuspsychje> technoob: imgur.com
[08:36] <CarlFK> riot.im - takes some work to get set up, but then you have a nice way to irc from your phone
[08:37] <technoob> Ok in a minute
[08:37] <technoob> I rebooted my machine
[08:37] <technoob> Ill see if the problem still persist
[08:37] <technoob> Im running a celeron processor btw
[08:38] <technoob> So it might be slow
[08:40] <technoob> Also i just wanna ask
[08:41] <technoob> Can i run kodi in a ubuntu server?
[08:41] <technoob> Ubuntu server is like ubuntu desktop without gui right?
[08:43] <kstenerud> ubuntu server is a linux install without gui. You can technically install a gui on top of it, but if you want a gui, you'll have an easier time using the desktop flavor
[08:43] <technoob> I see
[08:44] <technoob> Can i run nextcloud server and other server apps on the same machine
[08:44] <kstenerud> sure
[08:45] <lordievader> Essentially, you can run whatever you want on the machine 😉
[08:45] <kstenerud> generally people use docker to keep things nicely separated
[08:46] <kstenerud> It's not strictly necessary, but it keep things clean
[08:49] <technoob> I cant seem to launch kodi
[08:49] <technoob> It says that it cant find kodi.services
[08:50] <siavoshkc> Should www-data have access to any folder apache2 wants to access?
[08:50] <technoob> Systemctl start kodi. Thats the command i use
[08:50] <lordievader> technoob: Kodi is installed? And that is the correct service name?
[08:50] <technoob> I guess
[08:51] <technoob> I was following a instruction
[08:51] <technoob> In the net
[08:51] <lordievader> Check it then, investigate 😉
[08:52] <technoob> ..
[08:52] <technoob> Sadface
[08:53] <technoob> Hmm might as well just use ubuntu desktop. Will be easier i guess
[08:53] <technoob> I only have like 4 gb ram though
[09:16] <lordievader> If you don't open too many browser tabs that is fine 😉
[10:34] <kstenerud> Does anyone have experience setting up an l2tp vpn client on a command line lxd container? I tried following https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/clients.md#configure-linux-vpn-clients-using-the-command-line but it fails with "device not found" when looking or ppp0
[11:30] <ahasenack> rbasak: I have to update pmdk, which, when it was created, didn't exist in debian, so its version is of the 0ubuntuN style
[11:30] <ahasenack> rbasak: now debian has one
[11:30] <ahasenack> rbasak: but git-ubuntu can't find a common ancestor to start a merge, which is expected I guess
[11:30] <ahasenack> rbasak: any particular way I should handle this?
[11:30] <rbasak> ahasenack: I guess you have a choice. Do you want to converge with Debian?
[11:31] <ahasenack> what does that mean? sync?
[11:31] <ahasenack> sync and then reapply our changes, if any remain?
[11:31] <rbasak> Do you want the new Ubuntu package to be based on the Debian one, plus a delta?
[11:31] <ahasenack> yes
[11:31] <ahasenack> no reason not to
[11:31] <rbasak> Depends on the delta I guess :)
[11:31] <ahasenack> unless the delta is huge, I guess
[11:31] <ahasenack> ok, let's say I want to
[11:32] <rbasak> I don't think there's any easy way of handling this. Fundamentally the "rebase" workflow doesn't work because we don't have a patchset to begin with.
[11:32] <ahasenack> the pmdk story has "no easy way" written all over it :)
[11:32] <rbasak> You could try taking the entire diff between Debian and Ubuntu currently, placing it in the working tree, and see if you can break that up into a logical delta with "git add -p".
[11:33] <rbasak> Probably limited to just the debian/ directory.
[11:37] <ahasenack> rbasak: that's ok, but what will make it have a common ancestor from now on, for future merges?
[11:39] <elfranne> any idea why Kerberos is ignoring my logging settings from krb5.conf ?
[13:12] <lotuspsychje> anyone knows if server got unattended upgrades enabled by default now?
[13:13] <blackflow> it doesn't
[13:17] <Ussat> which is a good thing
[13:18] <blackflow> definitely.
[13:40] <rbasak> I don't think it's such a bad thing nowadays. Server users should take _some_ action to ensure security updates. Taking no action is really bad. So if that action is to change the default to some other mechanism, or enable unattended-upgrades, what's the difference?
[13:41] <rbasak> I don't think it's such a bad thing nowadays. Server users should take _some_ action [as/if necessary] to ensure security updates. Taking no action is really bad. So if that action is to change the default to some other mechanism, or enable unattended-upgrades, what's the difference?
[13:46] <tomreyn> If you ask the average SMB boss what they're more worried about, production breaking due to broken patches, or software getting outdated but generally working (until things get exploited, but even exploits try not to break production), they'll surely answer the first.
[13:48] <tomreyn> maybe this culture will change a little to the better in the coming years when we get better laws, but it can take a good while longer.
[13:52] <Ussat> not sure what laws have to do with it, but having a server automated upgrade and break shit is not good
[13:53] <tomreyn> changing the default right now will cause those organizations' admins' taking the blame for production breaking due to bugs such as 1813873 (a regression unfixed in bionic after 1.5 weeks) or 1814555, and cause a backslash, making them even more worried about patching, if they are given time to care about that at all.
[13:53] <Ussat> I have set patch times, test first and then prod
[13:54] <tomreyn> Ussat: laws to impose fines on companies whose infrastructure is exploited, data stolen. so far the loss is mostly to users privacy, somewhat to companies' brands, but its still soemwhat cheap to them.
[13:55] <tomreyn> but those are politics, OT here - sorry.
[13:55] <Ussat> um...I am 100% against those laws. Can you gaurentee me as an admin you catch EVERYTHING ?
[13:55] <Ussat> all the time
[13:55] <Ussat> negligence sure.......
[13:58] <rbasak> tomreyn: that's a fair point.
[13:59] <rbasak> OTOH, although a large number of users deliberately don't want security updates, AIUI a large majority of those actually end up doing nothing else to get security updates.
[14:00] <Ussat> auto updates on desktops are one thing, servers no....thats a recipie for problems
[14:00] <Ussat> why not just auto update from 16 --> 18 then ?
[14:00] <rbasak> Ussat: my point is that auto updates are better on servers than no security updates at all. That's also a recipe for problems.
[14:00] <rbasak> If you want to do something special, then you can do that special thing and disable automatic updates while you're there.
[14:01] <Ussat> I disagree, not your job.
[14:01] <rbasak> If you're making some special provision anyway, then disabling automatic updates while you're there is hardly onerous.
[14:01] <Ussat> Again, why not auto update from 16 --> 18 then
[14:02] <rbasak> 16 -> 18 deliberately changes behaviour. Clearly that's unacceptable to do automatically.
[14:02] <blackflow> rbasak: problem with unattended upgrades is that it only does half the job, sometimes breaks stuff, and.... only does half the job but people think it does everything.
[14:02] <Ussat> ^^^
[14:02] <rbasak> blackflow: in what way does it only do half the job?
[14:02] <rbasak> Is there a bug on that?
[14:03] <tomreyn> you need to restart services, sometimes reboot
[14:03] <blackflow> well for starters it doesn't reboot for new kernels. second, it doesn't restart properly when systemd or dbus is upgraded.  third, not all updates are solved by systemctl restart, and not all services have post inst steps to restart.
[14:03] <blackflow> there's no bug. it just can't be done. reboots and all. needs human intervention.
[14:03] <Ussat> yup
[14:03] <rbasak> It does tell you human intervention is required though, with the reboot-required flag and in the motd. I hope.
[14:04] <rbasak> But regardless I don't think that's a justification for not turning it on by default.
[14:04] <tomreyn> only if a reboot is required
[14:04] <blackflow> who's "you"? it's unattended, remember?
[14:04] <rbasak> It's clearly better than the current situation.
[14:04] <rbasak> (in terms of landing updates)
[14:04] <rbasak> Perfect is the enemy of the good, etc.
[14:04] <blackflow> no. halfa job is worse than no job at all (so users know they have to run updates).   way bettewr would be to have apticron installed so root is mailed/nagged with updates.
[14:05] <rbasak> That's fine to say in theory. In practice most users don't run updates at all.
[14:05] <blackflow> that's their problem.
[14:05] <Ussat> I disagree.......most SERVER users do
[14:05] <rbasak> The users who do and don't want automatic updates are competent enough to know and turn it off.
[14:05] <Ussat> Desktop is one thing, servers are a whole different ball game
[14:06] <Ussat> So, how woudl you schedule these updates, random times ? how would you determine they do not interfear with what is happening on the server
[14:06] <rbasak> I just checked. Cloud images do have unattended-upgrades enabled by default AFAICT.
[14:07] <blackflow> btw, when ext4 begets case insensitive filenames, will that be flipped on by default, to appease the windows migrants?
[14:07] <rbasak> Ussat: there is a default. If you don't like the default, you can change your configuration. Just like everything else.
[14:07] <rbasak> blackflow: how is that relevant?
[14:07] <Ussat> Yes, they default should be off
[14:07] <rbasak> Look, I understand your opinion.
[14:08] <rbasak> If you want to just keep restating it instead of actually providing some reasonable rational justfication, then what's the point of continuing this discussion?
[14:08] <siavoshkc> I am in state of panic
[14:08] <Ussat> I have provided several
[14:08] <blackflow> rbasak: well like I said, nagging via apticron or something, is WAY better than shoving updates by default.
[14:08] <siavoshkc> I accidentally deleted public_html foleder of a server
[14:09] <Ussat> How do you schedule the updates ? How would you determine when they happen
[14:09] <rbasak> AIUI, unattended-upgrades _are_ now enabled by default.
[14:09] <siavoshkc> Is there any way I can restore it?
[14:09] <blackflow> and they should _not_ be
[14:09] <Ussat> restore backup
[14:09] <blackflow> siavoshkc: yes, from backups.
[14:09] <rbasak> If you want to change the default, take it up with Ubuntu developers using our normal governance structure.
[14:09] <blackflow> yeah, windmills  :)
[14:10] <siavoshkc> blackflow: can you please lead me on where to start?
[14:11] <blackflow> siavoshkc: well, you do have backups, no?
[14:11] <siavoshkc> blackflow: I dont know
[14:11] <blackflow> then you don't
[14:11] <tomreyn> rbasak: i enjoy this discussion, and actually i'm really on your side there, increasing the overall security by more secure defaults is a good thing. i'm just not sure whether the world is ready for it, yet, or whether it'd just backfire. if unattended security patching is really active on cloud images and this hasn't backfired, yet, this is probably a good indicator.
[14:12] <rbasak> Thanks :)
[14:12] <blackflow> siavoshkc: sorry for your loss. but hey, consider it a great learning experience: always have backups. consider also a filesystem like btrfs or zfs where you can snapshot data before any potentially breaking intervention is done ;)
[14:12] <tomreyn> (cloud folks are usually more forgiving and prepared for things breaking suddenly, though)
[14:13] <siavoshkc> blackflow: The problem is that it wasnt my system. I entered a path to delete that wasnt my bussiness. I am worrid about the owner of the site
[14:13] <siavoshkc> the site was up and I just deleted it
[14:14] <Ussat> sudo apt-get -y  remove unattended-upgrades solvs it anyway
[14:15] <ahasenack> Ussat: fwiw, the scheduling, and many more knobs to tweak, are available in the config file in /etc/apt/apt.conf.d/
[14:15] <ahasenack> I think it's 50unattended-upgrades
[14:15] <Ussat> ahasenack, Oh I know
[14:15] <siavoshkc> blackflow: I remember there was an automated snapshot mechanism
[14:15] <siavoshkc> can it be used to restore data?
[14:15] <blackflow> siavoshkc: perhaps you can use some undelete tool to try and salvage data, but that would require you to bring down the server, or pull out a disk from mirror, as every second the disk is in use reduces the chance for data recovery.
[14:15] <Ussat> but if you remove that, its done deal
[14:15] <ahasenack> sure
[14:15] <blackflow> siavoshkc: there's no such thing unless you're running ZFS or btrfs (and even then I don't know bout "automated" unless you've set something up
[14:16] <Ussat> You there are data recovery tools/services, BUT you need to ensure the data is not overwritten asap
[14:17] <Ussat> and its crap shoot
[14:17] <Ussat> and not cheap as for the services
[14:19] <ahasenack> yeah, and there are tools you can try. It depends if you can take the machine offline, remove the hd, and mount it elsewhere where you can poke at it
[14:21] <blackflow> offline and/or remove the hdd
[14:22] <Ussat> mount it RO....and again, needs to be done asap to avoid overwriting it
[14:26] <siavoshkc> If by any chance there is an automated backup. where may I find backups?
[14:28] <Ussat> Could be anywhere depending on how its done/software etc
[14:28] <Ussat> OUr backups are done nightly to a SAN then we have tape taken offsite
[14:29] <Ussat> so ya...could be anywhere
[14:29] <blackflow> btw, side question. I have an enterprisey SSD here, supposedly sata3.1 @ 6Gbps, but a dd test shows only 420 tps and ~250MB/s in iostat.... sounds.... inadequate.
[14:30] <lotuspsychje> blackflow: did you try the hdparm speedtest?
[14:31] <lotuspsychje> hdparm -tT /dev/sda something like this
[14:32] <blackflow> that's next, I'm clearing out the SSD before I blkdiscard it
[14:32] <lotuspsychje> blackflow: firmware to latest can also improve stuff
[14:33] <lotuspsychje> depending wich brand
[14:34] <blackflow> Samsung Evo 840 something something
[14:34] <sdeziel> siavoshkc: maybe the machine owner has backups you could ask to be restored
[14:34] <lotuspsychje> evo 840 needs firmware improvement patch blackflow
[14:34] <lotuspsychje> there's a known speed problem on it
[14:39] <tomreyn> Ussat: check your cron jobs for anything which looks like it coud do backups, see if you have a process running which sounds liek a backup systems' agent.
[14:40] <tomreyn> blackflow: evo is consumer, also
[14:40] <blackflow> it's already latest firmware
[14:41] <Ussat> tomaw, ? think you meant that for siavoshkc
[14:41] <blackflow> tomreyn: technically, it's MZ7GE240HMGR but any info I managed to find on it is that it's a rebranded 840 evo
[14:41] <tomreyn> Ussat: you're right, thanks / sorry.
[14:41] <tomreyn> siavoshkc: check your cron jobs for anything which looks like it coud do backups, see if you have a process running which sounds liek a backup systems' agent.
[14:42] <Ussat> tomaw, NP
[14:42] <blackflow> tomreyn: 845DC EVO
[14:43] <tomreyn> blackflow: probably some slight firmware changes, maybe some extra spare cells.
[14:47] <tomreyn> does fstrim -v report changes if you run it twice?
[14:48] <tomreyn> the 840ies can get really slow if you dont trim.
[14:48] <tomreyn> (or not successfully)
[14:51] <blackflow> I blkdiscarded the entire drive before testing
[14:52] <tomreyn> i see
[15:22] <cognitiaclaeves> I have a python app, test-logger.py, that I've written to write a test log message to syslog. For only that type of message, I'd like to save the log message in a file, and send the same log message out to a log aggregator (loggly) -- I'm having trouble identifying what to filter the message on based on the journalctl output. https://pastebin.com/hGip2Zz2
[15:23] <cognitiaclaeves> I think this can be done by creating two filters, one to save the log entry to a file, and a duplicate target to forward the messages to loggly.
[15:24] <cognitiaclaeves> blackflow, is that enough detail?
[15:25] <blackflow> cognitiaclaeves: not quite, it's not clear what exactly you're talking about. "save the log message in a file", "what to filter"..... are you talking about rsyslog rules?
[15:25] <blackflow> and how are you sending to loggly?
[15:25] <cognitiaclaeves> Yes, rsyslog
[15:25] <cognitiaclaeves> Loggly has a page for that. If I can figure out how to filter the rule to a file, I think I can take it from there.
[15:26] <cognitiaclaeves> ( for reference: https://www.loggly.com/docs/systemd-logs/ )
[15:27] <cognitiaclaeves> ( Although, now that I look at it, it looks like that will forward all logs to loggly, not just the ones I want to target. )
[15:27] <blackflow> what's your rule like?
[15:28] <cognitiaclaeves> That's what I'm trying to figure out.
[15:28] <cognitiaclaeves> The documentation for rsyslog seems to refer to app_name and programme_name (I think), which I don't see in the journalctl output.
[15:28] <blackflow> what do you want to filter by?
[15:28] <blackflow> forget journalctl
[15:29] <blackflow> look at syslog itself and what it's logging
[15:30] <cognitiaclaeves> blackflow, you lost me, sorry. It's a standard ubuntu system in aws.
[15:31] <blackflow> journald is forwarding to rsyslog and you want to write rsyslog rules, correct?
[15:31] <cognitiaclaeves> Rules specific to the app, yes.
[15:31] <cognitiaclaeves> ( Don't know if journald is forwarding to rsyslog yet .. it may not be. )
[15:31] <blackflow> right, so don't look at journalctl, but look at what is rsyslog writing. by default it has *.*;... /var/log/syslog, so take a look at that
[15:32] <blackflow> it is by default
[15:32] <cognitiaclaeves> Ah, that makes sense.
[15:33] <blackflow> also look at the selectors documentation  https://www.rsyslog.com/doc/v8-stable/configuration/filters.html
[15:33] <blackflow> for program name I think you'll need an if-clause, but it's definitely doable
[15:34] <cognitiaclaeves> I had planned to use a property filter for that.
[15:35] <cognitiaclaeves> https://www.rsyslog.com/doc/v8-stable/configuration/properties.html It shows up in the property list.
[15:35] <cognitiaclaeves> And now that I'm looking at /var/log/syslog, I can identify programname.
[15:36] <blackflow> yeah
[15:36] <cognitiaclaeves> Ok, this might be enough to move forward with. Thanks!
[15:36] <blackflow> cognitiaclaeves: also keep in mind that journald by default does rate limiting. you'll have to remove it if you want _all_ messages forwarded to syslog and elsewhere
[15:37] <cognitiaclaeves> I just want a particular kind of message. I'll look into that. Will I also need to increase the open files setting for the OS?
[15:38] <blackflow> I don't see how open files are related here. you mean for rate limiting? for that, no. Only RateLimit*  entries of journald.conf(5)
[15:40] <cognitiaclaeves> Ok, thanks.
[16:52] <_Trullo> ok, so I tried subnet: <IP_ADDRESS>/24 .. didn't work, aparently it should be <IP_ADDRESS>/24 to work properly, I have no idea how/why..
[16:52] <_Trullo> pihole works perfect after like 20 reinstalls :)
[16:54] <teward> _Trullo: you typically won't use 255.* for anything.
[16:54] <teward> _Trullo: private IPv4 ranges that actually ARE private ranges are <IP_ADDRESS>-<IP_ADDRESS>, <IP_ADDRESS>-<IP_ADDRESS>, and <IP_ADDRESS>-<IP_ADDRESS> - only use Private IPv4 address space
[16:54] <teward> and NOT 255.* because that's a reserved range
[17:43] <blackflow> _Trullo: look up RFC 1918 for more info
[17:59] <trippeh> _Trullo: /24 is just another way of saying <IP_ADDRESS> as a mask
[17:59] <trippeh> <IP_ADDRESS>/24 doesnt really make sense
[18:02] <lordcirth_> I just had a systemd service (keepalived) restart without any apparent reason. Any tips for tracing what called the restart?
[18:13] <RoyK> lordcirth_: check the logs and turn on debugging if necessary
[18:14] <RoyK> lordcirth_: check dmesg too - perhaps it crashed - if so, it should show there with a SIGSEGV being signalled to the process
[18:14] <lordcirth_> RoyK, nothing in the logs except it restarting
[18:15] <RoyK> lordcirth_: has this happened before?
[18:15] <lordcirth_> RoyK, not that I recall
[18:15] <lordcirth_> It's probably not a big deal, just weird
[18:16] <RoyK> I haven't seen keepalived just restart - anything in dmesg?
[18:17] <RoyK> run dmesg -T to get somewhat proper readable timestamps
[18:21] <lordcirth_> RoyK, thanks, didn't know about -T
[18:21] <lordcirth_> Yeah, nothing in dmesg for 2 days
[18:22] <RoyK> hm - and no cron job or something in systemd doing something funny?
[18:38] <lordcirth_> RoyK, nope
[18:39] <RoyK> it's just funny it restarted without anything in the logs - if it crashed and systemd restarted it, something should show up in dmesg
[18:39] <lordcirth_> Yeah, I can't see any evidence of a crash
[18:40] <RoyK> do you have any monitoring of the system? sysstat/munin/zabbix/something?
[18:41] <lordcirth_> RoyK, nagios, and keepalived emails me on all events, which is why I noticed ("Entering BACKUP state" on start)
[18:45] <sdeziel> lordcirth_: maybe a colleague of yours restarted it? or an config automation tool (puppet/chef/etc)?
[18:46] <lordcirth_> sdeziel, yeah, I'm looking into that now
[18:47] <lordcirth_> Oh, duh. I issued a dist_upgrade this morning.
[19:07] <RoyK> lordcirth_: oh - nagios - is that still alive?
[19:09] <lordcirth_> RoyK, yes, although our install is way out of date. We are planning to upgrade to latest stable soon
[19:09] <lordcirth_> RoyK, what do you use?
[19:11] <RoyK> lordcirth_: I used to use nagios some years back, but we're moving everything to zabbix now
[19:11] <RoyK> well - not everything - we'll be using NAV as well, https://nav.uninett.no/
[19:12] <RoyK> because it has a few things that we can't find in other tools
[19:12] <lordcirth_> RoyK, thanks, I will look at both. We have a custom inventory system with a lot of Nagios integration, etc, so we probably won't be moving
[19:12] <tomreyn> nagios -> zabbix, so out of the frying pan into the fire?
[19:13] <RoyK> I talked to the guys at uio.no - they have quite a few servers and have moved to zabbix, from nagios.
[19:13] <RoyK> zabbix has a steep learning curve, but once you understand the architecture, it's rather neat
[19:14] <lordcirth_> RoyK, what key things does NAV have that Zabbix doesn't?
[19:14] <lordcirth_> Ah, it's more of a network thing?
[19:14] <RoyK> stuff like switch configuration, like VLAN setup of ports, if the switch supports snmp rw
[19:14] <RoyK> it is
[19:14] <RoyK> so it's like "why not both?"
[19:15] <lordcirth_> Very cool. We have a custom (argh) tool for that, which if it was open-sourced decades ago, might still be relevant.
[19:17] <RoyK> lordcirth_: take a look - with a lot of hosts, you may want to use SSDs for the storage - *lots* of things getting updated for graphite (IIRC) so it requires quite a bit of IOPS
[19:17] <lordcirth_> RoyK, thanks. Our servers generally have mdraid1 SSDs for /
[19:17] <RoyK> should do
[19:19] <RoyK> althoguh I'd hate to have those things on the rootfs - I like to use separate storage or at least separate LVs for root and data
[19:27] <siavoshkc> tomreyn: Thank you. Unfortunately there was no backup and its a real disaster. Tomorrow our host will try to recover the wordpress files. I hope they recover something useful. I just shutdown the server to prevent moe loss.
[19:28] <siavoshkc> I deleted a big running wordpress site in a blinl
[19:28] <RoyK> backups are for cowards :D
[19:28] <siavoshkc> blink*
[19:28] <sarnold> ow
[19:28] <siavoshkc> RoyK: I cannot digest how there is no backup AT ALL for such a long running website
[19:28] <RoyK> an acquaintance
[19:29] <RoyK> an acquaintance of mine just found out the hard way that having a home server with 40TiB or so of storage and no backup is a bad idea - RAID6 isn't backup - bad, cheap controllers - oops
[19:29] <tomreyn> siavoshkc: sorry to hear this, good luck.
[19:30] <siavoshkc> The only good thing is that wordpress keeps many of its data in db
[19:30] <RoyK> siavoshkc: usually, there's chances of recovery, at least if the data resides on a RAID
[19:31] <RoyK> siavoshkc: the text is in the db, the images etc are on the filesystem
[19:31] <lordcirth_> RoyK, yet another reason I use ZFS, not hardware raid
[19:32] <siavoshkc> RoyK: Yes so many things are lost
[19:33] <RoyK> lordcirth_: the only reason I don't have zfs on my home server, is the lack of flexibility - I've worked with rather large zfs systems for some years - they just work
[19:33] <lordcirth_> RoyK, yeah, btrfs's ability to add disks and bodge storage together is very nice. LVM and such are good too.
[19:33] <RoyK> lordcirth_: but then - if you have a home server and want to toss in a new drive to expand things a bit, zfs won't do (for now)
[19:34] <RoyK> lordcirth_: I don't trust btrfs (yet)
[19:34] <lordcirth_> I'm actually running / on ZFS raidz at home. 3 480GB SSDs. It's great
[19:34] <RoyK> lordcirth_: it's been 10 years or so with btrfs and it's still not stable
[19:35] <lordcirth_> Yeah, turns out writing 5th gen filesystems is hard. Who knew? :P
[19:35] <RoyK> but extending VDEVs on zfs is coming - I think it's in fbsd already
[19:38] <lordcirth_> Oh, cool. I'm looking forward to 0.8's encryption and faster scrubs
[19:38] <lordcirth_> We have a major dataset at work that takes nearly a week to do a weekly scrub
[19:38] <RoyK> then don't scrub weekly :þ
[19:39] <RoyK> seems we're tossing out a server soon with 48x4TB disks - with a bit of luck, I could perhaps take it
[19:40] <sarnold> I'm looking forward to encryption and the 'special' vdev support
[19:40] <teward> @RoyK: send me a few of the disks lol?  xD
[19:40] <teward> :P
[19:40] <teward> always in need of disk expansion on my array of disks lol
[19:40] <RoyK> that supermicro mobo would be nice as well as the controllers
[19:41] <sarnold> what's rplacing that beast? :)
[19:41] <RoyK> dell compellent
[19:42] <RoyK> well, that is, dell equallogic, old stuff - just used for CCTV cameras
[19:42] <RoyK> but some people at the IT dept think that ZFS and mdraid and such things are black magic and would rather sell their soul to something with a nice gui
[19:43] <sarnold> okay, it *would* take like five minutes to type out the zpool create command with 48 devices..
[19:44] <RoyK> yeah - it's pretty hard - and dark magic - and checksums the data and all, whcih equallogic certainly doesn't (nor does compellent)
[19:45] <RoyK> but Dell Provides Support, meaning they tell us they need a crapload of logs and then blame us for doing something stupid
[19:45] <RoyK> or just say "we don't know yet"
[19:47] <RoyK> like when that blade centre went down during the holiday - it's powered via a UPS and one direct line - six PSUs - the UPS had some dead fans and had serious issues, but the power from the direct line was stable, but still, the blade centre just powered itself off and too all its VMs with it
[19:50] <sarnold> owwwwwww
[19:50] <lordcirth_> six PSUs, and one failure brought it down?
[19:51] <lordcirth_> Or, half of the PSUs were on the UPS?
[19:51] <RoyK> half on UPS half on direct
[19:51] <RoyK> but it should be able to run on two PSUs
[19:52] <lordcirth_> Its documentation says 2/6 is enough?
[19:52] <RoyK> yes
[19:52] <RoyK> and 3/6 should at least be sufficient
[19:53] <RoyK> but for some reason, it just powered itself off
[19:53] <RoyK> Dell hasn't been able to give us an explaination of this
[19:53] <lordcirth_> I bet they'll eventually say "oh, that's for if the power just cuts, dirty power is unsupported"
[19:54] <RoyK> something like that, yes
[19:54] <sarnold> 2-of-6?? wow
[19:57] <tomreyn> "you forgot to install the firmware update to the psu's"
[19:58] <teward> lol
[20:10] <RoyK> tomreyn: hehehe
[20:10] <RoyK> tomreyn: please update firmware daily and make sure you have redundancy elsewhere
[20:16] <tomreyn> :) i've heard a couple funny excuses already. but in the end we all just try to not become the victim of the bad conditions we have to (?) work under.
[21:39] <zertyuio> hello there
[21:40] <zertyuio> anyone used to work with mdadm everydays ?
[21:42] <tomreyn> zertyuio: i'm sure there are people here who worked with mdadm before, or do so daily. but that's not your actual question. please ask your actual question.
[21:42] <tomreyn> and hello there, too ;)
[21:43] <zertyuio> here is my disk of 20Go https://pastebin.ubuntu.com/p/vfnTxgdK7g/ i would like to resize it to 950Go
[21:44] <zertyuio> how i can do so ?
[21:44] <zertyuio> without losing data
[21:44] <tomreyn> this is very easy:
[21:44] <tomreyn> you do backups.
[21:46] <tomreyn> zertyuio: about resizing, how would you do this when there is no unallocated space?
[21:46] <zertyuio> easy for you mean not easy for everyone
[21:47] <zertyuio> as you can see on my post : https://pastebin.ubuntu.com/p/vfnTxgdK7g/
[21:47] <zertyuio> there is something above 900GB of free space to use
[21:48] <zertyuio> i would like to do so the same way that we used to do with lvm and fdisk
[21:49] <lordcirth_> zertyuio, firstly, yes, do a backup.
[21:49] <lordcirth_> zertyuio, then, you can follow this: https://raid.wiki.kernel.org/index.php/Growing#Expanding_existing_partitions
[21:50] <zertyuio> how you can backup system volume ?
[21:50] <lordcirth_> Skipping the first few instructions that are about switching the larger disks, of course
[21:50] <lordcirth_> zertyuio, the root filesystem?
[21:50] <lordcirth_> !backup
[21:51] <zertyuio> i would like to do so from rescue cd
[21:53] <zertyuio> are you sure about the link that you post ?
[21:53] <zertyuio> for backup ?
[21:56] <tomreyn> zertyuio: what makes you wonder about it?
[21:56] <zertyuio> which it ?
 are you sure about the link that you post ?
[21:58] <tomreyn> zertyuio: these links should indeed help creating a backup
[21:58] <zertyuio> yes, for example if you take example of duplicitybackup
[21:58] <zertyuio> it ask to install a package inside the system
[21:59] <zertyuio> i m not sure that it will does some good backup
[21:59] <zertyuio> if i follow so
[21:59] <zertyuio> i m expecting something that i can boot from rescue cd
[22:00] <zertyuio> and mount the partition
[22:00] <zertyuio> and backup the whole thing
[22:00] <tomreyn> this is cloning / imaging, bare metal recovery, but not backup.
[22:01] <tomreyn> you don't want to have to stop your system every time you create a backup, right?
[22:01] <zertyuio> yeas
[22:02] <zertyuio> so i install duplicity
[22:02] <tomreyn> so you backup only data that you will want to restore. this also enables you to do smaller, incremental, backups, of just the data you actually need. if the OS storage fails or breaks and you need to reinstall, then you just do that, restore configurations from your backup, and restore other data from your backup, and you're set.
[22:04] <zertyuio> in order to so
[22:04] <tomreyn> what you had on your mind about cloning / imaging can be done with clonezilla-live, a bootable linux distribution for this single purpose. this is not a proper backup, but something you can do now if it'd make you feel better about it.
[22:05] <zertyuio> wait
[22:05] <zertyuio> in order to so
[22:05] <tomreyn> ?
[22:05] <zertyuio> i have to seperate all data need to be backup before
[22:06] <zertyuio> without mixing with system partition
[22:06] <zertyuio> that task i forgot to so
[22:06] <zertyuio> i don't have separate partition for data
[22:07] <tomreyn> maybe you should have
[22:08] <tomreyn> ideally separate disks, so you don't have OS and data fail at the same time.
[22:08] <zertyuio> i think i found the best way
[22:08] <zertyuio> i will reboot my system
[22:08] <zertyuio> with rescue cd
[22:08] <zertyuio> and mount my /
[22:09] <zertyuio> then tar -cvf /
[22:09] <zertyuio> will be the best way i think
[22:10] <zertyuio> is it the best way ?
[22:12] <hal529> Hi.  I've an ubuntu 16LTS server.
[22:12] <hal529> It boots/operates from a 2-disk RAID1 array.  Works great; has for ages.
[22:12] <hal529> I just noticed in startup logs, on exec of "/lib/systemd/systemd-modules-load", these ,essages --> "Module 'loop' is builtin" & "Failed to find module 'md'".
[22:12] <hal529> In /etc/modules, there _are_ "loop" & "md" entries.
[22:12] <hal529> I've never touched this on this box -- so something, maybe default install, added these.
[22:12] <hal529> Do I *need* either?  Safe to remove them?
[22:13] <tomreyn> zertyuio: this is surely not the best approach for regular backups (since it involves rebooting the systemjust for that), but maybe it is a good approach for your preparation of the RAID array changes.
[22:14] <zertyuio> let me do that first
[22:14] <tomreyn> zertyuio: note this approach may not enable you to backup databases and other data structures which require to be backued up in a special way (such as a database dump).
[22:15] <tomreyn> !yy.mm | hal529
[22:15] <tomreyn> hal529: but you made it clear enough that you have some patch level of ubuntu 16.04 LTS
[22:15] <zertyuio> man you are doing the backup / how database can be exclude ?
[22:16] <tomreyn> zertyuio: read the wikis you were pointed to, i can't explain everything.
[22:16] <hal529> tomreyn: I asssume since you're asking, it makes a difference to my question?  Here, I've "Description:    Ubuntu 16.04.5 LTS"
[22:16] <zertyuio> just tell what you read about that ?
[22:17] <zertyuio> just tell mewhat you read about that ?
[22:19] <tomreyn> hal529: so loop is for loop mounts, such as you'd need for snaps, maybe ISO image mounts. md is for software RAID, managed via mdadm.
[22:19] <tomreyn> zertyuio: do you have databases?
[22:20] <hal529> tomreyn: SUre.  I know what they're _for_.  I'm unclear why ubu's complaining about them here ... and what should be done about it.
[22:21] <hal529> I clearly _have_ raid in place & working; mdadm's fine.  So that 'md' in /etc/modules -- and the 'failed to find' message suggest that's not necessary, done somewhere or somehow else, etc.
[22:21] <tomreyn> hal529: i guess if you don't have a software raid it should eb safe to ignore these messages, which are probably just warnings?
[22:22] <hal529> I *do* have software RIAD -- that's the point.
[22:22] <zertyuio> yes of course i got databases
[22:22] <hal529> RAID, even ...
[22:22] <tomreyn> hal529: i was typing this when i hadnt spotted your message, yet
[22:22] <tomreyn> zertyuio: which ones then?
[22:22] <hal529> np
[22:22] <zertyuio> mariadb
[22:23] <tomreyn> zertyuio: then learn how to backup mariadb and then continue with the file based backup.
[22:23] <tomreyn> hal529: did you reboot since, or is it that you're wondering whether that's safe now?
[22:23] <zertyuio> just tell me
[22:24] <tomreyn> zertyuio: just read it
[22:24] <zertyuio> why saving / can not affect database ?
[22:24] <hal529> tomreyn: sorry, 'since' what?  I get these messages every boot.  It's been this way for ages.  I'm _now_ paying attention to the messages.
[22:24] <zertyuio> for me it is not logical
[22:25] <hal529> I didn't add these lines.  They are causing warnings/errors messages on boot.  Don't know if that's real problem, or just noise.
[22:25] <tomreyn> hal529: i see. i wouldn't worry about them if it doesn't impact your ability to boot.
[22:28] <tomreyn> hal529: interestingly i can't find any other mention of this message on the web: Failed to find module 'md'"
[22:28] <hal529> ... which is why I'm in here ...
[22:29] <tomreyn> do you have a custom kernel?
[22:29] <hal529> nope
[22:29] <tomreyn> or custom core packages such as systemd?
[22:29] <hal529> nothing custom.  bog-standard ubu16, with a zimbra mail server install on it.
[22:29] <tomreyn> is this message printed when you "systemctl restart systemd-modules-load.service"
[22:30] <hal529> it _got_ to v16+ thru countless upgrades over the years -- NOT a clean install
[22:30] <hal529> nope, a systemd restart of that unit FAILs -- because of these messages
[22:30] <hal529> it seems ...
[22:30] <tomreyn> can you show the full output?
[22:30] <tomreyn> !paste
[22:31] <hal529> sucks ... I was gonna paste 10K+ lines in here ;-p
[22:31] <tomreyn> sorry if i asked bafore: is the system fully patched?
[22:31] <hal529> oops.  shucks!
[22:31] <hal529> yes, fully patched.  will pastebin in a sec ...
[22:32] <tomreyn> you can install pastebinit and pipe into that or  | nc termbin.com 9999
[22:32] <hal529> i'm a less-is-more kinda guy.  "One moment please  ..."
[22:34] <hal529> tomreyn: --> https://paste.fedoraproject.org/paste/RK6-HNXYLdlCm1b525Yd3Q
[22:35] <hal529> and, fwiw -> https://paste.fedoraproject.org/paste/PoN735TdWLjr0QTHgWt6Ug
[22:38] <tomreyn> https://termbin.com/ug6y is what i get on a 16.04 *desktop* for "sudo systemctl status systemd-modules-load.service 2>&1"
[22:39] <tomreyn> restart of this service gives 0 output there
[22:39] <hal529> and what's in _your_ /etc/modules ?
[22:41] <tomreyn> $ find /etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf 2>&1 | nc termbin.com 9999
[22:41] <tomreyn> https://termbin.com/e6gm
[22:42] <tomreyn> $ cat /etc/modules | nc termbin.com 9999
[22:42] <tomreyn> https://termbin.com/y41v
[22:42] <tomreyn> blank
[22:42] <hal529> "First base"!
[22:43] <tomreyn> i should have a 16.04 server somewhere, looking
[22:43] <hal529> I never touched that file.  Ok, modify that -- within the limits of my long-term memory ...
[22:44] <tomreyn> mine is very weak there, but you could inspect the timestamp and compare it to the installation data
[22:44] <tomreyn> *datE
[22:44] <hal529> On ubu, there IS a /lib/modules/4.15.0-45-generic/kernel/drivers/md/raid1.ko.
[22:45] <hal529> There is *no* ".../md.ko" to be found
[22:45] <tomreyn> you run a HWE kernel there
[22:47] <hal529> Yep, standard upgrade procedure.  Seems that all the 'non-complaining' entries in /etc/modules each _do_ have a correcponding "*.ko".  Neither "loop" nor  "md" , otoh, *do*.
[22:47] <tomreyn> # ls -l /lib/modules/4.4.0-*/kernel/drivers/md/raid1.ko
[22:47] <tomreyn> -rw-r--r-- 1 root root 62078 Dec  5 15:15 /lib/modules/4.4.0-141-generic/kernel/drivers/md/raid1.ko
[22:47] <tomreyn> -rw-r--r-- 1 root root 65182 Jan 17 00:42 /lib/modules/4.4.0-142-generic/kernel/drivers/md/raid1.ko
[22:47] <hal529> Which _suggests_ that they can (should?) be removed.  When it comes to fubar-ing RAID arrays, especially *boot* arrays, I tend to wanna know WTF I'm doing first ...
[22:48] <hal529> Are you *using* RAID?
[22:48] <tomreyn> no
[22:49] <tomreyn> but i'm on one where i do now
[22:49] <hal529> Well, then I certainly wouldn't expect the module even to be automagically loaded by some install/setup/etc process
[22:50] <tomreyn> on the md raid1 server i have an empty /etc/modules
[22:50] <tomreyn> so just comments
[22:50] <tomreyn> and # ls -l /lib/modules/*/kernel/drivers/md/raid1.ko
[22:50] <tomreyn> -rw-r--r-- 1 root root 60526 Jan 19  2018 /lib/modules/4.4.0-112-generic/kernel/drivers/md/raid1.ko
[22:50] <tomreyn> -rw-r--r-- 1 root root 62078 Jun 14  2018 /lib/modules/4.4.0-130-generic/kernel/drivers/md/raid1.ko
[22:50] <hal529> not even a 'raid1' line?
[22:50] <tomreyn> no
[22:50] <tomreyn> just lines starting with #
[22:51] <hal529> clean-installed, recent ubu?  or upgraded from prior versions?
[22:51] <tomreyn> this one should have been installed as 16.04 initially. /etc/initramfs-tools/modules is also empty except for comments
[22:52] <hal529> hm.  wonder if it's a carryover/artifact from prior installs ...
[22:52] <tomreyn> MODULES=most in /etc/initramfs-tools/initramfs.conf
[22:53] <tomreyn> what is yours set to there?
[22:54] <hal529> I have neither such a file, nor its parent dir ...
[22:54] <tomreyn> you sure you're running ubuntu?
[22:54] <tomreyn> ;-)
[22:55] <hal529> heh.  i wasn just typing the same snarky question!
[22:55] <tomreyn> is this amd64?
[22:55] <tomreyn> # dpkg -S /etc/initramfs-tools/initramfs.conf
[22:55] <tomreyn> initramfs-tools-core: /etc/initramfs-tools/initramfs.conf
[22:55] <tomreyn> do you *have* an initrd?
[22:56] <hal529> it's an AMD E-350.
[22:56] <hal529> sure -> initrd.img-4.15.0-45-generic
[22:57] <tomreyn> how is it generated if not by initramfs-tools?
[22:57] <tomreyn> do you have initramfs-tools and initramfs-tools-core installed?
[22:58] <hal529> for me, here, " lsmod | egrep "loop|raid|md"" -> https://paste.fedoraproject.org/paste/xgdfYRiojL~VE0TnDktBXA
[22:58] <hal529> yes -> https://paste.fedoraproject.org/paste/1L72h8s2GexvSxq~4SSHKQ
[23:01] <tomreyn> so initramfs-tools-core is installed, which /etc/initramfs-tools/initramfs.conf belongs to, but you don't have the file. this suggests the package was not properly installed.
[23:01] <hal529> wait .  fubar <- pebkac.  fat thumbs alert!
[23:03] <tomreyn> my lsmod looks similar btw
[23:03] <hal529> https://paste.fedoraproject.org/paste/do6cqK5FCZk7CbkwQ-HS5A
[23:03] <hal529> yes, MODULES = most
[23:06] <tomreyn> i just did "systemctl status systemd-modules-load.service" and "systemctl status systemd-modules-load.service" on this server with md raid-1 and while both generate output, no module warnings ar eprinted
[23:07] <tomreyn> /etc/modules is empty, and so are /etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf
[23:08] <tomreyn> hal529: sorry i can't help more, but i'm really sleepy and should wrap it up here.
[23:08] <hal529> np o/
[23:08] <tomreyn> bye bye
[23:15] <jonfatino> Anyone here a ubiquity master? I am trying to install ubuntu from ubuntu livecd with a bash script. Not launching the installer via gui. I already have a preseed file.


 is sweet!
[01:29] <nixternal> hrmm, I thought it was sweet...but man you have to hack the hell out of xslt files
[01:30] <ubotu> New bug: #128805 in ubuntu-docs (main) "Numerous validation errors in trunk/ubuntu" [Medium,Confirmed]  https://launchpad.net/bugs/128805
[11:23] <mdke> damn it
[07:03] <Admiral_laptop> nixternal: jim is going to send a patch to the doc team shortly, can you apply it.
[07:14] <nixternal> yup
[07:15] <Admiral_laptop> thanks
[07:50] <Admiral_laptop> nixternal: patch applied?
[07:51] <nixternal> checking email now
[07:53] <nixternal> comitted
[07:53] <nixternal> come on...you gotta do more work than 2 lines in a entity file ;p
[08:29] <Admiral_laptop> nixternal: check the doc list, I have a bigger patch sent in.
[08:33] <nixternal> roger
[08:35] <nixternal> committing it now
[08:35] <Admiral_laptop> kkthx
[08:35] <Admiral_laptop> i'm an official contributor... \0/
[08:35] <Admiral_laptop> err...
[08:35] <Admiral_laptop> \o/ \o/
[08:42] <nixternal> umm moron, this isn't your first patch ;)
[08:42] <nixternal> I have committed others by you for kubuntu when you started fixing my bugs months back ;p
[08:43] <Admiral_laptop> well, my first big patch
[08:46] <Admiral_laptop> i
[08:46] <Admiral_laptop> i'll ask for SVN access after I fell a bit more comfortable with this stuff.
[08:46] <Admiral_laptop> heya fijam
[08:46] <Admiral_laptop> jim and I are working on docs right now
[08:46] <fijam> hello
[08:46] <fijam> hmm, that's a motivation
[08:47] <Admiral_laptop> do you have a section you are looking at?
[08:49] <fijam> yes - Internet
[08:51] <nixternal> Admiral_laptop: as long as you submit patches that validate, are pretty good grammar/spelling wise, you will have no problem...I didn't have a chance to look through for grammar and spelling on that last patch, I will do so here in a bit
[08:51] <nixternal> we are working on KDE4 KHC stuff right now so I am kind of busy
[08:52] <Admiral_laptop> have any issues fijam?
[08:53] <Admiral_laptop> or questions?
[08:54] <fijam> haven't really started
[08:54] <fijam> currently - no.
[08:54] <Admiral_laptop> okay, give them a look and see what you need help on
[08:54] <fijam> sure.
[09:11] <fijam> brb
[09:47] <Admiral_laptop> nixternal: one more patch coming your way
[09:55] <nixternal> slow down homey :)
[10:03] <robotgeek> nixternal: yes, the kubuntu menu is rocking!
[10:06] <robotgeek> nixternal: doesn't digikam deserve to be in music, video and photos section. i dont mind contributing a patch to add it in :)
[10:18] <j1mc> hi all.  i've been working on an "about-xubuntu" section.  it validates, but it is not under version control at this time.
[10:18] <j1mc> there wasn't an "about-xubuntu" section before.
[10:18] <j1mc> should i just submit the file to the ML?
[10:18] <robotgeek> j1mc: you dont have commit access?
[10:19] <j1mc> robotgeek: no, not at this time.
[10:19] <robotgeek> j1mc: then yes, just mail the file.
[10:19] <j1mc> will do.  thanks, robotgeek
[10:25] <robotgeek> thanks, j1mc !
[10:26] <robotgeek> it sure would be nice to add Help:/ handler to firefox by default
[10:27] <nixternal> robotgeek: get to patching..actually, you have commit access don't you? get to work :)
[10:27] <nixternal> dunno why digiKam isn't in there..unless I just link to it via <ulink type="help" url="help:/digikam/">
[10:28] <nixternal> we can't use KDE docs anymore, or pull from them since our stupid docs are CC-by-SA now
[10:28] <robotgeek> nixternal: yes, i do. i will add a small section on digikam in an appropriate place.
[10:29] <robotgeek> oh okay. i will see if the digikam documentation has relevant entries.
[10:30] <robotgeek> digikam docs exist, but was not installed by default.
[10:31] <nixternal> hrmm
[10:32] <robotgeek> well, the documentation for digikam is pretty good, i'll just link to it (with a note that it might need to be installed).
[11:45] <Admiral_Chicago> nixternal: did you apply that patch?
[11:47] <Admiral_Chicago> nixternal: oh i see it is, ignore me then...
[11:50] <mdke> Admiral_Chicago: I've replied to your basic-commands patch email, would be interested in hearing your thoughts. Can't hang around on irc though, I'm off to bed - perhaps email?
[11:51] <nixternal> yes
[12:16] <jjesse> wow the mailing list is very active, that's awesome


[16:20] <sdeziel> while testing the retpoline enabled kernel ( linux-image-4.4.0-113-generic ) from xenial-proposed, I found a regression LP: #1748671 which I'd like to be fixed before this kernel hits -updates
[16:29] <sdeziel> oh, I just noticed linux-image-4.4.0-115-generic in -proposed, I'll see if it helps with the above bug
[16:32] <apw> sdeziel, do you know the last version that was not trivially reproduciblw
[16:32] <sdeziel> apw: 4.4.0-112.135 didn't have the issue
[16:33] <sdeziel> apw: it's what I had to roll back to
[17:09] <sdeziel> apw: 4.4.0-115.139 is also affected
[17:11] <apw> sdeziel, is that triggered by ipv6 in ipv4
[17:14] <sdeziel> apw: I don't know as the artful container tries to get both. I'll try to disable one and will report back. Unfortunately, the affected machine is this very laptop :(
[17:18] <sdeziel> apw: I just re-read an you said "ipv6 in ipv4" which I'm not using. Did you mean ipv6 OR ipv4 like I understood the first time?
[17:18] <apw> sdeziel, i had gotten the impression there was ipv6 in there
[17:19] <apw> sdeziel, this is 100% reproducible for you i believe right?
[17:19] <sdeziel> apw: yes, I'm assigning both v4 and v6 natively
[17:19] <sdeziel> yes, 100%
[17:19] <apw> sdeziel, as there is only one change in 112->113 for that sort fo thing, which has one fix since
[17:19] <apw> sdeziel, though that fix claims to be hyperthetical ... so ... hmmm
[17:20] <apw> sdeziel, so ... if you can test them I will throw both those options up for you
[17:20] <sdeziel> apw: sure, I'm here to test stuff :)
[17:22] <apw> sdeziel, amd64 ?
[17:22] <sdeziel> apw: yes
[17:23] <sdeziel> apw: "net: ipv4: fix for a race condition in raw_sendmsg" ?
[17:24] <apw> right ... whcih is also where your stack strace is in
[17:24] <apw> sdeziel, ^ will have something to test in about 20m
[17:25] <sdeziel> apw: awesome thanks
[17:26] <sdeziel> apw: I don't want to cloud the picture but I also hit LP: #1748513 with a similar looking trace to my untrained eye. It's on a different machine and not easily reproducible but maybe they both are related?
[17:47] <apw> sdeziel, ok i think we may have found an issue here which would explain the issue ... so could you test: http://people.canonical.com/~apw/lp1748671/fix-not-xenial/
[17:48] <sdeziel> apw: sure, give me a couple of minutes
[18:15] <apw> sdeziel, and don't forget the linux-image-extra
[18:15] <sdeziel> apw: no I won't :)
[18:19] <sdeziel> apw: I'm missing linux-signed-image-4.4.0-115-generic (https://paste.ubuntu.com/=wFyMVxCK2G/). Not sure if it matters
[18:20] <sdeziel> rebooting
[18:20] <apw> sdeziel, yeah i didn't make one, i can't make one with a signature that you could boot anyhow
[18:24] <sdeziel> apw: the test kernel fixed the problem
[18:25] <sdeziel> thanks a lot!
[18:26] <apw> sdeziel, ok great, will get that applied
[18:26] <sdeziel> apw: any idea if that could also fix LP: #1748513?
[21:16] <FjodorAE> Was looking forward to vboxguest module with 4.16, yet config patch seems to suggest it isn't set (config based on 4.15) - is someone aware, or where should I file a report?
[21:26] <apw> FjodorAE, file a bug against the package linux for now, and let me know the bug number
[21:41] <FjodorAE> apw: Thank you - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1749015


[08:35] <dholbach> good morning
[08:42] <Rhonda> Laney: Thanks for the utopic backport approval.  What about trusty? :)
[08:42] <Rhonda> Especially in the light that it was the last LTS release.
[09:35] <Laney> Rhonda: Forgot, here we go
[09:55] <Rhonda> Thanks. :)


[00:11] <Bilge> Does `ping` not support ipv6?
[00:11] <sarnold> Bilge: there's a ping6 ..
[00:12] <sarnold> and ping ::1 fails where ping6 ::1 works..
[00:12] <Bilge> Just found it as you said that ;)
[00:13] <Bilge> As ipv6 becomes mainstream I hope the tools won't be so divided
[00:13] <sarnold> this division feels mighty old, feels unlikely to be healed if it isn't done by now :(
[00:13] <Bilge> ipv6 still isn't mainstream
[00:14] <Bilge> My home router only just got the firmware upgrade this month
[00:14] <Bilge> I didn't even realise it could be implemented purely with software
[00:26] <PatrickDK> heh? comcast has supported ipv6 for a year now
[00:26] <PatrickDK> all .mil and contractors are suppost to be fully ipv6 enabled
[00:26] <sarnold> PatrickDK: eh...
[00:27] <PatrickDK> I would call that pretty good support
[00:27] <PatrickDK> besides the private sector, google and everyone else
[00:27] <sarnold> PatrickDK: comcast offers tunnels to most of the customers that ask, iff the customer knows enough to ask for it :0
[00:27] <PatrickDK> sarnold, that is really old
[00:27] <PatrickDK> comcast has deployed native ipv6 to all customers for awhile now
[00:27] <sarnold> PatrickDK: also, *cough* ubuntu repos don't do ipv6 :(
[00:27] <PatrickDK> the only ones that can't yet, are those on business static ip modems
[00:28] <sarnold> PatrickDK: no kidding, time for another phone call?
[00:28] <sarnold> PatrickDK: do you have an url handy? :)
[00:28] <PatrickDK> sarnold, you have a docsis3 modem?
[00:28] <sarnold> PatrickDK: I don't recall if it is or not :(
[00:28] <PatrickDK> if it is, you should see ra's
[00:28] <PatrickDK> if not, you need to upgrade :)
[00:30] <sarnold> PatrickDK: woo. motorola.com claims the sb6120 is docsis 3.0 anyway...
[00:31] <PatrickDK> you should be seeing ra packets then
[00:31] <PatrickDK> I forget how often they come out (I'm behind a business modem :(
[00:35] <TSK> Greetings.  Does anyone here have experience with lxc (Linux Containers)?
[00:37] <TSK> I am having an issue on Ubuntu 12.04LTS whereby lxcbr0 (and other bridge devices) which should(?) auto-create/start on startup of a given container are NOT in fact creating/starting as they should and therefore the startup of any networked container fails.
[00:38] <TSK> My research on Google and on the various Ubuntu related sites turns up little information other than a couple of semi-related bugreports and passing mentions of lxcbr0 but not in any useful context.
[00:38] <sarnold> PatrickDK: hrm, my wifi router's firmware changelogs don't mention ipv6, but it's probably time to try anyhow. woo. thanks again :D
[00:39] <patdk-lap> heh, try directly connecting ubuntu into it, and tcpdump for ipv6 ra's :)
[00:40] <patdk-lap> tcpdump -n ipv6
[00:40] <sarnold> patdk-lap: good idea. :D
[00:40] <patdk-lap> oh, ip6 no v :)
[00:40] <patdk-lap> always mix that up
[00:43] <sarnold> TSK: this bug report mentions raring by name, so it might be completely different.. but give it a skim? https://bugs.launchpad.net/bugs/1100877
[00:44] <TSK> sarnold: Yes, indeed.  That's one of the bugreports I found.
[00:45] <sarnold> dang.
[00:45] <TSK> It is sadly not of any real help.  :(
[00:46] <TSK> I have confirmed that containers run fine if I do not ask them to network, but that kinda defeats the usefulness of a container for me.
[00:55] <sarnold> TSK: are you using libvirt with your lxc containers? does /etc/init/libvirt-bin.conf have "lxc:///" in the "libvirt_urls"?
[01:28] <TSK> sarnold: I am actually not using libvirt at all no.  I am using the ubuntu lxc userspace tools from the repositories.
[01:30] <TSK> Is that then probably the missing bit of the equation then?  Should I be looking into libvirt-bin?
[01:46] <sarnold> TSK: meh, if the more manual way worked except for this, it's probably worth fixing. I just kinda knew about the libvirt init setting up some networking for the way I've used them.
[01:46] <sarnold> TSK: are there any log entries in /var/log/ that look remotely usfeul?
[01:47] <vhadil>  for beginner c or python . plz comment
[01:48] <sarnold> vhadil: I like C, because using it requires discipline and patience and teaches the truth about how the computer operates.
[01:48] <sarnold> vhadil: though python will give you better, more useful results, significantly faster. :)
[01:49] <sarnold> vhadil: C's security and safety problems are pretty horrible -- if you screw up, it _will_ hurt. Python will more likely drop a stack trace and no harm done...
[01:50] <sarnold> (how's that for broad overgeneralizations? :)
[01:50] <vhadil> sarnold, so what choice ?
[01:51] <sarnold> vhadil: if you choose C, start with this book: http://en.wikipedia.org/wiki/The_C_Programming_Language
[01:52] <sarnold> vhadil: if you choose python, this guide looks promising: http://learnpythonthehardway.org/book/intro.html
[01:53] <vhadil> sarnold, thank you friend
[01:54] <lvmer> How do you reference a file or directory ie: /share/share/test.txt   from an html page at /var/www/index.html   ?  none of my tries work: http://paste.kde.org/650768/
[01:56] <sarnold> lvmer: is /share/share in the webroot of your web server? or do you want the clients to access the file via another mechanism, such as samba?
[01:56] <vhadil> sarnold, but I am just learning myself, if I could?
[01:56] <lvmer> I think samba would be easier. /share/share is not in the webroot folder. It is a directory.
[01:57] <sarnold> lvmer: then try href="//superserver/share/share/test.txt", and be sure to use IE -- probably other browsers won't do it
[01:57] <lvmer> $$$  default mount point /var/www/index.html    & again  default mount point.... then   /share/share/test.txt
[01:57] <lvmer> o
[01:57] <lvmer> I did that one
[01:57] <sarnold> lvmer: try it with forward slashes..
[01:58] <sarnold> vhadil: sorry, I don't understand your last question
[01:58] <sarnold> lvmer: another thing to try, \\\\superserver\\share\\share\\test.txt
[02:00] <sarnold> daniel_-_: shouldn't you be asleep? :)
[02:00] <lvmer> it takes me to: http://www1.dlinksearch.com/main?url=superserver%2Fshare%2Fshare%2Ftest.txt&ref=http%3A%2F%2F<IP_ADDRESS>%2F&w=1672&h=915&ifc=0
[02:00] <lvmer> lol
[02:01] <sarnold> lvmer: hahahaha
[02:01] <sarnold> lvmer: does your router do something horrible like replace NX domain answers with their own advertising?
[02:01] <lvmer> hum
[02:01] <lvmer> I'm guessing that is quit possible
[02:02] <lvmer> where would I find that in the router settings?
[02:02] <lvmer> I opened it up, but idk if I see it
[02:15] <lvmer> sarnold, well we shall see what dlink support says. thanks for the headsup
[02:16] <sarnold> lvmer: so, your /share/share/test.txt -- did you get that to work yet? did IE go?
[02:17] <lvmer> no
[02:17] <sarnold> oh man :/
[02:17] <lvmer> it only works if the file is in /var/www
[02:17] <lvmer> I just got it to work by pasting in the browser: \\SUPERSERVER\Share
[02:17] <sarnold> I wonder if a security setting now prevents html from referencing unc paths
[02:19] <lvmer> it's got to be a security setting
[02:19] <lvmer> because it just times out
[02:19] <lvmer> but I can copy the address
[02:19] <lvmer> and paste it
[02:19] <lvmer> even from the html doc
[02:20] <sarnold> lvmer: hah, file://///   -- http://stackoverflow.com/a/1369164/377270
[02:20] <lvmer> ?
[02:20] <sarnold> lvmer: try file://///superserver/share/share/test.txt
[02:21] <sarnold> though that answer says firefox won't do it for security reasons
[02:23] <lvmer> it just doesn't work for security reasons
[02:23] <lvmer> lame sauce
[02:24] <lvmer> how do servers like cnet have a download button though? cause you can click that & download the file
[02:24] <lvmer> that's what I'm aiming for
[02:24] <lvmer> being able to do that with a few files that are not in the /var/www directory
[02:24] <sarnold> lvmer: they download the file over http
[02:24] <lvmer> yah
[02:24] <lvmer> no idea how to do that
[02:24] <sarnold> lvmer: you could do the same if you added another route in your server configuration to get to /share/share
[02:24] <lvmer> o
[02:25] <sarnold> in apache it'd be something vaguely like <directory /share> .. /share </directory> (can you tell it's been years since I've done apache?
[02:25] <lvmer> hah
[02:25] <sarnold> dinner now :)
[02:25] <lvmer> <directory /var/www/test.txt>
[02:25] <lvmer>                 Forcetype application/octet-stream
[02:25] <lvmer>                 Header set Content-Disposition attachment
[02:25] <lvmer>                 </directory>
[02:25] <lvmer> like this right?
[02:26] <sarnold> lvmer: oh. then try <location> ! :)
[02:26] <lvmer> sarnold, well enjoy dinner. sorry to keep you too long
[02:26] <sarnold> lvmer: not at all, not at all :) hope you get it sorted quickly :)
[02:26] <sarnold> lvmer: (the force-download behavior is something else, of course.. a new HTTP header from the server, iirc.)
[12:51] <samba35> is there any gui based syslog server there
[13:01] <frojnd> hi hi
[14:06] <bananapie> Hey, I want to recompile a ubuntu package, where can I find the parameters that were given when it was originally compiled by the ubuntu guys ?
[14:16] <RoyK> in debian/rules
[14:17] <RoyK> bananapie: that is - apt-get source 'package' and then look in the debian/rules file in the source tree
[14:18] <RoyK> or perhaps copy the whole debian dir to the new source tree and run dpkg-buldpackage
[14:18] <RoyK> dpkg-buildpackage even
[14:19] <bananapie> ok
[14:20] <bananapie> I'll try that
[14:20] <bananapie> thanks
[14:20] <RoyK> that'll build new packages
[14:20] <RoyK> easier to manage than just your average "make install"
[14:20] <bananapie> I am trying to compile asterisk from sources, but ubuntu changes the sounds directory and therefore breaks my server. So I'll try copying the debian folder
[14:21]  * RoyK dislikes asterisk rather a lot
[14:21] <bananapie> :P
[14:21] <bananapie> So do I
[14:21] <RoyK> http://karlsbakk.net/fun/asterisk-installation.wav
[14:21] <bananapie> Executed :D
[14:22] <bananapie> HAHAHA! That's a pretty awesome recording :D\
[14:22] <bananapie> Nice :D
[14:22] <bananapie> like RoyK's recording.
[14:22] <bananapie> I actually maintain a few minor patches for Asterisk because a few options are horribly broken. DTMF is pretty bad.
[14:23] <RoyK> most of asterisk is horribly broken
[14:23] <bananapie> actually, anything dahdi related is horribly broken. SIP has problems, but it isn't too bad.
[14:23] <RoyK> seems they've fixed up the rtp stack now so that it scales a bit better than back when I was working with it, though
[14:23] <bananapie> What do you use instead ?
[14:23] <RoyK> I don't work with voip anymore
[14:23] <RoyK> :P
[14:24] <bananapie> RoyK, I guess you don't want to be bald by 35 ?
[14:24] <bananapie> ( stress is a contributing factor to baldness )
[14:24]  * RoyK is > 35 and not bald ;)
[14:24] <bananapie> Probably because you stopped using asterisk ;)
[14:25] <RoyK> well, stress and baldness - I don't buy it
[14:25] <bananapie> No ?
[14:25] <RoyK> lots of other things to stress about
[14:25] <bananapie> THere are many contributing factors to baldness. Genetics, baseball caps, stress, lifestyle, food habits, exercise.
[14:25] <RoyK> anyway - some op will probably flag OFFTOPIC soon ;)
[14:25] <bananapie> It's just fun to exagerate the link between baldness and stress when talking about asterisk ;D
[14:25] <bananapie> Yes
[14:25] <bananapie> anyway, I am trying copying debian directory
[14:26] <RoyK> should work
[14:26] <RoyK> unless they've changed the code too much since last build
[14:28] <bananapie> It doesn't want to compile, I am modifying debian/rules now
[14:28] <bananapie> "dpkg-source: error: unwanted binary file: debian/.asterisk.dirs.swp" lol
[14:29] <RoyK> heh - .swp is usually vim temp files
[14:29] <bananapie> Yea, I know. I feel like a total n00b today
[14:30] <bananapie> I copied the debian from ast 1.6 to ast 1.8 source tree. I think that was a bad idea.
[14:32] <bananapie> I think I got this thing working.
[14:33] <bananapie> Ubuntu is awesome
[14:35] <bananapie> too many differences, it keeps crashing. I'll have to call configure with the proper parameters :(
[14:35] <bananapie> thanks anyway :D
[14:37] <RoyK> why do you need 1.8?
[14:37] <RoyK> I beleive uninett.no's service for universities and colleges in .no still uses 1.4 and won't change because of even more broken code in newer versions
[14:40] <RoyK> also, if you really need 1.8, there should be a ppa for it
[14:42] <RoyK> seems they've changed the versioning - latest now is 11.1.2
[14:45] <bananapie> 1.8 has a few bug fixes I needed.
[14:47] <bananapie> asterisk.conf has the directories in it, I didn't remove the ! in the line
[14:47] <bananapie> It's fun when comments affect how a configuration file is parsed unless the line starts with # :@
[15:45] <qman__> oh, asterisk
[15:48] <RoyK> !language | qman__
[15:48] <qman__> haha
[15:49] <qman__> we use it at work, and I had zero experience with it until I was tasked with upgrading it
[15:49] <qman__> I knew I was in for a trip but didn't know just how bad
[15:50] <qman__> plus we've got a bunch of custom integration scripts to make it work with our ticket system
[15:50] <RoyK> I used to work for an ITSP that used asterisk
[15:51] <RoyK> that was before anyone had bothered to create a jitterbuffer
[15:51] <RoyK> we ended up hireing someone to write it and posted it to asterisk, it came in in 1.4 IIRC
[15:52] <qman__> all the dirty hacks I had to do to keep it running
[15:52] <qman__> there's a cron job that runs every minute to see if asterisk is running, and if it isn't, it restarts it
[15:52] <RoyK> digium posted that jitterbuffer wasn't a priority, since asterisk didn't need one
[15:53] <qman__> because it just dies at random
[15:53] <RoyK> hehe
[15:53] <qman__> that worked ok, but then it would start using 100% CPU
[15:53] <qman__> so now it also checks to see if it's going out of control over 30 seconds
[15:53] <RoyK> and then, gdb asterisk core - bt full
[15:53] <qman__> and if it is, it kills it and restarts it
[15:53] <RoyK> post a bug report and wait for a nofix
[15:54] <RoyK> or wontfix
[15:54] <qman__> I've actually got it to a somewhat tolerable state now
[15:55] <qman__> they had it running with dahdi on a P4 xeon server with hyperthreading
[15:55] <qman__> which was causing tons of interrupts and breaking everything
[15:55] <RoyK> I had to dig into the source to fix a few things
[15:56] <RoyK> like taking a bath in a septic tank, somehow
[15:57] <qman__> now we've got it all sip and in the datacenter
[15:57] <qman__> remaining problems are bandwidth related, specifically because it's behind an ASUS router
[15:58] <RoyK> hopefully not much nat?
[15:58] <qman__> NAT, openVPN concatenator
[15:59] <patdk-lap> yuk
[15:59] <qman__> trying to convince the boss that these consumer grade routers with dd-wrt can't handle the load is not easy
[16:00] <patdk-lap> just toss them out and use a normal server
[16:00] <patdk-lap> I mean, even an old p3 with 1gigs ram would make a killing firewall
[16:00] <qman__> they work fine for small shobs
[16:00] <qman__> shops*
[16:00] <qman__> but not for our datacenter, not for site to site VPNs
[16:00] <patdk-lap> oh, heh
[16:01] <patdk-lap> using dd-wrt at a datacenter?
[16:01] <RoyK> sounds a bit "sub-optimal" ;)
[16:01] <qman__> we need real hardware for that, whether it's a cisco, or even just a full on server configured to be a router
[16:02] <patdk-lap> I kept maxing out the small consumer routers, not enough cpu for any real compression support for the vpn
[16:02] <qman__> we're doing SIP with about 40 phones connecting to it through one dd-wrt router
[16:02] <qman__> so every day when the call volume goes up, we get weird issues with calls dropping or sound not working
[16:03] <qman__> because that router just can't handle that many packets per second
[16:03] <RoyK> heh - we have a rather expensive ($100k?) cisco router at work, it maxed out recently on ipv6 traffic - didn't switch ipv6 in hardware, but pushed it all to the cpu
[16:04] <qman__> but because it doesn't drive up the memory use or CPU load above 1.0, the boss can't see it
[16:04] <RoyK> not very new, though
[16:04] <qman__> it takes more than CPU to handle packets
[16:04] <patdk-lap> it shouldn't take any cpu to handle packets, on real hardware
[16:05] <RoyK> sure, but everything else works, just not loads of ipv6, since it tends to do all that in software
[16:05] <qman__> we use ASUS RT16N routers
[16:05] <qman__> which, for a consumer router, is very good
[16:05] <patdk-lap> that isn't a real router :)
[16:05] <qman__> but it's still a consumer router
[16:05] <patdk-lap> in cisco, the only thing that hits cpu, is rare, like new featuresets in royk's case
[16:06] <patdk-lap> I had the same issue, <2% cisco router cpu, enabled vlans, and it went to way >100%
[16:06] <patdk-lap> found out the same deal, vlans where cpu processed on mine
[16:06] <RoyK> any good router does the real things in ASICs (or FPGAs)
[16:06] <qman__> yeah
[16:07] <RoyK> seems FPGAs are getting more popular
[16:07] <RoyK> which is good
[16:07] <patdk-lap> hmm, fpga is just a case type
[16:07] <RoyK> hm?
[16:07] <patdk-lap> full pin grid array
[16:07] <RoyK> an FPGA can be recoded
[16:07] <RoyK> an ASIC cannot
[16:08] <patdk-lap> oh, fieldprogrammable gate array :)
[16:08] <patdk-lap> too many different names for that :)
[16:08] <RoyK> yes :)
[16:09] <RoyK> seems Juniper is moving to FPAGs for their high-end products
[16:11] <patdk-lap> if tcam could come down in price
[16:11] <patdk-lap> could make cheap consumer routers worth something
[16:12] <RoyK> tcam?
[16:12] <patdk-lap> it's what cisco uses
[16:12] <patdk-lap> that is what is *offloaded from cpu* normaly means
[16:12] <patdk-lap> there is enough tcam or cam ram to not bother the cpu about it
[16:12] <patdk-lap> http://www.enterprisenetworkingplanet.com/netsysm/article.php/3527301/On-Your-Network-What-the-Heck-is-a-TCAM.htm
[16:13] <patdk-lap> kind of like a hash lookup
[16:13] <patdk-lap> like store all mac addresses in it, so a switch knows instantly what port it need to go out on
[16:14] <patdk-lap> or store the routing table in the case of a router
[16:16] <RoyK> I just started working with juniper systems
[16:16] <RoyK> it's joy!
[16:16] <RoyK> no longer a dumb OS requiring all sorts of tweaks, but a full BSD OS for management
[16:17] <frojnd> I have 2 ips. And I've configured dnss for only one IP. Yet nginx when I go to second IP (I dont write IP address) it writes default nginx page. Any ideas how can I disable nginx to show content for that second IP addrss?
[16:18]  * RoyK guesses that question is better answered in #nginx
[16:19] <qman__> frojnd, your site is listening on * or <IP_ADDRESS>; I don't know where or how to change that in nginx, but that's what's happening
[16:19] <qman__> in apache you change the virtualhost statement
[17:11] <RoyK> patdk-lap: any idea what there is to choose from on high-end routers/switches these days? cisco/juniper? perhaps HP?
[17:11] <patdk-lap> hp doesn't make any  Iknow of, just switchs
[17:12] <RoyK> any others?
[17:12] <patdk-lap> but I'm heavy into cisco world
[17:12] <patdk-lap> hmm, there is
[17:13] <patdk-lap> hmm, can't think of it
[17:13] <patdk-lap> someone keeps harping about it to me though
[17:13] <patdk-lap> I mainly ignore cause not looking to change anything currently
[17:13] <patdk-lap> foundry?
[17:15] <RoyK> seems they were bought by Brocade in 2008
[17:15] <patdk-lap> ya
[17:15] <RoyK> and Nortel bankrupted just after that
[17:15] <patdk-lap> probably why I kept thinking brocade :)
[17:16] <patdk-lap> I've never liked brocade, just their sales seems shady to me
[17:16] <patdk-lap> no real issue with their products
[17:17] <RoyK> I've only worked slightly with their FC switches, some 10 years back
[17:19] <patdk-lap> I guess a new aplha or beta is coming out
[17:20] <patdk-lap> build servers been backed up like hell the last few days
[17:42] <frojnd> qman__: thanx I'll ask in nginx
[17:57] <RoyK> hrmf
[17:57] <RoyK> any idea what this means?
[17:57] <RoyK> [1720778.526707] Buffer I/O error on device dm-8, logical block 26214384
[17:58] <escott> RoyK, what is backing dm-8?
[17:58] <RoyK> a raid-6 which is whelthy
[17:59] <escott> RoyK, mdadm raid or hardware raid
[17:59] <RoyK> seems some lvm snapshotting caused the error
[17:59] <RoyK> mdadm
[17:59] <RoyK> just testing lvm snapshotting for performance, and created the snapshots a wee bit too small
[18:00] <RoyK> lvm snapshotting is, well, "sub-optimal" in its design :þ
[18:01] <RoyK> I've used snapshotting on zfs earlier, and going back to trying to use snapshotting on lvm is like going back to the eightees or something
[18:03] <PatrickDK> well, lvm isn't cow
[18:03] <PatrickDK> and I think it still uses like a4mb window
[18:10] <RoyK> I know
[18:10] <RoyK> some patches have come lately to make it cow, but I don't know when they'll be accepted
[18:11] <escott> RoyK, cow at the block level seems weird to me
[18:11] <RoyK> escott: it works with zfs
[18:11] <RoyK> zvols are cow
[18:11] <RoyK> works with other storage systems as well
[18:11] <escott> RoyK, but ZFS knows what blocks are structure blocks and what are data. i guess i shouldnt say block when i mean below the filesystem level
[18:12] <RoyK> a zvol isn't a filesystem
[18:15] <RoyK> it's just something onto which you place a filesystem, or export over iscsi or fc
[19:59] <gmachine_24> Hi. This might be a rookie question - but for an NAS, what are the advantages of running ubuntu server instead of just the standard version? Thanks.
[22:36] <floryn90> hi evryone
[22:37] <floryn90> first scuse se for my bad english :)
[22:37] <floryn90> i have a problem on my web server on ubuntu server
[22:38] <floryn90> i use a vhosts to host multiple sites
[22:38] <floryn90> and i use mod_rewrite module to rewrite the urls
[22:39] <floryn90> on one site when i request a page
[22:39] <floryn90> where are some images in /icons
[22:40] <floryn90> the server reply me a 404 error
[22:40] <floryn90> in server error log i found
[22:40] <floryn90> that it go to /usr/share/apache2/icons when i request the /icons images
[22:41] <floryn90> how con i risolve this ?


[08:38] <ara> morning davmor2 :)
[08:38] <davmor2> ara: are you back in a really timezone then?
[09:03] <ara> davmor2, I am :)
[09:04] <davmor2> How was the sprint
[12:44] <apacheuk> hi
[12:45] <apacheuk> can someone point me to the correct location on launchpad in order to search/raise a possible Lucid bug please
[12:45] <apacheuk> it's to do with the panel notification area
[12:47] <persia> Run `ubuntu-bug gnome-panel` on an affected system.
[12:47] <persia> Or maybe something with the notification area (I'm not sure of the right package)
[12:48] <apacheuk> ahh cheers didn't know you could do that
[12:48] <persia> If you can figure out the right package to call, it works better :)
[14:06] <davmor2> morning all
[14:57] <fader_> davmor2: What timezone are you in? :)
[14:58] <davmor2> I was saying morning to all you that had just logged in rather than specifying names :P
[18:11] <nagappan> cr3, if I go to this page https://bugs.launchpad.net/ how can I find the bugs that filed, like My Bugs in bugzilla
[18:16] <persia> nagappan: Start from https://bugs.launchpad.net/people/+me/+bugs : there's a link in the upper right
[18:20] <nagappan> persia, sure, thanks, its bit confusing, its not in the main page :)
[18:22] <persia> nagappan: You'll get used to it, and the UI will change, and you'll learn to hack the URLs :)
[18:22] <nagappan> persia, :)
[18:31] <cr3> nagappan: eventually, you might even understand the meaning of "+" in the launchpad urls :)
[18:31] <cr3> ... which is not even consistent, by the way
[18:32] <persia> Does it mean anything at all?
[18:33]  * persia thought it was just an arbitrary separator
[18:33] <nagappan> cr3, :)
[18:35] <cr3> persia: it is sometimes used to demultiplex paths which can either contain interpolated variables /foo/+$some_variable from hard coded names like /foo/bar. the "+" makes it possible for a regular expression to distinguish the two cases
[18:35] <cr3> persia: sometimes, it's indeed just arbitrary and gratuitous I might add
[18:35]  * thekorn wishes there were more such '+' containing urls as shortcuts like /+me/+reportedbugs/+open
[18:36] <persia> cr3: There's a sufficiency of gratuity that I missed the interpolation cases (of which I suppoose +me is one)
[18:36] <cr3> thekorn: that could just be /me/reportedbugs/open, there's sometimes no need for the "+" in the first place
[18:36] <persia> thekorn: That kinda exists.
[18:37] <persia> cr3: No, me requires both + and peopl
[18:37] <persia> e
[18:37] <persia> thekorn: https://bugs.launchpad.net/people/+me/+reportedbugs defaults to only showing open bugs.
[18:38]  * persia may have spent too much time watching people chatter in the launchpad support channel
[18:38] <cr3> persia: this is simply an implementation smell of launchpad which requires it but, strictly speaking, I don't see how /+me needs to be disambiguated from /me
[18:39]  * cr3 has an acute sense of smell for applications
[18:39] <persia> cr3: Compare /people/persia
[18:39] <persia> So the + specifies that it's to be interpolated as a variable in this case.
[18:39] <thekorn> maybe because "me" is a valid user name?
[18:40] <persia> For +reportedbugs it seems pointless.
[19:01] <cr3> persia: yeah, I might not have good examples, but you get the point
[19:02] <persia> heh
[19:02] <persia> But I still don't understand why it's both /people/persia/ and /~persia/, nor why /~+me/ doesn't work.
[19:02] <persia> So your sense of smell is not far off.
[19:03] <cr3> personally, I prefer deterministic urls, perhaps something like /people/me and /person/persia, so no need for magical characters
[19:03] <persia> Well, /people/me would fail if someone wanted to register "me"
[19:03] <cr3> persia: nope, a person registered as me would be under /person/me
[19:03] <persia> But I'd prefer if it was only things that were obviously variables to end-users.
[19:04] <persia> +reportedbugs may be a variable, but surely that's an implementation detail that needn't be exposed.
[19:04] <cr3> I also don't like to have a blacklist of names because that fails if I eventually think of a new feature for which a name has already been registered
[19:04] <persia> cr3: So what URL would be the same as /people/+me/ ?
[19:04] <cr3> persia: /people/me as opposed to /person/persia (note the use of plural and singular)
[19:05] <persia> Aha.
[19:05] <cr3> persia: where /person would always be followed by an interpolated variable and /people would never be
[19:05] <persia> But consider teams ...
[19:05] <cr3> teams == people, essentially
[19:05] <persia> Your example is backwards in sense to your description
[19:05] <persia> Then what if I wanted to register the team "me" ?
[19:06] <cr3> then you'd have /person/me which would not conflict with /people/me
[19:06] <cr3> now, if you wanted to distinguish teams from people, as is not the case in launchpad, then you'd have /team/me
[19:06] <persia> Aha!
[19:07] <persia> So /person/ would always be a username, /team/ might be a group, if they were differentiated, and /people/ would be a call into some API.
[19:07] <cr3> the only disadvantage is that being explicit in naming things this way usually results in longer urls, ie /person/persia is longer than /~persia
[19:07] <persia> So /people/search and /people/me/... etc.
[19:07] <cr3> exactly
[19:07] <persia> But it's already /people/persia/...
[19:07] <persia> The ~persia is just a shortcut, which could as easily apply to our system.
[19:10] <cr3> as long as you only have interpolated variable names under /people, then this is indeed akin to my proposed system. the confusion arises when you have both interpolated variables and hard coded names under a same path which results in needing a special character like '+' to demultiplex the two. if the user is expected to hand craft urls, this can be confusing
[19:10] <cr3> I tend to be very picky about naming, in my code and especially in the public facing parts of my code
[19:11] <persia> Yeah.  So go reachitect LP :)
[19:11] <cr3> one problem I've encountered are in names which are the same both in singular and plural forms, like hardware
[19:14] <persia> Do you generally use plural for operations and singular for objects?
[19:18] <cr3> persia: I typically use singular for things that apply to unique objects, like /person/persia, whereas I use plural to groups of objects, like /people/search.
[19:18] <persia> I still read that as a verb/noun distinction: please pick another example
[20:56] <crisboot1> hello, I'm starting with Mago I've already have experience with UIAutomation in Windows, Ranorex, White and others frameworks
[20:56] <crisboot1> i wanna ask if somebody knows about some book of UIAutomation and GUI testing in Ubuntu
[20:58] <fader_> crisboot1: I'm not sure myself but you might want to ask on the Desktop Testing mailing list
[20:59] <fader_> http://mail.gnome.org/mailman/listinfo/desktop-testing-list
[20:59] <fader_> I know that many of the mago developers are on that list and can probably give you some good advice :)
[21:00] <crisboot1> thanks fader_ :) you are rigth
[21:00] <fader_> crisboot1: Glad to help... good luck! :)


[14:47] <James0r2> anyone know how to disable desktop switching from the touchpad?
[14:48] <James0r2> when i swipe onto the touchpad from the right side it switches. kinda annoying
[21:00] <forgotmynick> well this is nice
[22:02] <wxl> ya'll had any experience with a "via Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01)" ? a friend just made the switch to lubuntu and is getting ye olde choppy videos
[22:02] <holstein> wxl: my experience is, that the latest drivers seem to work better
[22:02] <holstein> wxl: i dont watch videos on the hardware
[22:03] <wxl> heh, as a general rule, huh. :)
[22:03] <wxl> he's running 13.04
[22:03] <wxl> a cursory google search suggests it may not be well supported
[22:03] <zleap> Doing our bit for lubuntu http://exeter.lug.org.uk/ £50 pc
[22:03] <zleap> :)
[22:04] <holstein> wxl: i had the best experience with vesa driver other than with an older kernel with the chrome driver from the site
[22:05] <wxl> hm ok
[22:05] <wxl> same exact card, holstein ?
[22:06] <holstein> wxl: im not near the hardware.. but the entire line is problematic
[22:07] <wxl> i wonder if it's 3d acceleration that's causing the choppiness
[22:08] <holstein> wxl: there is none, so that is likely