/srv/irclogs.ubuntu.com/2010/03/04/#ubuntu-server.txt

ShadeSany idea00:21
majukHey guys. Recently, my Samba server totally stopped enforcing file/folder permissions for my domain users. Permissions at the system level are working as intended. Help.00:38
majukhttp://paste.ubuntu.com/387947/ <-- smb.conf00:43
smoserkirkland, yeah, i just saw that.00:45
ShadeSany ideas on this issue?00:47
majukOoooh, the 'force group' parameter is a sneaky little bugger00:59
uvirtbotNew bug: #531646 in vm-builder (universe) "vm build using --raw and LVM logical volume doesn't boot because of Grub install error" [Undecided,New] https://launchpad.net/bugs/53164601:42
=== dendro-afk is now known as dendrobates
glphvgacslookin for a oneliner, tried this: enabling Restricted proprietary drivers cli site:help.ubuntu.com02:42
OverandIs there a 'sane' way to use libvirt / virt-manager to handle bridged networks, or is it a matter of configuring the machine's XML file to manually prod the "br0" (or whatever) interface?02:58
persiaOverand: I do nothing at all to configure bridged networks, and it just works for me.03:02
persia(using virt-manager to define the guests)03:03
persiaMake sure you have a virbr0 interface reported in ifconfig -a03:03
Overandpersia: from what I can tell, the 'vibr0' interface is used for the NAT stuff03:04
OverandBut - this is admittedly a pre-release ubuntu-server 10.04 machine, managed from virt-manager on my arch-linux workstation for the moment =]03:05
persiaAh.  My guests are on the same machine as my virt-manager.  I'm unsure how to help you with the remote model.03:06
Overandpersia: Based on what little I read here, a 'bridge' network seems to be handled differently than a standard 'network' http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.2903:06
Overandpersia: I'm not sure if that's the issue or not.03:06
* persia either03:06
OverandIt would make sense, though.03:06
Overandhm03:06
OverandI wonder if I could use some commandline apps rather than 'virt-manager' - and instead of editing the XML files03:07
Overandvirsh maybe03:07
Overandpersia: so you've got guests running - without NAT - on the same physical segment as the host?03:11
RoAkSoAxzul, how do I test the apport hooks?03:11
zulSTAGING=1 ubuntu-bug <name of apport hook>03:11
OverandI've got that sort of bridge working, but I had to manually stuff it into the XML file for the machine!03:12
RoAkSoAxzul, by STAGING=1 you mean to set that environmen variable?03:13
zulyep03:13
persiaOverand: No.  I have guests running with NAT.03:13
RoAkSoAxzul, ok thanks03:14
Overandpersia: Oh.  That's why I specified 'bridged'03:14
Overandbridged != NAT03:15
persiaSorry.  My misunderstanding.03:15
RoAkSoAxzul, and do I just test "ubuntu-bug package.apport" or should I install the package and do that?03:15
zuli would install the package03:16
RoAkSoAxzul, ok will do that way then, thanks ;)03:17
=== dendrobates is now known as dendro-afk
RoAkSoAxzul, what if a package a binary package has 2 daemons. How will the hook change?03:27
zulyou can do it with the source package name03:27
RoAkSoAxzul, yeah but each daemon has different conf file03:29
RoAkSoAxi mean03:29
RoAkSoAxnet-snmp has two binaries, snmpd has 2 daemons, snmpd and snmptrapd03:29
RoAkSoAxeach with different conffiles03:29
zulso do a source_net-snmp.py03:29
RoAkSoAxzul, and then a add_info_snmpd function, then add_info_snmptrapd function and so on?03:31
zulyep03:31
RoAkSoAxcool I'll do that thanks03:31
=== robbiew is now known as robbiew_
maxagazhow to set default runlevel for a service ?03:47
RoAkSoAxzul, the apport hook must only be as root? Because in my tests says it cannot attach the conffile because of permissions04:20
=== ttx_ is now known as ttx
notyHello!07:21
notyWhere can I find documents or ebooks about Ubuntu server?07:21
twbnoty: apt-get install ubuntu-serverguide07:22
noty:)07:23
notyThank you!07:23
notyI'll try now07:23
Error404NotFoundi have a bit general question regarding webserver behavior, anybody would mind if i ask it in here?08:14
twb!anyone08:14
ubottuA large amount of the first questions asked in this channel start with "Does anyone/anybody..."  Why not ask your next question (the real one) and find out?08:14
Error404NotFoundtwb, my question was a bit different of "anyone" though :P, okay here comes the questions.08:15
twbHow about: "Don't ask to ask unless you're prepared to ask to ask to ask"08:16
persiaThat just encourages recursion and useless traffic :)08:16
persiaAnyone is always free to ask, and lots of folk read backscroll, so waiting can get an answer hours later sometimes.08:16
Error404NotFoundI am trying to setup a cookie-less domain to serve static content. Say i own abc.com and abc.net, both domain are defined in single vhost. If i use abc.net would it become cookie-less? or do i still need cname here?08:17
Error404NotFoundif i use abc.net to load css and images*08:17
persiaCNAME is only vaguely related to cookies in the sense that most browsers won't send a cookie to domains other than those from which they came.08:18
persias/most/many/08:18
Error404NotFoundyes, but all traffic on abc.com will use the cookie which is set to domain=abc.com or in worst case for subdomains as well, i think even though both domain use single vhost, due to tld difference it would be cookie-less.08:19
Error404NotFoundSo my colcusion is using cname for a cookie-less domain is same as use "A" record, and adding the other domain as ServerAlias in vhost config.08:21
twbI have also seen stuff like no-cookies.example.net being a cname for www.example.net08:22
persiaI think the important point is not how the DNS server is configured, but what URL the webserver reports back to the browser.08:22
twbYeah08:23
persiaThat may depend on the DNS configuration, but whether it does or not depends on the webserver configuration.08:23
* persia does not happen to know the defaults08:23
jiboumansmorning08:31
uvirtbotNew bug: #531779 in samba (main) "package libwbclient0 2:3.4.0-3ubuntu5.4 failed to install/upgrade: il sottoprocesso dpkg-deb --control ha restituito lo stato di errore 2" [Undecided,New] https://launchpad.net/bugs/53177908:46
uvirtbotNew bug: #499389 in bacula (main) "karmic->lucid auto-ugprade test failure" [High,Triaged] https://launchpad.net/bugs/49938909:21
TeTeTserver live migration seems to work with libvirt on Lucid, yeah :)09:54
Jeeves_TeTeT: I'm going to try that later on :)09:57
TeTeTJeeves_: worked fine with virsh on the command line and seems to work even with virt-manager09:59
Jeeves_TeTeT: I just tested with karmic -> lucid, that didn't work10:00
Jeeves_But than again, I've never seen it work :)10:01
TeTeTJeeves_: yep, I tested karmic last week and it wasn't working10:01
Jeeves_Ah, ok.10:02
Jeeves_That gives me hope :)10:02
jayveeThe netboot image doesn't seem to come with IPv6 support — is this intentional?10:05
jayveeI just spent absolutely ages trying to add IPv4 support to my network because I finally figured out why my netboot ISO wouldn't install on my IPv6-only network.10:06
TeTeTjayvee: bummer10:08
eekeekXubuntu 9.10 localhost server. One virtual host setup. Put a 'RewriteMap' as one of rules in the sites-enabled for the virtual host. Tried to reload apache which returned an error 'RewriteMap not allowed here'. Where can 'RewriteMap' go - httpd.conf?10:09
jayveeTeTeT: indeed10:09
Jeeves_jayvee: I wanted to create a bug for that!10:09
Jeeves_I noticed it too, last week.10:09
Jeeves_I don't think it intentional, just clueless :)10:09
jayveego knock yourself out :-)10:09
jayveelaunchpad is a-waiting10:10
Jeeves_jayvee: i'm not really in the mood :)10:10
jayveeI think all it needs is the ipv6 kernel module10:10
jayveeeverything else seems to be there10:10
persiaProbably an oversight, rather than cluelessness.  I'm sure there are folk who know *how* to do it.10:10
jayveeubuntu-vm-builder keeps crashing for me, and is buggy as hell. Is there a more rapid way to deploy VMs than the netboot image when vm-builder isn't an option?10:11
Jeeves_persia: cluelessness as in 'ipv6 is nowhere in our prioritylist'10:11
Jeeves_jayvee: How is it crashing?10:11
jayveebleh, I closed the terminal already10:11
jayveeit was crashing in a grub step10:12
jayveeso it got 99.999% of the way, and then bombed out and deleted the whole lot10:12
Jeeves_Ah, are you trying to directly install onto an device?10:12
persiaBah.  Just because one person doesn't make it a priority doesn't mean someone else can't.  Just about anything in Ubuntu is subject to fixing by anyone who wants to fix it.10:12
jayveeJeeves_: into a disk image10:12
Jeeves_jayvee: Hmm.10:12
jayveeto be placed into libvirt, but it didn't get to the libvirt stage10:12
jayveelet me run it again10:12
Jeeves_I've seen Grub having issues when I tried to install directly to an iscsi-disk, not to an image10:13
jayveerunning now: $ sudo ubuntu-vm-builder kvm lucid -m 512 --libvirt=qemu:///system -d /mnt/terror/jeremy/VM/lucid --hostname=lucid10:13
jayveeI'll get back to you when it finished10:13
jayveethe -d option doesn't work, btw10:13
jayveeactually, tbh, haven't tested the -d option successfully in the lucid version of vm-builder, as I've not got a vm to build yet :)10:14
jayveeactually, looks like it *is* caused by the libvirt component — my mistake10:17
jayveeAttributeError: 'Libvirt' object has no attribute 'vm'10:17
jayveeI'd hazard a guess a fix would be s/Libvirt/libvirt/, but not sure10:17
jayvee  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/libvirt/__init__.py", line 54, in preflight_check10:20
jayvee    if hostname in self.all_domains() and not self.vm.overwrite:10:20
jayveedoesn't like the "self.vm.overwrite". trying again with that bit deleted.10:21
jayveebleh heh heh10:21
jayveeVMBuilder.exception.VMBuilderException: Process (['sed', '-ie', 's/^# kopt=root=\\([^ ]*\\)\\(.*\\)/# kopt=root=UUID=cdf0293f-032c-43ac-a4a2-da4a5775834f\n1.0\next4\nfilesystem\\2/g', '/tmp/tmp18YkH0/boot/grub/menu.lst']) returned 1. stdout: , stderr: sed: -e expression #1, char 84: unterminated `s' command10:28
jayveeand now I get that10:29
jayveeI don't call vm-builder buggy as hell for nothing10:29
ivoksso, installing lamp-server doesn't restart apache2 after installation10:40
ivoksit should, cause otherwise php5 module isn't loaded10:40
=== ogra_ is now known as ogra
eekeekShould mod_rewrite rules be inside a <IfModule mod_rewrite.c> container?11:04
Jeeves_eekeek: Only if you want apache to start even though that module isn't loaded11:10
eekeeki see. I'm having trouble with RewriteMap. Upon reloading apache I get "RewriteMap not allowed here"11:13
eekeekI thought I might need a container, but I guess not.11:14
uvirtbotNew bug: #531854 in bind9 (main) "bind9 will not install on a clean system" [Undecided,New] https://launchpad.net/bugs/53185411:42
Stargazemy Network Tools show that port 80 is open, I have local access to my second PC, but not over the internet11:45
Stargazehints & tips please?11:45
jayveeStargaze: what exactly is the problem?11:47
jayveedo you want to know what process is opening port 80?11:48
jayvee$ sudo fuser -v 80/tcp11:48
Stargazei want to display index.html in /var/www11:48
jayveeso it works when you browse to http://localhost/ right?11:48
Stargazewhen i go to the local ip adress11:49
Stargazeforgot to mention: i'm using DynDNS11:49
jayveeokay, and you have port forwarded port 80 to that machine with your router?11:49
Stargazeyes11:50
jayveecan I try to browse to it?11:50
Stargazetry 81.241.46.24911:50
Stargazethat's my current IP address11:50
jayveeStargaze: I'm getting an error “ICMP administratively filtered”11:51
jayveeso I’d say that it’s a firewall problem11:51
Stargazei guess my ISP blocks all ports11:52
Stargazethat's sh*11:52
Stargazebrb11:52
jayveenot necessarily11:52
persiaUm, ICMP should not affect other stuff.11:52
persiaThere'S no reason why TCP/UDP/GRE/etc. shouldn't work just because ICMP is blocked.11:53
jayveenope, you misunderstand11:53
jayveeI tried to access him via TCP port 80, and got an ICMP error in response11:53
persiaOh.  heh.11:53
jayveeStargaze: my ISP by default blocks port 80 too, but they let me unblock it if I log onto the ISP control panel.11:53
jayveeMaybe yours will let you too.11:53
jayveeStargaze: I’m only getting the ICMP error when accessing on port 80. If I try ports 12000 or 81, I get RST packets, so it’s definitely a port-specific block.11:55
jayveepersia: oops, I see where you misunderstand — my fault. I should have written “ICMP: communication administratively filtered”. I forgot the “communication” part. ;)11:56
persiaYes.  THat would have made more sense :)11:56
persiaThe first message usually means that a ping was blocked, the second indicatse that something else was blocked.11:57
persia(although the first could also be a trapped response to a block on the second, etc.)11:57
Stargazejayvee: just contacted my IP, they do not allow setting up personal servers11:57
jayveeouch11:57
StargazeIP =ISP11:57
jayveeMight want to look at somebody like Rollernet.11:57
Stargazei live in Belgium, Europe11:58
persiaOr use port 8111:58
Stargazeah, is that possible?11:58
jayveeI’d change ISP if I were you. :)11:58
jayveeStargaze: yes, edit /etc/apache2/ports.conf11:58
Stargazethey provide my tv too :)11:58
jayveeand /etc/apache2/sites-available/default, I think11:58
jayveeand obviously edit the settings on your router. :)11:59
Stargazenot better with port 81 :(12:01
merlijn-Hi, I'm trying to get 10.04 alpha3 to work in a VMWare ESX setup, however after installationg it won't boot and grub complains of "error: no such disk"12:01
jayveedid you run “service apache2 restart”?12:02
jayveeStargaze: did you run “service apache2 restart”?12:02
jayveemerlijn-, does grub actually load?12:03
jayveelike, do you see the kernel list, and so on?12:03
merlijn-jayvee: nope, it just says Grub loading...12:04
merlijn-then it gives me the error12:04
jayveemerlijn-: have you tried changing the disk type? is it scsi or ide? lsi logic or buslogic?12:04
merlijn-jayvee: it is a SCSI disk currently and VMWare bios is recognizing it12:05
jayveetry changing to ide just temporarily12:06
jayveeor doesn't ESX support ide disks?12:06
jayveeI don’t remember. The server in my garage running ESX hasn’t been powered on since 2007 because it chewed too much power. :-)12:06
Stargazemodified both files and the router to *81, but not better12:06
Stargazedarn ISP12:06
jayveeStargaze, you restarted apache?12:07
jayveerun sudo fuser -v 81/tcp12:07
Stargazeoops :s12:08
Stargazeok, done12:09
Stargazenot better12:10
jayveeStargaze, does fuser say anything is listening on port 81?12:10
StargazeI just type fuser to find out?12:10
jayveesudo fuser -v 81/tcp12:10
Stargazeit did not say anything12:11
jayveethen apache isn't configured correctly12:11
Stargazeah12:11
jayveedid you edit the config files?12:11
Stargazei edited /etc/apache2/ports.conf and the default in sites-available12:12
merlijn-jayvee: okay tried different controllers without luck, to switch to IDE disks I have to do a complete reinstall (can't transition a virtual disk from SCSI to IDE)12:13
jayveemerlijn-: ouch12:13
jayveeubuntu must support the disk if it installed to it12:14
jayveemaybe grub just doesn't12:14
jayveebut grub only uses the bios12:14
merlijn-yea, grub2 is a pain :(12:14
jayveegrub doesn't care what disk type it is12:14
jayveeoh, it's grub2!?12:14
jayveeouch12:14
jayveeouch ouch12:14
jayveeyou said it bro12:14
merlijn-iirc 10.04 uses grub2 by default12:14
merlijn-to boot from ext4 partitions12:14
jayveeeven the simplest things are so complicated in grub212:15
jayveelike moving Windows to the top of the list12:15
jayveeyou mv 40_os-prober to 0001_os-prober12:15
merlijn-might be the right time to dust off LILO of GPXE :P12:15
merlijn-or*12:15
jayveeand pray that they don't update the grub-pc package, because /etc/grub.d/40_os-prober is owned by the grub-pc package12:15
jayveeheh12:16
jayveeor grub112:16
jayveegrub 0.97, that is12:16
merlijn-grub1 will not boot ext4 unless you apply some patches12:16
jayveewhich ubuntu have done12:16
jayveethankfully12:16
jayveethe grub1 in 9.04 and up support ext412:17
merlijn-I wouldn't really consider those patches stable :P12:17
Stargazemerlijn-: http://kezhong.wordpress.com/2009/07/02/converting-ext2-filesystems-to-ext3ext4/12:17
Stargaze(ik ben ook nederlandstalig)12:17
merlijn-hmm, could have sworn that 9.10 boots off ext2 with root on ext412:17
pts_Any comments on what would be the best password backend for samba against AD Server 2008r2; idmap_ldap or idmap_ad, need it to give least possible user management in the long run.12:17
merlijn-Stargaze: I have no intention to migrate my filesystem, thank you12:18
jayveemerlijn-: nope, in fact my /boot is ext3 because I installed this system during the 9.04 alphas, before grub1 supported ext412:18
jayveebut subsequent systems I installed definitely used grub1 + ext412:19
jayveeincluding a few VMs on here12:19
merlijn-hmm, http://news.softpedia.com/news/GRUB-2-The-New-Boot-Loader-in-Ubuntu-9-10-113671.shtml12:20
merlijn-looks like 9.10 was already using grub212:20
jayveeit is12:21
=== pts_ is now known as pths
jayveemerlijn-: why not chroot in and install grub1 instead?12:22
merlijn-funnily enough, 9.10 just boots right away with the same config on the vmware ESXi cluster12:22
jayveeor maybe re-run grub-install12:22
merlijn-jayvee: too much hassle for a release that's in alpha stage :)12:22
jayveeoops, yeah, forgot12:22
merlijn-anyway, time to grab some lunch - thanks for your help jayvee12:23
jayveetime for me to grab some shuteye :-)12:23
jayveeright after I've done testing these images, anyways12:24
merlijn-good night then :)12:24
jayvee:)12:24
Jeeves_Is anyone else having issues with Lucid, server and X-forwarding?12:24
pmatulisJeeves_: you'll need to be more specific12:32
Jeeves_pmatulis: I've got xauth and ssh installed12:39
jayveeand doesn’t Jeeves normally have the *answers*, not the questions? ;-)12:39
jayvee*we’re* supposed to Ask Jeeves. ;-)12:39
Jeeves_'normally', if you login, you get a message like '.Xauthority created'12:39
Jeeves_On Karmic, that's broken as you need to add '-4' to the sshd-options, otherwise X-forwarding doesn't work12:40
Jeeves_On lucid, it doesn't seem to work at al;12:40
jayveeare you referring to “ssh -X”? because I use that all the time.12:40
Jeeves_jayvee: Yes, that's what I'm referring to12:41
jayveeadmittedly not on lucid, but it works on karmic no trouble12:41
jayveeI have no idea what -4 even does, let alone have to use it.12:41
jayveeoh, right, forces IPv412:42
Jeeves_jayvee: Like I said, I've got the issue with lucid ..12:42
jayveeof course12:42
jayveeum12:42
jayveeare you trying to connect via DNS name or IP address?12:42
Jeeves_How would that matter?12:42
jayveebecause you could be suffering from the broken DNS forwarder problem12:42
jayveeon Karmic, that is12:42
Jeeves_'broken DNS forwarder'?12:43
Jeeves_(logging in on ip doesn't help, btw)12:43
jayveeright12:44
jayveehmm, not really sure12:44
jayveeI presume $DISPLAY is being set12:45
jayveefrom within the ssh -X session, type "echo $DISPLAY"12:45
jayveeit should say localhost:10.012:45
Jeeves_No, it isn't12:45
Jeeves_Also, xauth is being run12:45
jayveetry export DISPLAY=localhost:10.012:45
Jeeves_Doesn't work\12:45
jayveetried it, I spose12:45
jayveehmm12:45
Jeeves_I've been around long enough to try that stuff :)12:45
jayveewell I'm about to fall off this chair12:46
jayveeI need zzzz's :)12:46
jayveegood luck with your problem12:46
Jeeves_Failed to allocate internet-domain X11 display socket.12:47
Jeeves_debug1: x11_create_display_inet failed.12:47
henkjanJeeves_: lucid ubuntu-desktop install x-forwarding works12:53
Jeeves_Got it12:53
Jeeves_henkjan: it's again the -4 switch, but somehow, /etc/init.d/ssh doesn't seem to pass that option to sshd12:54
zulmorning13:02
Jeeves_Hi zul13:05
RadaHello!13:08
RadaHas anyone ever tried bridging a bonded interface?13:08
RadaI'm largely unsuccessful...13:09
Radawhen I try doing it through the interfaces conf file, my system crashes and starts coredumping to the point of being completely unusable (couldn't even log in, had to use the rescue cd)13:10
Radahttp://ubuntu.pastebin.com/qU0wdAvn13:10
Rada^ this got -server 9.10 to really fuck up13:11
uvirtbotRada: Error: "this" is not a valid command.13:11
Radasorry uvirtbot, I wasn't talking to you.13:11
Jeeves_bridging a bonded interface?13:17
Jeeves_Sounds yukkie :)13:17
Rada:)13:18
RadaI've had good luck doing this with vmware-server... but now I'm trying to convert to kvm13:19
Radaand kvm won't let me "just use" my bonded interface13:20
RadaYay! Got it working.13:24
Jeeves_ok, so ssh in Lucid is broken13:24
Jeeves_cjwatson: Awake?13:26
Stargazeabout my DynDS issue, i need a Bussiness subscription for my personal webserver13:30
cjwatsonJeeves_: mm?13:31
cjwatsonJeeves_: broken how?  works for me13:31
cjwatsonactually, let me upgrade before saying that13:32
Jeeves_:)13:32
cjwatsonI didn't change that much though13:32
cjwatsonnot user-visibly anyway13:32
Jeeves_cjwatson: I tried to restart sshd using /etc/init.d/ssh13:32
cjwatsonDDTT13:32
Jeeves_Which seems to work, but actually doesn't13:32
cjwatsonwhy not use the upstart job?13:32
Jeeves_Pick either one, but please don't use them both :)13:33
cjwatsonI have no option.  /etc/init.d/ssh is for the benefit of people running sshd in a chroot, since upstart doesn't work there13:33
cjwatsonuse 'restart ssh' outside a chroot13:33
Jeeves_Well, this is very weird, if you ask me13:33
cjwatsonand we need the upstart job for other things depending on it13:33
cjwatsononce upstart works in a chroot, it'll be de-weirdified13:33
Jeeves_We're using /etc/init.d for years, we think of something new (which is fine by me), but than we finish it half, so we use two methods?13:34
cjwatsonnot my fault13:34
cjwatsonfeel free to file a bug on openssh saying that /etc/init.d/ssh should spot that you're using upstart and do the right thing13:34
Jeeves_cjwatson: Where should I configure the defaults for ssh ?13:34
cjwatsonthat would make sense, imo13:34
cjwatsonJeeves_: /etc/init/ssh.conf13:35
cjwatsonor sshd_config of course13:35
Jeeves_argh13:35
Jeeves_So now we're back to editing configfiles that originate from packages?13:35
cjwatsonit's a design feature of upstart that jobs are simple enough that editing them directly isn't going to create the sort of hideous conflicts that editing /etc/init.d/ssh used to, so we shouldn't need the /etc/default/ssh indirection layer13:36
cjwatsonuh, that's nonsense13:36
cjwatson/etc/default/ssh originated from a package too13:36
cjwatsonit was split out due to the complexity of editing /etc/init.d/ssh correctly13:36
cjwatsonnot in order to avoid editing conffiles13:37
Jeeves_But if I was to upgrade ssh now, would that end up in a message saying 'you changed a configfile' ?13:37
cjwatsonnot if /etc/init/ssh.conf didn't change13:37
cjwatsonyou'd have got such a message if I changed /etc/default/ssh in the package13:37
cjwatsonso this is something of a red herring13:37
Jeeves_But it did (because ssh 'needs' the -4 switch to get X-forwarding to work)13:37
cjwatsonI mean if it didn't change in the package13:37
Jeeves_ok. Well.13:38
Jeeves_If I may give Canonical some feedback:13:38
cjwatsonyou could also use 'AddressFamily inet' in /etc/ssh/sshd_config, and avoid having to edit /etc/init/ssh.conf or /etc/default/ssh at all13:38
Jeeves_1: Good work on upstart13:38
cjwatsonwhich is almost certainly easier13:38
Jeeves_2: Please don't mess up like you're doing now13:38
cjwatsonI don't think we're messing up; I respectfully disagree13:39
Jeeves_You may.13:39
Jeeves_Me, as a user, think you're messing up :)13:39
cjwatsonI have given you reasons, corrected your misunderstandings, and given you an alternative13:39
Jeeves_I, as a user, that is :)13:39
cjwatsonI was also there when /etc/default/ was introduced in Debian, and I remember the reasons for it13:40
cjwatsonand I truly don't think they apply nearly as strongly as they did13:40
zulttx: are you busy tomorrow (ha ha)13:40
ttxzul: ha ha... why13:40
zulttx: wanna schedule the samba bug zapping thing tomorrow?13:41
ttxzul: no, I want to plug a bugday for triaging first13:41
zulttx: ok sounds good13:41
ttxnot sure when Pedro will be available for that13:41
cjwatsonJeeves_: I think it would be an excellent idea to help out people who try to use /etc/init.d/ssh (or invoke-rc.d) without realising that it's switched to upstart, and I would definitely appreciate a bug report for that13:42
Jeeves_cjwatson: So I will file it. But what's that issue with chrooting that still requires it?13:43
Jeeves_En why isn't that just fixed?13:43
cjwatsonbecause it's extremely hard work in upstart13:43
Jeeves_s/En/And13:43
Jeeves_En == Dutch :)13:43
cjwatsonmany people want to run sshd in a chroot, for one reason or another13:43
cjwatsonupstart can't yet manage services running in chroots13:43
Jeeves_it might, but this creates a lot of fuzzyness13:44
cjwatsonso /etc/init.d/ssh is there so that people can start it the old-fashioned way13:44
Jeeves_but you actually can't13:44
Jeeves_Because it's allready running13:44
Jeeves_And it's not complaining13:44
cjwatsonsure you can - just pick a different port13:44
cjwatsonthis is not a terribly unusual configuration13:44
Jeeves_It doesn't complain in any way.13:45
cjwatsonit probably does in auth.log13:45
cjwatsonbut are you talking about running /etc/init.d/ssh *outside* a chroot?13:45
Jeeves_I'm not doing anything fancy.13:46
cjwatsoncould you just say yes or no :)13:46
Jeeves_The default is outside a chroot? Than yes.13:46
cjwatsonright.  then that's just part of the bug I asked you to file13:46
cjwatsonthere's no reason /etc/init.d/ssh couldn't spot that the service is being managed by upstart and pass requests through to it in that case, given that we have to dual-run for a while for other reasons13:47
cjwatsonI'd be happy to make that change, I just need a reminder of it since I'm doing some other things at the moment13:47
cjwatsonrunning inside a chroot is a more complicated case that we can't handle any other way at the moment, which is why we still need the init script - but we can make it less confusing13:48
Jeeves_Thanks13:52
Jeeves_bug 53191213:52
uvirtbotLaunchpad bug 531912 in openssh "[LUCID] /etc/init.d/ssh seems to work, but actually upstart is used." [Undecided,New] https://launchpad.net/bugs/53191213:52
Jeeves_Also, do you have a clue why x-forwarding is broken, unless you disable ipv6?13:52
Jeeves_It's not really an issue on this specific box, but we're using ipv6 in production here. :)13:53
cjwatsonI think there is a bug about that somewhere; I'll see if I can find time to deal with it before lucid13:54
cjwatsonif you could get me ssh -vvv output from an affected system, that wouldn't hurt13:55
Jeeves_sure, got a bugnr where you want that in?13:55
cjwatsonit *might* be bug 434799, but perhaps better to just file a new one13:56
uvirtbotLaunchpad bug 434799 in openssh "X11 forwarding via SSH does not work after upgrade to karmic" [Low,Confirmed] https://launchpad.net/bugs/43479913:56
bogeyd6ive been a member in launchpad since 2007, yet i have 0 karma points13:56
cjwatsonbogeyd6: karma is related to recent activity13:56
bogeyd6yup13:56
bogeyd6hence my depression13:56
cjwatsonbogeyd6: https://help.launchpad.net/YourAccount/Karma13:56
cjwatsonah :)13:56
bogeyd6when i got a new job and couldnt document anymore , but now its changed a bit13:57
cjwatsonalso http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=42232713:57
uvirtbotDebian bug 422327 in openssh-server "openssh-server: Fails to bind port for X11 forwarding, ipv4/ipv6 mess" [Normal,Open]13:57
bogeyd6i confirmed a bug this morning!13:57
uvirtbotNew bug: #531912 in openssh (main) "[LUCID] /etc/init.d/ssh seems to work, but actually upstart is used." [Undecided,New] https://launchpad.net/bugs/53191214:02
cjwatsonalso https://bugzilla.mindrot.org/show_bug.cgi?id=145714:03
Jeeves_cjwatson: I've added debug info to bug 43479914:03
uvirtbotLaunchpad bug 434799 in openssh "X11 forwarding via SSH does not work after upgrade to karmic" [Low,Confirmed] https://launchpad.net/bugs/43479914:03
uvirtbotbugzilla.mindrot.org bug 1457 in sshd "X11 Forwarding doesn't work anymore on a solaris 10 host where ipv6 has not been enabled" [Major,New]14:03
cjwatsonthere is a patch there, but I would have to sit and think very hard about it despite its shortness :-)14:03
Jeeves_:)14:04
Jeeves_'disable ipv6'14:04
Jeeves_is that it? :P14:04
cjwatsonwe need to make ipv6 work, not disable it14:04
cjwatsonand no, that isn't the patch :)14:04
cjwatsonit sounds as if it happens on systems that have ipv6 sort of halfway configured14:04
Jeeves_That's what Fabio would do! :)14:04
Jeeves_cjwatson: I've got machines to debug, if needed :)14:05
cjwatsonI've reproduced it14:06
cjwatson'sudo ip addr del ::1 dev lo' is sufficient to reproduce the problem14:06
cjwatson('sudo ip addr add ::1 dev lo' to restore previous state on my machine)14:06
Jeeves_Hmm14:07
Jeeves_But why is that ::1 gone?14:07
cjwatsonwell, my machine has ipv6 configured14:07
cjwatsonyours perhaps doesn't14:07
cjwatsons/machine/network/ perhaps more relevantly14:07
Jeeves_Mine too, but the server hasn't14:08
cjwatsonright, this is code that runs on the server14:08
Jeeves_I know.14:08
cjwatsonthe thing I'm worried about is that this problem arose from a security fix14:08
Jeeves_But who removes the ::1 from lo?14:08
cjwatsonspecifically CVE-2008-148314:08
uvirtbotcjwatson: OpenSSH 4.3p2, and probably other versions, allows local users to hijack forwarded X connections by causing ssh to set DISPLAY to :10, even when another process is listening on the associated port, as demonstrated by opening TCP port 6010 (IPv4) and sniffing a cookie sent by Emacs. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1483)14:08
cjwatsonJeeves_: if you don't have IPv6 configured, it might simply not ever be added14:08
cjwatson  * Patch from Red Hat / Fedora:14:09
cjwatson    - CVE-2008-1483: Don't use X11 forwarding port which can't be bound on14:09
uvirtbotcjwatson: OpenSSH 4.3p2, and probably other versions, allows local users to hijack forwarded X connections by causing ssh to set DISPLAY to :10, even when another process is listening on the associated port, as demonstrated by opening TCP port 6010 (IPv4) and sniffing a cookie sent by Emacs. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1483)14:09
cjwatson      all address families, preventing hijacking of X11 forwarding by14:09
cjwatson      unprivileged users when both IPv4 and IPv6 are configured (closes:14:09
cjwatson      #463011).14:09
cjwatsonthanks, uvirtbot, you can stop now14:09
Jeeves_:)14:10
Jeeves_I don't get much non-ipv6 hosts nowadays :)14:10
cjwatsonI *think* that ignoring EADDRNOTAVAIL wouldn't reintroduce the security hole14:10
cjwatsonthe security hole was that you could bind to a port using one address family and sshd wouldn't mind as long as it could bind using the other address family, and then you could capture X traffic14:12
Jeeves_Hmm14:12
cjwatsonbut that would've been EADDRINUSE or something14:12
cjwatsonDamien upstream has a point that it's sort of weird for getaddrinfo to give you addresses you can't bind to14:13
Jeeves_Yeah14:13
Jeeves_I'm sorry, but I'm not into development that much that I can make up my mind about that :)14:14
cjwatsonI'm thinking out loud14:15
Jeeves_ok :)14:16
=== dendro-afk is now known as dendrobates
hagedornhey, witch version of ubuntu should i use for xen as dom0 ?14:34
cjwatsonhttps://bugzilla.mindrot.org/show_bug.cgi?id=1356 is a clearer and better-written upstream bug for the above14:35
uvirtbotbugzilla.mindrot.org bug 1356 in sshd "X11 forwarding broken." [Normal,Reopened]14:35
Stargazeusing nmap, what doex it mean if port 80 is 'filtered'?14:35
cjwatsonthere's a comment at the end about a race condition which is a bit worrying ...14:36
cjwatsonStargaze: google for 'nmap filtered', and the first hit explains it14:36
cjwatson(http://nmap.org/book/man.html)14:37
bogeyd6ja herd14:39
Jeeves_cjwatson: Ehm. That would be the case if a machine is booting and it allready has an ipv6-addres and not an ipv4 address?14:40
uvirtbotNew bug: #531929 in php5 (main) "PHP5 cannot find adodb.so" [Undecided,New] https://launchpad.net/bugs/53192914:41
cjwatsoner, something like that.  I'm going to follow up there next time I have my normal browser booted, though, as I'd have thought having getaddrinfo return only bindable addresses would have the same problem14:42
cjwatsonbut back to kernel hacking for now14:42
bohnehi, what's the role of "ubuntu enterprise cloud" when using amacons EC2?14:43
bohnehm ok, this "Enterprise" is private cloud. EC2 is public cloud.14:44
smoserbohne, "UEC" is software that allows you to manage your own hardware as a "cloud"14:50
smoserit is API compatible with amazon's EC214:51
smoserthis means that you can develop appliances on your internal cloud, and move to ec214:51
bohnesmoser: ok, so i can use the same mgmt tools?14:51
smoseror develop on ec2 and move internal14:51
smoserrigth14:51
smosera tool that works against the amazon web service api can be used against the UEC by simply changing the "end point" that the tool talks to14:52
bohnesmoser: when installing an Enterprise Cloud (=private Cloud) , this is a machine which can host XEN based VM's ?14:53
smoser:-( no.14:53
bohnesmoser: physical machines?14:53
smoserUEC uses kvm for virtualization14:53
smoserso if you've got a xen based machine, it will likely need some changes to run on UEC14:54
bohnesmoser: ah ok, i thought amazon is xen based14:54
smoserthe kernel/ramdisk is the big thing14:54
smoseramazon is xen based14:54
bohnesmoser: but i read somewhere that it is possible to transfer an image vom ec2 to private cloud?14:55
smoserbohne, yes, it is, "mostly".  there are some things that will have to change.14:55
smoseri believe that nijaba has a list somewhere of what all needs to be changed.14:56
=== robbiew_ is now known as robbiew
smoserbohne, for the UEC images (the "ubuntu" images on ec2) we make an effort to have them "just work"14:56
smoserthe goal being if you started with one of those, your migrate step is minimal14:56
bohnesmoser: ahm that means, ubuntu server image i can transfer, debian image is more difficult?14:57
smoserits not terribly difficult.14:58
smoserbut, yes. the very least you have to get a non-xen kernel and then get the modules installed into the image14:58
smoserthat make sense ?14:58
bohnesmoser: i think i understand it15:00
smosernijaba, ping. i think you had a list of these things ?15:02
nijabasmoser: otp...15:02
nijabasmoser: what list are yo talking about?15:03
smoserchecklist of things to do to migrate from ec2 to uec15:03
smoserto do to the image15:03
bohnei don't need it sorry, this is just an evaluation15:03
nijabasmoser: I barely started investigation...  never completed15:03
smoserhmm... fair. nurmi told me it was somewhere on eucalyptus.com but i cant find it.15:04
nijabasmoser: afaik changes are only needed with pre 9.10 images15:04
smosernijaba, not just ubuntu, but "generic" images15:05
nijabasmoser: in that case, I don't15:05
smoser(why anyone would use such a thing, i can't understand why :)15:05
blackxoredd15:05
hggdhkirkland: I re-opened bug 531445, it started to fail again15:11
uvirtbotLaunchpad bug 531445 in vmbuilder "VirtualBox MAC address setting fails" [Undecided,New] https://launchpad.net/bugs/53144515:11
hggdhno, worng bug, sorry15:12
hggdhbug 53145515:12
uvirtbotLaunchpad bug 531455 in qemu-kvm "daily server ISO install fails with a kernel OOPS in KVM" [Undecided,New] https://launchpad.net/bugs/53145515:12
Roxyhart0 hi there i got a nat/router server and a emal server. I want any external ip that come from outside with to the address 203.x.x.x (external email address) that arrive to the NAt can forwarding to my email server to the internal IP. somebody know how to do that?15:15
bohnesmoser: when using ubuntu UEC, ist possible to use plain debian guest? or only ubuntu server? i'm not sure.15:16
smoserbohne, absolutely15:17
smoseror fedora, or ....15:17
bohnesmoser: ok thanks15:17
smoserthere is work torwards supporting windows guests15:17
hggdhsoren: can you give me upload rights to ~soren/autotest/*, or should I create my own branch?15:17
bohnesmoser: is it simple to use debian?15:17
cbrowneRoxyhart0, iptables -t nat -A POSTROUTING --dest-address 203.x.x.x-203.y.y.y -j QUERY # I think? don't quote me on that one15:17
smoserbohne, is that a rhetorical question ?15:18
smoser:)15:18
cbrowneRoxyhart0, familiarise yourself with iptables anyway15:18
smoserbohne, if you have a working image, its no different15:18
smoseryou just need filesystem-image, kernel, ramdisk15:18
bohnesmoser: ok thanks15:18
bohnesmoser: i only use virtualbox on desktop so far;)15:19
bohnebohne: and lots of root servers...15:19
sorenhggdh: Just create one of your own.15:19
Jeeves_Is lucid supposed to try and mount nfs before starting statd? :)15:19
sorenhggdh: (by branching mine, for instance)15:19
Roxyhart0thanks i was trying many thinks but doen't work15:19
hggdhsoren: will do, thanks15:20
zulwow people are actually using the php5 apport hook ;)15:20
hggdhsoren: BTW, did you submit the step_file_generator.py to upstream? It is quite a cool idea...15:21
sorenhggdh: I did not, no.15:22
sorenhggdh: It's not up to my ready-for-upstream-submission-standards yet.15:22
hggdhsoren: ah, OK. I only made a small change there, from print > stderr to logging.info()15:24
hinkAnyone had experience with KSplice15:31
bohnesmoser: i have another question;) on amazon ec2, ist simple to port a vm image from weak "hardware", to a more powerfull?15:37
smoserbohne, there is basically no difference15:38
smoserwell, architecture15:38
smoserbut other than that really not15:38
bohnesmoser: it's possible and simple on UEC and amazon?15:38
smoseryeah... outside of arch.15:38
smoseryour i386 image will not run on x86_64 instance in amazon15:39
smoser(i think that actually works in uec... but dont know)15:39
bohnesmoser: you ok, but apart from that its simple15:39
smoseryeah, the differences other than that are really non-existant15:39
smoserunless you were *trying* to fail15:39
Roxyhart0hi cbrowne, that i want to do is any IP form external website to the addrees 203.4.3.2 go to the Ip 172.16.0.4. So i am getting this one but i dont know what is the rest. Do you know abut that?  iptables -A POSTROUTING --dest-address 203.x.x.x -j ??15:40
skritehey gents, having some trouble with mysql replication. i have slave io running yes, but slave sql running no15:41
RoAkSoAxzul, do the hooks have to be with the copyright notice?? nto really right?15:47
zulRoAkSoAx: they should imho15:47
RoAkSoAxzul, ok i'll submit a hook for vsftpd in a bit for you to review, I'm just gonna test it first15:48
zulRoAkSoAx: cool beans15:51
cbrowneRoxyhart0, you want -t nat so it's in the network address translation table, and I think you want -j FORWARD or -j QUERY but use the iptables manpage for more information about iptables15:52
Roxyhart0i im using nat but i am using another external Ip for email, it mean NAt use 203.x.x.3 and email use 203.x.x.9...i want any addrees that come to 203.x.x.9 will be forward to 172.19.0.3 for example15:57
tdnI have a machine with two network adapters: an ethernet adapter and a wireless adapter. How can I turn the wireless adapter into an access point?15:58
uvirtbotNew bug: #531978 in vsftpd (main) "Apport hook for vsftpd" [Low,In progress] https://launchpad.net/bugs/53197816:01
cbrowneRoxyhart0, yes, that's what iptables does16:02
cbrowneRoxyhart0, "man iptables"16:02
RoAkSoAxzul, btw.. by setting STAGING=1 or APPORT_STAGING=1 it still doesn't work with the staging server of lp16:03
Roxyhart0i did i cant firure out this is because im asking here16:03
zulRoAkSoAx: you should be able to use it without the STAGING=1 and go through the motions without submitting the apport report16:05
RoAkSoAxzul, right but i would like to submit it and see what is actually attaching16:06
zulRoAkSoAx: hmm...not sure then16:06
RoAkSoAxzul, now im getting "This is not a genuine Ubuntu package"16:19
RoAkSoAxany ideas why?16:19
zulRoAkSoAx: can you paste your python script somewhere/16:19
RoAkSoAxzul, http://pastebin.ubuntu.com/388362/16:22
Roxyhart0HI , somebody can hel me... i need to forwarding emails coming to a external adrees forwadring it to internal address. somebody know hoe to do that?16:23
zulRoAkSoAx: i put the script as source_vsftpd.py in /usr/share/apport/package-hooks and didnt have that problem16:25
RoAkSoAxzul, it tells me apport-cli: error: /usr/share/apport/package-hooks/source_vsftpd.py does not belong to a package. and to avoid that i'm creating the deb, installing it, and trying the hook16:28
zulwell yeah you need the package to be installed16:29
skritehey all, need some help with a master slave replication config. Thought i had everything set up right, but still shows nothing in Slave_IO_State16:39
RoAkSoAxzul, same thing16:42
zulRoAkSoAx: can you put the package up somewhere?16:42
zulor your bzr branch16:42
cbrowneRoxyhart0, iptables -t nat -A POSTROUTING -d [remoteip] -j DNAT --to-destination [localip]16:45
cbrowneRoxyhart0, I got that by READING THE MANPAGE like I told you to do earlier16:45
zulRoAkSoAx: i have to go to the doctors can you email me the details?16:46
RoAkSoAxzul, I will16:46
cbrowneRoxyhart0, when I tell you to rtfm it isn't because I'm lazy, it's because spoon-feeding you the answer isn't going to help anybody16:48
gooseis it okay to put my server's real IP and FQDN in /etc/hosts ? All I have in there now is localhost17:01
ivoksof course17:02
goosejust wanted to make sure it wouldn't set my server on fire :p17:02
gooseI think some sendmail errors might be stemming from that17:02
goosethanks ivoks17:07
uvirtbotNew bug: #532024 in samba (main) "gvfsd-smb-brows uses 100% cpu after selecting Places-->Network" [Undecided,New] https://launchpad.net/bugs/53202417:21
Neotericso does anyone use amazon ec2? and or know how to create custom AMIs based off karmic?17:24
TeTeTkirkland: just installing another lucid server on the new kernel, just to make sure it was not a one time thing17:33
kirklandTeTeT: cool, thanks17:33
nxvlkirkland: i just updated to lucid and noticed that there is an annoying @ everytime there is activity in a byobu 'tab' how do i disable it?17:33
ph8hi all - is there a way for me to automount a USB drive plugged into the server?17:33
ph8* into my server :p17:33
nxvlkirkland: and, is there a way to only enable that for 1 tab?17:34
macnohi I'm trying testdrive but when virtualbox starts, it gets 100% CPU and do nothing17:34
kirklandnxvl: echo "defmonitor off" >> ~/.screenrc17:34
nxvlkirkland: thnx17:34
Pupenois there a command that will output some info about certs, keys, public keys, etc of those for SSL?17:52
TeTeTkirkland: second install went fine too\17:55
kirklandTeTeT: okay; good data points, thanks17:57
sherrPupeno: openssl has a lot of sub-commands, some of which output certificate details etc. See man openssl (and man x509 etc.)18:15
BulleTh0I have a subnet, 62.231.69.56/29, routed behind 86.122.121.252. On the server, I have 86.122.121.253 on eth0 and, on eth0:0 .252. How do I get internet from the server? I tried on a windows machine connected trough a switch with the server to put IP: 62.231.69.58 with netmask 255.255.255.248, gatway 62.231.69.56(server, eth0:1) Do I need an extra netcard to put .232 or it's just a software issue?18:17
bogeyd6BulleTh0, it seems you have a routing issue18:29
bogeyd6Unless your switch also acts a router what you are trying to do, at least on the top, is impossible18:30
BulleTh0No.. the switch it's just a switch.18:30
bogeyd6Your eth0 cant have two subnets working on it18:30
BulleTh0The .253 it's doesen't have a subnet.18:31
bogeyd6I.e. you cant be on 62.231.69.59/29 and trying to go to 86.122.121.252 without a router18:34
bogeyd6BulleTh0, ^^18:34
BulleTh0I've put as aliases ips from that subnet on the server and they work.18:35
BulleTh0But when I put IPs on network computers they don't work.18:36
bogeyd6BulleTh0, http://www.sangoma.com/support/tutorials/tcp_ip.html18:38
bogeyd6alias ips18:38
majukBulleTh0, have you enabled ipforwarding and NATing on your server's eth0?18:39
bogeyd6BulleTh0, if there is a way to make it work without routing I am unfamiliar with it18:39
BulleTh0majuk, I don't know. How do I check ?18:39
majukBulleTh0, Then you haven't. You're going to have to for this kind of a setup. The eth on your server isn't going to just KNOW to route those packets forward from your user net.18:40
BulleTh0Hmmm... things make sence.18:41
BulleTh0So .. I have to make a router out of my box.18:41
majukBulleTh0, Precisely. But Linux already has router functions as a part of it's kernel. The toolset is called "IPTables"18:42
BulleTh0And I can have static ip adresses on each network computer ?18:44
majukBulleTh0, Yes. What you're going to do, ultimately, is tell your server "I want this block of IP addresses NAT'd onto this WAN address" Then you can assign any IP address in that range to your hosts and they'll be NATd out to the internet.18:46
BulleTh0So.. this is what I have to follow? http://linuxpoison.blogspot.com/2008/01/how-to-enable-ip-forwarding.html18:46
BulleTh0Look kinda must have but not enogh :))18:47
majukYes, that's the forwarding. But you also have to do NATing in iptable18:47
majuks18:47
majukhttp://tinyurl.com/rd57k18:48
majukCheck out the 'Masquerading' section18:49
majukBulleTh0, ^^18:49
BulleTh0Geez.... I'm lost.18:51
mdlueckI have a 9.10 server that needed the -20 kernel update at a bad time... I was just getting it set up, then to shift the network number, etc... Applied it anyway, now the server does not boot to the login prompt. Purged off the packages I was working on setting up, still no login prompt. Suggestions short of a reload?18:53
bogeyd6mdlueck, any log activity?18:59
mdlueckbogeyd6: Logs end eerily quiet, no clue...18:59
bogeyd6mdlueck, so really we have no idea what is going on?19:00
mdlueckCorrect19:00
mdluecktail of messages and syslog give no clues19:00
bogeyd6mdlueck, cntrl alt + f119:00
mdlueckThought perhaps since cups / samba / dhcpserver were not yet configured - just on the server - that perhaps one of those were stalling the boot process19:01
bogeyd6we need the dmesg log19:01
mdlueckctrl-alt-f1 shows the boot console, c-a-f2 is how I logged in to purge back off cups / samba / dhcpserver, reboot, etc...19:02
BulleTh0I have no ideea how to set up the server :)19:02
bogeyd6mdlueck,  sudo nano /etc/default/bootlogd then change BOOTLOGD_ENABLE=No to YES19:02
mdlueckOK, let me see if it comes up far enough to let me ssh to it.19:02
mdlueckbrb19:03
mdlueckin via ssh from my desk, next what...19:05
mdlueckI just enabled bootlogd, will IPL the box19:07
bogeyd6mdlueck, looking for a reboot to see what is hanging up19:09
mdlueckbogeyd6: where does npptlogd log to? I will check the server console. ps aux shows me I had started setting up djbdns as well, so that I forgot to purge back off.19:11
bogeyd6sorry bub19:12
bogeyd6you going all over the board for me to handle it19:12
mdlueckbogeyd6: stall at the usual spot on the console19:12
bogeyd6you should have enabled the boot log, restarted and checked /var/log/boot19:12
mdlueckOK, will check /var/log/boot19:12
mdlueckcat /var/log/boot19:13
mdlueck(Nothing has been logged yet.)19:13
bogeyd6hmm mdlueck19:15
mdlueckbogeyd6: also purged djbdns which was installed and not yet configured19:22
bogeyd6you enabled the bootlog and it didnt log anything mdlueck19:23
mdlueckbogeyd6: Did not seem like it did anything. I copy/pasted the results.19:24
bogeyd6mdlueck, well im stumped19:25
mdlueckbogeyd6: I just noticed a service which is not completely starting.19:25
mdlueckSo I will also purge that package off.19:25
ubuntuNewBehi, anybody here to help with ubuntu servers?19:28
mdlueckbogeyd6: That did it - login prompt at the server console! PTL!19:28
lucid_intervalwhat help do you need?19:28
ubuntuNewBeI had a question regarding postfix + dovecot setup.  Would like to know if anybody here can help.19:29
mdlueckubuntuNewBe: Sure, my prob is solved, so what may I assist you with19:29
ubuntuNewBeI am running server 9.10, and followed the guide on this page: https://help.ubuntu.com/community/MailServer19:31
ttxkees: around ?19:31
ubuntuNewBeto setup postfix + dovecot19:31
mdlueckubuntuNewBe: Sorry, never have touched those packages19:31
keesttx: hello!19:31
ttxkees: hey ! Can I bribe you into a quick C advice ?19:31
lucid_intervalubuntuNewBe: OK... go on..19:31
keesttx: sure thing, what's up?19:32
ttxkees: on https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/53189919:32
uvirtbotLaunchpad bug 531899 in eucalyptus "uec-component-listener leaves defunct child processes in the process table" [Low,In progress]19:32
* kees reads19:32
ubuntuNewBeso I setup postfix first without problem, then setup dovecot without problems19:32
ttxI fixed it like this: http://bazaar.launchpad.net/~ttx/eucalyptus/defunct-fix/revision/94019:32
ttxkees: which involved creating an avahi  timeout callback19:32
ubuntuNewBethen went back to the postfix page and scrolled to the bottom where it says setup postfix+dovecot+sasl19:32
ubuntuNewBefollowed all instructions without problems19:33
ttxkees: was wondering if there wasn't a simpler way out19:33
ttxkees: the parent process doesn't care if/when the child processes end19:33
ubuntuNewBenow when connecting to my server via thunderbird from a different machine, it finds the imap +smtp server with starttls without problems19:33
ubuntuNewBehowever when thunderbird asks me to verify unsigned certificates, I get weird certs19:34
ubuntuNewBenot the ones that I generated during the postfix part of the tutorial?19:34
lucid_intervalubuntuNewBe: what do you mean weird certs?19:34
bogeyd6ubuntuNewBe, that does happen when you use self signed certs19:34
lucid_intervalubuntuNewBe: did you link the same certs into Dovecot?19:35
keesttx: usually processes spawning asynchronous children will register a SIGCHLD handler and perform a loop until waitpid(-1, &status, WNOHANG) == 019:35
* ttx just spotted an error on line 13919:35
ubuntuNewBewhen looking at the certs that thunderbird gives me, they are not the ones that I generated during the postfixt part of the tutorial as they do not have my name/location/email ect...19:35
lucid_intervalubuntuNewBe: At which stage of using TB do you get these errors (checking mail or sending mail)?19:35
ttxkees: hmm, any example of that somewhere ?19:36
keesttx: optionally, another way to handle this is to have the child-spawner do a double-fork with setsid to disassociate completely from the parent.19:36
ubuntuNewBewell, the account setup is without problems, I get the first cert when i first try to check mail, and then I get the 2nd cert (smtp) when trying to send a mail19:36
ubuntuNewBeinfact the first cert when checking mail for the 1st time(imap) is correct, has my name/email/location ect....19:36
keesttx: which is probably the least code changes.19:36
ubuntuNewBehowever when i try to send mail for the 1st time (smtp)  I get blank cert wihtout my correct info19:37
ttxkees: ack.19:37
keesttx: http://www-theorie.physik.unizh.ch/~dpotter/howto/daemonize19:37
ubuntuNewBeI generated the certs 2 times to see just to make sure19:37
keesttx: oh, I guess it's not a double-fork, just a call to setsid().  even less code to change.  :)19:38
lucid_intervalubuntuNewBe: did you do the steps to configure postfix to use the certs you generated?19:38
ubuntuNewBeYes, I did19:38
ttxkees: too bad you're so far way TZ-wise, that would have spared me that avahi research :)19:39
ubuntuNewBeI can try doing that part again making sure I generate the correct certs and put them in the correct locations19:39
keesheh19:39
lucid_intervalubuntuNewBe: In particular can you check the following lines in /etc/postfix/main.cf:19:39
ttxkees: thx, will fix tomorrow.19:39
lucid_intervalubuntu: NewBe: smtp_tls_note_starttls_offer = yes19:39
lucid_intervalsmtpd_tls_key_file = /etc/ssl/private/smtpd.key19:39
lucid_intervalsmtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt19:39
keesttx: cool; glad I could help :)19:39
lucid_intervalsmtpd_tls_CAfile = /etc/ssl/certs/cacert.pem19:39
ttxkees: I suck at C.19:40
lucid_intervalubuntuNewBe: make sure the files referenced are the correct ones.19:40
eekeekXubuntu 9.10 server. mod_rewrite enabled and as far as I can tell it is working with a .htaccess file. I want to map to lowercase urls. Do I put the rewrite instructions in the httpd.conf file?19:40
ubuntuNewBelucid, I checked those lines and the lines seem correct, however, I will double check generating the certs and placing them in the right folders.19:41
uvirtbotNew bug: #532127 in puppet (main) "Unit test failure: test_file_rc(TestDebianServiceProvider" [Undecided,New] https://launchpad.net/bugs/53212719:42
lucid_intervalubuntuNeBe: actually, all you need to do is edit /etc/postfix/main.cf to ensure the entries point at the files you have already generated19:42
keesttx: hehe.  I attribute my C skills to reading everything W. Richard Stevens ever wrote.19:43
ubuntuNewBemy concern was, how does dovecot handle the certs?  do I need to specifiy the certs in dovecot.conf or do I just need to worry about the certs in main.cf?19:43
ttxkees: life is too short.19:43
kees:)19:43
ttxkees: my knowledge stops at format string vulnerabilities, somehow19:44
lucid_intervalYou need to specify the certs in dovecot.conf (also). But since the mail check is OK from Thunderbird, I am presuming the dovecot setup is OK. dovecot is an IMAP server; it's postfix that is the SMTP server used for sending mail19:44
ubuntuNewBeokay, because I used https://help.ubuntu.com/community/PostfixDovecotSASL to setup postfix+dovecot sasl and now where on this page does it say to specify certs in dovecot?19:45
mdeslaurkirkland: fyi, I just uploaded changes to virt-manager and virtinst that change the way keymaps are handled. Basically, now by default no keymap will get set when qemu is being used. If you hear of any problems, let me know.19:46
ubuntuNewBeso the only time I am specifing certs is main.cf19:46
uvirtbotNew bug: #532129 in puppet (main) "Unit test failure: test_sysv_rc(TestDebianServiceProvider)" [Undecided,New] https://launchpad.net/bugs/53212919:46
uvirtbotNew bug: #532132 in puppet (main) "Unit test failure: test_autorequire_user(TestExec)" [Undecided,New] https://launchpad.net/bugs/53213219:46
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #532126 in puppet (main) "Unit test failure: test_uppercase_files_are_renamed_and_read" [Undecided,New] https://launchpad.net/bugs/53212619:51
uvirtbotNew bug: #532135 in puppet (main) "Unit test failure: test_write_validates_checksum(TestFile)" [Undecided,New] https://launchpad.net/bugs/53213519:51
uvirtbotNew bug: #532138 in puppet (main) "Unit test failure: test_aliasisproperty(TestHost)" [Undecided,New] https://launchpad.net/bugs/53213819:51
lucid_intervalubuntuNewBe: you need to click through for the detailed instructions on Dovecot - see https://help.ubuntu.com/community/Dovecot . Search for SSL19:52
lucid_intervalubuntuNewBe: if you didn't do (change) this in dovecot, I am not clear how your generated certificates are appearing when you CHECK mail19:54
ubuntuNewBelol, okay i knew it didn't make sense, thanks for the help.19:55
ubuntuNewBeso for these lines which cert files do I use?19:57
ubuntuNewBessl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem19:58
ubuntuNewBessl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key19:58
ubuntuNewBe? is this different than the certs I setup for postfix?19:58
ubuntuNewBealso, I messed up, I get the correct cert when sending mail (smtp) but I get a blank cert when I first receive mail.  I had that backwards20:04
cak054can i install the server and cloud on one desktop20:23
lucid_intervalubuntuNewBe: you should (can) specify the same certs for the dovecot config also.20:31
lucid_intervalubuntuNewBe: you can generate separate certs, but I do not think there is any point20:31
lucid_intervalubuntuNewBe: remember that a cert refers to the public part (only) and a key refers to the private part (only)20:32
ubuntuNewBelucid_interval, let me first thank-you for all your help.20:41
ubuntuNewBelucid_interval, so using the previous examples, would it be okay to use ssl-cert-snakeoile.pem --> cacert.pem (from postfix)20:42
ubuntuNewBeand ssl-cert-snakeoil.key --> cakey.pem (also from postfix instructions) ?20:43
ubuntuNewBeonce again I generated cacert.pem and cakey.pem from https://help.ubuntu.com/community/Postfix20:45
lucid_intervalubuntuNewBe: no... you never use the CA key - except to sign new CSRs or certificates.20:47
lucid_intervalubuntuNewBe: you need to generate a CSR (Certificate Signing Request) and sign a certificate using your newly created CA for this server.20:48
lucid_intervalubuntuNewBe: that server cert will have a public (cert) part and a private (key) part20:48
lucid_intervalubuntuNewBe: the ssl_cert_file and ssl_key_file (in Dovecot) should refer to these files20:49
lucid_intervalubuntuNewBe: similarly the smtpd_tls_key_file and smtpd_tls_cert_file in the postfix main.cf should refer to these two server cert / key files20:50
lucid_intervalubuntuNewBe: ONLY the smtpd_tls_CAfile entry in the postfix main.cf file should refer to the PUBLIC part of the CA certificate20:51
lucid_intervalubuntuNewBe: you can also refer this URL for more info on becoming a root CA and creating CSRs / certs: http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/20:52
lucid_intervalubuntuNewBe: another useful URL (linked on the Dovecot details page): http://www.debian-administration.org/articles/28420:55
andriijasis there a way to remove all packages that were installed after installation and purge all the settings for it?21:04
ubuntuNewBelucid_interval, thank you again for all your help.  I will read the links you provided and try setting up the dovecot cert properly21:08
hinki uninstalled proftpd using apt-get autoremove proftpd21:10
hinki ran a update-rc.d -f21:11
hinkon it21:11
hinkand delete the /etc/proftpd directory. Now when i reinstall using aptitude it doesnt put the scripts back in init.d21:11
hinkam i doing something wrong21:11
lucid_intervalhink: you didn't purge the config files for proftpd when you did the rmeove21:13
hinki ran an apt-get purge proftpd.... does that not take care of it lucid_interval21:13
lucid_intervalhink: what you wanted was apt-get autoremove --purge proftpd21:13
hinki see21:13
lucid_intervalhink: you can still do it (should automatically remove /etc/proftpd)21:13
lucid_intervalhink: then do a re-install - you should get the init scripts21:14
hinklucid_interval: if I am installing proftpd as part of a script. Is there anyway to bypass this screen during install? http://grab.by/grabs/5dd50880e9ee19f003e91c40b2edd104.png21:17
uvirtbotNew bug: #532202 in puppet (main) "Unit test failure: test_multivalues(TestHost)" [Undecided,New] https://launchpad.net/bugs/53220221:21
hinklucid_interval: im thinking it has something to do with debconf-set-selections21:21
hinkbut i'm not sure21:21
uvirtbotNew bug: #532204 in puppet (main) "Unit test failure: test_basic_isomorphism(TestParsedHostProvider)" [Undecided,New] https://launchpad.net/bugs/53220421:26
uvirtbotNew bug: #532209 in puppet (main) "Unit test failure: test_hooks(TestParsedSSHKey)" [Undecided,New] https://launchpad.net/bugs/53220921:32
ZnupiCan someone help me properly install a mail server? I am able to install Postfix and send and receive emails (they get stored in ~/Maildir/), but that's about it21:33
sorenmathiaz: Do we have a plan for dealing with those? ^^21:33
ZnupiI'd like to be able to fetch my email over POP3 and send e-mails through SMTP from a client21:33
sorenZnupi: That's what a mail server does.. You need to be more specific if you want it to do more.21:33
Znupi(say, Thunderbird)21:33
sorenAh,21:34
ZnupiBut I have no idea whether I need to install something extra for the POP3 or not, or how to configure Postfix to accept (authed) SMTP requests21:34
sorenFetching mail over pop3 -> fetchmail.21:34
Znupiis fetchmail a server?21:34
sorenDefine server.21:35
Znupiit sounds like it "fetches" mail21:35
soren"I'd like to be able to fetch my email over POP3"21:35
sorenOh.21:35
sorenI see what you mean.21:35
sorenOk, for that, you want dovecot.21:35
ubuntuNewBeZnupi https://help.ubuntu.com/community/MailServer worked for me21:36
ZnupiubuntuNewBe: I was reading the official docs21:36
uvirtbotNew bug: #532215 in puppet (main) "Unit test failure: test_simplekey(TestParsedSSHKey)" [Undecided,New] https://launchpad.net/bugs/53221521:36
Znupithanks for the link though21:36
sorenZnupi: Actually, there's a package called dovecot-postfix that should set up postfix and dovecot to work together.21:36
sorenZnupi: Those are the official Ubuntu docs21:36
ubuntuNewBeZnupi, I did postfix first and then dovecot21:36
sorenZnupi: (What ubuntuNewBe linked to, I mean)21:36
ZnupiI see that on the official docs, but they never explain how things actually work21:36
ZnupiI mean, for example, how do I configure thunderbird to work with my new server?21:37
ubuntuNewBeZnupi do the tutorials first21:37
ubuntuNewBethen thunderbird 3.0 will configure itself21:37
ZnupiI see21:37
ZnupiBut I don't understand a few things. For example, they say "Configure Postfix to do SMTP AUTH using SASL", but they never explain WHY I'm supposed to do that21:39
ubuntuNewBeif you need secure access to web server21:40
ubuntuNewBemail server*21:40
Znupibasically, this will help authenticate my email client when *sending* messages, correct?21:40
Znupi(sorry for newbishness)21:40
lucid_intervalZnupi: yes. saslauth is for authentication of client requests to SEND mail21:46
Znupiok, thanks21:46
lucid_intervalZnupi: this is useful for clients like Thunderbird21:46
lucid_intervalZnupi: if you want to accept authenticated relay requests from another server (never a good idea to allow open SMTP relay), you need to use a CLIENT certificate on the server requesting relaying. This does not use saslauth21:47
Znupiok, so, please bare with me, the process is like this: mail comes from outside, postfix puts it in ~/Maildir/, then Thunderbird connects via POP3 to dovecot which reads mail from Maildir/ and sends it back to thunderbird. When sending mail it gets directly through postfix, dovecot is not involved at all, am i right?21:48
ZnupiBut if I need to send email from thunderbird I don't need a special certificate for it, right?21:48
ZnupiI will just need to enter the username/password on the server?21:49
sorenZnupi: Well... Dovecot it somewhat involved in sending e-mail.21:53
ZnupiHow so?21:53
sorenZnupi: Postfix asks dovecot for authentication.21:53
ZnupiWhy? Can't dovecot just run sendmail ?21:53
=== zoopster1 is now known as zoopster
sorenZnupi: But the process of accepting the e-mail from thunderbird and sending it on is done by postfix. Dovecot never sees the actual e-mail.21:54
Znupisendmail doesn't require authentication, right?21:54
ZnupiAh21:54
sorenZnupi: The authentication is to check that you are who you say you are.21:54
ZnupiOooh, I see21:54
sorenIf you're on a LAN, you may not need authentication at all.21:54
sorenIt's common for SMTP servers on a company's LAN to act as a relay for clients on the LAN without authentication.21:55
sorenSMTP AUTH is most commonly used for road warriors.21:55
sorenAt least that's how/why I've used it in the past.21:55
Znupiyeah, well, i'm not setting up for lan21:56
sorenOk.21:56
ZnupiBut, on the docs, I can see that sasl / SMTP AUTH is set up before dovecot21:56
sorenIn that case you want to get SMTP AUTH working properly. Otherwise random people will use your server to send out spam. ("will" being the operative word. Not "may")21:56
sorenSorry, which docs are we talking about?21:57
Znupihttps://help.ubuntu.com/9.10/serverguide/C/postfix.html21:57
sorenI'm following a stack of different conversations right now, so I got lost somewhere.21:57
Znupioh, no, wait21:57
Znupibit confusing but i got it21:57
Znupiso if you want sasl, you have to have dovecot?21:57
Znupipardon, if you want smtp auth*21:58
sorenZnupi: "have to have" is such a strong way to put it.21:58
sorenZnupi: It's really, really, really what you want to do.21:58
sorenZnupi: but no, you don't /have/ to have dovecot.21:58
sorenpostfix supports other sasl backends as well.21:58
Znupiah, I understand now21:59
Znupiwow, i feel enlightened, thanks a lot21:59
sorensure thing.21:59
sorenlool: locale-gen has a --no-purge option... Convenient! :)22:03
smosererichammond, purely fyi, but if you wanted to sanity check, http://bazaar.launchpad.net/%7Eubuntu-on-ec2/ubuntu-on-ec2/ec2-publishing-scripts/annotate/head%3A/ec2-image2ebs  is largely based off http://alestic.com/2010/01/ec2-ebs-boot-ubuntu22:13
loolsoren: Yes, I hadseen the --no-purge option, but note that a) it still might create a locale on the host which is not desired and b) the actual implementation mightturn purging on again (but that's not vm-builder's problem)22:18
hinkanyone know how to perform an automated install of proftpd without having to slect inetd or standalone22:25
sorenlool: Yeah, I suppose.22:30
bogeyd6argh i missed a job call back22:55
=== HalfWord is now known as Half-Word
pwnguini have a question about deploying the planet rss aggregator23:03
pwnguin(technically, venus)23:03
=== Half-Word is now known as HalfWord
pwnguinthe package didnt create a directory structure for me; where should i put it?23:03
pwnguinive got to create a planet.in23:04
pwnguini23:04
pwnguina template dir, a cache dir, and the output dir23:04
pwnguinoutput can co in /var/www, and the cache can go in /var/cache/planet, but what about the templates?23:04
mathiazsoren: puppet unit tests: bugs have been filed with upstream23:24
mathiazsoren: we'll see what's their answer23:24
|Mike|hmz, the nickname soren sounds familair here.23:25
jpdsI hope so.23:26
jpdssoren: yo.23:26
uvirtbotNew bug: #532286 in samba (main) "Samba: remote Win XP and Mac OS X machines can no longer mount shares" [Undecided,New] https://launchpad.net/bugs/53228623:36
uvirtbotNew bug: #532291 in puppet (main) "Unit test failure: test_execution(TestPuppetModule)" [Undecided,New] https://launchpad.net/bugs/53229123:41
sorenjpds: Ahoy.23:44
sorenmathiaz: Are you meaning to run that test suite regularly?23:45
mathiazsoren: regurlarly during the LTS cycle?23:45
mathiazsoren: It mainly is for maintainance purpose and the security team23:45
sorenmathiaz: I think it may make sense to disable the tests we know are currently failing and keep running the test suite so that we can see if new things start failing.23:46
sorenmathiaz: Yes, regularly during this dev cycle.23:46
mathiazsoren: right - that's another option23:46
mathiazsoren: we could disable tests at the very end of the cycle23:46
uvirtbotNew bug: #532294 in puppet (main) "Unit test failure: test_existence(TestPuppetModule)" [Undecided,New] https://launchpad.net/bugs/53229423:46
uvirtbotNew bug: #532299 in puppet (main) "Unit test failure: test_check_is_called(TestResources)" [Undecided,New] https://launchpad.net/bugs/53229923:46
mathiazsoren: but I'd rather focus on fixing as many tests as possible before release23:47
sorenmathiaz: Sure, sure.23:47
sorenmathiaz: My point is just that until the tests are fixed (which might be a while), it would be nice to know if /more/ tests start failing.23:50
* mathiaz nods23:50
sorenmathiaz: ..and that's easier to notice if the currently failing tests are ignored.23:50
uvirtbotNew bug: #532300 in puppet (main) "Unit test failure: test_purge(TestResources)" [Undecided,New] https://launchpad.net/bugs/53230023:52
uvirtbotNew bug: #532302 in puppet (main) "Unit test failure: test_aliasisproperty(TestSSHKey)" [Undecided,New] https://launchpad.net/bugs/53230223:52
erichammondsmoser: Took a quick glance at ec2-image2ebs. First thing I noticed was the use of "rsync -a" instead of "tar cS | tar x".  The rsync command is not going to do the right thing with hard links, sparse files, special files, devices (and I'm not sure if ACLs or extended attributes matter.)  I'm not sure about any other differences.  If you are stuck on rsync, there are options to enable these, but "tar -S" may be a simpler choice for 23:55
=== RoAk is now known as RoAkSoAx
uvirtbotNew bug: #532307 in puppet (main) "Unit test failure: test_multivalues(TestSSHKey)" [Low,New] https://launchpad.net/bugs/53230723:56
erichammondsmoser: Though I've used tar and rsync extensively for decades, I'm not a complete guru, so it might be good to check with  one before making the decision.  The AWS folks and others I respect on the EC2 forum recommended "tar -S" so I just followed their example.23:57
sorenrsync -aHAS usually does the right thing.23:57
erichammond--specials              preserve special files23:59

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