/srv/irclogs.ubuntu.com/2015/03/18/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== bilde2910|away is now known as bilde2910
=== markthomas is now known as markthomas|away
=== kickinz1|afk is now known as kickinz1
=== ReScO is now known as Natsu_Dragonslay
=== Natsu_Dragonslay is now known as ReScO
lordievaderGood morning.09:47
=== ashleyd is now known as ashd
=== ashleyd is now known as ashd
BlinkizHello. 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?10:57
=== Lcawte|Away is now known as Lcawte
=== bilde2910|away is now known as bilde2910
hariomHi, 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
hariomHow can I set password for ubuntu user?11:43
Blinkizhariom, you use the nopasswd parameter.. like "username ALL=NOPASSWD: ALL"11:45
hariomBlinkiz: But now I am not able to modify that file11:45
Blinkizhariom, which file? 90-cloudimg-ubuntu?11:46
hariomBlinkiz: It asks me password if I use sudo11:46
hariomyea11:46
Blinkizhariom, alright.. Am guessing you do not have a root password.. yeah11:46
hariomBlinkiz: yea, I never set root password11:47
Blinkizhariom, and you do not have another username that can do sudo?11:47
hariomBlinkiz: yea11:47
hariomDon't have another user to do sudo. Its default aws setup11:48
Blinkizhariom, Hmm.. am guessing you need to boot in failsave mode and reset password then11:48
hariomBlinkiz: Is that possible on aws? How would I get access to fail safe remotely?11:49
Blinkizhariom, something like this https://www.youtube.com/watch?v=33zxgEl6eTo11:49
Blinkizhariom, do a search in google for "ubuntu reset password" and you get lots of results11:50
hariomBlinkiz: I am on Amazon cloud.11:50
Blinkizhariom, 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:50
Blinkizhariom, I do not see any problem that you are on Amazon, you still have console access, right?11:51
hariomBlinkiz: How do I have ssh access when system is booting? How can I see the grub menu?11:51
Blinkizhariom, 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 here11:53
hariomBlinkiz: aws is amazon's cloud where you have remote server and access to it via SSH. Nothing more11:53
hariom No physical access to terminal11:53
Blinkizhariom, okay.11:54
Blinkizhariom, 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 way11:54
=== txspud|ORS is now known as txspud
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
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:54
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 ^13:55
jodhhallyn_: I'd vote for moving /lib/init/apparmor-profile-load to another pkg (maybe init-system-helpers?)14:01
hallyn_jodh: is that something you could do, being one of our init heroes? :)14:21
jodhhallyn_: 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 :)14:22
=== hallyn_ is now known as hallyn
Pwnnafor upstart, there is start on started, is there also start on pre-start?15:15
Pwnnaor something like that?15:15
Pwnnai have a job that only has a prestart script15:16
=== martinst is now known as martins-afk
PaulePanterHi. 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
Pwnnai want something like: start on (starting service-a and started service-b), where service-b is: start on starting service-a15:16
Pwnnabut for some reason, the service that depends on both a and b is starting after service-a is started15:17
=== Lcawte is now known as Lcawte|Away
=== markthomas|away is now known as markthomas
squisherrbasak, 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:07
rbasaksquisher: OK, looking.16:08
rbasaksquisher: 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:11
Odd_Blokerbasak: Is there an easy way to use uvtool's userdata/metadata stuff with an arbitrary image file on disk?16:17
rbasakOdd_Bloke: --backing-image-file. Needs qcow I think.16:17
rbasakOdd_Bloke: bug 131726616:17
rbasak(sorry!)16:17
rbasakhttps://bugs.launchpad.net/ubuntu/+source/uvtool/+bug/131726616:18
rbasak"The --backing-image-file option is not documented"16:18
Odd_Bloke:D16:18
Odd_BlokeI did see it in the code, but wasn't sure if it was what I wanted. :)16:18
rbasakIt 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:21
rbasaksquisher: looks good enough to me. pristine-tar matches, and the debian/ tree is close enough.16:29
rbasakjamespage: please could you go ahead and replace collab-maint bcache-tools with https://github.com/squisher/bcache-tools.debian?16:29
zottathunar, the xfce file manager displays free disk space in the current folder.16:29
zottaBut how to do that from command line: I want to know how much data I am allowed to write to a directory.16:29
Odd_Blokezotta: `df`16:30
geniidf -h for human readable results16:33
zottathe results don't make any sense16:33
zottaI stored more than 50GB of data on a file server16:34
zottaand it's showing me 5G are used16:34
zottawtf16:34
elliotd123is there a way to get iftop to do a batch output to stdout instead of its ncurses display or whatever?16:34
elliotd123Or is there another utility that can do basically that16:34
jamespagerbasak, squisher: cloned lemme know if that looks ok16:34
zottadf -h gives used 4.9G du -h gives 45G for one dir alone. WTF16:37
rbasakjamespage, squisher: looks right to me. Thanks!16:38
Odd_Blokezotta: Could you pastebin the output of the two commands?16:42
zottaOdd_Bloke: I'd rather not post the directory names here.16:45
=== Lcawte|Away is now known as Lcawte
zottaOdd_Bloke: but df gave '20G  4.9G   15G  25%' and `du -h english |tail` gave '45G     english'16:47
zottaOdd_Bloke: the directory is on a file server16:47
=== NomadJim_ is now known as Nomadjim
Odd_Blokezotta: How is the directory mounted?16:51
Odd_Blokezotta: (Difficult to help much without context)16:52
zottaOdd_Bloke: I don't know exactly, but they are using kerberos and filesrv2:/somedir          20G  4.9G   15G  25% /somedir16:53
zottawas the output of df16:53
Odd_Blokezotta: And du -h /somedir gave 45G?16:54
zottaOdd_Bloke: more like /somedir/projects/myprojects/english , but jeah16:54
Odd_Blokezotta: What does mount look like?16:55
=== Lcawte is now known as Lcawte|Away
zottaOdd_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:01
patdk-wkzotta, did you expect?17:02
patdk-wkwhy do you believe df and du should report the same values?17:02
zottapatdk-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 space17:03
zottaotherwise it's a tardis.17:04
PaulePanterHi. 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:10
squisherrbasak, jamespage, thanks guys, I'll commit some updates soon :)17:15
hanlon2Hi.  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:20
=== Lcawte|Away is now known as Lcawte
sarnoldhanlon2: make sur eyou're actually using systemd as your init..18:23
hanlon2sarnold: so the dist-upgrade doesn't force that change?18:23
sarnoldhanlon2: it may, it may not, I'm not sure of the details of the transition.18:24
hanlon2sarnold: ok.  i'm digging online right now to figure out how to check & switch ....18:26
hanlon2sarnold: /sbin/init still points at upstart.  so the dist-upgrade doesn't switch that, atm.18:36
sarnoldhanlon2: check grub menu?18:37
=== arosales_ is now known as arosales
=== kickinz1 is now known as kickinz1|afk
=== Lcawte is now known as Lcawte|Away
=== RudeViper is now known as RudeViper|n\Away
=== RudeViper|n\Away is now known as RudeViper|Away
keithzghanlon2: Do you have systemd-sysv installed? I believe that's the package that brings systemd into being your init system.19:43
hanlon2keithzg: that did the trick.  it also rm'd upstart.  systemctl no longer reports the error.  thx!19:55
keithzghanlon2: No problem :)19:57
=== RudeViper|Away is now known as RudeViper
Valduarehows it going guys21:37
ObrienDavepeachy21:39
ValduareI need to talk to someone about server rack rails21:40
=== bilde2910 is now known as bilde2910|away
=== FreezingAlt is now known as FreezingCold
=== Lcawte|Away is now known as Lcawte
admin123hello23:12
admin123i need some help23:12
admin123how to configure a server like a bridge23:12
sarnoldadmin123: some of this looks old, but in a quick skim nothing seemed really wrong.. https://help.ubuntu.com/community/NetworkConnectionBridge23:15
admin123nice, tnx23:16
admin123another question plz23:21
admin123when i connect my server to23:21
admin123router23:21
admin123i can't connect server to internet23:22
admin123using dhcp or static ip23:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!