/srv/irclogs.ubuntu.com/2016/04/01/#ubuntu-server.txt

coreycbjamespage, beisner: when one of you get a chance, can you promote sahara to trusty-mitaka proposed?00:51
=== King is now known as fromthefuture
=== fromthefuture is now known as King
hallynarges: hey, do you have a qemu-bisecting script out there?02:21
helpwthim going insane. i have moved all my folders over to my ssd. i have done a grub install and i have done a grub update and i have changed the UUID of fstab and it still says "loading OS error no such device" uuid of old HDD entering rescue mode. can someone please help02:22
TJ-helpwth: in the GRUB rescue> shell now?02:31
helpwthyeah02:32
TJ-helpwth: try "ls" and see what device nodes you see02:35
TJ-helpwth: if you're good at guessing, then try to find GRUB's files by checking each of the "(hdX,msdosY)" nodes with "ls (hdX,msdosY)/" and looking for boot files02:36
TJ-helpwth: if there's a separate /boot/ file-system, you'll see vmlinuz-<version> and initrd.img-<version> there; if /boot/ is in the root file-system you'll see all the standard / directories such as /bin /usr /var /etc /dev ...02:37
TJ-helpwth: also, check what GRUB's idea of where it's root file-system is with "set" and check 'root=' and 'prefix='02:38
beisnero/ coreycb  yep will do02:39
argeshallyn: https://github.com/arges/qemu-bisector havne't used it in a while02:42
sarnoldhow have I never seen nproc before??02:44
sarnoldthat's awesome02:44
TJ-sarnold: I find that browsing things like "dpkg -L coreutils | grep bin/" and then exploring man-pages can be very enlightening :)02:45
cagmz I set a PS1 variable in my .bashrc, and it shows up when I SSH, but if I record the terminal using script(), it looks like I have two prompts; my original and my custom PS1. how do I fix this? I'm using my linux box through SSH02:45
sarnoldTJ-: trouble is, I did most of my manpage exploring in the 90s :)02:46
TJ-sarnold: time to retro it :)02:47
sarnoldTJ-: souds like fun02:47
sarnoldcagmz: look slike that happens default out of the box too; itlooks fine with 'cat typescript' though02:48
helpwthtj dtill here?03:01
hallynarges: awesome, thx03:05
TJ-helpwth: popping in and out03:22
helpwthi got frustrated and downloaded live cd on a usb. updated grub and installed grub. in the boot/grub.cfg it shows the right UUID... but when i restart and press C at the grub menu it STILL shows the old HD UUID03:22
TJ-helpwth: you've got other devices connected and the system has the boot loader on one of them, not the one you think and is booting from that other device03:23
helpwthive since ran sudo grub-install /dev/sda and it made the boot/grub03:23
helpwthbut when i restart the boot/grub is gone03:24
helpwthlike i twas nevver made03:24
hallynarges:03:27
hallyn"# - ensure autologin to root from ttyS003:27
hallynhow exactly do you do that?03:27
sarnoldpitti may have something stealable in the autopkgtest prepare-vm things03:28
hallynin the old day syou'd put bash in /etc/inittap or something :)03:28
hallynhm, yeah03:28
hallynthough actually i may not need that - i don't need to login to do stuff ,just need to check that it booted03:29
hallynso i can just have expect wait for a login prompt with timeout03:29
hallyni think03:29
hallynyeah 'close' seems to then kill the task so all's good03:32
lordievaderGood morning05:43
loli1hello08:10
loli1I have a problem wig logrotate and anacrontab08:10
loli1myabe you can help me08:10
loli1I have a set of logs that I want to rotate every day at 23:59. So, I created the rules in /etc/logroata.d/myLogs, and added in CRON, that a 23:59, execute lorotate of that path. THE PROBLEM: is that ANACRONTAB executes all /etc/logrotate.d/ at 00:00. So what happens is: at 23:59 "myLogs" are rotated by CRON, and then at 00:00 are rotated again!!!! How do I solve this?? I onyl want to rotate those logs, and only those, at 23:5908:13
yossarianuk Is anyone aware of any good bare metal backup solution that works with windows, mac and linux ?08:26
lordievaderIf you have ssh/rsync access to windows/mac, dirvish.08:37
yossarianuklordievader: not a bad idea - does rsync on windows still require cygwin ?08:38
lordievaderNo idea...08:45
=== _fibes is now known as fibes
=== spammy is now known as Guest42671
jellyrsync-based scripts like dirvish or rsnapshot are not enough for bare-metal-restore capability even on linux, let alone windows08:59
yossarianukbacula has been suggested and that seems to fit the bill.09:00
Slingbacula can be old and cumbersome but it does the job :)09:21
argeshallyn: no idea, that script is really old, I bet it could be improved alot11:34
pmatulismorning11:55
Ameuruxhello12:05
fricklerjamespage: ceph 10.1.0 is doing fine so far, one minor issue would be getting rid of the warnings during installation: http://paste.ubuntu.com/15576472/13:26
jamespagefrickler, hmm - that looks like some sort of debhelper bug13:27
jamespageplease can you file a but13:27
jamespagebug rather13:27
fricklerjamespage: will do13:29
fricklerjamespage: http://paste.ubuntu.com/15576693/ looks more serious, look at the "Tasks:" output. seems like systemd counts each thread as a task, so the default limit of 512 will be pretty low for OSDs in a larger cluster13:30
fricklerjamespage: I'll do a bug report for that, too13:30
jamespagefrickler, +113:31
jamespageI'd like to include as much as possible in my next upload13:31
jamespagefrickler, thanks for the testing btw - nice to have more eyes on ceph :-)13:31
fricklerjamespage: yeah, we did run with the builds from ceph for trusty, but they don't have builds for Xenial yet and having a current ceph version directly from Ubuntu sounds like a better alternative anyway13:33
jamespagefrickler, tbh we track upstream releases pretty closely13:33
fricklerjamespage: in trusty there only is firefly and no hammer13:34
jamespagefrickler, you can get hammer from the UCA13:34
jamespagefrickler, add-apt-repository cloud-archive:kilo13:35
jamespagefor example13:35
jamespagefrickler, add-apt-repository cloud-archive:mitaka13:35
jamespagemitaka will have jewel in the end13:35
fricklerjamespage: hmm, right, but we are targetting mitaka on xenial now anyway, nicer kernels and stuff ;)13:38
jamespagefrickler, of course13:38
jamespagefrickler, are you covering ceph and openstack?13:38
jamespagecovering/using?13:38
fricklerjamespage: yes13:39
jamespagefrickler, well if you hit any problems with packaging ping either coreycb, myself or ddellav13:39
fricklerjamespage: well, https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1563330 would be nice, and https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1564812 too ;)13:41
ubottuLaunchpad bug 1563330 in ceph (Ubuntu) "Please do not enable the service ceph-create-keys by default" [Undecided,New]13:41
ubottuLaunchpad bug 1564812 in nova (Ubuntu) "Disable sudo io logging for rootwrap" [Undecided,New]13:41
jamespagefrickler, ack13:42
fricklerjamespage: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1564922 and https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1564917 are the new bugs13:55
ubottuLaunchpad bug 1564922 in ceph (Ubuntu) "Warning messages during package installation" [Undecided,New]13:55
ubottuLaunchpad bug 1564917 in ceph (Ubuntu) "Default task limit from systemd is too low for ceph" [Undecided,New]13:55
jamespageddellav, ok barbican uploaded...14:06
ddellavjamespage ok14:10
jamespagebeisner,15:40
jamespage[   37.408818] cloud-init[2193]: Can not apply stage config, no datasource found! Likely bad things to come!15:40
beisnerwee15:41
beisnerjamespage, https://github.com/ryan-beisner/charm-nova-compute  for cpu passthrough and smt bits that worked @ 15.1015:42
jamespage[FAILED] Failed to start Raise network interfaces.15:42
beisnerjamespage, i need to revalidate when i can test on ppc64el, then planning to put that review up15:43
tdelamhey guys, I just installed Ubuntu 14.04-4 LTS and everything is fine, except when I log in to install anything via apt-get nothing exists? I tried apt-cache search mysql for example and the only that comes back is "rsyslog - reliable system and kernel logging daemon" .. i've never seen this before. Any idea why this would be? sources.list seems fine15:45
FuriousGeorge_hey all15:57
FuriousGeorge_what would you use to backup a remote server with a 1tb disk that is 95% free15:57
FuriousGeorge_there was something i used to use but i can't think of it15:57
FuriousGeorge_more like 99% free15:57
patdk-wktar15:58
patdk-wkrsync15:58
patdk-wkduplicity15:58
patdk-wk....15:58
patdk-wkwhat exactly is it your attempting to do15:58
FuriousGeorge_patdk-wk: ideally id like to copy what i back up right over my drive like dd, but im thinking that's not possible16:02
FuriousGeorge_i used to use a program, but tbh i can't recall if it was only for ntfs, that would make an image16:02
FuriousGeorge_partimage16:02
patdk-wksure, but if you do that, it will backup all that extra stuff16:02
FuriousGeorge_bcouldn't remember name at first.  but idk if that will work16:02
patdk-wkso you really need to save the disk? not just the files?16:03
patdk-wkif you really need a dd like image, I would zerowipe your freespace first16:03
FuriousGeorge_patdk-wk: not really, but i'd like to have something akin to the snapshot i take with my vps if possible16:03
FuriousGeorge_if it's too hard, then tar w/e16:03
patdk-wkwell, not all vps's expose a block device you are allowed to touch16:04
DirtyCajunFuriousGeorge_: i just rsync a backup file and exclude boottime folders. does the exact same thing. only change would be UUIDs if yu had to repartition16:04
FuriousGeorge_DirtyCajun: patdk-wk:  ty16:12
cyphermoxjgrimm: what is the difference in the way one starts MAAS from the CD for a region controller vs. a rack controller, do you know, or can you point me to someone who would?16:28
jgrimmcyphermox, roaksoax... rharper and he are looking at getting the bits for that ready.16:30
=== JanC_ is now known as JanC
randymarsh9so is the bash-windows story true or is this an april fools19:16
patdk-wkrandymarsh9, heh? that was days ago19:45
arunsHi.22:32
arunsSilly question, but how do I open a file from terminal?22:33
arunsI have tried xdg-open, but that does not always seem to work.22:33
hilxnano filename22:36
hilxor sudo nano filename22:36
Slingaruns: what do you mean with 'open' ? view its contents? run it? edit it?22:37
arunsSling: Yes, I want to edit it in a text editor.22:38
arunsMy default text editor is Gedit.22:38
Ben64how did you install ampps22:39
arunsCommand line.22:39
arunsApache is fine.22:39
Ben64can you be more specific22:39
arunscd /download/location chmod 0755 Ampps-<version>-<arch>.run ./Ampps-<version>-<arch>.run22:40
Ben64yeah, that's not supported at all22:40
arunsWhere <version> is the current version of Ampps that I have installed.22:40
arunsNo, Ampps is running.22:40
arunsI just need to edit the MySQL config file.22:41
Ben64great, but this channel doesn't support 3rd party stuff, and the ampps website says it's only supported on centos22:41
arunsNo, I just want to know how to open a text file via terminal.22:41
arunsOnto a text editor.22:41
Ben64vim /path/to/file22:41
arunsOh, OK.22:41
Ben64or nano, or whatever editor you like22:42
arunsI can't use Gedit?22:42
Ben64gedit /path/to/file22:42
arunsAh, OK.22:42
arunsThanks.22:42
Ben64so yeah, you should not be doing any of this. by circumventing the normal package process you're going to be missing out on security updates for mysql and apache, not great ideas22:43
arunsI just wanted to try Ampps out as a LAMP stack configuration server.22:44
aruns*LAMP stack server configuration22:44
Ben64that doesn't make sense22:44
arunsEh, my machine is 11 years old anyway.22:46
arunsI don't have any sensitive data on here.22:46
Ben64so who cares about security?22:46
arunsWell, it's not my main machine.22:47
Ben64it's on a network with your main machine, right22:47
arunsYes.22:47
Ben64and it's on internet you pay for, and are subject to the ToS22:47
Ben64so anything illegal that happens on your hacked server comes back to you22:47
arunsActually, I was probably better off installing Apache, MySQL and PHP from command line.22:50
arunsBut I know for next time.22:50

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