[00:38] <`6og> bind9 is run on systems which suspend??
[00:39] <Deeps> run a local caching dns server
[00:39] <Deeps> reduce your internet traffic marginally
[00:40]  * `6og is using dnsmasq for that - seems a better fit for the job
[00:40] <`6og> its a laptop after all :) bind == cputime++
[00:53]  * Deeps shrugs
[01:02] <lox_> hi
[01:03] <lox_> I have created a VM using vmbuilder
[01:03] <lox_> how do I launch it? it does not appear using virsh list
[01:07] <lox_> seems it is dead over here.... is there a special time when we can get some help ?
[01:13] <sommer> lox_: vursh start vmname
[01:14] <sommer> lox_: usually during business hours in north america and europe the channel is most active
[01:14] <ivoks> lox_: except when we are at UDS :)
[01:14] <sommer> err virsh start vmname
[02:00] <lox_> sommer: thks but virsh list returns nothing
[02:00] <lox_> anyway I managed to add it doing: virsh virsh
[02:01] <lox_> virsh create /etc/libvirt/qemu/ubuntu.xml
[02:02] <lox_> ping 10.0.4.10
[02:02] <lox_> oops
[02:03] <lox_> ls
[02:15] <lox_> please anyone here taht can answer questions about vmbuilder?
[02:25] <ScottK> !ask | lox_
[02:26] <lox_> Using vmbuilder do I have to create a bridge interface mannually for each VM? Or vmbuilder should do it? thks
[02:27] <lox_> (sorry new to trc)
[05:06] <kees> lox_: i have, in the past manually adjusted settings to get bridging. soren may know more but probably afk for the evening.
[05:38] <lox_> kees: well I don't really un derstand how bridge do work.... if I follow https://help.ubuntu.com/8.10/serverguide/C/network-configuration.html#bridging my eth0 is not configured anymore. Does a bridge can be use by multiple VM?
[05:43] <kees> lox_: yes, but you need to configure the bridge first
[05:45] <lox_> kees: so having a look to https://help.ubuntu.com/8.10/serverguide/C/network-configuration.html#bridging i need to delete from /etc/network/interface the eth0 config and replace it with br0 config using eth0 "past" ip config?
[05:48] <kees> lox_: yes, that guide looks correct
[05:49] <lox_> kees: ok, and do you know where is that vnet0 that ifconfig shows please?
[05:50] <kees> I just ignore vnet0 -- libvirt will do the right thing once it's been configured to use br0
[05:51] <hads> You can remove it
[06:02] <lox_> Remove it from where? ....
[06:20] <lox_> hads well vnet0 is default libvirt bridge interface, this is only for NAT connectivity, no way/need to remove it
[06:28] <d-b> hi there why is a closed source piece of software shown to me with the motd ?
[06:28] <d-b> yes the landscape client is open source. but the server isn't
[06:29] <d-b> doesn't this go against ubuntu policy ?
[06:31] <hads> lox_: Yes, you can remove it.
[06:32] <lox_> hads: are you talking about "virsh net-destroy default" ?
[06:32] <hads> I've not done it from virsh, I have from VMM though.
[06:35] <Severian> Howdy.  I want to make a Ubuntu Server installed system run gnome on startup.  I have been searching the web for what to do, and have not found instructions for 8.10(intrepid ibex).  Any suggestions?
[06:37] <d-b> Severian: sudo apt-get install gdm and xserver etc.
[06:38] <zoopster> Severian: you are better off running ubuntu desktop as a server than trying to install the gui parts
[06:38] <hads> ubuntu-desktop will install everything
[06:38] <Severian> http://ubuntuforums.org/archive/index.php/t-186298.html  says I needed to run two more commands after installing, but they did not work on 7.10 and later.
[06:39] <lox_> hads: can you tell me how please ? what is VMM ...
[06:40] <hads> lox_: Virtual Machine Manager, the GUI which connects to your server via SSH. There will be a virsh command that does the same thing.
[06:43] <Severian> zoopster, vmbuilder builds virtual machines off of what is essentially JeOS.  I am not installing the OS an hardware, but creating scripts to build virtual machines.  vmbuilder is shipped with Ubuntu, and I am using the installed version.
[06:44] <zoopster> Severian: so you want to add x to that?
[06:45] <Severian> zoopster, yes.  I want to build a VM to use for software demos.
[06:48] <Severian> Well nevermind.  the instructions at http://ubuntuforums.org/archive/index.php/t-186298.html say there is a problem after 7.04, but it is pretty minor.  Thank you.
[06:49] <zoopster> Severian: the problem is that ubuntu-desktop installs a lot more than just gdm and xserver - good luck
[06:52] <lox_> hads: still have trouble setting my virtual machine network, my server ip is 10.0.4.10, I would like my VMs ip in the range 10.0.4.20 to 10.0.4.40, any advices? Here is my interfaces file: http://paste2.org/p/113535. With that config my VM takes the 10.0.4.10 ip ....
[08:04] <Scare|Working> Hi all
[08:17] <nme> anyone knows how to get rid of "CRON...: Sigfile not found" from /var/log/syslog ?
[10:02] <lox_> I always trace a log file with tail -f /var/log/mylog.log. I would like that it runs on a console a each system reboot, by "on a console" I means so I can see it if I Alt+F2
[10:02] <lox_> Is it possible?
[10:10] <Oliber> think you can do it with inittab
[10:10] <Oliber> but i havn't done that in years
[10:32] <_ruben> or just have syslog log to a tty, assuming its a log used by syslog
[10:33] <Oliber> oh yeah, thats how i did it 9yrs ago!
[10:39] <lox_> thks I'll continue to search
[10:39] <lox_> done it many years a go to and can't remmeber how ..
[11:07] <incidence> How to find out filesystems block size?
[11:27] <Scare|Working> incidence,  dumpe2fs device. but you can use it only if you have an ext2 o ext3 filesystem
[11:29] <maswan> xfs has xfs_info, I'm sure all the sane fss have some kind of util for that
[11:29] <maswan> actually, hm, if you want a general method, the block size is available in statvfs
[11:52] <AlexC_> hey all
[11:53] <AlexC_> is there a way to read what email was sent via Postfix? I just saw in my logs a weird email, sent by one of my address (a noreply@ one) to a weird email address. I'd like to read that and see just what it was, because I am confused as to where it was sent
[12:04] <hypnus9> ! server crash
[12:04] <hypnus9> !server access
[12:27] <lamont> AlexC_: once the mail is gone from the server, reading it is a matter of finding where it was stored on disk and looking there for what's left of it.
[12:27] <lamont> if it's still on the server, postcat is your friend
[12:27] <AlexC_> lamont, hum, I've really no idea how to go about finding it. I'll check postcat now, though do you have time to poke me further in the right direction?
[12:31] <AlexC_> lamont, I would have thought a copy would be in the 'Sent' mail dir (or where ever) in the users Maildir directory. Though I can't see any Sent email when using Mutt
[12:36] <hypnus9> Hello room. I just install Intrepid server edition on my desktop pc, and I had it accessible from my laptop, but I rebooted the server, and now I can't access it from my laptop. Any help?
[12:37] <Deeps> can you ping it?
[12:37] <hypnus9> Yep.
[12:37] <lamont> AlexC_: mutt is a mail user agent.  mail transport agents keep only logging records
[12:37] <Deeps> in what way were you 'accessing' the server?
[12:37] <hypnus9> SSH and samba
[12:37] <Deeps> you can ping the server, but you're unable to ssh anymore? what error do you get when attempting to ssh?
[12:37] <AlexC_> lamont, hum, ok. So what is meant by 'Copying to Sent Folder' in Thunderbird, when using IMAP when I sent email - where is that data stored? Locally?
[12:38] <hypnus9> Hold on.
[12:38] <lamont> thunderbird is a mail user agent as well
[12:38] <lamont> and it's probably in the "Sent" folder on the imap server
[12:38] <lamont> (and none of that is "postfix" related)
[12:39] <hypnus9> I get "timed out when logging in
[12:39] <AlexC_> lamont, I know it's a user agent - I'm just wondering if this 'Sent' folder is a feature of the MUA, or is what postfix does when an email is sent
[12:39] <lamont> MUA only
[12:39] <lamont> MTAs take the mail, pass it along, log it, and remove the copy they have on disk once the next hop says it has it.
[12:39] <AlexC_> bugger. Is there no way to get hold of what that email was?
[12:40] <AlexC_> if not, is there a way to trace what process could have triggered postfix to send that email?
[12:40] <lamont> tct - Forensics related utilities.
[12:40] <lamont> if you have process accounting turned on (unlikely, I think), then quite possibly
[12:40] <AlexC_> =(
[12:41] <lamont> what does /var/log/account have in it?  lots of pacct* files?
[12:41] <Deeps> hypnus9: is the sshd running on the server? `ps ax|grep sshd` on the server console should tell you
[12:41] <AlexC_> lamont, I've no such directory
[12:41] <lamont> likewise, do the postfix logs say that it was local, or received via smtp?
[12:41] <AlexC_> lamont, let me see
[12:41] <hypnus9> I check it out.
[12:41] <lamont> (so no process accounting)
[12:43] <AlexC_> lamont, http://paste2.org/p/113659
[12:43] <hypnus9> it looks to be.
[12:43] <lamont> connect from foobar[foobar] <-- so that, whatever it really was, is where the mail came froim
[12:44] <Deeps> hypnus9: are you sure you're connecting to the right ip? `ifconfig` on the server will tell you what ips it's assigned
[12:45] <AlexC_> lamont, indeed, which is very odd - since nothing should be sending email from noreply, and the things that do - don't email to that weird .ru address
[12:46] <lamont> AlexC_: and without the actual headers (I assume you trashed them?), there's not much more that can be said
[12:46] <AlexC_> lamont, I've not touched any headers
[12:46] <lamont> ah, ok
[12:46] <lamont> I assumed the 'foobar' comments were changed IP/hostname ish stuff
[12:46] <AlexC_> lamont, correct
[12:47] <lamont> that would be "trashed"
[12:47] <lamont> as in, yes, you touched the headers
[12:47] <AlexC_> lamont, hum, I just change them in the pastebin to remove them =)
[12:47] <lamont> thereby removing the information required to be able to do any further advising about what actually happened.  ok
[12:48] <AlexC_> lamont, are you saying, you need the Ip/hostname that I removed to help further? The values are there, I only changed it in Pastebin so they are not in a public pastebin
[12:49] <Deeps> 9 lines later...
[12:53] <lamont> AlexC_: either it's 127.0.0.1 and the mail originated there, or it's not 127.0.0.1 and that host delivered mail (which either means it was one of your TLS users, or you have really poor SASL password, or some such
[12:56] <AlexC_> lamont, the values were the main external IP of the server. The login was by a known users of mine ... I guess I'll just have to check all the logs I can
[12:58] <lamont> ok.  the mail arrived externally from that IP, and that computer is the one which you need to be looking at to find the origin of the mail
[13:00] <AlexC_> that is this computer
[13:00] <AlexC_> it's ok, I may be able to poke some of my application logs to see where the devil it came from
[13:58] <kraut> moin
[14:07] <kebomix> Free Programming e-books With Direct Links & Request ebooks Here : http://request-ebooks.blogspot.com/
[15:18] <Faust-C> after upgrading to 8.10 my system upon reboot gives file system is read only
[15:18] <Faust-C> and i have to manually make it r/w
[15:23] <zoopster> Faust-C: what hardware?
[15:24] <Faust-C> typical desktop system
[15:24] <Faust-C> zoopster, issue is really a desktop one but #ubuntu is worthless for real help
[15:25] <zoopster> Faust-C: understood, was curious simply because there is a kernel issue with ath9k and the 2.27.9 kernels that presents itself strongly on a macbook pro, but is present in other systems that shows a symptom like you describe, but usually not directly after reboot
[15:26] <Faust-C> ic, no we dont have that
[15:27] <Faust-C> hmm man idk wth happend
[15:27] <zoopster> Faust-C: without a lot more detail, not sure anyone can help - this channel may not be the proper forum...I would post to ubuntuforums.org as well as search there and generally in google
[15:27] <Faust-C> zoopster, yeah im gathering more info
[15:29] <zoopster> Faust-C: for the forums useful info is hardware detail, dmesg output, etc
[15:29] <Faust-C> zoopster, problem is that we cant even login to system to get that
[15:31] <zoopster> Faust-C: no way to open a terminal session after boot?
[15:38] <Faust-C> zoopster, nope
[15:38] <Faust-C> but im bootinhg to live gonna see what i can do
[15:39] <zoopster> Faust-C: that was the next suggestion...see if you can mount the disk - even if the disk is RO you can read from it
[15:39] <Faust-C> yeah
[15:39] <Faust-C> gonna see what the real issues are
[16:12] <Faust-C> init: tty2 main process (4063) killed by SEGV signal
[16:12] <Faust-C> init: tty2 main process ended, respawning
[16:13] <Faust-C> thats the error i get if i try to login via console
[16:55] <lionel> is someone experimenting issues with check_ntp_time since the beginning of december?
[16:56] <lionel> (with leep seconds not beeing handeled correctly)
[17:05] <Faust-C> why in the hell does the IP address keep going to dhcp
[17:20] <Faust-C> can someone please explain why server keeps using dhcp for inet even when ive specified a IP in /etc/network/interfaces
[17:23] <sommer> Faust-C: did you set the interface to static?
[17:23] <Faust-C> yep
[17:23] <Faust-C> iface eth0 inet static
[17:25] <sommer> Faust-C: do you have
[17:25] <sommer> dhcdbd running?
[17:25]  * Faust-C looks
[17:26] <Faust-C> ah dhclient3 is running
[17:27] <sommer> you should be able to turn that off
[17:28] <Faust-C> hmm ill look for the file to disbale it
[17:29] <sommer> Faust-C: if there's an init script you can do: sudo update-rc.d -f service_name remove
[17:29] <sommer> Faust-C: that should not start the daemon on boot
[17:29] <Faust-C> yeah i dont see a init script
[17:29] <Faust-C> nor a option to stop it via cmd
[17:32] <ivoks> if you installed system with dhcp address
[17:32] <ivoks> then on boot dhclient will start
[17:32] <ivoks> even if you change network configuration, dhclient will still be running
[17:32] <ivoks> so, best cure is to kill dhclient or restart machine after network configuration change
[17:32] <ivoks> we might consider this as a bug
[17:32] <ivoks> er....
[17:32] <ivoks> we should consider this as a bug
[17:33] <Faust-C> ivoks, oic
[17:33] <Faust-C> guess ill report it
[17:33] <Faust-C> where is bug report site
[17:33] <ivoks> lanuchpad.net
[17:33] <Deeps> launchpad*
[17:33] <ivoks> you don't have to report it
[17:34] <ivoks> i plan bringing this up on uds tomorrow
[17:35] <Faust-C> ivoks, oic sweett
[17:57] <refnumzx> have an ml350 G5 with the e200I controler, write performance is bad but my main problem is hat using 8.10 server i can not get the system to boot properly install goes fine but then when it is time for the cd to come out and we reboot says atempting to boot from drive c: any ideas?
[18:00] <ivoks> what's e200i?
[18:01] <Nafallo> ivoks: controllercard.
[18:01] <ivoks> ah, hardware raid
[18:02] <ivoks> have you setup raid logical volume before installation?
[18:05] <ivoks> refnumzx: ?
[18:05] <refnumzx> yes i have using the hp tools
[18:06] <refnumzx> the instaler recognizes it as an array so its fine
[18:06] <ivoks> what kind of array?
[18:06] <ivoks> 0 1 5 6?
[18:07] <ivoks> if you want me to help you, i'll have to understand what you are trying to achive
[18:07] <ivoks> otherwise, we'll spend hours for nothing
[18:09] <ivoks> do you have disks outside the array?
[18:09] <ivoks> either on controller or some other port (IDE/SATA/SCSI)
[18:10] <refnumzx> its a raid5 array with 4 SAS disk directly connect to the backpln  when i start the instaler the ubuntu system formats and recognizes the drives, what i want is for when the instaler finishes i want it to reboot and load the os. everythingelse during the instal is successful
[18:11] <refnumzx> no i do not
[18:11] <ivoks> so, before restart, inside ubuntu installer, you get 'atempting to boot from drive c:'?
[18:11] <ivoks> or after reboot?
[18:12] <refnumzx> no, after reboot.
[18:12] <ivoks> ok
[18:12] <refnumzx> grub does not even seem to load
[18:12] <ivoks> have you checked bios?
[18:12] <refnumzx> the installer completel finishes what it is supposed to do
[18:12] <genii> And it specifically says C:     ?
[18:12] <ivoks> did you set up raid controller as a first boot device?
[18:12] <refnumzx> i have updated the bios, firmware updated to latest, controler order is just fine. etc
[18:13] <refnumzx> it specifically says C:
[18:13] <ivoks> i see
[18:14] <refnumzx> well, it tries to boot from the cd then the disk, i assume because it does nothing accept for show that message
[18:15] <ivoks> did you set up your own partitions or system camed with at least one partition?
[18:15] <refnumzx> the controller is the only boot device.
[18:15] <refnumzx> i used guided, use entire disk
[18:15] <ivoks> hm, ok
[18:15] <ivoks> you have a ubuntu cd, right?
[18:15] <genii> You need raid support in the initrd for it to boot from there. But grub should have a tleast tried, I would think
[18:15] <ivoks> it should have 'boot from first cd'
[18:15] <refnumzx> yeah no grub anything
[18:16] <ivoks> genii: system doesn't boot from disk at all
[18:16] <ivoks> boot from first disk, not cd :)
[18:16] <refnumzx> the system boots the instal media and goes through the instaler just fine
[18:16] <refnumzx> when i rebot, i remove the install media
[18:16] <ivoks> refnumzx: put the cd in
[18:16] <ivoks> refnumzx: and don't start installer, choose 'Boot from first disk' option
[18:17] <refnumzx> the server is rather far away. then what?
[18:17] <ivoks> if it boots, then you bios is broken
[18:17] <refnumzx> ok. i will brb
[18:17] <ivoks> it it doesn't, which i doubt, then you'll tell us what message you get
[18:23] <refnumzx> absolutely nothing
[18:23] <refnumzx> booting from local disk.
[18:24] <ivoks> and blank?
[18:25] <ivoks> if it's blank, then grub might not be installed on disk
[18:25] <ivoks> how big is your raid logic volume?
[18:26] <refnumzx> 400gb or so
[18:26] <refnumzx> and blank, yes
[18:26] <ivoks> hm, odd
[18:26] <refnumzx> quite
[18:26] <refnumzx> during the installer it does say installing grub and produces no errors
[18:27] <ivoks> did building of logic volume finished?
[18:29] <refnumzx> here is the thing the raid is configured thtough the hp tols. during the installer it asks me if i want to recognize the device as a raid configuration, i answer yes, then i go off and format the single logical volume which is the correct size, and then i continue with the instal as normal
[18:29] <ivoks> and, in ubuntu, you see only one disk or more of them?
[18:30] <refnumzx> a single disk
[18:30] <refnumzx> which is what i am supposed to see
[18:30] <ivoks> right
[18:32] <ivoks> anything that comes to my mind is that logic volume isn't built, and mbr isn't formed yet
[18:32] <ivoks> which i've seen with low cost raid controlers
[18:32] <ivoks> never with 3ware :/
[18:32] <refnumzx> ok. so how couold that be if it formats the disk?
[18:33] <ivoks> dunno
[18:33] <refnumzx> thanks for the help though, we tried.
[18:33] <ivoks> could you start resuce option
[18:33] <refnumzx> gonna have to call hp, again.
[18:34] <ivoks> when you start it, you should be able to chroot to your partition
[18:34] <refnumzx> never tried that. isn't that available from the grub menu? this is the thing man grub is not loading
[18:34] <ivoks> then you should mount all
[18:34] <ivoks> you can enter resuce from installation CD
[18:34] <refnumzx> ok. then what croot what? mount all. and then....???
[18:34] <ivoks> it's an option above boot from first disk
[18:35] <ivoks> you'll be guided
[18:35] <ivoks> then, when you get droped in chrooted shell
[18:35] <ivoks> run grub-install /dev/sda
[18:35] <ivoks> or whatever it's name is
[18:35] <ivoks> maybe /dev/cciss/something
[18:36] <refnumzx> /dev/cciss is how its shown in the installer
[18:36] <ivoks> right
[18:36] <ivoks> it isn't cciss
[18:36] <ivoks> but /dev/cciss/c0d0 or something like that
[18:37] <refnumzx> right
[18:37] <refnumzx> i'll give it a whirl
[18:38] <ivoks> go go go :)
[18:54] <jcliff> I have a farm of about 800 servers about to be running ubuntu, is there some way of making sure they each get their ubuntu security updates/etc without sshing into each one
[18:54] <jcliff> pssh looks better than mannually sshing in but there's got to be better out there right?
[18:55] <yann2> same question here :)
[18:55] <jcliff> yann2: serious? lol
[18:55] <yann2> can have a look at puppet
[18:55] <yann2> but the thing is usually people use to say, " you dont want to automate apt upgrade"
[18:55] <genii> No one makes cronjobs for updates or so?
[18:55] <jcliff> maybe
[18:55] <yann2> considered harmful afaik :(
[18:55] <maswan> We use our own version of pssh
[18:56] <maswan> But yeah, that's how we do it. You just need to take care and make a wrapper script that works as hard as possible to make it run without interacting with the user.
[18:58] <maswan> Good env to set: DEBCONF_ADMIN_EMAIL= DEBIAN_FRONTEND=noninteractive
[18:58] <jcliff> yann2: as in automating security upgrades considered harmful or cronjobs considered harmful?
[18:58] <maswan> etc
[18:59] <yann2> jcliff > automating...
[18:59] <yann2> you know
[18:59] <maswan> jcliff: automating security upgrades isn't really considered harmful as such, but at least I'd prefer to apply them first to one of the servers before rolling them out everywher
[19:00] <yann2> "blah wants to install a new config file but it seems you have changed the original file - do you want to keep your old personnalized (incompatible) file? (Y)
[19:00] <ivoks> there are unanttened updates
[19:01] <refnumzx> right so reinstaling grub fixed the booting issue
[19:01] <refnumzx> so. is that an error in the installer?
[19:04] <ivoks> refnumzx: don't think so
[19:04] <ivoks> refnumzx: you installed grub on logical volume
[19:05] <ivoks> refnumzx: some raid controllers have an option of defining a boot volume
[19:09] <jcliff> maswan: thanks
[19:09] <refnumzx> boot volume
[19:09] <refnumzx> so what is the difference? wouldn't it go on the logical volume, is not that the corect way?
[19:10] <ivoks> i don't know, i don't know internals of all raid controllers
[19:11] <ivoks> maybe if you don't set up boot flag on logic volume, maybe controllers ignores it
[19:14] <ivoks> refnumzx: bottom line is that grub is installed on logical volume
[19:14] <ivoks> refnumzx: but, for some reason, controller doesn't boot from it
[19:15] <ivoks> refnumzx: oh, sorry
[19:15] <ivoks> refnumzx: i just saw that reinstalling the grub *fixed* the problem
[19:15] <ivoks> refnumzx: i tought it didn't :)
[19:15] <ivoks> refnumzx: yes, that's a installer bug
[19:18] <ivoks> refnumzx: could you send me /var/log/installer/syslog?
[19:37] <jcliff> maswan: oh absolutely.
[19:38] <jcliff> I've never had anywhere near this many computers to deal with in one go though :)
[19:46] <jcliff> yann2: thanks btw
[19:47] <yann2> np
[19:51] <mibocote> I have two gateways setup for 0.0.0.0, but I only want one of them. how do I delete the other one from handling dest: 0.0.0.0?
[20:06] <dejuren> sommer: ping
[20:08] <sommer> dejuren: yo
[20:09] <dejuren> sommer: question: who write ubuntu server guide? specially e-mail https://help.ubuntu.com/8.04/serverguide/C/email-services.html
[20:10] <sommer> dejuren: I've written a lot of that chapter, but some sections only updated
[20:11] <sommer> dejuren: did you have a question about a specific section?
[20:11] <dejuren> sommer: cause I'm looking for /etc/postfix/main.cf, /etc/postfix/master.cf, and /etc/dovecot/dovecot.conf examples. Can you help? Mean only default configuration.
[20:12] <sommer> dejuren: the default files are pretty good for a "standard" install.
[20:13] <sommer> dejuren: what are you trying to accomplish with your mail server?  ie, receive mail from internet, only forward mail to internet, etc
[20:16] <dejuren> sommer: receive mail from internet and send mail to internet and internaly in a small local network
[20:17] <sommer> dejuren: the serverguide should help you do that, I'd basically follow the postfix and dovecot sections
[20:17] <sommer> dejuren: then if you want to add spam, virus, etc filtering later work through the mail filtering section
[20:18] <sommer> dejuren: and when you run into trouble or have a specific question feel free to ask
[20:18] <dejuren> sommer: ok, will work on it. tks.
[20:19] <sommer> dejuren: you're welcome
[21:59] <donspaulding> I'm having some troubles setting up Samba+LDAP,  smbldap-populate is saying... "failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 234."
[22:01] <donspaulding> I'm not sure why it's giving me this particular error.  I've got the username/password setup in /etc/smbldap-tools/smbldap_bind.conf
[22:10] <donspaulding> ah, nevermind, my DN wasn't fully qualified (i.e. "admin" instead of "admin,dc=mydomain,dc=local"
[22:10] <donspaulding> in smbldap.conf
[22:40] <agampher> Hello. I am trying to get a startup script to run at startup (crazy, I know), and it requires me to have the JRE_HOME environment variable defined to run it. It seems I am only successful at running the script at all if I sudo -s first. Any ideas on how to proceed?
[22:41] <agampher> i suppose i should reword that to say run a startup script at boot
[22:42] <`6og> init scripts are executed as root anyway
[22:43] <`6og> but in answer to your question, `export JRE_HOME=/path/goes/here/`
[22:43] <agampher> which i did, but using the sudo command to run the script causes is to fail
[22:43] <agampher> i have to sudo -s, then run the command as root
[22:45] <agampher> so if scripts are run as root at bootup, what is the best way (best practice) to include an application startup script in the mix?
[22:46] <agampher> pardon my noobishness
[22:51] <agampher> ok, heres what i did and it worked, tell me if it's bad practice
[22:53] <agampher> i created a file in the init.d folder with a line that defines the environment variable and then a line that initiates the application startup script
[22:53] <jmedina> agampher: using sudo -s it doesnt import all the env vars from root user
[22:53] <jmedina> why not start it with a rc script?
[22:53] <agampher> then i added to startu pwith sudo update-rc.d <name of script> start 51 S .
[22:54] <jmedina> agampher: that is the usual wey in ubuntu
[22:54] <agampher> k
[22:55] <agampher> just checking to see if that was best, thanks for your help
[23:25] <tonyyarusso> I'm having a bit of trouble with hostname lookups on my home network.  'ping <machinename>' gives "unknown host", but 'ping <machinename>.local' works fine.
[23:26] <jmedina> tonyyarusso: add local to your resolv.conf
[23:26] <jmedina> the line is "search local" without quites
[23:26] <jmedina> quotes
[23:26] <tonyyarusso> jmedina: I have that already, but it doesn't seem to be working.
[23:30] <tonyyarusso> jmedina: FWIW, the router is running DD-WRT
[23:33] <tonyyarusso> jmedina: Meanwhile on the router, the resolv.conf also has "search local", but it is the second search line - the first is "search hsd1.mn.comcast.net." (with the trailing period)
[23:34] <jmedina> I think you can only have 1 search line
[23:34] <jmedina> but you can use something like search local hds...
[23:34] <`6og> trailing . is ok. you might want to put search local above the other.
[23:42] <tonyyarusso> Okay, I got rid of the comcast line altogether, and I still have the same behavior.
[23:43] <`6og> do you have network mangler installed?
[23:43] <tonyyarusso> On the clients, yes.
[23:44] <tonyyarusso> not the router, obviously
[23:46] <donspaulding> can I use debootstrap to return a server to its original state?  after a fresh install?
[23:47] <donspaulding> how can I take a running server and lose all of its settings/installed packages? (keeping /etc/network/interfaces and .ssh/authorized_keys would be bonus, but isn't critical)
[23:48] <`6og> you save those files and reinstall. (i'm not aware of another method)
[23:51]  * jmedina thinks donspaulding wants something like MS system restore :D
[23:52] <tonyyarusso> `6og: what effect does N-M have on this?
[23:52] <donspaulding> jmedina: yes, that's it!  How can I install System Restore on my server?
[23:53] <`6og> tonyyarusso: the .local made me wonder. i'm also wondering if the wrt is eating the mdns data
[23:53]  * donspaulding is only kidding....
[23:53] <tonyyarusso> `6og: what should be my next step for diagnosis?  Disconnect the router and just work on the switch for a bit?
[23:54] <tonyyarusso> .local appears to be from avahi afaik
[23:54] <`6og> yes, its an avahi thing
[23:55] <jmedina> tonyyarusso: do you have a local dns?
[23:55] <jmedina> the .local domain on the router?
[23:57] <tonyyarusso> jmedina: The router can do DNS, yes.  Uses DNSmasq.
[23:58] <jmedina> tonyyarusso: why dont you send the search option via DHCP?
[23:59] <tonyyarusso> jmedina: It is - and it's sending 'local' for that too.