/srv/irclogs.ubuntu.com/2008/06/30/#ubuntu-server.txt

ScottKbelgacem23: One person has joined since the last time you asked that.  The answer likely hasn't changed.00:01
sommerScottK: I uploaded a new version of php5-clamavlib to the clamav ppa... for intrepid00:04
sommerScottK: it builds fine, but I haven't actually tested it yest00:04
sommererr yet00:04
ScottKsommer: Great.  I'll try to have a look at it once you've tested it.00:04
sommerScottK: I'm working on an updated hardy package, but how do you add backports to pbuilder?00:05
ScottKSame way you add universe, just add backports.00:06
sommerah, I added hardy-backports00:06
sommersigh00:06
ScottKDid you want to add hardy-backports or the clamav PPA?00:07
sommerhardy-backports, isn't that as up-to-date as the PPA at this point?00:10
ScottKNo.  No 0.93 there because we don't have the rdepends all working yet.00:13
ScottKNo clamav at all in *-backports right now.00:14
sommerScottK: ah, gotcha00:14
sommerhow do you enable the ppa in pbuilder again?  :)... is it --other-mirror?00:14
sommeroh ya, --override-config00:21
=== `6og is now known as Birthday_Kaiser
tharis20I need to take an internal HDD into a HDD Enclosure and I want to connect it to my lappy that that has WinXP and Ubuntu HH.02:29
tharis20Then, I want to install ubuntu-server in it02:29
tharis20*external HDD02:29
tharis20and then put the HDD back into the Desktop02:30
tharis20from where I took it02:30
tharis20how can I do it without screwing my Lappy's GRUB?02:30
stiv2kHey how come this ssl-cert package has been being kept back on my server for like a really long time?04:22
ScottKstiv2k: Because you need to install the new openssl blacklist tool with it.04:34
ScottKstiv2k: sudo apt-get dist-upgrade.04:34
stiv2kScottK: ok04:59
stiv2kScottK: thank you!05:06
ScottKstiv2k: Any time a package gets held back, you should investigate it immediately.05:07
stiv2kScottK: okay05:08
jussi01Ok, we have a shared folder on our fileserver(via samba), when people fom windowws write  to it the permissions are set to their own and nobody else can read it.08:22
jussi01how does one make it so when users write everyone can read?08:22
hadsjussi01: I don't use samba but you'll want to look into umask08:32
jussi01hads: ok, thanks. googling now :D08:32
hadsjussi01: NP, just saw this http://lists.samba.org/archive/samba/2002-August/050432.html08:33
jussi01hads: ahh, that explains t well! thanks08:37
hadsNo worries08:38
krautmoin08:49
celephaisCiao, stò cercando di installare la versione server utilizzando PXE, fino ad ora sono riuscito a configurare il server dhcp e tftp, provando il boot da PXE tutto funziona. Ma la cosa che non riesco a capire è stò installando la versione serve o quella desktop. Ho usato la cartella netboot trovata su archive.ubuntu.com di hardy09:44
trentsterhey all, need some advice, I want to setup a freenx deb machine at our datacentre for technicians to log into, One of the things they will be able to do from there is use tsclient or rdesktop to login to fix problems at our clients windows servers, I want the session to automatically loin to the server and supply the password, but I dont want the password to be in plain text in the .rdp conf file for them to read....any ideas10:14
nocturnI  tried to put Xen on my Ubuntu 8.04 server, but it seems to have broken the install.10:25
nocturnAfter aptitude install ubuntu-server-xen, the system barely boots10:25
hadsnocturn: Xen isn't as supported on Hardy as KVM.10:25
nocturnlogging in takes ages10:26
nocturnhads: I would use kvm if I could10:26
nocturnbut the machine does not have VT10:26
nocturnI only need virtualisation to run Zimbra, because it conflicts with Apache and ldap on the real server10:26
hadsBummer. I don't know a lot about Xen so probably can't help.10:27
nocturnI think I'll have to move the server to CentOS :-(  Rather than run Vmware on Linux10:32
Dark_Shadowgreetings, how can i use a command promt from netboot without needing to "setup" the rescue system, i need some minimal system which boots over pxe from where i can chroot to my "normal" enviroment11:33
ikoniaDark_Shadow: thats going to be tricky as yoru netboot image would have to be a system that was designed to boot/access as shell12:01
Dark_Shadowagreed, however the rescue system from the netboot should be able to, but i did not figure out how to skil the questions yet12:05
ikoniayou wo'nt be able to interact with the install from the boot options12:06
ikoniayou'll need to boot it then interact with it on the client to drop it in to rescue shell12:06
ikoniayou may want to consider using an image thats specificlly designed for local interaction, eg: the Fedora rescue image, the LFS live cd, something that does a dhcp by default then drops into a shell on that system12:07
Dark_Shadowif i understand you right i got the prob that i do not have any local media there12:07
ikoniadoesn't have to be local media "there", local media on the install / pxe server12:07
=== folke is now known as afk_away
Dark_Shadowso the fed rescue image is able to boot from "netboot" and therefor i can get it a script to execute where i do chroot and "start" my normal enviroment right?12:14
ikoniano12:15
ikoniathe fedora rescue image will netboot for you12:15
ikoniait will then present you with either a shell or a ncruses interface (dependong on your choice)12:15
ikoniafrom there you can manually mount your ubuntu environment12:15
Dark_Shadowhmm, guess i did not make myself clear enought, the last step should be a diskless ubuntu system booting through network without need a nfs server. therefor i do not "have" the option to manually set up the chroot12:17
ikoniathen surly you can just telnet to the network where the "disksless" disks are stored12:17
ikoniaI'm not quite sure I'm getting you12:18
Dark_Shadowk ill try to explain a bit brighter :) one sec12:18
ikoniayou want to use a netboot image to chroot into a diskless box....that not using an NFS mount, so must only be running that in RAM  ?12:18
Dark_Shadowyes12:18
Dark_Shadowideally i do not want to chroot12:18
ikoniawell, that doesn't make any sense as by default if it's running the OS in ram, then the netboot must provide the image to load into ram12:19
ikoniaso why do you need to "start it" as the netboot should start it as there is nothing to "start" without that image12:19
Dark_Shadowwell ill explain12:19
Dark_Shadowi got the image/kernel +initramfs/tar whatever, it transfers to the client fine, extracting, booting till it wants to mount the root fs, at the point i get a kernelpanic12:20
ikoniaok.....12:20
ikonia......and ?12:20
Dark_Shadowi cant seem to get it working after that point12:21
Dark_Shadowfstab mtab and kernel options seems to be fine12:21
ikoniaok - so what's all this stuff your trying to do then with netbooting other stuff12:21
ikoniaDark_Shadow: mtab can't be fine as it's not booted the OS - so how can you have an mtab12:21
Dark_Shadowlet me explain further12:22
Dark_Shadowthe diskless client i got a "working" image on hdd from, i boot this one, all fine, this image needs to be transportet through pxe to the client as its just temporary that the client has a hdd.12:23
ikoniathats not how it works12:23
Dark_Shadowas for the mtab, there was a howto i followed which created automatically an initram which i just needed to copy12:23
ikoniayou can't take a working OS and make it into a pxe image12:23
ikoniawell, not as easy as that12:23
Dark_Shadowthats where i would try the "netboot" and chroot method12:24
ikoniathere is going to be references to physical disks which just won't exist on the netboot disksless system12:24
Dark_Shadownetboot, get a command prompt, cp the files to ram, and chroot12:24
Dark_Shadowyeah exactly12:24
ikoniaDark_Shadow: you can't netboot and chroot - there is nothing to chroot to12:24
ikonia"copy the files to ram" ???12:24
ikoniait's held in ram, so when you power of - it will go12:25
ikoniayou need to edit the "image" before it boots12:25
Dark_Shadowyes12:26
Dark_Shadowbut i can get it from the image12:26
Dark_Shadowthis part should work in theory12:26
Dark_Shadowcp it from the server into the ramdisk12:26
Dark_Shadowthen mount the ramdisk12:26
Dark_Shadowand chroot to it12:26
Dark_Shadowbut i guess theres more references to hdds then fstab, kernel parameters and such12:26
Dark_Shadowyes its k that way12:26
Dark_Shadowits intendet12:26
ikoniaI think your approaching this all wrong, especially for a diskless client12:26
Dark_Shadowhmm, i cant think of another solution without optical, hdd and without nfs12:27
ikonianot taking an image of a disk based system is a good start12:28
ikoniatake apart the livecd and look how that works12:28
ikoniathats aimed at running in ram12:28
Dark_Shadowso i should try to install directly into the ram? then copy it to the server (when it works) and cp after the reboot again , did i get you right there?12:31
Dark_Shadow3212:33
Dark_Shadownever mind that number >(12:33
ikonianot a case of "install into ram" as ram dissapears12:39
ikoniabut "run" from or "uncompress working image into" ram12:39
ikoniaagain, look at how the livecd works, thats basiclly a working image12:39
Dark_Shadowhmm, guess i need to make my own live^cd^ after all, thanks for the help12:48
ikonianot quite your own livecd - but certainly the techinque the livecd uses to open into ram12:49
jdstrandzul: I have a patch for bug #24144813:44
uvirtbotLaunchpad bug 241448 in samba "Playing from Samba SMB shared folder now is not possible (it could be done until last upgrade)." [Undecided,In progress] https://launchpad.net/bugs/24144813:44
jdstrandzul: it was an upstream bug introduced in the patch for CVE-2008-110513:45
uvirtbotjdstrand: Heap-based buffer overflow in the receive_smb_raw function in util/sock.c in Samba 3.0.0 through 3.0.29 allows remote attackers to execute arbitrary code via a crafted SMB response. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1105)13:45
jdstrandzul: I'll be pushing that out today13:45
jdstrandzul: seb128 was able to reproduce it and verify the patch fixes it13:46
zuljdstrand: cool good to hear that it wasnt one of my patches that broke things ;)13:46
jdstrandzul: nope, it was mine13:47
zuljdstrand: it was a regression introduced by the cve intresting13:47
jdstrandzul: upstream's patch didn't deal with large files properly13:48
lukehasnonamesoren: pwned me on that GUI ML entry13:48
zuljdstrand ahhh...I was thinking about that this weekend and we should probably enable the testsuite for samba as well13:48
jdstrandzul: https://bugzilla.samba.org/show_bug.cgi?id=551713:48
uvirtbotbugzilla.samba.org bug 5517 in smbclient "Make Test Failure for RW1" [Major,Resolved: fixed]13:48
zulyeah I saw that this weekend13:48
jdstrandzul: well, the test suite requires --enable-socket-wrapper, I am not sure if that is desired in a regular build. however, you do a 'fake build' with that enabled, then throw it away and build it for real13:50
zuljdstrand: yeah if you build it fakeroot debian/rules build it fails as well besides smbclient -L needs to be run as root13:51
jdstrandzul: oh that's right too-- 'sudo make test' in the qa-regression-testing notes13:52
zulit would have been a good though to enable it when it was building but it looks like it cant be done easily13:53
zuljdstrand: oh btw slangasek enabled the make test in the openldap debian packge's svn repo13:54
jdstrandcool13:54
zulone less thing we have to do for 2.4.1013:54
jdstrandls13:55
=== afk_away is now known as folke
melteris there a server build of intrepid alpha?14:55
melternm, found it14:59
brewmaster_what do i need to do to refresh my ssl certificates?15:09
brewmaster_when i view from cpanel, it says it expires 201015:10
brewmaster_but when i browse the site with FF / konqi, the info says expires in 200815:10
brewmaster_(yesterday)15:10
brewmaster_restarting apache did nothing btw15:11
croessnerHi, is there somebody knowing on how to install Hardy on an Intel Apple Xserve?15:14
croessnerOh please, not all at once :-)15:16
Birthday_Kaiserpatience :)15:16
=== Birthday_Kaiser is now known as Kamping_Kaiser
croessnerBirthday_Kaiser, just joking a bit.15:17
Kamping_Kaisercroessner, :)15:17
croessnerKamping_Kaiser, it's really hard to get answers on my topic. So I really do not believe in getting any help anywhere.15:18
Kamping_Kaiseri've got no idea. dont play with intel apples :)15:18
Kamping_Kaiseranyway, catch you later15:18
=== lamont` is now known as lamont
uvirtbotNew bug: #244265 in samba (main) "winbindd internal error" [Undecided,New] https://launchpad.net/bugs/24426516:36
=== pteague_laptop is now known as pteague_work
Dark_Shadow_2greetings, if one would create a netboot initram, does one have to alter the inittab/ or the /etc/event.d script files? If not, where do i have to put a script which runs before mounting root?17:13
ScottKmathiaz: I added my usual spec item to the agenda.  I think I added it in the wrong place though, so feel free to move it around.17:33
celephaisi, is there a way with dpkg to save the installed program's list to a file and then install the same package on another machine?18:21
maswan--get-selections18:21
celephaisuh thanks18:22
celephaisand is there a way to copy configuration files too?18:22
=== bdmurray_ is now known as bdmurray
zulmathiaz: I think jcastro mentioned that you should be able to link php and mysql bugs to launchpad soon18:44
zuljdstrand: ping, do you want me to do the samba fix for intrepid?19:14
jdstrandzul: no, I already did19:15
zuljdstrand: cool19:15
jdstrandzul finally realizes the benefits of jdstrand's core-dev membership19:16
zuljdstrand: heh I knew but you got to fix everything else so I thought you might need some help ;)19:16
jdstrandzul: I appreciate it :)19:24
zuljdstrand: np19:24
melterhow do i replace dhcp3-client with dhcpcd?19:40
lukehasnonamemathiaz and mathiaz_ are both on20:15
lukehasnonamezomg20:15
=== mathiaz_ is now known as mathiaz
kylebrownHi20:22
kylebrownCan anyone help me set up my first linux server?20:22
ScottKkylebrown: It generally works better when you've tried yourself and then ask specific questions about problems you're having.20:27
kylebrownWell I have it installed. Can you help me from there? I am linux dumb, lol. I can use things with a GUI for general usage, but never anything like this20:27
kylebrownScottK: Would you be able to help me set my frist file server up?20:31
ScottKI'm probably not the best person to ask for that use case.20:34
kylebrownWell the only thing that I know how to do is log in, lol. I just need something. I'm horrable at this. I mean if you don't mind helping that is.20:34
duiukylebrown: If you don't mind spending $40 on a book, there's a very good one called "Begging Ubuntu Server Administration" by Sander van Vugt that I came across last week. It explains EVERYTHING.20:35
duiu*Beginning20:35
kylebrownI might have to check that out some time. I don't have much use for a server for real intense things. Just simple access on a rare occasion and for storage at home.20:36
ScottKkylebrown: Have you looked at the Ubuntu server guide?20:36
kylebrownI honestly had no idea there was one20:36
kylebrowni google'd for hours20:36
kylebrownI havn't slepet for like 24 hours.20:36
lukehasnonameduiu: I recommend that book as well20:36
lukehasnonamehelp.ubuntu.com kylebrown check for the server guide20:37
ScottKkylebrown: There is also https://help.ubuntu.com/8.04/serverguide/C/index.html20:37
ScottK^^ server guide.20:37
uvirtbotScottK: Error: "^" is not a valid command.20:37
ScottK ^^ server guide.20:37
kylebrownI'm usually mostly on my mac (as I am now), windows sometimes to program, and linux for other general things20:37
duiukylebrown: advice, write this down even if you don't understand it. Create users for everyone that will access your server, put the users in a group, make a directory like /srv/fileserver, make the group the group owner, and a member of the group the file owner. And set SUID. Then conifgure samba for that folder (there's guides for that)20:38
kylebrownThanks so much for the guide20:38
kylebrownwhat if I give out an access name and password and make only one?20:39
duiuif everyone uses that and doesn't access at the same time, that'll work too.20:39
kylebrownSo multi users are for multi access is all?20:39
duiuand for keeping track of who does what20:40
duiualso, if you employ the sticky bit as well as SUID, it's keeps people from deleting each other's files20:40
ScottKkylebrown: If you only have one username for everyone the first time someone does something they are supposed to you will deeply regret the decision.20:40
kylebrownWhy?20:41
duiuYou won't know who did it, when, and won't be able to fix it.20:41
duiukylebrown: I assume this is just for your house?20:42
duiuso there isn't more than 6 people, I'd guess?20:42
kylebrownPretty much. And for distrubuting small games that I make20:42
kylebrownNot at a time. One or 2 at a time most20:42
duiuwell, for your local users do "useradd (insertusernamehere)" then "passwd (useryoujustmade)" to set a password for them.20:43
duiuoh and you'll have to use sudo when you do that20:44
lukehasnonamekylebrown: with " -m" after useradd20:44
duiuyes, sorry about that, your user probably wants a home directory20:44
lukehasnonameseriously, get the book duiu recommened, it won't solve every problem, but it sure will help20:45
duiuyeah, I learned all this last weekend. I'm just waiting for all the parts to arrive to do the same thing you are :)20:45
kylebrownI have no idea what I am doing in here....................20:45
kylebrownI will never get this working because I don't know linux20:46
duiukylebrown: if all you want is a file server you could use FreeNAS. It's easier, but you can't do as much.20:46
duiuI think it'll do an FTP server as well.20:47
kylebrownI'm cool with that as long as I can store and get files20:47
kylebrownCan I get them strieght from browser to download?20:47
duiu?20:47
duiuwww.freenas.org20:48
duiuen.wikipedia.org/wiki/freenas20:48
kylebrownI'll brb, sorro20:48
kylebrownback20:49
kylebrownI think that is what I want20:49
duiuThe guide's a little tricky, it's not written well, but it explains everything.20:50
kylebrownOk. I am on my server and at the logged in command line20:50
kylebrownI am really bad with guides, because it never works right. I tried videos, and written guides and failed20:51
kylebrownWhat's my first step? I assume download, and if so, how20:52
duiudownload FreeNAS? That's a whole nother operating system. Download it and burn it to a cd using a different computer.20:52
kylebrownoh, lmao20:52
duiucheck out #freenas for help20:53
kylebrownLike the one I'm on?20:53
duiuyeah20:53
kylebrownYou guys rocl20:53
duiucan't help you anymore20:53
kylebrownalright. I'll try that20:53
mathiazkees: how do you feel about bug 243810 ?20:54
uvirtbotLaunchpad bug 243810 in apparmor "AppArmor Isnt Implemented on Intrepid Alpha 1" [Undecided,New] https://launchpad.net/bugs/24381020:54
keesmathiaz: I feel like I wish there was time to get the AA code ported to the intrepid kernel.  ;)20:56
keesmathiaz: in theory, jjohansen has been working on the next cycle up for-mainline patches, so I was waiting on that.20:57
keesmathiaz: if much more time goes by, I'll do it myself, but I've been busy with other stuff20:57
mathiazkees: ok - That's what I thought20:58
mathiazkees: user space is up-to-date, but kernel is not ready yet20:58
keesmathiaz: right.20:58
keesmathiaz: I just uploaded the userspace bits over the weekend (though I botched and didn't include your changes)20:58
keesI'm sure there will be more uploads, so it'll get in.20:59
mathiazkees: I'll milestone this bug for intrepid-beta ok ?21:00
keesmathiaz: yeah, that should certainly be done by then.  :)21:01
mathiazkees: hm - I'd put beta4 instead, which is just before FF21:02
keesokay, sounds right. (you mean alpha4?)21:02
mathiazkees: yes :D21:02
sommerScottK: I've created an updated php5-clamavlib debian package, should I just attach it to debian bug #479885 ?21:51
uvirtbotDebian bug 479885 in php-clamavlib "php-clamavlib: FTBFS: clamav.c:164: error: 'struct cl_limits' has no member named 'maxratio'" [Serious,Open] http://bugs.debian.org/47988521:51
ScottKsommer: Did you make it proper NMU?21:52
sommerScottK: I think so :)... read through the developers reference sections concerning nmus21:52
sommerwant to have a look at it first?21:53
ScottKsommer: Can you put a debdiff somewhere and link me?21:53
ScottKYes.21:53
sommeronly 4.5k want me to just email it?21:53
ScottKThat's fine.21:53
ScottKscott .at. kitterman.com21:53
sommercool, on the way21:54
ScottKsommer: Do you have any interest in maintaining the package in Debian?21:54
sommerScottK: since upstream is dead, it doesn't seem like the greatest of candidates21:55
ScottKI don't do PHP, so I have no opinion, but do you think it's useful?21:56
sommerScottK: I guess I don't really see the benefit of it... the only real use I can see for it is to scan uploaded files, but you could just as easily call clamdscan, or another utility21:57
ScottKRight.21:58
ScottKI guess if you were scanning a lot of files the direct libclamav integration would be faster, but that's a detail.21:58
sommerI've also noticed the php5-clamavlib performance hit when starting apache, so for me the project seems redundant21:59
sommeranyway, gotta run bbl22:01
ScottKOK.22:01
ScottKSee you.22:01
=== soren_ is now known as soren

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