2013-04-18 07:23:45 asdf 2013-04-18 07:31:40 ghjkl 2013-04-18 07:33:29 i think i need change password... :) 2013-04-18 07:34:27 ;) 2013-04-18 07:35:10 i was actually testing the irclogging 2013-04-18 07:35:23 i just set it up 2013-04-18 07:35:26 http://dev.alpinelinux.org/irclogs/%23alpine-linux-2013-04.log 2013-04-18 08:11:03 ncopa: what does not sure mean? 2013-04-18 08:12:20 it means: "i dont know" 2013-04-18 11:02:27 re 2013-04-18 11:51:08 it'd be amazing if apk-tools could use a cache of "pre extracted" packages (e.g. /packages/groff/1.21-r0/usr/bin/{pic,chem,tbl,mmroff,roff2dvi,grotty,nroff},… for gruff) 2013-04-18 11:51:21 and then could install by just creating directories and hardlinking... 2013-04-18 11:51:48 that way you could spawn chroots/containers extremely fast, and use something like overlayfs/aufs/etc. to protect the pre-extracted packages 2013-04-18 13:33:08 pcarrier: i have seen scripts that does similar 2013-04-18 13:34:24 ncopa: but you want that to integrate well with dependency resolution & co, make sure you run the triggers in the chroot after hardlinking, so a script would probably have to do some nastyish things, wouldn't? 2013-04-18 13:34:30 *wouldn't it? 2013-04-18 13:35:04 it works differently 2013-04-18 13:35:26 https://github.com/lxc/lxc/blob/staging/templates/lxc-ubuntu.in 2013-04-18 13:35:28 ncopa: that's pretty much what I'd want, though :) 2013-04-18 13:35:44 it will create a base install in a cache dir 2013-04-18 13:35:47 ncopa: they use debootstrap 2013-04-18 13:35:50 and then just copy that 2013-04-18 13:36:02 they debootrsrap to a cache dir 2013-04-18 13:36:05 ncopa: I don't want to cache packages, I want to go as far as sharing the actual files on the filesystems 2013-04-18 13:36:10 *filesystem 2013-04-18 13:36:22 ncopa: it's incredibly, incredibly fast 2013-04-18 13:36:27 i undrestand 2013-04-18 13:36:32 what are those chroots for? 2013-04-18 13:36:39 is it for building? 2013-04-18 13:37:04 vserver has sometehing called vhashify 2013-04-18 13:37:13 but thats more for size than speed 2013-04-18 13:37:17 ncopa: building, running tests, running services, running jobs, etc. 2013-04-18 13:37:43 ncopa: you could have the first package manager with insane container performance :) 2013-04-18 13:37:59 hm 2013-04-18 13:38:42 you can reliably recreate the full system in a matter of a second. even with largish components like perl, a jdk, etc. 2013-04-18 13:38:49 we could use something like /var/cache/apk//$pkgname_ver.$hash/ 2013-04-18 13:39:03 if apk-tools finds that dir 2013-04-18 13:39:13 then just hardlink 2013-04-18 13:39:30 it shoul dnot be too hard to implement 2013-04-18 13:39:43 pre-install-cache 2013-04-18 13:40:09 if /etc/apk/pre-install-cache is a symlink 2013-04-18 13:40:10 and you need to be able to put it outside of the chroot 2013-04-18 13:40:12 (obviously) 2013-04-18 13:40:18 command-line argument or something 2013-04-18 13:40:20 pcarrier: solaris zones are also <1 min deployment time 2013-04-18 13:40:26 darkfader: I'm talking second. 2013-04-18 13:40:34 ok that would be fun :) 2013-04-18 13:40:37 darkfader: I'm talking, create one for every test in your test suite. 2013-04-18 13:40:38 https://gist.github.com/pcarrier/4639579 2013-04-18 13:40:39 pcarrier are talking less than a sec 2013-04-18 13:40:41 :) 2013-04-18 13:40:52 actually interesting idea 2013-04-18 13:40:55 a full-blown archlinux system, with a lot of headers, all kernel modules, etc. 100 000 files. 3 seconds. 2013-04-18 13:41:05 and not too difficult to implement 2013-04-18 13:41:05 with the go implementation in that gist. ruby is barely 70% slower. 2013-04-18 13:41:27 ok i understand "incredibly fast" above now 2013-04-18 13:41:29 ncopa: I know; I've been jokingly calling it "the idea of my lifetime" with my colleages 2013-04-18 13:42:13 the archlinux system had haskell, go, ruby, perl, python, kernel modules, kernel headers; obviously all manages, all headers, all locales, all terminfo, etc. 2013-04-18 13:42:20 it was closer to 130k files. 2013-04-18 13:43:18 ncopa: you might have noticed a few bugs/git commits from me; that's because I'm thinking about taking that direction for all services and jobs in my current position 2013-04-18 13:44:12 ncopa: there are a lot of small changes that can help a lot with that. for example, avoiding update-ca-certificates (which in turn calls c_rehash, a perl script from openssl) in ca-certificates 2013-04-18 13:44:39 and/or changing the curl config with --with-ca-path=[…] --without-ca-bundle 2013-04-18 13:44:50 anyway, if that's direction alpine is willing to explore, I'm all in :) 2013-04-18 13:48:49 im a bit busy with the 2.6 release now 2013-04-18 13:48:54 but i like th eidea 2013-04-18 13:48:58 and i think its doable 2013-04-18 13:49:16 if $cachedir does not exist, install package as normal 2013-04-18 13:49:28 the index has a hash for every package 2013-04-18 13:49:39 so we can do 2013-04-18 13:50:03 if container_cache_enabled and $cachedir/$hash exists 2013-04-18 13:50:55 then instead of opening the pkgfile (localfile or via wget pipe), run the dir and creat hardlinks 2013-04-18 13:51:03 or copy if different filesystems 2013-04-18 13:52:15 ncopa: not as normal though. in the cached, then hardlink 2013-04-18 13:53:24 ncopa: that way you can always completely share between all containers. and garbage collecting is really easy centrally (remove packages with a hardlink count of 1) 2013-04-18 13:53:54 yes 2013-04-18 13:54:10 this would be useful for: 2013-04-18 13:54:16 chroots, lxc vserver 2013-04-18 13:54:40 chroots might be wanted for abuild 2013-04-18 13:54:54 set up a temp chroot for each built package 2013-04-18 13:55:06 the install gcc abuild build base in there 2013-04-18 13:56:13 ncopa: yup. think it over, I think it only gets better the longer you consider it, and please keep in touch :) 2013-04-18 13:56:37 ncopa: you'd want overlayfs support in your kernel and userland (or something similar) to protect the package contents 2013-04-18 13:56:57 ncopa: you can even use it to track which files are changed when building a package :) 2013-04-18 13:57:16 might be wanted with COW yes 2013-04-18 13:57:31 kaniini played with cowdancer 2013-04-18 13:57:43 ncopa: overlayfs & chroot/cgroups and you're good to go 2013-04-18 13:57:59 wasnt overlayfs or aufs going into mainline kernel? 2013-04-18 13:58:04 i think i saw the headlines 2013-04-18 13:58:06 overlayfs, yes 2013-04-18 13:58:10 good 2013-04-18 13:58:17 useful thing 2013-04-18 13:58:19 https://lwn.net/Articles/542707/ 2013-04-18 13:58:53 there are solutions with hardlinks for copying a cached systemroot 2013-04-18 13:59:07 but it would be nice to have it implemented in package manager 2013-04-18 13:59:14 because then you can cache per package 2013-04-18 13:59:15 ncopa: yeah, but I want to declare my world and have it created on-demand really fast 2013-04-18 13:59:42 ncopa: regardless of other worlds in other hierarchies 2013-04-18 14:00:03 so you want a per package cache 2013-04-18 14:00:09 and not a per systemroot 2013-04-18 14:00:24 that said 2013-04-18 14:00:29 ncopa: well, I want a cache where you can find any package if you have it installed somewhere 2013-04-18 14:00:29 apk-tools is pretty fast... 2013-04-18 14:00:34 or where you put it if you don't 2013-04-18 14:00:55 ncopa: some packages are big, really big. think JDK, a ruby app depending on over a hundred gems, etc. 2013-04-18 14:00:55 hm 2013-04-18 14:01:23 ncopa: that's the ecosystem I'd want to run through this at airbnb 2013-04-18 14:02:22 you could examine the installed 2013-04-18 14:02:30 ncopa: imagine running a hundred containers to test some networked service, without taking any disk space besides a few thousands of directories 2013-04-18 14:02:50 for saving diskspace... 2013-04-18 14:02:58 vservers and vhashify... 2013-04-18 14:02:59 ncopa: disk space, install time, tear down time 2013-04-18 14:03:17 ncopa: it all comes together; it's not about this one feature or this particular use case 2013-04-18 14:03:28 right 2013-04-18 14:04:32 ncopa: something generic, simple, reliable, reproductible, fast and cheap :) 2013-04-18 14:04:52 2013-04-18 14:04:59 lol 2013-04-18 14:05:19 architect value-added networks 2013-04-18 14:05:25 strategize compelling experiences 2013-04-18 14:05:30 deliver sexy models 2013-04-18 14:05:34 http://www.dack.com/web/bullshit.html 2013-04-18 14:05:38 ncopa: my future job title is Elastic Hyperscale Solutioneer 2013-04-18 14:05:46 lol 2013-04-18 14:06:06 i think i want become that too when i get old! 2013-04-18 14:06:25 ncopa: by then Elastic and Hyperscale will be deprecated, though 2013-04-18 14:06:37 we'll be at Liquid Fantastiscale 2013-04-18 14:07:44 quick and dirty script 2013-04-18 14:08:02 could parse all $containerdir/*/lib/apk/db/installed 2013-04-18 14:08:13 the hash of all files are stored there 2013-04-18 14:08:41 if you find multiple files in different dirs with same hash, then remove one and hardlink 2013-04-18 14:08:57 and you have saved the space 2013-04-18 14:09:05 yeah, if that's what you care about 2013-04-18 14:09:18 if you want less than a sec install times 2013-04-18 14:09:26 then it need to be implemented in apk-tools 2013-04-18 14:09:26 what I really, really care about is spawning tens of containers every minute, for every job I run, for every service upgrade I do, etc. 2013-04-18 14:09:44 without going mental. 2013-04-18 14:10:06 ncopa: does the apk tooling support multiple versions for the same package in a single repo? 2013-04-18 14:10:11 apk/abuild/etc. 2013-04-18 14:10:42 it will generate the index yes 2013-04-18 14:11:03 foo-1.0.apk foo-1.1.apk 2013-04-18 14:11:07 in same repo dir 2013-04-18 14:11:12 and create an apkindex 2013-04-18 14:11:13 works 2013-04-18 14:11:18 it will pick the latest 2013-04-18 14:11:29 unless you do: apk add 'foo<1.1' 2013-04-18 14:49:26 ncopa, yeah, exactly what I thought based on the multi-repo support 2013-04-18 14:49:34 ncopa: I was just wondering about the indexer. cool, thanks 2013-04-18 15:38:02 14:06:36 <@ncopa> architect value-added networks 2013-04-18 15:38:03 14:06:41 <@ncopa> strategize compelling experiences 2013-04-18 15:38:03 14:06:47 <@ncopa> deliver sexy models 2013-04-18 15:38:13 these all sound like great goals for alpine 2.7, especially the last one 2013-04-18 15:38:19 what 2013-04-18 15:39:44 http://www.dack.com/web/bullshit.html 2013-04-18 15:40:30 deliver visionary users 2013-04-18 15:41:04 Need users for your application/service? Buy users from us! We sell users at discount rates! 2013-04-18 15:42:41 guys. 2013-04-18 15:42:43 GUYS. 2013-04-18 15:42:50 pcarrier, ncopa: you could call this CloudFS 2013-04-18 15:42:59 there, we have achieved total bullshit on buzzwords 2013-04-18 15:43:00 :D 2013-04-18 15:53:42 CloudFS is taken 2013-04-18 15:54:29 redhat attached that to their attempt to make GlusterFS either stable software or to make people buy it even though it's unstable by tagging "Cloud" to it 2013-04-18 17:58:27 pcarrier_, I am a little confused the new container would be a superset of the underling parent, right? 2013-04-18 17:59:43 I am also a little new to compiling/chrooting 2013-04-18 22:28:26 anyone can help me to boot the alpine iso inside vbox? 2013-04-18 22:35:00 some "no core perfctrs" error 2013-04-18 22:45:58 hi 2013-04-18 22:46:10 i have some issues 2013-04-18 22:46:45 network does not configured properly on boot 2013-04-18 22:47:37 but after manual /etc/init.d/networking restart - it work 2013-04-18 22:48:06 where i can see log of boot? 2013-04-18 23:08:55 I am having the toughest time following http://wiki.alpinelinux.org/wiki/XFCE_Setup in my attempt to set up a desktop environment... It is all really straightforward, but I can't get past X. I am getting no display's found... I am using V2.5 with Xen... any thoughts? 2013-04-19 06:31:48 Dave1029: try install all xf86-video-* drivers 2013-04-19 06:32:50 apk search -q xf86-video-* | grep -v -- '-doc$' | xargs apk add 2013-04-19 10:07:29 TY, ncopa... I'll try that. 2013-04-19 15:16:20 ncopa, are you around? 2013-04-19 15:16:26 please scroll up for my issue 2013-04-19 15:16:39 and if you can explain me what is going on 2013-04-19 18:47:01 ncopa... it appeared that your advice regarding installing all of the xf86-video drivers solved a considerable portion of the problem with trying to install a desktop env. I still get an error in var/log/Xorg.0.log. The first one is "Failed to load module "modesetting" (module does not exist, 0)" 2013-04-19 18:47:48 The second one is "open /dev/fb0: No such file..." 2013-04-19 18:48:55 Sorry for what I am sure is a silly question. I was able to use Alpen-Xen to pass through the PCI slot directly to my USB devices, and an AMD video card. 2013-04-19 18:50:58 I just want to be able to use SDL to use a two headed video card for 2 DomU's. When I use Xen PCI-passthrough I can only pass through one GPU per DomU. I have a 4 head video card that I want to be able to use with SDL to pin one VM to each head... I need xorg running properly in order to do that. 2013-04-19 21:16:38 So... Alpine, Xen, and sdl is what I am looking to do. I have the Xen part working, just can't enable sdl if I can't configure X 2013-04-20 20:39:18 ncopa... just a video card/driver problem. X configured like a charm when I used the onboard (Intel video driver). I'll figure out xorg for the 4 and 2 head video cards and report my findings. 2013-04-20 20:46:17 Dave1029: did you get SDL working? 2013-04-20 20:47:57 Thanks, buddy... I am working on that right now. I needed to get X working first... 2013-04-20 20:56:54 hehe 2013-04-20 20:57:19 wishing you the best luck so that it'll magically all work 2013-04-20 21:05:27 Yeah, that is always the problem... Magically working, hehe. Never seems to happen... Are you interested in Xen? 2013-04-20 21:18:49 how to mount /dev/grsec? 2013-04-20 21:19:11 grlearn hangs 2013-04-20 21:19:41 gradm -S report issues w/ /dev/grsec 2013-04-20 22:31:23 Wouldn't you know it, SDL didn't just "work". Anyone try sdl? 2013-04-20 22:43:14 Dave1029 i wonder why you need X11 and other grafical stuff in server/router linux distr 2013-04-21 01:37:10 Good question bga. I am using AlpineLinux for desktop virtualization using the Xen flavor of Alpine. 2013-04-21 01:39:09 I don't need X11 when I directly pass through PCI. When I directly passthrough PCI, the VM (DomU) "sees" the real video and USB hardware and I can launch a "session" directly on the PC's video card/monitor. 2013-04-21 01:41:39 But I can only pass one GPU per VM. That is cool if I want high performance 3D on each VM. That allows for that if you use passthrough. But it does require one video card per VM. I have an inexpensive, but nice enough (for me) quality 4 headed video card that I would like to use for 4 desktop VM's. I need to use sdl for them if I want native, sans 3D performance 2013-04-21 01:43:25 I can use Fedora 18 (love systemd/loginctl to manage USB and PCI) and put one VM on each of the 4 heads. I can do the same with Ubuntu, Debian, etc., but Alpine performs better and starts up SOOO much faster! 2013-04-21 01:44:16 Sorry for the long answer of why I am wanting to use X11 on a server/router distro. 2013-04-21 15:37:08 Dave1029: have you tried arch linux? 2013-04-21 16:08:35 I haven't... do you like arch hl? 2013-04-21 16:09:07 you can configure it to have what you like and not have what you don't like, it uses systemd, it can be quite lightweight but is much more oriented towards desktop use 2013-04-21 17:06:05 win 16 2013-04-21 18:18:00 Thanks for that info... The thing that Xen PCI passthrough allows is for you to have a Windows operating system running in a VM and the display can be "exported" to the real video card. If you have two video cards or a dual GPU video card like AMD X2 series, then you can have two VM's running on two monitors. If you do that, then you don't need to have any desktop, or X, and Alpine-Xen is a perfect combo! 2013-04-21 18:18:19 That is working fine for me... 2013-04-21 18:18:25 Dave1029: maybe you should describe more the X/SDL issues ;) 2013-04-21 18:18:53 because everyone asks you what you wanna build at some point and so you spend more time explaining that than the issue ;) 2013-04-21 18:20:08 So, if I had a 4 GPU video card or enough slots for 4 video cards, I wouldn't need to use SDL with Xen, I could just passthrough the PCI slots needed. 2013-04-21 18:20:47 I help schools with putting more desktops in the students hands without having to buy more PC's. 2013-04-21 18:21:05 They don't always need 3D, which is what XEN PCI passthrough allows. 2013-04-21 18:22:04 They need desktops, not 3D, so video card density is more important than "one GPU per VM" 2013-04-21 18:22:10 yep 2013-04-21 18:22:30 how do you delegate them? via pci id? 2013-04-21 18:22:33 I have a 4 head video card that I can use, but not with PCI passthrough 2013-04-21 18:22:40 ah, ok 2013-04-21 18:23:57 When I install using Fedora 18, or Ubuntu, or Linux Mint, and I launch my 4 VM's in Xen on those "desktop" oriented systems, with the proper xen.cfg file (sdl=1 and stdvga=1), sdl "just works" 2013-04-21 18:24:08 ok 2013-04-21 18:24:32 you know they need to compile xen with SDL support? 2013-04-21 18:24:44 and i'll throw a generic "suid stuff" in, too 2013-04-21 18:24:50 But I have come to love the small size and speed of Alpine, but sdl doesn't "just work"... 2013-04-21 18:25:03 aaah, is that why vnc works, but sdl throughs an error 2013-04-21 18:25:04 ? 2013-04-21 18:25:07 maybe 2013-04-21 18:25:14 I am using the newer Xen-Alpine release 2013-04-21 18:25:49 can you try to find the xen build flags from fc18 2013-04-21 18:26:05 and then you could compare them to the ones used in alpine 2013-04-21 18:26:37 so what error do you get if you specify sdl in the domU config? 2013-04-21 18:26:53 According to what I have read, SDL doesn't even need X11, it can do direct framebuffer export... 2013-04-21 18:27:04 ok 2013-04-21 18:27:04 "SDL doesn't use the X11 video driver if it can't open the X display" 2013-04-21 18:27:16 question: (hrhr) 2013-04-21 18:27:20 then what does it use 2013-04-21 18:27:29 probably some kernel graphics stuff 2013-04-21 18:27:53 you'll also need to find out if that is enabled and working 2013-04-21 18:28:10 I have no idea... I remember reading that somewhere. I need to learn more about SDL. That is what is cool about open source, buddy! 2013-04-21 18:28:48 I wish the schools would use Linux, but they are totally stuck on Windows, for the most part, especially here in the states. 2013-04-21 18:29:12 i think i used that sdl feature with mplayer years ago :) 2013-04-21 18:30:25 It is really kind of slick. It isn't like rdp or tsclient or vnc. It is just like having a native video connections 2013-04-21 18:30:32 cool 2013-04-21 18:30:50 It will not do native 3D, but it parses via OpenGL, so it kind of does 3D. 2013-04-21 18:30:52 ok back to: what kind of error do you actually get 2013-04-21 18:31:13 i think some of my fav games used sdl too lol 2013-04-21 18:31:26 i remember shogo 2013-04-21 18:31:39 that was back in the time of hoping for native linux games 2013-04-21 18:32:03 libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 2 device model: spawn failed (rc=-3) 2013-04-21 18:32:03 libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge add [1957] exited with error status 1 2013-04-21 18:32:03 libxl: error: libxl_create.c:1097:domcreate_attach_pci: unable to add nic devices 2013-04-21 18:32:03 libxl: error: libxl_dm.c:1245:libxl__destroy_device_model: Device Model already exited 2013-04-21 18:32:45 ok so i think the last error is bullshit info message 2013-04-21 18:32:57 a destroy function that complains something existed. yeah right 2013-04-21 18:33:10 and the second error is about networking 2013-04-21 18:33:30 first one is your real issue i guess and so ambigous 2013-04-21 18:33:42 do you know why you're getting the network error? 2013-04-21 18:35:07 I don't know why, I get the network error. If I comment out my sdl=1 in /etc/xen/w7.cfg file all is fine. 2013-04-21 18:35:44 The network is fine, I can manage my w7 install via vnc when I make that change 2013-04-21 18:36:39 BTW, I got gnome to run on the Alpine- 2013-04-21 18:36:49 Xen install... 2013-04-21 18:37:45 and if I launch xl create /etc/xen/w7.cfg via ssh, I get the errors, and nothing happens. If I launch it via lxterminal directly on the gnome desktop... 2013-04-21 18:38:24 ... probably get the same errors, they just don't jump out at me, because the gnome desktop disappears and I go back to a full screen terminal... init3 2013-04-21 18:38:34 I think I am getting close... 2013-04-21 18:39:15 Anyway, the wife is "mentioning" that I should not be on the computer and should be blowing off the driveway. I'll keep you up-to-date. 2013-04-21 18:40:06 BTW, whoever did Xen-Alpine rocks! This is by far the easiest setup for enabling Xen. PCI passthrough is also comparatively easy. I'll be doing a wiki for this soon. 2013-04-21 18:40:10 I 2013-04-21 18:40:23 I would like to help on this project. 2013-04-21 18:41:34 If any of you guys are in upstate NY and would like to get together, count me in. 2013-04-21 18:42:01 i don't know where people live, but you should just make that invite on the devel mailing list 2013-04-21 18:42:06 sounds like a great idea 2013-04-21 18:42:32 Dave1029: and look at your domain builder log in /var/log/xen 2013-04-21 18:42:34 etc. 2013-04-21 23:01:51 * Checking nginx' configuration ...nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2013-04-21 23:01:54 nginx: [emerg] getpwnam("http") failed 2013-04-21 23:02:17 this has been around a while, is there a place i can look at to find the default http uid i should use? 2013-04-21 23:02:22 i mean, i can just pick 80 2013-04-21 23:12:21 heh, i figured i'll get along with the busybox httpd alone 2013-04-21 23:12:48 i set up a router/proxy box and i just need it to deliver some proxy-autoconfig, i.e. via wpad 2013-04-21 23:13:06 i really don't need a real http server for that 2013-04-21 23:34:25 while1eq1: howdy? 2013-04-22 03:07:32 ok, i figured this weechat thing out. 2013-04-22 03:07:34 i think 2013-04-22 13:41:57 As I get closer to getting sdl working, I followed the advice of darkfader and checked var/log/xen/qemu-dm-w7.log.x 2013-04-22 13:42:33 The only lines in an UNsuccessful xl create using sdl=1 is: 2013-04-22 13:42:41 domid: 5 2013-04-22 13:42:41 /usr/lib/xen/bin/qemu-dm: invalid option -- '-sdl' 2013-04-22 13:43:11 When I use vnc=1 and sdl=0, I get no such error. 2013-04-22 14:04:09 if you use sdl=0 it won't pass -sdl obviously 2013-04-22 14:04:31 but, heh, you might wanna google that 2013-04-22 14:04:51 and that would be a qemu issue i guess :) 2013-04-22 14:05:14 so, also have a look at the qemu build flags 2013-04-22 14:14:32 Right... here is a link I found... 2013-04-22 14:14:35 https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1030002 2013-04-22 14:15:35 How would I look at the flags as you and the bug report mention? 2013-04-22 14:16:36 Dave1029: check the source rpm for qemu or xen for fedora (if it works there) or the debuild thing for ubuntu (if it works there) 2013-04-22 14:17:02 OK... will do. 2013-04-22 14:29:19 horrible thread that is interesting but probably outdated due to switch to upstream qemu 2013-04-22 14:29:22 http://old-list-archives.xen.org/archives/html/xen-devel/2009-12/msg01041.html 2013-04-22 15:13:26 TY... I will work it in that direction. 2013-04-22 16:00:42 royger: if i may ping ;) is there anything new with regard to the 'almost-finished-missing-last-patches' libvirt support? I know it's not you working on it but it's also hard to find out about the status online 2013-04-22 16:23:05 darkfader: I think the libxl was backported to 4.2.2, which should be released very soon 2013-04-22 16:23:28 and what libvirt version works with it? 2013-04-22 16:23:35 darkfader: regarding the libvirt side, I have no idea, I think most pieces are upstream, but I have not really tried it 2013-04-22 16:23:50 damn :( 2013-04-22 16:24:02 darkfader: someone said it was the latest release, but I don't know that by myself 2013-04-22 16:24:50 yeah i also know someone who said that his uncle said ... hehe 2013-04-22 16:25:33 let me ask the other way round. the suse guy who worked on the libvirt stuff in january 2013-04-22 16:25:49 do you have any idea if he ever did work on it again 2013-04-22 16:26:29 it's just so utterly stupid that i have to run kvm on my xen hosts because of this 2013-04-22 16:27:24 but ok, firstofall that means the libvirt support for xen is still disabled in alpine; i'll try enable it and include a dev snapshot of libvirt instead of normal libvirt 2013-04-22 16:28:12 you could try to fetch the 4.2 xen stable branch and try that with latest libvirt 2013-04-22 16:28:32 someone told me the Xen patches were already in a libvirt release, but I have no idea in what shape.... 2013-04-22 16:29:45 darkfader: alpine still uses qemu-dm 2013-04-22 16:29:58 darkfader: we may switch to upstream qemu for xen 4.3 series in alpine 2.6 2013-04-22 16:30:18 kaniini: ah ok that makes things easier for the other guy i think 2013-04-22 16:30:39 i mean the -sdl not supported error made me cringe 2013-04-22 16:30:49 i bet he has unhappy hours ahead :) 2013-04-22 16:31:27 oh, that is because we do not build against libsdl. 2013-04-22 16:32:57 but you're aware that sdl is a supported config setting in xen ;) 2013-04-22 16:33:41 yes, we are aware of that. 2013-04-22 16:34:00 problem isn't really that it's not included, rahther that the error isn't really propagated to the user. he got a networking error but i led him to the actual thing 2013-04-22 16:34:37 kaniini: xen 4.3 will use qemu-upstream by default 2013-04-22 16:34:45 very good. 2013-04-22 16:34:57 ok and the libvirt docs on xen look pretty much like it's all still broken 2013-04-22 16:35:10 because i grow tired of shipping two qemu's 2013-04-22 16:35:12 ;p 2013-04-22 16:35:12 the only problem seems to be stubdomains with qemu-upstream, which I'm not sure if will be included in 4.3 2013-04-22 16:36:02 " Jim Fehlig" hah! i found his name again 2013-04-22 16:36:19 got enough info for a new test 2013-04-22 16:36:35 https://www.redhat.com/archives/libvirt-users/2013-April/msg00001.html <- sounds like he's assuming it could work. 2013-04-22 16:37:55 bbl, i'll post back if i can make it work 2013-04-22 16:38:18 royger: will this make it possible to use the system qemu packaging for xen hvm? 2013-04-22 16:47:20 kaniini: if compiled with Xen support yes 2013-04-22 16:48:15 although at this point I would still recommend to use the qemu-xen tree, it usually contains fixes importat for Xen which might not be in any qemu release 2013-04-22 16:48:46 if it gets stable I guess it will/can be dropped and use a properly compiled system qemu 2013-04-22 16:54:25 hmm 2013-04-22 17:06:40 I'm not sure if there are plans to drop qemu-xen-upstream, and just use the default Qemu repos in the Xen build system 2013-04-22 17:07:08 Thanks for the info regarding qemu-dm. SDL in Alpine won't work for a while, I guess? 2013-04-22 17:08:09 WTH...why am I showing up as admin? I am dave1029... Let me log out and log back in again. 2013-04-22 17:10:12 do you mean that SDL is not working in Alpine, or not working with Xen? 2013-04-22 17:10:35 SDL works with Xen on FC and Mint... I just can't make it work on Alpine 2013-04-22 17:11:45 it gives me a /usr/lib/xen/bin/qemu-dm: invalid option -- '-sdl' in my /var/log/xen/qemu-dm-w7.log 2013-04-22 17:12:08 royger: we build qemu-dm without sdl support 2013-04-22 17:12:14 Dave1029: I think you need to compile qemu with SDL support 2013-04-22 17:12:23 royger: it is an intentional decision on our part 2013-04-22 17:12:32 That is what I expected you to say. 2013-04-22 17:12:49 royger: the decision being SDL brings in X and a bunch of other crap most dom0 deployments do not need 2013-04-22 17:13:04 yes, I completely agree 2013-04-22 17:13:15 I am fairly new at this... Any suggestions on how to compile qemu with SDL support? I am using this for multiseat desktops in schools. 2013-04-22 17:13:25 what would be cool: xen-qemu-dm-sdl package which is the qemu-dm compiled with sdl that has Replaces: on xen package 2013-04-22 17:13:34 why don't you just use vnc to connect to the VM? 2013-04-22 17:13:55 vncviewer localhost 2013-04-22 17:13:56 I normally use PCI passthrough on the local machine so no need for SDL 2013-04-22 17:15:11 I have access to a 4 head video card (with one GPU...) so PCI passthrough won't work for 4 heads, just one. 2013-04-22 17:18:44 Xen-Alpine is ultimately cool. It is really easy for me to set up Xen, PCI-passthrough worked really easy, I found some older ATI dual GPU video cards, so I can passthrough to two seats, even 4 seats pretty inexpensively, and have 3D, etc. I just don't think I need 3D, and the associated power consumption needed with two dual GPU ATI HD 3850's (or whatever) when I can use SDL (locally) and a single GPU 4 head video card... sorry 2013-04-22 17:18:44 for the long winded answer 2013-04-22 17:20:00 I find that performance in a classroom feels much better when using sdl as compared to vnc 2013-04-22 17:21:09 Passthrough is just like a native installation, in all aspects, of course, so that is what we would use if we need 3D via hardware 2013-04-22 17:22:36 Dave1029: the answer provided by kaniini is probably the right way to go, provide a replacement package that has qemu compiled with SDL support, altough you will have to speak with someoen much more familiar with the abuild system than me if you need help on that :) 2013-04-22 17:23:59 So I need to compile qemu with sdl support... if that is what I want to do... I love learning this stuff. I am really a newbie, but I can follow directions. I have been looking at the abuild wiki's assuming that is where I need to go. 2013-04-22 17:24:39 If anyone has some suggestions on how to get started, I would appreciate it. 2013-04-22 17:28:11 I supposed we could do the same thing with spice support in Qemu... 2013-04-22 17:44:16 OK, so compiling qemu looks fairly simple, it's just going to be getting the dependencies set up... 2013-04-22 17:46:07 you have to compile the xen version of qemu 2013-04-22 17:47:35 Oh... thanks. 2013-04-22 17:55:06 my advice is 2013-04-22 17:55:12 grab a copy of our aports 2013-04-22 17:55:26 and modify the xen package to pull in sdl-dev as a build dep 2013-04-22 17:55:31 and rebuild it 2013-04-22 17:55:44 and push it out as a site-local package in it's own apk repo 2013-04-22 17:56:04 then you can install your shadowed package by giving your apk repo a specific label 2013-04-22 17:56:12 apk add xen@myrepo 2013-04-22 17:56:30 you'll want to do that with the other xen components you are using too 2013-04-22 17:56:51 then you can run apk fix [xen packages used] to switch to them by forcing a reinstall 2013-04-22 18:01:41 TY... I have some learning to do. 2013-04-22 18:07:53 So, Kaniini...would this be where I should start: http://wiki.alpinelinux.org/wiki/Setting_up_the_build_environment_1.9 2013-04-22 18:08:14 and then go to here: http://wiki.alpinelinux.org/wiki/Aports_tree 2013-04-22 18:10:20 yes, basically. 2013-04-22 18:18:16 TY 2013-04-22 20:20:03 kaniini... "modify the xen package to pull in sdl-dev as a build dep". 2013-04-22 20:20:20 I found xen in aports/main/xen 2013-04-22 20:20:49 That is where i should modify the xen package...? 2013-04-22 20:27:48 yes 2013-04-22 20:29:07 TY 2013-04-22 20:29:35 So now I am following "http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package" 2013-04-22 20:29:37 ? 2013-04-22 20:35:09 What is Xen package should I modify? Sorry for all the questions. 2013-04-22 20:36:12 Dave1029: just pull in sdl-dev in makedepends 2013-04-22 20:42:07 postfix-2.9.6-r0 bug, "postconf -m" results in segfault, can anyone confirm? 2013-04-22 21:55:20 hmm 2013-04-22 21:55:43 I have tried disabling all pax flags using paxctl, no change. I had postfix-pcre installed, but same without. 2013-04-22 21:55:59 manage:~# postconf -m 2013-04-22 21:56:01 Segmentation fault 2013-04-22 21:56:03 indeed 2013-04-22 21:56:09 build it with debug symbols 2013-04-22 21:56:29 strace indicates bad filename pointer passed to open() 2013-04-22 21:56:34 open(0x1e5d3580, O_RDONLY) = -1 EFAULT (Bad address) 2013-04-22 21:56:34 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1e5d3580} --- 2013-04-22 21:57:17 How do I do that? 2013-04-22 21:57:25 download aports 2013-04-22 21:57:36 already done. 2013-04-22 21:57:37 put FEATURES="!strip" in /etc/make.conf 2013-04-22 21:57:41 ah, sure 2013-04-22 21:57:42 or w/e 2013-04-22 21:57:50 rebuild the package 2013-04-22 22:00:37 damn that's fast compiling 2013-04-22 22:03:32 relocation R_X86_64_PC32 against symbol `pcre_compile2' can not be used when making a shared object; recompile with -fPIC 2013-04-22 22:03:34 what. 2013-04-22 22:12:30 http://sprunge.us/UIMg how does a known-good apkbuild go bad? 2013-04-23 11:14:48 kaniini... in aports/main/xen... what file would I modify to pull in sdl-dev as a build dev? 2013-04-23 11:16:00 And would I use makedepend like http://en.wikipedia.org/wiki/Makedepend 2013-04-23 11:16:48 I see makedepends referenced in http://wiki.alpinelinux.org/wiki/Include:Abuild 2013-04-23 11:17:54 http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#depends_.26_makedepends 2013-04-23 11:18:19 Thanks so much... 2013-04-23 11:18:26 add sdl-dev to makedepends in aports/main/xen/APKBUILD 2013-04-23 11:20:01 That helps a bunch... Feeling around in the dark, a bit. It is just my ignorance and newness to this. Great distro! 2013-04-23 11:22:56 we have tried to keep the build scripts simple 2013-04-23 11:32:25 hey 2013-04-23 11:32:55 is sircbot secure to run 24/7 ? as it passes stuff through arguments 2013-04-23 11:36:26 it should be 2013-04-23 11:36:44 i suppose it depends on your script 2013-04-23 11:51:37 ncopa: yeah but what about OS could attacker possible escape it? or send too long string? 2013-04-23 11:52:52 should not be able 2013-04-23 11:53:10 but if you are not careful with your scripts you might escape 2013-04-23 11:53:23 sircbot itself has no know bugs to escape 2013-04-23 11:53:38 but ofcourse, like any other networking app, i cannot guarantee anything 2013-04-23 11:53:51 however, since sircbot will run a shell script 2013-04-23 11:54:00 you must be very very careful how you make your script 2013-04-23 11:54:06 it is easy to do it wrong 2013-04-23 11:54:36 but that applies to web apps too ;) 2013-04-23 11:55:03 i plan to run binfmt registered luajit bytecode directly 2013-04-23 11:55:18 does sircbot invoke sh inbetween? 2013-04-23 11:55:23 no 2013-04-23 11:55:40 do you should be safe 2013-04-23 11:55:42 so* 2013-04-23 11:55:55 be carful with io.popen() 2013-04-23 11:56:02 avoid it completely 2013-04-23 11:58:26 yes 2013-04-23 11:58:36 ncopa: you know lua a bit? 2013-04-23 11:58:41 a bit yes 2013-04-23 11:59:51 cool 2013-04-23 12:00:01 thnaks ncopa very helpful! 2013-04-23 12:38:23 anybody here successfully used grsec? 2013-04-23 12:38:56 in qemu, alpline v2.4.10 it does not work 2013-04-23 12:39:16 hope, upgrade will fix it 2013-04-23 12:49:33 ncopa, do I need to bring in sdl-dev and store it somewhere after modifying APKBUILD makedepends? ...or will the makedepends bring it in? 2013-04-23 12:53:18 abuild -r should bring in everything in makedepends 2013-04-23 12:53:40 bga: I use alpine (edge) and qemu 2013-04-23 12:53:40 Thanks. ..what do I add to source in APKBUILD? 2013-04-23 12:54:15 if sdl is a compile option that is autodetected then adding it to make depends should be enough 2013-04-23 12:54:34 might be there are a configure option like --enable-sdl or similar 2013-04-23 12:54:37 i dont know 2013-04-23 12:54:47 depends on the package 2013-04-23 12:55:10 TY... I did see that option in qemu. ./configure -help will tell me that option, right? 2013-04-23 12:55:34 yes 2013-04-23 12:55:45 qemu itself has sdl enabled afaik 2013-04-23 12:55:57 the alpine linux qemu package 2013-04-23 12:56:17 bga: what is the error message? 2013-04-23 12:56:53 ncopa cpu softlock 2013-04-23 12:57:01 grlearn 2013-04-23 12:57:08 ah 2013-04-23 12:57:21 no i have not used it with rbsac or what its called 2013-04-23 12:57:31 :/ 2013-04-23 12:57:53 do you have the kvm kernel module installed? 2013-04-23 12:58:08 no 2013-04-23 12:58:13 and does you hw support virtualization? 2013-04-23 12:58:32 qemu under windows, full soft emulaton 2013-04-23 12:58:41 oh.. as guest 2013-04-23 12:58:46 alpine linux as guest 2013-04-23 12:59:21 i heard someone had issues with the soft accelerator under windows 2013-04-23 12:59:28 and old qemus 2013-04-23 12:59:55 i said it 2013-04-23 12:59:57 :) 2013-04-23 13:00:05 :) 2013-04-23 13:00:49 ncopa how do you test releases? 2013-04-23 13:01:16 any unit tests? 2013-04-23 13:02:47 not really 2013-04-23 13:02:52 we had a test suite 2013-04-23 13:02:58 long time ago 2013-04-23 13:03:46 we make release candidates and hope the community will test and report :) 2013-04-23 13:03:58 i also use 'edge' on my production desktop 2013-04-23 13:04:01 and on my laptop 2013-04-23 13:04:30 i also boot test kernels in qemu before i push new kernels 2013-04-23 13:07:13 bga: i am interested if you have ideas how to do unit tests 2013-04-23 13:34:33 is there any beginner introduction into using unit test but not with tdd ? 2013-04-23 13:58:51 Sorry for the inane questions... Following http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package, I was able to abuild -r, but I wasn't able to ./configure, make or make install. 2013-04-23 13:59:33 Is that right? Do I go to /var/cache/distfiles and compile there? 2013-04-23 14:10:51 Dave1029: no, its in src/ some place 2013-04-23 14:11:00 what i normally do: 2013-04-23 14:11:16 abuild installdeps; cd src// 2013-04-23 14:11:17 make 2013-04-23 14:11:26 and try resolve the error 2013-04-23 14:11:51 then create a patch and try abuild again 2013-04-23 14:21:04 TY 2013-04-23 15:09:59 When abuild -r responds with "package is up-to-date", where is the package? 2013-04-23 16:03:00 in the dir you ran abuild in 2013-04-23 16:11:03 you might need to increase the "release" of the package 2013-04-23 16:11:15 the -rN number 2013-04-23 16:11:28 to indicate something worth a rebuild happened 2013-04-23 16:14:40 yap 2013-04-23 16:25:57 Thanks a lot 2013-04-23 17:32:51 Thanks everyone for helping me on the sdl on xen-qemu compilation. I think I have it... at least I made it through ./configure, make, make install and build -r. 2013-04-23 17:33:10 I have a xen-4.2.1-r7.1.apk. Yeehaw! (I think) 2013-04-23 17:34:02 Now how to push it out as a site local package in its own apk repo? 2013-04-23 17:36:04 cd $apkbuilddir 2013-04-23 17:36:14 git add APKBUILD (include any other files needed for the build; $pkgname.install...) 2013-04-23 17:36:21 git commit 2013-04-23 17:36:24 ? 2013-04-24 00:54:57 well. grsec's rbac even partially work. but enabling learning mode still freezes system (now tested under virtualbox too) 2013-04-24 01:20:26 yes... 2013-04-24 01:20:32 we are looking into doing apparmor perhaps 2013-04-24 01:20:46 i haven't really had much time in the past 18 months to work on hardening 2013-04-24 01:21:04 but rbac behaved really screwy for me when i was experimenting 2013-04-24 13:21:27 btw, i noticed my user's password is in /etc/passwd for some reason 2013-04-24 13:21:43 can i, like, have a /etc/shadow and stuff? 2013-04-24 13:24:23 yes 2013-04-24 13:24:42 i think it should get there if you generate a new password 2013-04-24 13:24:54 hmm ok will look into that 2013-04-24 13:25:22 i was so puzzled i didn't really properly dig into it 2013-04-24 13:25:34 ncopa-desktop:~$ grep ncopa /etc/passwd 2013-04-24 13:25:34 ncopa:x:1001:1001:Natanael Copa:/home/ncopa:/bin/sh 2013-04-24 13:25:41 i have mine in /etc/shadow 2013-04-24 13:26:05 would be niceif you could find what caused it 2013-04-24 13:26:14 we switched to /etc/shadow years ago 2013-04-24 13:26:56 ok i'll try to find out 2013-04-24 15:22:32 After following the howtos for compiling packages (in my case, specifically sdl in Xen), I am unsure if I need to run ./configure, make world, and make install... or do I JUST run build -r? 2013-04-24 15:23:31 I can run abuild -r, after I run abuild unpack, and abuild installdeps, and a new xen .apk is created.. 2013-04-24 15:24:53 you should only run abuild i think 2013-04-24 15:25:30 Because it runs make, etc...? 2013-04-24 15:28:42 I ask that because, if I run abuild -r, as I said, it creates a Xen .apk file. If I cd to src/Xen... and run .configure it fails pretty miserably with a bunch of missing packages. 2013-04-24 15:29:14 I can then apk add the dependencies and get configure, make, and make install to run without complaining. 2013-04-24 15:29:42 But when I run abuild -r again, it tells me that the apk is up-to-date.... 2013-04-24 15:29:55 I wouldn't have expected it to be uptodate... 2013-04-24 15:32:14 it will always say up to date if the release (-rN) didn't change 2013-04-24 15:33:57 OK, thanks. What do I do with the .apk in order to insert it into my local Alpine distro, and then reburn the ISO, to test? 2013-04-24 15:36:16 i know what you mena but i can't answer it :/ 2013-04-24 15:38:12 there is a way to just install the one package 2013-04-24 15:38:26 you'd first wanna find out if it works 2013-04-24 15:38:49 and setting up local repo / reburning you gotta wait for someone with clue 2013-04-24 15:38:51 <- not 2013-04-24 15:42:13 Thanks buddy... I am certainly learning. 2013-04-24 20:16:35 <_lb_> Hi! What is the Alpine way of storing static routes? 2013-04-24 20:16:56 i just add post-up lines to /etc/network/interfaces 2013-04-24 20:17:54 <_lb_> kaniini: I like that idea but I already have a quite elaborate configuration running... 2013-04-24 20:18:05 <_lb_> ACTION is trying to make sense of what is running... 2013-04-24 20:18:27 generally you'd run like quagga or something then 2013-04-24 20:19:22 <_lb_> No, our environment does not tolerate BGP or similar... 2013-04-24 20:19:49 _lb_: if you just want a whole ton of static routes, then adding them in /etc/network/interfaces is simplest way 2013-04-24 20:19:50 <_lb_> I am looking for a way of storing the running config... Before trying to solve the problem ourselves.. 2013-04-24 20:19:56 <_lb_> Ok! 2013-04-24 20:20:07 <_lb_> I'll see if we can automate it.. 2013-04-24 20:20:29 _lb_: but sounds like you should be running some kind of routing protoco,l 2013-04-24 20:20:47 <_lb_> nope... 2013-04-24 20:20:49 <_lb_> I can't 2013-04-24 20:21:04 <_lb_> I see the advantages, but it would be harmful for us.. 2013-04-24 20:21:08 <_lb_> My box has 44 nics... 2013-04-24 20:21:18 <_lb_> This interfaces file is gonna be epic 2013-04-24 20:21:44 you're not the lb who patched ts6 support into csircd are you? 2013-04-24 20:22:09 i'd rather make an init script for them 2013-04-24 20:22:17 to allow loading and unloading 2013-04-24 20:23:55 _lb_: just checked on a box i've got running quagga in alpine 2013-04-24 20:24:04 it does not show kernel routes in the running config 2013-04-24 20:24:16 not sure if there'd be a way to export them 2013-04-24 21:21:32 <_lb_> I am writing something to generate the interfaces file from the running config... 2013-04-24 21:21:44 <_lb_> Can I put arp entries also in interfaces? 2013-04-24 21:22:01 ip neighbor set lladdr dev 2013-04-24 21:22:17 <_lb_> Awesome 2013-04-24 21:22:41 i must wonder what you are doing with this setup 2013-04-24 21:28:54 <_lb_> it is weird... 2013-04-24 21:57:41 I am, as always sorry for the ignorance, but I have compiled xen-qemu with SDL (I think). I have an .apk for Xen that I would like to test. I don't know what the next steps are. I have been told to push it out as a site local package in its own apk.repo, then install it as a shadowed package by giving it a specific label 2013-04-24 21:58:37 I then apk add xen@myrepo and do that with the other xen components I am using and finally apk fix. 2013-04-24 22:42:49 Dave1029: add a question with that 2013-04-24 22:43:20 (i know what you mean but others probably don't know what you need to know for your next step) 2013-04-24 22:52:07 anyone can verify if they can still install "bacula" from main? 2013-04-24 22:52:13 i can't 2013-04-24 23:18:39 I'm sorry. You're right... I didn't ask a question. I have compiled xen with sdl support and have a resulting .apk. What do I do next in order to test it? How do I go about adding it to a running Alpine-Xen to test? 2013-04-25 10:38:50 re 2013-04-25 10:38:51 ncopa: 2013-04-25 10:38:57 what is roundcubemail-installer 2013-04-25 10:39:08 i mean ok it sounds as an install script 2013-04-25 10:39:16 but what is it doing exactly? 2013-04-25 10:41:27 Dave1029: just copy it to the running box 2013-04-25 10:41:34 you can use apk to pull in a file 2013-04-25 11:08:16 kocka: hi, where did you find roundcube-installer? 2013-04-25 11:09:40 on the packages website 2013-04-25 11:09:43 http://alpinelinux.org/apk/main/x86/roundcubemail-installer 2013-04-25 11:11:55 i'm going to migrate a mailserver 2013-04-25 11:12:02 from a netbsd os 2013-04-25 11:12:55 with postfix-mysql, postfixadmin, roundcube 2013-04-25 11:13:36 actually the old server will be shutted down tomorrow 2013-04-25 11:32:11 kocka: it is the installer/ subdir from roundcube mail source 2013-04-25 11:32:31 iirc, the doc said that after roundcube is configured, you can delete installer/ subdir 2013-04-25 11:32:48 i think thats why i splitted it to a subpackage 2013-04-25 11:33:04 i think you only need it when you set up roundcube first time 2013-04-25 11:33:39 i think its bug #609 2013-04-25 11:34:38 ok 2013-04-25 11:34:46 than it's not affect me 2013-04-25 11:35:11 if i already have (an older) database 2013-04-25 12:42:14 kocka: are you from central europe by any chance? 2013-04-25 13:37:03 eto: yes 2013-04-25 15:14:17 darkfader: Thanks... But, what would I copy, and to where. The new .apk? 2013-04-25 15:19:25 Copy the new .apk to a running system... 2013-04-25 15:19:58 I see, then apk fix? 2013-04-25 15:22:17 apk fix (anything that has the new rN)? 2013-04-25 15:42:30 http://wiki.alpinelinux.org/wiki/Local_APK_cache 2013-04-25 15:42:38 Is this what I should be following? 2013-04-25 17:34:09 OK, I have set up a local cache on the running PC and am attempting to apk fix using this new local cache, using http://wiki.alpinelinux.org/wiki/Local_APK_cache. 2013-04-25 17:35:40 I have added a line in /etc/apk/repositories to point to /var/cache/apk, but apk fix xen fails when it looks for the APKINDEX in the local cache. 2013-04-25 17:36:26 It does reload xen (4.2.1-r5) but not xen 4.2.1-r7.3 (that is my compiled xen/qemu/sdl). 2013-04-25 17:37:11 So, any leads or a wiki I can look at to do the replacement? 2013-04-25 17:37:15 Thanks in advance. 2013-04-25 17:48:03 erm... 2013-04-25 17:48:07 no 2013-04-25 17:48:15 you need to point it to your abuild repository 2013-04-25 21:49:08 kaniini: Thanks... So I built a PC to compile the xen-sdl package. I am testing on another PC. 2013-04-25 21:49:45 I guess I need to set up my build environment on the test PC? Is that what you are saying? 2013-04-25 21:50:59 ...that, in order to point to aports/main/xen, or I could do it remotely, eh? 2013-04-25 21:51:14 you could publish your abuild repository over http and copy the public key over. 2013-04-25 21:53:56 Dave1029: if you wanna i can lend you a build vm for a week 2013-04-25 21:54:04 i have a server that's being decomissioned 2013-04-25 21:54:38 also, did you try just doing a 'ldd' on the qemu-sdl binary to see if it's correctly linked? 2013-04-25 21:54:50 (...linked against sdl i mean) 2013-04-25 21:54:56 and qemu-dm 2013-04-25 21:55:20 i'll bbl tomorrow time for a break :> 2013-04-25 21:56:13 darkfader: for the 9 millionth time 2013-04-25 21:56:20 kaniini: yes? 2013-04-25 21:56:27 darkfader: we do not link xen against sdl at all, period 2013-04-25 21:56:34 ok i did never read that 2013-04-25 21:56:35 darkfader: it is explicitly not brought in as a build-dep 2013-04-25 21:56:48 did you tell me? if so, i'm sorry 2013-04-25 21:56:55 yeah i did a while ago :P 2013-04-25 21:57:02 ok i didn't read that 2013-04-25 21:57:25 but yeah 2013-04-25 21:57:30 we don't link against sdl 2013-04-25 21:57:34 sdl brings in X 2013-04-25 21:57:38 do you want X on your dom0? 2013-04-25 21:57:40 :p 2013-04-25 21:57:50 or parts of X anyway 2013-04-25 21:58:07 kaniini: i don't, but i don't care if Dave1029 does that and ends up with x in dom0 since it won't hurt his use case at all 2013-04-25 21:58:18 darkfader: indeed :P 2013-04-25 21:58:40 i want it working for him and don't think that relates to my dom0 in any way... 2013-04-25 21:58:41 darkfader: so, the idea i proposed to Dave1029 was to shadow the package with sdl support :P 2013-04-25 21:58:50 yeah and that's totally over his head :) 2013-04-25 21:59:09 yeah i might just make a xen-qemu-dm-sdl package 2013-04-25 21:59:15 i haven't had much time to play with it 2013-04-25 21:59:28 graphics delegation is always a b**** 2013-04-25 21:59:50 otherwise i'd set it up to help him but i don't wanna do it more than once every 5 years 2013-04-25 22:00:02 and i think he has a shadowed package -- he just needs help deploying it now 2013-04-26 01:01:12 darkfade; Just got back in... thank for the help. I love learning, but you are correct. I am a newbie... 2013-04-26 01:01:54 kaniini: Thanks also... As I said earlier, I am using Xen for desktop virtualization on multiple monitors. 2013-04-26 01:02:11 When I passthrough PCI, I don't need X, or sdl 2013-04-26 01:02:47 But on equipment that can't handle several video cards, I use my quad head video card and need sdl. 2013-04-26 01:04:49 Anyway, I would really appreciate the xen-qemu-dm-sdl package, although my compiled package "might" be done correctly. As with anything new, it is easy after you figure it out the first time. I am having a trouble deploying my package... 2013-04-26 01:05:36 BTW, I know that 4 head xen-qemu-sdl on my video card (I had them made in Taiwan) works just fine on Fedora. I just love what you guys have done with Alpine! 2013-04-26 16:12:09 Should I be able to upgrade the Xen-Alpine release to edge using http://wiki.alpinelinux.org/wiki/Edge:Upgrading_to_Edge? 2013-04-26 16:12:36 I get a "failed to load libcom32.c32" error followed by... 2013-04-26 16:12:48 Failed to load Com32 file mboot.c32 2013-04-26 16:24:53 Don't have the same problem using Alpine 2.5.4. The Xen verison is 2.5.4, BTW 2013-04-26 17:03:56 rutroh 2013-04-26 17:04:09 Dave1029: give me one minute to resolve that 2013-04-26 17:05:03 :-) 2013-04-26 17:09:41 i pushed a fix, but ncopa needs to kick the builders. 2013-04-26 17:18:16 Great... 2013-04-26 17:19:28 as a workaround, copy /usr/share/syslinux/libcom32.c32 to /boot 2013-04-26 17:19:32 it'll fix you up 2013-04-26 17:19:40 TY 2013-04-26 17:43:10 Now I know where it exists... I figured it was simple. 2013-04-26 17:43:52 BTW, I have time to test things, and it gives me a chance to learn... if you need any help in that respect. I am in between jobs right now 2013-04-26 17:46:29 I am working on the basics regarding deploying modified packages right now... 2013-04-26 17:46:41 ...and setting up a build environment, etc. 2013-04-29 12:30:42 hm 2013-04-29 20:39:20 hm? 2013-04-29 20:50:27 hm? 2013-04-29 21:07:07 just answered to ncopa :D 2013-04-30 12:42:07 kaniini: regarding shadowing the new xen-qemu-dm-sdl package, would I follow http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning? 2013-04-30 12:44:04 ie, compile the sdl enable xen-qemu .apk, and then, on my test system, use that wiki to setup a repository so that I can replace apk fix the newly compiled xen .apk? 2013-04-30 12:45:09 Even if you do make a package as you mentioned, I'll still need to figure out how to shadow it. 2013-04-30 12:47:11 I assume that once ncopa kicks the builders, we won't have to copy the lib32.c32 to /boot, right when upgrading to edge with the xen package. BTW, the standard Alpine package upgrades to edge with no complaints. 2013-04-30 12:48:00 edge builders should already have built the updated syslinux 2013-04-30 19:25:07 OK, no problem. Just copy lib32.c32 to /boot everytime we update to edge from Xen-Alpine? I can change the wiki page: http://wiki.alpinelinux.org/wiki/Include:Upgrading_to_Edge to reflect this need. The instructions on that page are good if you are upgrading from Alpine, but not from Xen-Alpine. 2013-04-30 20:42:32 Dave1029: it is unnecessary. my change makes that happen. 2013-04-30 20:43:55 Got it... Thanks, my friend.