[02:35] <twb> !partner
[03:17] <twb> I have a Dapper system in front of me which may have been compromised.
[03:18] <twb> How can I compare the checksums of all files of all installed packages against what is expected (i.e. listed in /var/lib/dpkg/info/*.md5sums)?
[03:27] <twb> #debian told me: debsums.
[06:50] <quizme> hi, i tried to set up a subdomain
[06:50] <quizme> but it ain't workin'
[06:50] <quizme> http://dev.thirdreplicator.com/
[06:50] <quizme> and no errors in my apache log either
[07:48] <twb> That sounds more like a question for #apache
[07:48] <twb> Or #httpd or whatever those jackasses use
[09:16] <Bilge> How can I write a script that has to pass a password to a program such as a script that connects to a MySQL database
[09:26] <alexm> Bilge: expect
[09:27] <Bilge> I don't like using non-standard commands in my scripts :P
[09:29] <alexm> you can try to make your own expect, but i doubt it's worthwhile
[09:30] <alexm> expect it's been well known and quite useful for a long time, and it's available for Perl and Python too
[09:33] <alexm> OTOH, in the case of MySQL database there are quite a few options to pass the password
[09:47] <sandstrom> test
[09:47] <sandstrom>  /etc/init.d/ufw start says "problem running /etc/ufw/before.rules". How can I get something more verbose, like what rules fail?
[09:48] <Bilge> How exactly is expect going to allow me to pass my password without storing it in a text file
[09:49] <_ruben>   -p, --password[=name]
[09:49] <_ruben>                       Password to use when connecting to server. If password is
[09:49] <_ruben>                       not given it's asked from the tty. WARNING: This is
[09:49] <_ruben>                       insecure as the password is visible for anyone through
[09:49] <_ruben>                       /proc for a short time.
[10:03] <dayo> how to i let my 32-bit server see all 10GB of RAM? it's an Alternate CD installation.
[10:05] <Jeeves_> dayo: 32-bit and 10GB ram is not really compatible, afaik
[10:08] <_ruben> wouldnt the -server kernel do the job, or does have pae have its limits as well?
[10:09] <_ruben> damn .. i really type like shit lately
[10:12] <henkjan_> alternate installation maybe doesnt install the -server kernel
[10:12] <henkjan_> -server kernel is pae and should work with 32bit and lots of ram
[10:22] <dayo> Jeeves_: henkjan_: so all i need to do is install a 32-bit server kernel?
[10:23] <Jeeves_> dayo: That might do the trick than, yes
[10:23] <dayo> Jeeves_: ok, i'll try that. thanks
[10:26] <to_> hi
[10:27] <to_> I'm configuring my dns server reading this documentation https://help.ubuntu.com/9.04/serverguide/C/dns-configuration.html but how can I find my own ip address like 192.168.1.10 ? how can I know it?
[10:46] <alexm> Bilge: when you said you want to pass the password to a command, where does the password come from?
[11:15] <acalvo> Hi!
[11:16] <acalvo> I've a PDC with PAM authentification, and I've deleted a user to recreate it. However, the UID seems to be in used already, is there any way to see/manage all UIDs used?
[11:33] <sandstrom>  /etc/init.d/ufw start says "problem running /etc/ufw/before.rules". Anyone know if I get something more verbose, like what rules fail? Any help is appreciated!
[11:54] <MT-> I'm getting a WHOLE lot of these lines in /var/log/syslog - Jul 14 07:51:14 insto -- MARK --
[12:05] <Daviey> MT-: That is by design, you can disable it if you wish
[12:07] <Daviey> MT-: Currently getting it every 20 mins?
[12:09] <MT-> Daviey: y
[12:09] <MT-> a
[12:09] <MT-> Daviey: I'll let it keep ruinning, just read what it's for
[12:09] <MT-> I'll just white list it in logcheck
[12:12] <MT-> Daviey: you know regex?
[12:12] <Daviey> STAND BACK, I KNOW REGULAR EXPRESSIONS!
[12:12] <MT-> Daviey: I was just wondering if this looks right -    ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ CRON\[[0-9]+\]: pam_unix\(cron:session\): session (opened|closed) for user (logcheck|root|smmsp)(| by \(uid=0\))
[12:13] <Daviey> to match what string?
[12:14] <MT-> I want it to catch lines such as "Jul 14 00:02:10 insto CRON[28104]: pam_unix(cron:session): session closed for user logcheck" but for opened or closed, for user logcheck, root, or smmp, and whether or not the last piece is there. The last part whould be optional.
[12:14] <MT-> Daviey: sorry, 22hr no sleep on a short nap prior - I already type so and this is making it worse :P
[12:14] <Daviey> hmm.. your test string does not match your sample string :(
[12:15] <MT-> which part doesn't?
[12:17] <MT-> Daviey: http://pastebin.ubuntu.com/218820/
[12:23] <MT-> Daviey: was I at least close?
[12:27] <Daviey> MT-: yeah.. sorry you don't have my full attention :(
[12:30] <MT-> :(
[12:30] <MT-> Daviey: will you help me anyway?
[12:30] <Daviey> MT-: "?" is a good way of making  a part optional
[12:31] <Daviey> ie [by \(uid=0\)]?
[12:32] <MT-> did you see anything else wrong with it?
[12:32] <MT-> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ CRON\[[0-9]+\]: pam_unix\(cron:session\): session (opened|closed) for user (logcheck|root|smmsp)[ by \(uid=0\)]?
[12:33] <MT-> uvirtbot: I think you're a little confused
[12:35] <MT-> Daviey: I'll try that out. When it runs again it'll be palinly obvious how well it worked
[12:35] <MT-> thansk :)
[12:35] <MT-> thanks*
[12:37] <Daviey> i think it's ok
[12:38] <MT-> :)
[13:10] <jdstrand> sandstrom: ufw is just running iptables-restore. eg 'sudo iptables-restore -n < /etc/ufw/before.rules'
[13:12] <sandstrom> jdstrand: thanks! Btw. your previous help on the missing state modul was helpful. After some discussion back and forth they admitted that it was wrong, and had some parallels guy go in and fix it. So thanks again!
[13:12] <jdstrand> sure
[13:14] <sandstrom> jdstrand: running the command gives me iptables-restore: line 71 failed. Line 71 is the sole command COMMIT
[13:14] <ivoks> why o why is my /dev/random idle?
[13:15] <jdstrand> sandstrom: then I would recommend simply running each rules line in before.rules with 'iptables' prepended to it
[13:15] <jdstrand> eg
[13:15] <jdstrand> -A ufw-before-input -i lo -j ACCEPT
[13:15] <jdstrand> becomes:
[13:16] <sandstrom> thanks! I'll try that
[13:16] <jdstrand> sudo iptables -A ufw-before-input -i lo -j ACCEPT
[13:16] <jdstrand> sandstrom: you may want to read 'man iptables' about flusing tables, etc
[13:17] <jdstrand> bug #399638
[13:17] <sandstrom> jdstrand: thanks!
[13:19] <sandstrom> jdstrand: the filter syntax in the beginning, filter* :ufw-before-input - [0:0] etc. doesn't map directly onto iptables so that iptables :ufw-before-input - [0:0] => error. Can I safely ignore them?
[13:20] <jdstrand> yes
[13:20] <jdstrand> that is a short-hand for creating/flushing the tables
[14:28] <Bilge> Is there somewhere that documents what all the entries under /dev are?
[14:40] <ForeverSmurf> hello
[14:41] <ForeverSmurf> I am attempting to install ubuntu on a remote server for the first time
[14:42] <ForeverSmurf> I have followed the following guide: https://help.ubuntu.com/community/Installation/OverSSH
[14:42] <ForeverSmurf> it is an athlon 3800 server with 1GB of ram
[14:42] <ForeverSmurf> I choose to use the debootstrap_1.0.13~jaunty1_all.deb bootstrap package
[14:42] <ForeverSmurf> imo everything is installed correctly
[14:43] <ForeverSmurf>  I have installed grub too which was error free
[14:43] <ForeverSmurf> however, the server refuses to boot
[14:43] <ForeverSmurf> I am attempting to get serial consol output from grub but again... no luck
[14:43] <ForeverSmurf> I'm at a loss as to what to do next
[14:44] <ForeverSmurf> I do have a question: what is the difference between debootstrap-udeb_1.0.13~jaunty1_all.udeb and debootstrap_1.0.13~jaunty1_all.deb
[14:44] <ForeverSmurf> serial console output is enabled on the kernel command line too
[14:47] <Sam-I-Am> you sure grub is pointing to the right place?
[14:47] <Sam-I-Am> does grub even come up?
[14:47] <ForeverSmurf> no.... I can't see it from the serial console
[14:48] <ForeverSmurf> I added those 2 lines    'serial --unit=0.....' and 'terminal --timeout=....' from the http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel-grub.html guide to the top of grub.conf
[14:48] <ForeverSmurf> I installed grub using
[14:48] <ForeverSmurf> root (hd0,0)
[14:48] <ForeverSmurf> setup (hd0)
[14:49] <ForeverSmurf> the /dev/sda hard drive IS bootable
[14:49] <ForeverSmurf> I also installed grub on the other (unused hard drive)
[14:49] <ForeverSmurf> root (hd1,0)
[14:49] <ForeverSmurf> setup (hd1)
[14:50] <ForeverSmurf> the fact that I get nothing on the remote serial console for both grub and the kernel makes it more likely to be a grub/boot issue
[14:50] <ForeverSmurf> this is my second attempt btw
[14:50] <ForeverSmurf> the first one went smoothly too
[14:50] <ForeverSmurf> just didn't fucking boot ;-)
[14:50] <Sam-I-Am> well, if grub is configured for serial... and you're not seeing any output... i wonder if its even loading grub at all
[14:50] <Sam-I-Am> might be confused with more than one disk
[14:50] <ForeverSmurf> yes, that's my opinion
[14:51] <ForeverSmurf> is it worth trying lilo?
[14:51] <ForeverSmurf> is it supported?
[14:51] <Sam-I-Am> lilo might work... although its extremely difficult to debug anything when you can't see it
[14:51] <ForeverSmurf> or is there some kind of futher testing I could do with grub
[14:52] <ForeverSmurf> my partition layout is simple
[14:52] <Sam-I-Am> well, if you had serial output that'd be good
[14:52] <Sam-I-Am> so grub is on the mbr, right?
[14:52] <ForeverSmurf>   /dev/sda1 is '/'
[14:53] <ForeverSmurf>    /dev/sda2 is swap
[14:53] <ForeverSmurf> yes
[14:53] <ForeverSmurf> setup (hd0) installs grub on the mbr right?
[14:53] <Sam-I-Am> as long as hd0 is mapped to sda :)
[14:53] <ForeverSmurf> yes  I also type device (hd0) /dev/sda
[14:54] <ForeverSmurf> and device (hd1) /dev/sdb
[14:54] <ForeverSmurf> is there some way of displaying the mbr
[14:54] <ForeverSmurf> to check it
[14:54] <Sam-I-Am> are you in the system?
[14:54] <ForeverSmurf> sec
[14:55] <Sam-I-Am> you can dd if=/dev/sda bs=512 count=1 ... that'll get your MBR
[14:55] <Sam-I-Am> it wont particularly be interesting, but it might say 'grub' somewhere
[14:56] <ForeverSmurf> it's rebooting into the recovery system
[14:57] <Sam-I-Am> so this thing has serial but no vga?
[14:57] <ForeverSmurf> correct
[14:57] <ForeverSmurf> it's a remove rack server I assume
[14:57] <Sam-I-Am> ah
[14:57] <ForeverSmurf> with www.1and1.com
[14:57] <ForeverSmurf> remote
[14:57] <Sam-I-Am> so how are you getting serial output?
[14:57] <Sam-I-Am> terminal server?
[14:57] <ForeverSmurf> ok... I am in
[14:58] <ForeverSmurf> apache
[14:58] <ForeverSmurf> ssh
[14:58] <ForeverSmurf> postfix
[14:58] <ForeverSmurf> etc....
[14:58] <Sam-I-Am> i mean, how are they getting serial output to you?
[14:58] <Sam-I-Am> it worked enough to install, right?
[14:58] <ForeverSmurf> console=tty0 console=ttyS0,57600 load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=235280 initrd=linux/rescue32-2.6-sarge.gz pw=$1$6HXoFCFz$njvZtuCPeayMCyNClcorl/ tz=Europe/London root=/dev/ram0 rw BOOT_IMAGE=linux/kernel32-2.6
[14:58] <ForeverSmurf> that is the /proc/cmdline of rescue system
[14:59] <ForeverSmurf> so the important lines here are console=tty0 console=ttyS0,57600
[14:59] <ForeverSmurf> which is what I added to my grub.conf file
[14:59] <ForeverSmurf> I also enabled the serial output directly from grub itself
[14:59] <Sam-I-Am> grub does serial at 57600?
[15:00] <ForeverSmurf> I think it can do
[15:00] <ForeverSmurf> not sure
[15:00] <ForeverSmurf> there is an option called serial to grub
[15:00] <Sam-I-Am> well, if whatever contraption your provider is using to forward is using 57600, then grub needs to use 57600, otherwise you wont see anything... or it'll be junk
[15:01] <ForeverSmurf> I am not seeing anything at all
[15:01] <Sam-I-Am> do you have a --speed after the serial directive in grub?
[15:01] <ForeverSmurf> yes.... I specified serial --unit=0 --speed=57600 --word=o --parity=no --stop=1
[15:02] <ForeverSmurf> does that look good?
[15:02] <Sam-I-Am> whats --word=o ?
[15:02] <Sam-I-Am> should be 8
[15:03] <ForeverSmurf> ah, I'll change it
[15:03] <Sam-I-Am> or just leave it out
[15:03] <Sam-I-Am> just having --speed=57600 should work
[15:04] <ForeverSmurf> ok
[15:04] <Sam-I-Am> should default to 8N1
[15:05] <ForeverSmurf> is it safe to omit --unit=0
[15:05] <ForeverSmurf> is that also default?
[15:06] <Sam-I-Am> you need that, if you're using whatever the system thinks is com1
[15:07] <ForeverSmurf> --parity=no --stop=1
[15:07] <ForeverSmurf> should I remove them too?
[15:07] <Sam-I-Am> you can leave those out
[15:07] <ForeverSmurf> ok
[15:07] <ForeverSmurf> I'll try another boot
[15:07] <ForeverSmurf> see if I get anything
[15:08] <Sam-I-Am> make sure you write grub's config out :)
[15:08] <ForeverSmurf> the line 'terminal serial'   is correct too right?
[15:08] <Sam-I-Am> terminal serial?
[15:08] <Sam-I-Am> hmm
[15:08] <ForeverSmurf> http://pastebin.com/m36591f87
[15:08] <ForeverSmurf> that is my entire grub config
[15:09] <ForeverSmurf> oh wait
[15:09] <ForeverSmurf> cut some off
[15:09] <ForeverSmurf> http://pastebin.com/m124cb933
[15:09] <Sam-I-Am> the serial stuff looks ok
[15:10] <ForeverSmurf> oh, I forgot I tried with raid this second time around
[15:10] <ForeverSmurf> that's why I have two entries
[15:10] <Sam-I-Am> well, the serial stuff should be fixed... hopefully you'll at least get output now
[15:10] <Sam-I-Am> then you can troubleshoot the next problem
[15:11] <ForeverSmurf> when you say make sure I write grubs config out
[15:11] <ForeverSmurf> your mean running grub
[15:11] <Sam-I-Am> yes
[15:11] <ForeverSmurf> device (hd0) /dev/sda
[15:11] <ForeverSmurf> root (hd0,0)
[15:11] <ForeverSmurf> setup (hd0)
[15:11] <ForeverSmurf> device (hd1) /dev/sdb
[15:11] <ForeverSmurf> root (hd0,0)
[15:11] <ForeverSmurf> setup (hd1)
[15:11] <ForeverSmurf> replace the second root (hd0,0) with root (hd1,0)
[15:12] <acalvo> Hello again!
[15:12] <ForeverSmurf> hello
[15:12] <acalvo> I'd like to know if there is any alternative to make a software portal, like the CITRIX software does
[15:13] <acalvo> to let user deploy themselfs some applications
[15:13] <Sam-I-Am> ForeverSmurf: you might be confusing grub with all the extra crap for the second disk... just have it look at the first one for now.
[15:14] <ForeverSmurf> the disks are identical
[15:14] <ForeverSmurf> raid
[15:14] <ForeverSmurf> sorry, I forgot I was running raid
[15:14] <ForeverSmurf> first attempt at installing ubuntu on the server I left out the raid
[15:14] <ForeverSmurf> so I tried again with raid
[15:14] <Sam-I-Am> well, right now the only thing that matters is getting grub to see the serial port
[15:14] <ForeverSmurf> nothing yet
[15:14] <Sam-I-Am> because if that doesnt work you can't do anything else
[15:14] <ForeverSmurf> yes, I agree
[15:15] <ForeverSmurf> no joy ;-(
[15:15] <Sam-I-Am> you could try changing the --unit to 1 or 2
[15:16] <ForeverSmurf> ok
[15:16] <ForeverSmurf> I just found this http://www.wehave.net/linux/custom1and1.html
[15:17] <ForeverSmurf> there is an entry in there for serial consol
[15:17] <ForeverSmurf> looks same as mine
[15:17] <ForeverSmurf> but I only have serial --unit=0 --speed=57600
[15:17] <ForeverSmurf> without the --word=8 --parity=no --stop=1
[15:18] <ForeverSmurf> is it safe to remove everything from grub appart from the serial consol
[15:18] <ForeverSmurf> and terinal
[15:18] <ForeverSmurf> for testing
[15:18] <Sam-I-Am> probably
[15:19] <Sam-I-Am> try that config you posted...
[15:19] <ForeverSmurf> if there is nothing in there will it output anything at all?
[15:19] <Sam-I-Am> should see a prompt
[15:20] <Sam-I-Am> or it just telling you its confused
[15:30] <ForeverSmurf> fingers crossed
[15:30] <ForeverSmurf> I found this too http://forum.r1soft.com/archive/index.php/t-771.html
[15:31] <ForeverSmurf> there entires in grub seem to work
[15:32] <ForeverSmurf> nope
[15:32] <ForeverSmurf> not looking good at all
[15:32] <ForeverSmurf> suggests there is something very wrong with my grub
[15:32] <ForeverSmurf> all the output looks perfect though
[15:32] <Sam-I-Am> no serial output tho?
[15:33] <ForeverSmurf> http://pastebin.com/m7f575a53
[15:33] <ForeverSmurf> no serial ouput
[15:33] <ForeverSmurf> nothing
[15:33] <ForeverSmurf> can't login
[15:33] <ForeverSmurf> imo grub is not even being loaded
[15:34] <DormantOden> hey ubuntu-server people, every few days my server dies with a "Kernel panic - not syncing error", or just a massive trace =S Anyone know what might cause this?
[15:34] <ForeverSmurf> maybe I'll try again without raid
[15:34] <ForeverSmurf> DormantOden, looks like a disk IO error
[15:34] <DormantOden> I uploaded a picture of it in case it helps: http://dormantmind.com/personal/uploaded/DormantOden/error.JPG
[15:35] <ForeverSmurf> not syncing is todo with HD right?
[15:35] <DormantOden> hmmm, isee
[15:35] <ForeverSmurf> wow, nice screen
[15:35] <DormantOden> lol
[15:35] <DormantOden> its usually headless :P
[15:35] <ForeverSmurf> do you wear glasses?
[15:35] <DormantOden> no
[15:36] <ForeverSmurf> you will need some if you look at that screen much longer
[15:36] <DormantOden> it says "low radition" on it xD
[15:36] <ForeverSmurf> low radiation for 1980
[15:36] <ForeverSmurf> high radiation for 2009
[15:36] <ForeverSmurf> those old screen are dangerous
[15:36] <DormantOden> could it be due to the kde?
[15:37] <DormantOden> Ive just seen the line at the top that says ? crash_kexec+....
[15:37] <ForeverSmurf> well, it mentions smp and irq in there
[15:37] <DormantOden> whats that
[15:37] <ForeverSmurf> could be some kind of smp interupt race condition
[15:37] <ForeverSmurf> I have no idea what that is
[15:37] <ForeverSmurf> but I think I heard someone say it before
[15:37] <DormantOden> heh, ok, Ill google
[15:38] <ForeverSmurf> anyhow
[15:38] <_ruben> if it runs kde, it aint a server ;)
[15:38] <ForeverSmurf> it looks more like a kernel linux problem
[15:38] <ForeverSmurf> rather than something ubuntu specific
[15:38] <DormantOden> _ruben, some people needed a GUI... You can teach them bash if you want xD
[15:39] <_ruben> yes, but support-wise that tends to turn a "server" into a "desktop"
[15:40] <DormantOden> pfff, splitting hairs
[15:40] <ForeverSmurf> welll
[15:40] <ForeverSmurf> at least your server runs
[15:40] <ForeverSmurf> I can't get my working
[15:40] <DormantOden> this is true
[15:40] <DormantOden> although the memtest wont load into memory for some reason... stupid grub
[15:41] <DormantOden> whats up with yours ForeverSmurf?
[15:41] <ForeverSmurf> can even get grub to load
[15:41] <ForeverSmurf> what is the difference between debootstrap-udeb_1.0.13~jaunty1_all.udeb and debootstrap_1.0.13~jaunty1_all.deb
[15:41] <ForeverSmurf> I used the later
[15:41] <ForeverSmurf> is that an issue?
[15:42] <Sam-I-Am> i'd use the .deb
[15:42] <_ruben> the first is only used by the installer, the latter is to be used within an already installed system
[15:44] <ForeverSmurf> ok. I selected the correct one then
[15:45] <ForeverSmurf>   /usr/sbin/debootstrap --arch i386 jaunty /mnt/ubuntu http://archive.ubuntu.com/ubuntu
[15:46] <ForeverSmurf> wat that command correct?
[15:52] <acalvo> does anyone know a good way to deplay images (like with a partimage server) but changing the machine name of a windows xp?
[15:55] <Steve[mbp]> Morning
[15:56] <Steve[mbp]> Morning everyone!
[15:58] <acalvo> Steve[mbp]: morning? wow, it's 5 pm here!
[15:59] <_ruben> acalvo: how is windows xp related to ubuntu-server?
[15:59] <acalvo> _ruben: using partimage?
[16:00] <acalvo> it's not so related to ubuntu-server, but I guess most of the people that join this channel are working with domains and stuff, so maybe someone had the same problem/question as I had and I can take an advise from him
[16:02] <neXus> acalvo: no only the domains, also can be something else :)
[16:02] <acalvo> neXus: well, I guess you get my point
[16:02] <neXus> acalvo: sure :)
[16:03] <alexm> acalvo: i guess that dhcp does not the trick, does it?
[16:04] <acalvo> alexm: well, no, since I need to, at least, run some script into the machine (AFAIK)
[16:06] <acalvo> I don't know if using, say DHCP/BOOTP, can get the machine name and domain name
[16:08] <DormantOden> oh globbits.... now my server only lasts 2 minutes xD Hows your server life going ForeverSmurf?
[16:08] <alexm> you can set dns hostname and domain name through dhcp, but i'm not so sure about windows computer name
[16:10] <acalvo> alexm: yes, that what I guess
[16:37] <acalvo> bye!
[16:37] <Bilge> Is there somewhere that documents what all the entries under /dev are?
[16:39] <jpds> Bilge: http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html
[17:18] <Ng> where would libvirt/kvm be putting their logs? I'm trying out kirkland's kvm backport with virt-install and it's kinda not really doing anything and I can't see any evidence as to why
[17:18] <Ng> there's nothing particularly helpful in /var/log/libvirt/qemu/$guestname.log
[17:22] <Daviey> Ng: if it's dieing, there should be logs there that show the segfault
[17:23] <Daviey> Ng: on another note, logrotate seems over-keen on them :/
[17:24] <Daviey> root@katana:/var/log/libvirt/qemu# ls -al | wc -l
[17:24] <Daviey> 227
[17:24] <Daviey> root@katana:/var/log/libvirt/qemu# du -h
[17:24] <Daviey> 680K	.
[17:24] <Daviey> thanks for gz'ing empty logs :)
[17:26] <Daviey> Ng: The top line of the log shows the kvm line libvirt is spawning.. have you tried running that manually
[17:29] <ball> If I add a user with useradd, will that user be able to sudo?
[17:29] <ball> (does it depend on group membership?)
[17:31] <RoAkSoAx> ball, after you add the user you need to add it sudo rights like: adduser <user> admin
[17:31] <RoAkSoAx> and it will be able to sudo
[17:32] <ball> RoAkSoAx: I don't want him to have sudo rights, so it sounds as though what I want is the default.
[17:32] <infinity> ball: And you want adduser, not useradd.
[17:32] <RoAkSoAx> ball, yes. :)
[17:33] <ball> Thanks
[17:33] <ball> Oh, I used useradd
[17:33] <ball> Is that wrong?
[17:33] <infinity> adduser is a frontend to useradd that enforced extra system policy, makes sure homedirs are set up how you want, blah blah.
[17:34] <infinity> Either one will add a user though, if all you really cared about was an entry in /etc/passwd.
[17:34] <ball> I used -m and -b /home
[17:35] <infinity> Yeah, adduser avoids the needs for -m and -b...
[17:35] <infinity> Among other things.
[17:35] <infinity> *shrug*
[17:35] <infinity> (default usergroups, for instance too)
[17:36] <Ng> Daviey: I'll give that a go
[17:37] <ball> hello dinger1986
[17:42]  * infinity wonders if dinger's clients will keep connecting until we get to dinger2009...
[17:46] <Ng> wrt bug 269881, comment #4 suggests that --accelerate doesn't do what the manpage says it does. Is that right? Which option does make virt-install tell kvm to use hardware virtualisation?
[17:48] <ivoks> doesn't kvm do that by default?
[17:48] <ivoks> it uses /dev/kvm if it exists
[17:50] <ivoks> oh, hi Ng :)
[17:51] <Ng> I have /dev/kvm, it's supported hardware and the only option I can pass to virt-install that makes it not say "Unsupported virtualization type" is --hvm which seems to make it call the underlying tool (qemu-system-x86_64 weirdly, not kvm) with -no-kqemu and it then consumes a *bunch* of CPU
[17:51] <Ng> hi :)
[17:52] <ivoks> let me boot my virt server
[17:53] <Daviey> Ng: does that produce "<domain type='kvm'>
[17:54] <Daviey>   <os>
[17:54] <Daviey>     <type arch='x86_64' machine='pc'>hvm</type>
[17:54] <Daviey> ... If so, that is correct
[17:54] <Ng> <domain type='qemu'>
[17:54] <Ng>     <type arch='x86_64' machine='pc'>hvm</type>
[17:54] <ivoks> that's wrong
[17:55] <ivoks> domain type should be kvm
[17:56] <Daviey> Ng: You *could* just change it, and re-define it..
[17:56] <ivoks> hvm means - virtualized
[17:56] <Daviey> but would be nice to find out the underlying bug
[17:57] <Daviey> ivoks: but to be "helpful" os type should be hvm :)
[17:57] <ivoks> 'virt-install --accelerate' should be enough
[17:57] <Ng> --accelerate gives me the "Unsupported virtualization type"
[17:58] <ivoks> running as a user or root? :)
[17:58] <Ng> root all the way down
[17:59] <ivoks> hm
[17:59] <ivoks>       msg = _("Unsupported virtualization type '%s' " % (os_type and os_type
[17:59] <ivoks>                                                            or _("default")))
[17:59] <Ng> http://paste2.org/p/327165 - that's the command I used
[18:00] <alexm> ivoks: i have <domain type='kvm' id='1'> but also <type arch='x86_64' machine='pc'>hvm</type>
[18:00] <Daviey> alexm: /me has already mentioned this
[18:01] <ivoks> alexm: right, that's ok
[18:01] <ivoks> what's wrong is domain type qemu, which Ng has
[18:02] <alexm> Daviey: just confirming that i got it that way too
[18:02] <alexm> okay, now i realize that Ng had domain type qemu, sorry for intruding
[18:03] <ivoks> Ng: that command works for me :)
[18:03] <ivoks> Ng: could you paste the output of it?
[18:05] <Daviey> ivoks / Ng, Are you both using the same release?
[18:05] <Daviey> it has changed quite a lot since hardy
[18:06] <ivoks> i'm using jaunty
[18:06] <Ng> I'm using hardy with the kvm-84 backport
[18:06] <Ng> ivoks: http://paste2.org/p/327169
[18:07] <Daviey> interesting..
[18:07] <ivoks> how come there's no debug?
[18:07] <_alkekshi_> Could some one help me?
[18:07] <Ng> ivoks: I'd love to know that :)
[18:07] <Daviey> Hardy + Self backport of kvm-79 == "Unsupported virtualization type"
[18:07] <ivoks> dpkg -l | grep python-virtinst
[18:08] <_alkekshi_> i'm a newbie and i would like to now what is the easiest way to get samba working
[18:08] <Ng> 0.300.3-5ubuntu3
[18:08] <ivoks> maybe that's the problem
[18:08] <ivoks> i have 0.400
[18:08] <Ng> fwiw I'm using the kvm-84 backport by way of http://ppa.launchpad.net/ubuntu-virt/ppa/ubuntu
[18:08] <ivoks> maybe python-virtinst should be backported
[18:08]  * Daviey has the same package as Ng for python-virtinst
[18:09] <ball> hello Daviey
[18:09] <Daviey> hey ball
[18:09] <ball> Is there a command to watch someone's terminal to see what they type?
[18:10] <ivoks> Ng: i'd try backporting python-virtinst
[18:11] <ivoks> it relies on python-libvirt
[18:11] <ivoks> which is backported
[18:13] <ivoks> take care guys
[18:13] <Daviey> o/
[18:59] <Bilge> How can I check what packages another package depends on?
[19:11] <dayo> !kernel > dayo
[19:12] <dayo> Bilge: apt-cache showpkg <packageName>
[19:16] <Bilge> Thanks
[19:17] <Bilge> I guess apt-cache depends would be more appropriate? :)
[20:11] <Pirate_Hunter> how do i create my domain name on my server, I dont fully understand but is the domain the same as the hostname?
[20:13] <ball> Not quite
[20:13] <ball> (in fact, not at all).
[20:13] <ball> Have you bought a domain
[20:13] <ball> ?
[20:13] <Enkz> allmost, hostname is usually the name of your computer inside a network
[20:14] <Pirate_Hunter> ball nope i havent based on the tuts ive been following it would use the hostname as a domain, is that even possible
[20:14] <Enkz> you can register it
[20:14] <ball> ...but you probably don't want to.
[20:14] <Pirate_Hunter> Enkz, so @example could become @example.lan or com depending on the webserver?
[20:15] <ball> traditionally a domain name is hostname.domain
[20:15] <ball> ...or rather an FQDN is (fully-qualified domain name)
[20:15] <ball> e.g. potch.endoftheinternet.org
[20:15] <ball> "potch" is the hostname
[20:15] <ball> endoftheinternet.org is the domain
[20:16] <ball> you buy a domain name and point it to the IP address of your server (or LAN)
[20:16] <ball> I have my router forward certain ports on its WAN interface to the server, which is on the LAN side
[20:16] <ball> ...people using it don't notice.  That's transparent.
[20:17] <Pirate_Hunter> oh hmmm so for soemthing like @example how would i make it a valid domain, the thing is at the moment buying aint an option until i get into grips with this whole server stuff and i am trying for the third time ISPConfig (yeah i know madness) so wish to understand this whole hostname / domain thing
[20:17] <Enkz> ISPconfig requires a nameserver, right?
[20:17] <ball> Pirate_Hunter: mine was free
[20:18]  * ball shrugs
[20:18] <Pirate_Hunter> Enkz, not sure just following the tut from the homepage instead of howtoforge site
[20:18]  * Pirate_Hunter envious of ball, kicks him
[20:19] <ball> Pirate_Hunter: even when I bought a domain, it was inexpensive
[20:19] <ball> Pirate_Hunter: is your Linux box at home?
[20:19] <Pirate_Hunter> ball, yes
[20:19] <ball> What do you want to do with it?
[20:19] <ball> (why do you want it to have a domain?)
[20:20] <Pirate_Hunter> ball, i wish to host my own sites like i said money aint an option at the moment otherwise would be forking £30 a month for it
[20:20] <ball> Web site?
[20:20] <ball> More like UKP 30/year
[20:21] <ball> (for a domain)
[20:21] <ball> hello bin1010
[20:22] <Pirate_Hunter> ball, oh didnt know quite new to this so is there a way for me to do this been looking for noob tuts on setting up servers but havent got anything
[20:24] <Enkz0rz> Power went of when I turned on my server; well that's a good sign :S
[20:26] <ball> Pirate_Hunter: what kind of Internet connection do you have at home?
[20:27] <ball> wtf.  Ubuntu Server doesn't ship with "banner"?
[20:28] <Pirate_Hunter> ball, supposedly 16mb, why do you ask?
[20:28] <ball> Pirate_Hunter: I didn't ask how fast it was, just what /kind/ it was.  Cable?  DSL?  Fibre?
[20:29] <ball> 16 Mbits/sec is fast btw.
[20:29] <ball> I'm surprised that's not massively expensive
[20:43] <ball> Pirate_Hunter: do you have a static IP address, or dynamic?
[21:03] <Pirate_Hunter> ball, sorry was away
[21:03] <Pirate_Hunter> ball, I have a dynamic ip, hmmm my irx client didnt warn me weird
[21:47] <stgraber> a/win 44
[21:47] <stgraber> oops
[21:53] <owh> For many and varied reasons I am setting up a "virtual data centre" within my MacBook. There will be two main machines, a Ubuntu Desktop and a Ubuntu Server. I want to store the user data from the Desktop machine on the server. I also want to run an imap server and a mysql server on the (virtual) Ubuntu Server. From a performance and manageability perspective, how should I store the user data on the server? I can use NFS, CIFS or isc
[22:13] <owh> How do I prevent a kernel upgrade on a production server where I'm happy to upgrade the rest of the updates?
[22:17] <alexm> this is usually achieved by apt preferences, see man apt_preferences
[22:20] <owh> Are you telling me that I need to hard-code that I don't want to upgrade the kernel on this server? There's no way I can do something like apt-get upgrade -kernel*
[22:21] <alexm> you can apt-get install all the packages that you do want to upgrade, i'm not sure if there's an option in apt-get to skip one
[22:21] <owh> Hmm.
[22:22] <alexm> apt-get dist-upgrade should tell you which ones is going to upgrade but will ask for permission first
[22:22] <alexm> just say no and then apt-get install ... (fill the dots cutting and pasting from the previous output)
[22:24] <owh> It's not that I don't know what it's going to do, it's that I don't want to fsk around with a kernel on a remote server where the detection of the network card is chancy at best. If I apt-get install all the shown packages, there's nothing stopping it to upgrade the kernel if a package I specify depends on the new kernel, so I would need to manually go through the list one-at-a-time.
[22:25] <owh> Don't you just hate double clicks :(
[22:25] <alexm> if any of the packages explicitly listed in apt-get install depends on the kernel, you'll be prompted for permission again
[22:26] <alexm> apt-get install will only proceed without asking if you listed all the packages involved
[22:26] <owh> Hmm.
[22:26] <alexm> try it with some other package, apache for instance
[22:27] <alexm> or choose any other harmless package
[22:27] <owh> That is exactly what I did before I got here, but then it started whinging about pre-fork and suggested I remove php. So I thought there must be a better way :)
[22:30] <owh> Is the process to hold a package still echo "pkg_name hold" | dpkg --set-selection
[22:31] <owh> Or have we "advanced" since 2004?
[22:35] <alexm> it seems it's still the same way
[23:36] <ausimage> Anyone understand why a python script used as a daemon would cause dpkg to not find its modules ?
[23:36] <dayo> in my /var/log/auth.log i have periodic appearances of this:  sudo:     root : TTY=unknown ; PWD=/ ; USER=username ; COMMAND=/usr/bin/gconftool --get /system/http_proxy/port   what does it mean?