[09:47] <lordievader> Good morning.
[10:57] <Blinkiz> Hello. in file /etc/rsyslog.conf we have $ActionFileDefaultTemplate variable that should be commented out if wanting high precision timestamps. I do not want to touch /etc/rsyslog.conf file but instead add my own file /etc/rsyslog.d/timestamp.conf with "$ActionFileDefaultTemplate RSYSLOG_FileFormat". Problem is that this does not work, why?
[11:43] <hariom> Hi, I have enabled password for default aws user by modifing /etc/sudoers.d/90-cloudimg-ubuntu file. Problem is that I missed setting the password and edit this file. Now if I use sudo, it is asking me password. How to fix this?
[11:43] <hariom> How can I set password for ubuntu user?
[11:45] <Blinkiz> hariom, you use the nopasswd parameter.. like "username ALL=NOPASSWD: ALL"
[11:45] <hariom> Blinkiz: But now I am not able to modify that file
[11:46] <Blinkiz> hariom, which file? 90-cloudimg-ubuntu?
[11:46] <hariom> Blinkiz: It asks me password if I use sudo
[11:46] <hariom> yea
[11:46] <Blinkiz> hariom, alright.. Am guessing you do not have a root password.. yeah
[11:47] <hariom> Blinkiz: yea, I never set root password
[11:47] <Blinkiz> hariom, and you do not have another username that can do sudo?
[11:47] <hariom> Blinkiz: yea
[11:48] <hariom> Don't have another user to do sudo. Its default aws setup
[11:48] <Blinkiz> hariom, Hmm.. am guessing you need to boot in failsave mode and reset password then
[11:49] <hariom> Blinkiz: Is that possible on aws? How would I get access to fail safe remotely?
[11:49] <Blinkiz> hariom, something like this https://www.youtube.com/watch?v=33zxgEl6eTo
[11:50] <Blinkiz> hariom, do a search in google for "ubuntu reset password" and you get lots of results
[11:50] <hariom> Blinkiz: I am on Amazon cloud.
[11:50] <Blinkiz> hariom, You do not need to reset the password really. When you get to the point in the guides for reset root password, you just edit your file instead.
[11:51] <Blinkiz> hariom, I do not see any problem that you are on Amazon, you still have console access, right?
[11:51] <hariom> Blinkiz: How do I have ssh access when system is booting? How can I see the grub menu?
[11:53] <Blinkiz> hariom, I have not used amazon so I do not know... but am guessing you have a control panel that has html5 or java app so you can get console access. No ssh here
[11:53] <hariom> Blinkiz: aws is amazon's cloud where you have remote server and access to it via SSH. Nothing more
[11:53] <hariom>  No physical access to terminal
[11:54] <Blinkiz> hariom, okay.
[11:54] <Blinkiz> hariom, I can not see another solution. If you have only one username that you now have locked out from sudo:ing, terminal is the only way
[13:54] <hallyn_> stgraber: so bug 1432683, lxc uses /lib/init/apparmor-profile-load at startup to load policies.  /lib/init/apparmor-profile-load comes from upstart-bin.  presumably in case apparmor is not installed and upstart needs it.
[13:55] <hallyn_> should systemd depend on upstart-bin, should lxc switch to another tool, or should /lib/init/apparmor-profile-load be moved to antoher package?
[13:55] <hallyn_> jodh would probably have an opinion too ^
[14:01] <jodh> hallyn_: I'd vote for moving /lib/init/apparmor-profile-load to another pkg (maybe init-system-helpers?)
[14:21] <hallyn_> jodh: is that something you could do, being one of our init heroes? :)
[14:22] <jodh> hallyn_: I don't have privs on that pkg I'm afraid.
[14:22] <hallyn_> drat, i meant to bring this up on #ubuntu-devel, not here :)
[15:15] <Pwnna> for upstart, there is start on started, is there also start on pre-start?
[15:15] <Pwnna> or something like that?
[15:16] <Pwnna> i have a job that only has a prestart script
[15:16] <PaulePanter> Hi. What is the way to get https://github.com/Canonical-kernel/Ubuntu-kernel/blob/master/drivers/edac/ie31200_edac.c into Ubuntu 14.04 LTS and 12.04 LTS?
[15:16] <Pwnna> i want something like: start on (starting service-a and started service-b), where service-b is: start on starting service-a
[15:17] <Pwnna> but for some reason, the service that depends on both a and b is starting after service-a is started
[16:07] <squisher> rbasak, hey can you check that https://github.com/squisher/bcache-tools.debian looks fine and then pass it off to jamespage to do the bare clone?
[16:08] <rbasak> squisher: OK, looking.
[16:11] <rbasak> squisher: you seem to have lost debian/.gitignore, but I'm not bothered about that (in fact I prefer to not have .gitignores, as I use sbuild and want dirty trees flagged)
[16:17] <Odd_Bloke> rbasak: Is there an easy way to use uvtool's userdata/metadata stuff with an arbitrary image file on disk?
[16:17] <rbasak> Odd_Bloke: --backing-image-file. Needs qcow I think.
[16:17] <rbasak> Odd_Bloke: bug 1317266
[16:17] <rbasak> (sorry!)
[16:18] <rbasak> https://bugs.launchpad.net/ubuntu/+source/uvtool/+bug/1317266
[16:18] <rbasak> "The --backing-image-file option is not documented"
[16:18] <Odd_Bloke> :D
[16:18] <Odd_Bloke> I did see it in the code, but wasn't sure if it was what I wanted. :)
[16:21] <rbasak> It does exactly what it normally does except that it sources the backing file from you instead of its pool (synced through simplestreams when you run uvt-simplestreams-libvirt)
[16:29] <rbasak> squisher: looks good enough to me. pristine-tar matches, and the debian/ tree is close enough.
[16:29] <rbasak> jamespage: please could you go ahead and replace collab-maint bcache-tools with https://github.com/squisher/bcache-tools.debian?
[16:29] <zotta> thunar, the xfce file manager displays free disk space in the current folder.
[16:29] <zotta> But how to do that from command line: I want to know how much data I am allowed to write to a directory.
[16:30] <Odd_Bloke> zotta: `df`
[16:33] <genii> df -h for human readable results
[16:33] <zotta> the results don't make any sense
[16:34] <zotta> I stored more than 50GB of data on a file server
[16:34] <zotta> and it's showing me 5G are used
[16:34] <zotta> wtf
[16:34] <elliotd123> is there a way to get iftop to do a batch output to stdout instead of its ncurses display or whatever?
[16:34] <elliotd123> Or is there another utility that can do basically that
[16:34] <jamespage> rbasak, squisher: cloned lemme know if that looks ok
[16:37] <zotta> df -h gives used 4.9G du -h gives 45G for one dir alone. WTF
[16:38] <rbasak> jamespage, squisher: looks right to me. Thanks!
[16:42] <Odd_Bloke> zotta: Could you pastebin the output of the two commands?
[16:45] <zotta> Odd_Bloke: I'd rather not post the directory names here.
[16:47] <zotta> Odd_Bloke: but df gave '20G  4.9G   15G  25%' and `du -h english |tail` gave '45G     english'
[16:47] <zotta> Odd_Bloke: the directory is on a file server
[16:51] <Odd_Bloke> zotta: How is the directory mounted?
[16:52] <Odd_Bloke> zotta: (Difficult to help much without context)
[16:53] <zotta> Odd_Bloke: I don't know exactly, but they are using kerberos and filesrv2:/somedir          20G  4.9G   15G  25% /somedir
[16:53] <zotta> was the output of df
[16:54] <Odd_Bloke> zotta: And du -h /somedir gave 45G?
[16:54] <zotta> Odd_Bloke: more like /somedir/projects/myprojects/english , but jeah
[16:55] <Odd_Bloke> zotta: What does mount look like?
[17:01] <zotta> Odd_Bloke: well the df output is clearly wrong, so I will just copy the rest of the data there and see what happens. Thx for help anyway.
[17:02] <patdk-wk> zotta, did you expect?
[17:02] <patdk-wk> why do you believe df and du should report the same values?
[17:03] <zotta> patdk-wk: I did expect that du gives any value less than the free disk space listed in df.
[17:03] <zotta> * overall disk space i mean , not free disk space
[17:04] <zotta> otherwise it's a tardis.
[17:10] <PaulePanter> Hi. What is the way to get https://github.com/Canonical-kernel/Ubuntu-kernel/blob/master/drivers/edac/ie31200_edac.c into Ubuntu 14.04 LTS and 12.04 LTS?
[17:15] <squisher> rbasak, jamespage, thanks guys, I'll commit some updates soon :)
[18:20] <hanlon2> Hi.  I installed Utopic in a VPS.  Changed to Vivid sources and dist-upgraded.  After reboot, the system's up and accessible.  IIUC, systemd is default in vivid.  But, any exec of `systemctl ...` FAILs, returning an error "Failed to get D-Bus connection: Operation not permitted".  Need something else to enable the switchover?
[18:23] <sarnold> hanlon2: make sur eyou're actually using systemd as your init..
[18:23] <hanlon2> sarnold: so the dist-upgrade doesn't force that change?
[18:24] <sarnold> hanlon2: it may, it may not, I'm not sure of the details of the transition.
[18:26] <hanlon2> sarnold: ok.  i'm digging online right now to figure out how to check & switch ....
[18:36] <hanlon2> sarnold: /sbin/init still points at upstart.  so the dist-upgrade doesn't switch that, atm.
[18:37] <sarnold> hanlon2: check grub menu?
[19:43] <keithzg> hanlon2: Do you have systemd-sysv installed? I believe that's the package that brings systemd into being your init system.
[19:55] <hanlon2> keithzg: that did the trick.  it also rm'd upstart.  systemctl no longer reports the error.  thx!
[19:57] <keithzg> hanlon2: No problem :)
[21:37] <Valduare> hows it going guys
[21:39] <ObrienDave> peachy
[21:40] <Valduare> I need to talk to someone about server rack rails
[23:12] <admin123> hello
[23:12] <admin123> i need some help
[23:12] <admin123> how to configure a server like a bridge
[23:15] <sarnold> admin123: some of this looks old, but in a quick skim nothing seemed really wrong.. https://help.ubuntu.com/community/NetworkConnectionBridge
[23:16] <admin123> nice, tnx
[23:21] <admin123> another question plz
[23:21] <admin123> when i connect my server to
[23:21] <admin123> router
[23:22] <admin123> i can't connect server to internet
[23:22] <admin123> using dhcp or static ip