[00:04] ausimage: That's going to need a lot more context, some sort of error output, something. [00:04] infinity.... [00:05] ausimage: I run python scripts as daemons all the time (hello, twisted), none of them break dpkg in any interesting ways. So, yes, need a lot more to go by than your one-liner. [00:06] the project is apt-zeroconf and I have apt-zeroconf loading it daemon module in the main script... [00:06] i've run Python scripts as Daemons as well, and never have they broken my dpkg [00:07] BUT when dpkg is involved it cannot find the daemon module [00:07] from aptzeroconf.daemon import Daemon [00:07] dayo, it means that your apache may not be properly patched or someone is trying to execute command line over http [00:07] ImportError: No module named aptzeroconf.daemon [00:08] is the gist of it... [00:08] lp:apt-zerconf/r0.5 [00:08] is there a aptzeroconf.daemon on the system? [00:08] apt-zeroconf [00:08] ausimage: how does that relate to dpkg? [00:08] I believe so [00:09] it only happens when dpkg configures it [00:09] sounds like he's trying to use dpkg to get a new module [00:09] no it is in the lib in 0.5.1 [00:09] so you mean that the maintainer scripts break on the package? [00:10] yeah... essentially... [00:11] then the package needs fixed, I can only see it in PPAs, so you need to talk to whoever was creating that [00:11] I did change its original daemon code to a new daemon class... which required a little munging of the maintainer scripts :/ [00:11] ajmitch We are the maintainer AFAIK [00:12] apt-zeroconf team [00:12] ok, then it's something to take to #ubuntu-motu or similar for packaging help [00:12] and me as a active member [00:12] oh thought you knowledge of daemons might be more helpful :/ [00:12] but I can ask there too :S [00:13] no, sounds like a standard python packaging problem [00:13] k... === antdedyet_ is now known as antdedyet [01:38] I just installed ubuntu server on a rig and I want to use mpd to play sound [01:38] what should I install to get sound working.... [01:38] via ssh [01:41] storrgie@MUSIC:~$ alsamixer [01:41] alsamixer: function snd_ctl_open failed for default: No such file or directory [02:19] What webserver for load balancing do you recommend? We're using pound, but it's starting to feel ghetto. [02:25] Never heard of pound [02:26] See? Ghetto. [02:26] nginx instead, perhaps? [02:26] Those are the two I know of [02:27] Apache's httpd can also be a load balancer, right? [02:29] * ball shrugs [02:29] doesn't sound like a job for the httpd anyway. [02:32] ball: what do you use? [02:32] JordiGH: thttpd [02:32] JordiGH: oh, you mean for load balancing? I don't. [02:33] ...but if I did, I might expect to do it in the router. [02:33] * ball shrugs [02:33] ...or in the OS, depending on the platform [02:36] Router? [02:36] Ubuntu is my router. [02:37] That's an interesting choice. [02:38] brb [02:45] ball: be aware that thttpd is not really maintained, and there are known security patches that are sitting in the mailing list, unapplied. [02:47] twb: thanks for the heads-up. [02:47] A few years ago I spent some time overhauling the package in Debian, but I gave up and switched to vsftpd [02:48] And then I got rid of my server, so now my couple-of-meg worth of text files are served by busybox's httpd :-) [03:59] a typical http load balancing approach is multiple web servers with round robin DNS [04:19] Im trying to install asterisk and when i "make menuselect" for zapta it says i need to install ncurses, anyone give me a wget to install? [04:27] howie: you'll need ncurses-devel [04:27] well i aptitude install. ncurses-devel but it still says the same thing [04:27] sudo apt-get install ncurses-dev [04:28] just dev [04:29] Note, selecting libncurses5-dev instead of ncurses-dev [04:30] Hello [04:31] is anyone available? [04:32] just ask your question and someone will respond if they know the answer [04:32] people multitask.. [04:32] I'm looking for a samba guru [04:33] I'm having an issue to where I can connect the Ubuntu server to windows shares [04:33] just ask what you need and wait a while :P [04:33] but I can't get to the samba shares from windows clients [04:33] it is a 2008 DC [04:33] and the domain is native 2008 [04:34] Anyone know the secret to connecting to ubuntu from windows through samba? [04:34] or is there a better, more secure way? [04:37] hmmm [04:37] well...It might help it I already had winbind installed [04:37] har har [04:41] Anyone familiar with likewise-open? [08:01] hi, im trying to get ftp access on my ubuntu server [08:02] but i keep getting connection refused errors [08:02] <_ruben> install your favorite ftp server software, configure it, start it, profit [08:03] indeed [08:04] so i installed proftpd [08:04] and its configured [08:04] but my server keeps refusing connections on port 21 [08:05] <_ruben> does netstat -lnt show port 21 ? [08:05] ah, no [08:06] what went wrong here [08:07] <_ruben> try (re)starting proftpd, and then look at the logs if it still dont work [08:18] hmm [08:18] according to log [08:18] " ah, that sounds nice. [08:18] [03:17:17] no [08:18] according to log: Failed binding to ::, port 21: Address already in use [08:24] <_ruben> that could be a 'bogus' error, some apps first try to bind to 0.0.0.0:21 (ipv4) and then :::21 (ipv6), and that doesnt work well [08:24] system reboot worked [08:25] <_ruben> the microsoft approach :) [08:25] lol [08:26] well, there is no proftpd restart [08:26] and it was clear that it had failed to bind on boot [08:26] wanted to see if i could duplicate the error [08:27] and... ok, fine, im an XP guy [08:27] sue me :P [08:28] <_ruben> heheh ;) [08:29] <_ruben> im a windows desktop guy and ubuntu server guy ;) [08:29] yeah, well, i do like ubuntu, im just so used to fixing xp [08:29] to gaint hat kind of knowledge of ubuntu would take a years work [08:32] ugh [08:32] now proftpd is telling me direcotry doesnt exist [08:32] despite it listing it and the directory existing [08:32] meh, bedtime [08:33] thanks _ruben [08:34] <_ruben> g'nite [08:46] Reguarding server edition 9.04, I am running a home server and want to have my website page save forms directly to my server in a specified location. Anyone have any suggestions? [08:50] <_ruben> a simple php script would do just fine [08:50] <_ruben> or perl, or whatever it is you're familiar with [08:51] actually im not with any but that answer gives the direction i need to find out :) Thank you [08:51] KillMeNow: in my /var/log/auth.log i have periodic appearances of this: sudo: root : TTY=unknown ; PWD=/ ; USER=username ; COMMAND=/usr/bin/gconftool --get /system/http_proxy/port what does it mean? [08:52] KillMeNow: u said my apache is not properly patched or someone's trying to exec cli over http? what does that mean? [08:52] [03:35] http://translate.google.com/translate?prev=hp&hl=fr&js=y&u=http%3A%2F%2Fforum.ubuntu-fr.org%2Fviewtopic.php%3Fpid%3D2808462%23p2808462&sl=auto&tl=en&history_state0= [08:52] [03:35] http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p2808462 [08:52] [03:35] http://translate.google.com/translate?prev=hp&hl=fr&js=y&u=http%3A%2F%2Fforum.ubuntu-fr.org%2Fviewtopic.php%3Fpid%3D2808462%23p2808462&sl=auto&tl=en&history_state0= [08:52] [03:35] http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p2808462 [08:52] [03:35] http://translate.google.com/translate?prev=hp&hl=fr&js=y&u=http%3A%2F%2Fforum.ubuntu-fr.org%2Fviewtopic.php%3Fpid%3D2808462%23p2808462&sl=auto&tl=en&history_state0= [08:52] [03:35] http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p2808462 [08:52] ouch. [08:53] I just finished setting up a kerberos realm + managed to kinit from a second linux machine to that realm [08:54] and I ran auth-client-config -a -p kerberos_example [08:55] _ruben, Thanks I found a page with the info I needed. :) [08:56] [03:35] http://translate.google.com/translate?prev=hp&hl=fr&js=y&u=http%3A%2F%2Fforum.ubuntu-fr.org%2Fviewtopic.php%3Fpid%3D2808462%23p2808462&sl=auto&tl=en&history_state0= [08:56] [03:35] http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p2808462 [08:57] anyway my question now is, how do users login to the client machine? :-) [08:57] without running kinit user/instance [09:27] Hi, I have a very strange issue... One of my customers uses some kind of tracking system, that sends you emails on certain events. These emails contain long strings, which are parsed by some application. Our mailserver is a postfix+amavis. NOW: for some reason, the mail ALLWAYS has a newline after 990 chars when arriving - this leads to a parsing error in the application and I have no clue how to even start. Is there actually a chan [09:27] here comes an example string [09:27] 'UNB+UNOC:3+9900790000008:500+4041408000007:14+090707:1413+90707141309905'UNH+90707141309905+UTILMD:D:04B:UN:4.2'BGM+E01+90707141309905+9'DTM+735:?+0200:406'DTM+137:200907071413:203'NAD+MR+4041408000007::293'NAD+MS+9900790000008::293'CTA+IC+:Frau Stenzel'COM+03301-6080:TE'COM+netz@sw-or.de:EM'IDE+24+116800'DTM+92:20090901:102'DTM+158:20090901:102'DTM+752:1231:106'STS+E01++Z43'STS+7++E03'TAX+6+KAB++++TA'FTX+AAI+++#213492'AGR+E03:E10' [09:27] the last few char always end up as [09:28] [...]3099\r\n 05' [09:28] which is actually looks like this [09:28] 3099 [09:28] 05' [09:29] Hi, I have a very strange issue... One of my customers uses some kind of tracking system, that sends you emails on certain events. These emails contain long strings, which are parsed by some application. Our mailserver is a postfix+amavis. NOW: for some reason, the mail ALLWAYS has a newline after 990 chars when [09:29] arriving - this leads o a parsing error in the application and I have no clue how to evten start. Is there [09:29] actually a chance on fixing this without having to rewrite code? [09:30] oops [09:30] sry [09:34] Hiya, I installed my server using debootstrap & SSH via a booted livecd. I've got some problems with my sw raid: It says "ALERT! /dev/md1 does not exist" and drops me to (initramfs) shell. [09:34] backenfutter: If you have a file smtp.cf find in it the variable smtp_line_length_limit and set it higher [09:34] /dev/md1 is /, and if I do mdadm -A /dev/md1 /dev/sd?2, it assembles it, and I can drop out of the shell to resume normal boot. [09:34] I added the ARRAY entry to /dev/mdadm/mdadm.conf, should that be enough? [09:49] genii: what if I don't have such file? create it? where? [09:51] backenfutter: Did you look in /etc/postfix ? [09:51] yeah [09:53] What seems to be the problem? [09:54] owh: He seems to be affected by this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520674 [09:54] Debian bug 520674 in postfix "splitting long lines in email messages, postfix + amavisd-new" [Normal,Open] [09:57] Does the suggested solution not work? [09:58] owh: I found the bug report just now. Other searching earlier indicated smtp.cf as the location of the setting. [09:59] backenfutter: Suggested in the report is to adjust the lmtp_line_length_limit setting [10:01] genii, owh: So I do what? postconf smtp_line_lenght=2048 ? [10:02] # /usr/sbin/postconf | grep line_ [10:02] line_length_limit = 2048 [10:02] smtp_line_length_limit = 990 [10:02] that's the current settings [10:02] backenfutter: Is that where it's wrapping? [10:03] 990 yeah [10:03] Sounds like the go then. [10:05] # /usr/sbin/postconf smtp_line_length_limit=2048 [10:05] /usr/sbin/postconf: warning: smtp_line_length_limit=2048: unknown parameter [10:05] ? o0 [10:07] time for some coffee d'oh -.- [10:08] You might want -e or such [10:09] ive put a entry into my crontab -e to run a rkhunter scan, then to send a email [10:09] however it never seems to run - if I manually run it, it works but requires sudo, is their something I need todo similary for it? [10:26] * backenfutter thanks genii and owh for the great support [10:26] everything is working now [10:26] and I almost thought, I'd have to go into code... :) [10:28] * owh can take no credit for this :) [10:28] But thanks for the sentiment :) [10:31] Any ideas how I can track the culrpit to this down? Jul 15 20:02:03 insto sendmail[2816]: n6G123Fk002816: Authentication-Warning: insto.kalliki.com: www-data set sender to admin@domain.com using -f [10:33] apache obviously - beyond that, I don't know [10:36] Not sure what you're asking MT. [10:37] owh: Every once in a while I get a random batch of these in my logs and I'm not sure why [10:39] MT-: What is the server running? [10:39] 9.04 [10:39] MT-: No, I mean, what is it doing? [10:40] lamp [10:40] php or perl? [10:40] php [10:40] I forgot lamp can mean perl :P [10:40] Is the PHP code you own, or a packaged application? [10:41] s/you/your/ [10:41] packaged [10:41] Ubuntu packaged? [10:42] they have repo packages but I run them from tarballs [10:42] Is it up to date? [10:42] ya [10:43] Drupal, Mantis, DokuWiki [10:43] Are there "custom" scripts lying around? [10:44] <_ruben> why run sendmail? *shiver* [10:44] _ruben: No, to me that looks like a php call to mail(). [10:44] <_ruben> to me it looks like a log from sendmail :) [10:44] It might not be, but we don't know yet :) [10:45] MT-: The log entry is in your apache log right? [10:45] syslog [10:46] Crap [10:46] What else is happening on the system at the time of the log entry. [10:47] hrm - Jul 15 17:40:02 insto /USR/SBIN/CRON[2551]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) [10:47] that's teh only thing coming up [10:48] Is it possible that there is a crontab lying around doing this? [10:48] Things to look for: The addresses, are they for existing users, or are they more like spam? Is the server load strange? Are there "extra" processes running? [10:49] Do they come in groups, or at weird times? Do they repeat? What patterns are there? [10:49] At the moment this could be a legitimate process, just not one you know about. It might be a malicious process, but until you've gathered data, there is no way to tell. [10:50] groups [10:50] When did this first start happening? Was there a special event like an upgrade. [10:50] they happen about every one or two days. They've been happening since I installed logwatch which is what brought it to my attention [10:50] Does locate smmsp return any results? [10:51] Ditto for cron-msp [10:52] hrm - nope for both [10:53] uid=108(smmsp) gid=110(smmsp) groups=110(smmsp) [10:53] Does apropos return anything? [10:54] Hmm, a google showed that that is a sendmail user. Have a look through your dpkg and apt logs [10:54] _ruben: You da man :) [10:55] nope [10:55] <_ruben> does sudo netstat -lntp | grep 25 show anything ? [10:55] Was sendmail installed? Is it currently installed? [10:56] it is, but not for long [10:56] Hold on, something might depend on it. [10:56] it shows sendmail [10:56] Just because it's there doesn't mean it's malicious. [10:56] tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 8727/sendmail: MTA: [10:57] Are you the only administrator? [10:57] I was going to drop it and use exim instead [10:57] ya [10:57] <_ruben> i'd preplace sendmail with something like postfix .. unless you're a sendmail expert [10:57] Did you install sendmail? [10:57] <_ruben> or exim if you prefer that :) [10:57] <_ruben> sendmail is a bitch (to configure) [10:57] _ruben: No, it's very friendly, just picky on who it's friendly with :) [10:57] I did install it once - but that was for some scripts I made once that I no longer use [10:58] <_ruben> owh: if i want a bloated mailserver i'd use exchange :) [10:58] Does you lamp server send out any emails? [10:58] _ruben: tsk, tsk :) [10:58] * owh agrees with _ruben :) [10:58] it does [10:58] Well at present it's likely using sendmail. [10:58] <_ruben> sure, sendmail's powerful and feature rich .. but postfix still is way better imho ;) [10:59] * _ruben is currently in the process of migrating a handful of qmail servers to postfix [10:59] MT-: Your original question hasn't yet been answered. If the process continues to run, then the log will just change from sendmail to exim or postfix. [11:00] doesn't sendmail need either exim or postfix? [11:00] So, back to my original questions. The email addresses, are they from normal users, or are they like spam? [11:00] MT-: No. [11:00] <_ruben> postfix doesnt log similar stuff i think [11:00] they don't look like spam [11:00] Well, the addresses, are they in you user database? [11:01] ya [11:01] Are they legitimate users? [11:01] <_ruben> well .. there's the command (/usr/sbin/sendmail), and there's the mail server (package) sendmail .. exim and postfix both ship wrapper for the sendmail command [11:02] <_ruben> the log basically means (as i interpret it), is that user www-data (thus apache most likely) is sending out an email with envelop sender admin@domain.com .. which is far from uncommon to happen [11:02] ya know.. a pastebin is worth a billion words [11:02] <_ruben> can be ;) [11:03] MT-: My battery is running low and I'm getting cold. The problem doesn't appear to be sendmail, but a process that is running on your LAMP server that you don't know about. Check for things like password verification emails etc. Check the crontabs to see if there is a refresh script running for one of you applications. I gotta go. [11:03] Later [11:04] http://pastebin.ubuntu.com/219652/ [11:04] owh: ttyl, thanks [11:04] better yet :P - http://pastebin.ubuntu.com/219652/plain/ [11:06] ScottK: hola [11:06] ScottK: libcompress-raw-zlib-perl has ben unupgradable for me since some days [11:06] ScottK: This is because libio-compress-zlib-perl depends on libcompress-raw-zlib-perl (< 2.015.~) [11:07] libio-compress-zlib-perl is pulled by libcompress-zlib-perl which is pulled by plenty of packages [11:07] New bug: #394891 in samba (main) "Samba hangs on startup" [Undecided,Incomplete] https://launchpad.net/bugs/394891 [11:08] ScottK: It looks like either libio-compress-zlib-perl needs an update, or we need a conflicts/replace in the new libcompress-raw-zlib-perl [11:45] how does a user login to a computer with his kerberos credentials? [11:55] <_ruben> Skaag: by entering his credentials at the login prompt ? :p [12:03] in what format? [12:03] I just tried that [12:04] does the user have to exist as a regular unix user first? [12:04] basically, I want to reach a stage where my realm users don't have to exist on a realm machine for them to be able to login [12:15] <_ruben> username@realm usualy .. and you'll have to take of the homedirs in some way .. either created on the fly or on shared storage .. depends on your setup [12:48] Is there a guide for this? to setup shared home directories? [12:49] I don't want it to talk to my active directory, I want it to be independent [13:10] Hi! [13:19] lool: That seems somewhat odd of libio-compress-zlib-perl. [13:19] lool: I can take a look at it, but it probably won't be until late tonight or tomorrow. [13:44] For the past couple of days now I have had issues with sshfs. I run the command and it just hangs, has anyone else experienced this? [13:45] Googling has gotten me no where, I have tried several things like rmmod fuse, modprobe fuse [13:52] For the past couple of days now I have had issues with sshfs. I run the command and it just hangs, has anyone else experienced this? [13:53] how do I install jaunty ubuntu server on a x2100 thru console and network [13:53] using PXE [13:53] ? [13:57] ScottK: That's ok; it's not urgent; I'm happy if you can look at it; it looks like it might make some important server packages uninstallable === Guest71824 is now known as mp-^ === whaletales is now known as aptanet [15:22] New bug: #399954 in dhcp3 (main) "Karmic Boot hangs at "Configuring network interfaces"" [Medium,Triaged] https://launchpad.net/bugs/399954 [15:28] Morning Everyone! [15:28] morning [15:28] anyone have experience with proftpd? [15:28] when i try to access folders [15:28] its giving me error 550 [15:29] which my client says is file/folder doesnt exist === frederick is now known as FlipStonE [16:24] if my motherboard only goes to 4GB max..and I have a 64-bit processor...any reasons to use the 64-bit version ? === Enk is now known as Enkz [18:11] when testing my dns configuration at home (remotely) with my domain 'pnumb.com' over my bind server, I got an answer: http://pastie.org/private/ftzbf2tpgfbt2dausrtkuq but when trying without the @server option, I don't have any answer: http://pastie.org/private/v7wqtnnggxxhqyu9gdzp7w what can be wrong? [18:12] to_: i guess you don't have a default nameserver set up [18:13] to_: pastebin the contents of /etc/resolv.conf [18:14] http://pastie.org/private/agguor5bdxflzua9am8jww [18:15] if my motherboard only goes to 4GB max..and I have a 64-bit processor...any reasons to use the 64-bit version ? [18:16] pmatulis: what should I add to resolv.conf? [18:17] nameserver dns_ip to_: use those nameservers with your dig command === Enkz is now known as EnkAway [18:23] New bug: #385994 in dhcp3 (main) "Jaunty - get no dhcp lease, till i call dhclient manually" [Undecided,New] https://launchpad.net/bugs/385994 [18:25] New bug: #354471 in dhcp3 (main) "Jaunty - Can't get dhcp IP address" [Undecided,New] https://launchpad.net/bugs/354471 [18:26] New bug: #327962 in dhcp3 (main) "dhclient ignores additional parameters to the domain-search directive" [Undecided,New] https://launchpad.net/bugs/327962 [18:30] New bug: #275288 in dhcp3 (main) "search options in resolv.conf are separated by \032 instead of a blank" [Undecided,New] https://launchpad.net/bugs/275288 [18:33] how do I install from cdrom remotely thru console? cd is inside teh system . but i see a quick boot from cd and then screen goes blank.. i am assuming it switches to VGA .. is there a way to tell it to use ttyS0 as the console real quick.. i think i have less than a sec to do that [18:37] New bug: #318723 in dhcp3 (main) "problem gateway set on ppp0 and nat eth0" [Undecided,New] https://launchpad.net/bugs/318723 [18:37] pmatulis: I have just added the line: "nameserver 94.23.46.45" but the `dig pnumb.com` command always doesn't return answer... [18:38] may have I to reboot or relaunch network service? [18:39] to_: no [18:40] to_: pastebin the contents of resolv.conf again [18:42] pmatulis: http://pastie.org/private/dd8ircx9cbfxzsyjgcwjkq [18:49] pmatulis: http://pastie.org/private/mgdwyvmnaxj5rtbqourseg here is my whole config for pnumb domain [18:57] New bug: #400349 in dhcp3 (main) "dhclient-script fails with apparmor" [Undecided,New] https://launchpad.net/bugs/400349 [19:28] New bug: #289236 in dhcp3 (main) "Connection to the network fails" [Undecided,Incomplete] https://launchpad.net/bugs/289236 [19:29] New bug: #285897 in dhcp3 (main) "prepend domain-name-servers does not allow other addresses" [Undecided,New] https://launchpad.net/bugs/285897 [19:31] New bug: #270010 in dhcp3 (main) "dhclient 3.0.6 refuses valid offer" [Undecided,New] https://launchpad.net/bugs/270010 [19:36] New bug: #290489 in dhcp3 (main) "[intrepid, hardy] Can't get DHCP offer without rebooting the OS" [Undecided,New] https://launchpad.net/bugs/290489 [19:39] kirkland, I anyone dkms'ing the iscsitarget package? [19:39] s/I/Is/ === pace_t_zulu is now known as pace_t_zulu|afk [20:12] Can someone help get my devices to come up at boot time? if-up is throwing errors. [20:13] rtg_: not that i know of [20:13] rtg_: if so, i'd like to get away from it :-) [20:13] cudev, its likely bug #399954 [20:13] Launchpad bug 399954 in sysvinit "Karmic Boot hangs at "Configuring network interfaces"" [Medium,Fix released] https://launchpad.net/bugs/399954 [20:14] kirkland, huh? I thought the decision was to keep iscsi app and driver in sync in one package [20:14] rtg_: oh, hmm, well, I have turned iscsi over to the foundations team [20:14] rtg_: so I yield to whatever they say [20:14] rtg_: hmm .. I don't think that is the same issue. I am getting the message: "if-up.d/mountnfs [device__]: lock /var/run/network/mountnfs exist, not mounting" [20:14] rtg_: slangasek touched it last [20:15] kirkland, ah, which is why cjwatson was asking me questions [20:15] rtg_: yeah, dendrobates asked foundations to take it over [20:15] rtg_: as sort of common, bringup type functionality [20:15] ... does that mean the dkms source package becomes our problem too? [20:15] for the kernel module? [20:16] btw I don't mean iscsi itself (initiator), I mean iscsitarget [20:16] cjwatson, thats my understanding [20:16] bummer. [20:16] cjwatson: rtg_: what's the motivation for a dkms iscsi module? [20:16] kirkland: iscsi*target*, which isn't in the kernel proper [20:16] so kernel team doesn't want to maintain the patch aiui [20:17] rtg_: we have been carrying it in our kernel, up until now, right? [20:17] kirkland, I thought it was because app space needs to stay in close sync with the iscsitarget driver [20:17] ok, well if it's my problem so be it, as long as I know it's my problem [20:17] rtg_: is this part of the non-upstream-cruft-cleaning exercise? [20:17] kirkland, not really. I'm happy to carry it as long as upstream is active [20:17] I didn't really mean to dredge up an old debate, just wanted to know who was dealing with it :-) [20:17] cjwatson: i'd be inclined to let rtg_ have it, if i were you ;-) [20:18] the compile errors didn't look *that* bad ... [20:18] something in proc_dir_entry I think [20:18] I'm happy for us to keep it [20:18] rtg_: it's my understanding that upstream for iscsi exists, but isn't active; bug-fix only mode [20:18] cjwatson, there is an iscsitarget driver enabled in Karmic [20:19] there wasn't when I tried today [20:19] fwiw [20:19] cjwatson, CONFIG_SCSI_ISCSITARGET=m, its got to be building. [20:19] blink [20:19] rtg_: are the bits in the tree? [20:20] * cjwatson looks [20:20] cjwatson, huh, could be that its not. [20:20] looks like its not getting compiled at all. damn [20:21] $ find /lib/modules/2.6.31-3-generic -name \*iscsi\*target\* [20:21] $ [20:21] cjwatson, likely a makefile issue [20:21] it was listed in the upstream-code spec (whatever it was called) as "manjo is working on getting this back in" or something [20:21] it was formerly in ubuntu/iscsitarget/ [20:21] it still is [20:21] which is why I came to you guys first [20:22] yah and its turned off in the makefile [20:22] huh, yeah, so it is [20:22] ok, it all makes sense now :) [20:22] #obj-$(CONFIG_SCSI_ISCSITARGET) += iscsitarget/ [20:22] * cjwatson catches up [20:22] doh [20:22] manjo, so are you working on that? [20:23] rtg_, I yeah I am looking at the arm stuff still... so I wont be getting to it until next week realistically [20:23] so to complete the picture, there's also an iscsitarget source package in universe right now [20:23] it generates an iscsitarget-source binary package already, set up to build with module-assistant [20:23] but it evidently needs forward-porting to a current kernel [20:23] so any dkms work would want to start with that [20:23] cjwatson, yes I saw that [20:24] ATZ [20:24] NO CARRIER [20:24] cjwatson, the version in /ubuntu is the same version they have on the webpage on the BOM file [20:24] I think 1.4 ... iirc [20:24] how do I install grub on second disk [20:25] there are a few differences between the kernel's version and the one in the iscsitarget source package [20:25] axisys: http://manpages.ubuntu.com/manpages/jaunty/en/man8/grub-install.8.html [20:26] although nothing in the source file that's breaking [20:26] ah, ubuntu/iscsitarget is on 0.4.17, source package is 0.4.16 [20:27] or rather 0.4.16+svn162 [20:27] yeah 4.17 is what is on the website that is mentioned in the bom file [20:27] cjwatson, so, the kernel version is a bit more current? [20:27] rtg_, yeah [20:27] marginally, yeah [20:27] the /ubuntu version is current afaik [20:27] aha, there's a fix for the compile error in svn [20:28] kirkland: i install the ubunut on second disk .. but when i boot it could not found grub on /dev/sdb .. since the installation automatically installed the grub /dev/sda [20:28] cjwatson, are there commits beyon 4.17? I haven't checked since last December. [20:28] cjwatson, i hit the compile issue when i was working on it... an then quit to work on arm [20:28] rtg_: yeah, including the addition of DKMS support ;-) [20:29] kirkland: so now that i grub-install /dev/sdb .. it should fix it .. correct ? [20:29] a dkms.conf anyway [20:29] axisys: that will definitely put a bootloader on /dev/sdb [20:29] kirkland: thanks [20:29] cjwatson, so the question is, do the server folks want a DKMS package, or would they rather get the iscsitarget module from the kernel package [20:29] axisys: which might solve your issue; i'd need to know more before I could guarantee that would solve your problem entirely [20:29] so I think upstream just need to pull their fingers out and do a release [20:29] cjwatson, so I need to get he new version and debianize it [20:30] manjo: I can do it if you like [20:30] cjwatson, cool... [20:30] cjwatson, I have not done ... so I will have to learn :) [20:30] * manjo willilng to learn [20:30] rtg_: I shouldn't think anyone *really* cares as long as it works, although as usual getting kernel modules from the kernel package is a bit more convenient [20:30] I don't know what the user/kernel sync constraints here are [20:31] cjwatson, I just have vague memories of folks complaining that they got out of sync. === pace_t_zulu|afk is now known as pace_t_zulu [20:41] manjo: (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523374) [20:41] Debian bug 523374 in iscsitarget-source "iscsitarget-source: FTBFS with 2.6.29" [Serious,Open] [20:42] cjwatson, ack.. thanks for the patch [20:43] so if we want to do that in advance of Debian, best to do it as a bumped Ubuntu version rather than as a new upstream, IMO, so that it's easier to merge later === hggdh_ is now known as hggdh [20:45] heh, that's only up to 29, 30 needs one more. but easy to get from svn [20:48] cjwatson, looks like non of that is upstream ? [20:48] that's all upstream [20:48] * manjo does a git pull [20:49] err, I meant iscsitarget upstream. no idea about the kernel. [20:49] ah [20:49] k [20:50] rtg_, shall I submit patches to karmic to get the iscisi target to build ? pulled from upstream (iscsi) ? [20:50] manjo, yep [20:50] k [20:50] I'll deal with them in the AM unless Andy gets to it first [20:51] cjwatson, I see 2 patches in the link you posted (last comment) .. good deal will try to integrate to karmic and submit patch [20:52] patches look relatively small .. [20:52] manjo: best to get them from svn://svn.berlios.de/iscsitarget/trunk [20:52] I think you'll need r214 from there too [20:53] I don't know whether it would be a good idea to just update the kernel wholesale from there [21:03] trunk/patches/compat-2.6.28.patch is already in karmic source [21:08] hello [21:08] how do I check what time cron is doing a logrotate? [21:09] and maybe change it [21:10] kirkland: i were able to swap the disk to the other slot of x2100 and still booted fine.. so the grub-install worked [21:15] rsr: i think that logrotate is run through anacron and /etc/cron.d/anacron says that it starts at 7:30 [21:16] axisys: cheers [21:18] kirkland: now if i can get all the boot messages in the console i will be happy .. [21:18] ttyS0 that is [21:19] ok [21:19] I dont have /etc/cron.d/anacron [21:21] rsr: well, if you installed ubuntu server anacron maybe doesn't make sense, let me see on a server [21:21] I installed ubuntu server [21:21] default 9.04 install [21:21] then installed squid and sarg [21:22] I think squid is rotating the logs before sarg gets a chance to create the access report [21:23] rsr: in /etc/cronttab you can see when crontab.daily is run [21:23] and logrotate is performed in crontab.daily [21:24] at 6:25 in my case [21:24] back [21:25] I dont have that... I only have /etc/cron.daily cron.weekly cron.monthly... they are folders and in these folders there are -x bash scripts but no reference to time or anything [21:25] I meant +x [21:26] no /etc/cronttab then? which ubuntu version? [21:27] btw, the server uses anacron too [21:27] I think it is 9.04 how can I check [21:27] lsb_release -a [21:28] yup 9.04 [21:28] anyway, you must have a /etc/crontab unless cron is not installed [21:29] alexm: how can I check if cron is working correctly? [21:30] dpkg -l cron should tell you if it is installed [21:32] go it [21:32] thanks [21:47] I have found a bug [21:47] Settings RS doesn't work in mawk [21:47] # for ((i = 1; i <= 10; ++i)); do echo -ne "$i\0"; done | awk 'BEGIN {RS = "\0"}; END {print NR}' [21:47] This gives 1 [21:47] It should give 10 [21:49] Bilge: I get 10 [21:49] As well you should [21:49] I don't, though [21:49] I'm running Ubuntu 8.04 (server) [21:50] Running awk, which is symlinked to mawk as per default [21:50] I'll try it on my 8.04 server [21:51] Interesting [21:51] Bilge: it works for gawk [21:52] did you install mawk by choice? [21:52] > Running awk, which is symlinked to mawk as per default [21:52] > default [21:52] I haven't touched it, it's as it came with the system [21:53] Now I must rage because RS is readonly on my system leaving me screwed [21:56] New bug: #400407 in mysql-dfsg-5.0 (main) "package mysql-server-5.1 5.1.31-1ubuntu2 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 1" [Undecided,New] https://launchpad.net/bugs/400407 [21:56] Bilge: if you don't particularly need mawk, just install gawk instead ;) [21:57] I think I should file for divorce [21:58] And a bug report [21:58] How has this gone unnoticed for so long [21:58] if it's well documented it may be considered a feature [21:59] What may be considered a feature [21:59] not working as expected ;) [22:00] now seriously, if you want to report a bug please go ahead [22:03] good night all [22:06] New bug: #399569 in gvfs (main) "can not connect to windows share - smb://192.168.3.97/pictures/ (dup-of: 209520)" [Low,Incomplete] https://launchpad.net/bugs/399569 [22:08] I'm having a problem trying to configure a dialup connection with wvdial and pppd [22:08] I've added my user to the groups dip and dialout, but it's still giving me permission denied when I attempt to run /usr/sbin/pppd [22:08] the permissions on /usr/sbin/pppd are -rwsr-xr-- root dip [22:09] I looked at the apparmor profiles and I don't think there is one of pppd [22:09] so I'm a bit stumped as to why I'm getting denied [22:10] qman__: is there anything in dmesg? [22:11] no, I don't see anything relevant [22:12] this is on 9.04 x64, in case that's important [22:19] oh wow, that was simple [22:19] had to log out and log back in [22:41] if using the ecryptfs feature in ubuntu server 9.04 it is supposed to mount the Private directory upon login. Is this done if the user uses a private/public key combo? Also, can a user start a download of a backup into their private folder, exit and expect it to download, complete and then unmount? [23:38] Where can I download ubuntu server ? [23:39] niceuser: http://www.ubuntu.com/getubuntu/download-server [23:39] does it suck ? [23:40] suck is a very subjective term [23:40] Oh lawd [23:40] I have a query [23:41] whats your query? [23:41] I'm typing it [23:41] It's long, give me a sec :P [23:41] Given that Ubuntu software packages are never updated by repackaging newer versions of said software, how are security updates created? [23:42] Does someone actually take the time to learn the software and write a manual patch? [23:42] that sounds like it might suck [23:42] niceuser: give a category and you might get a more specific answer [23:42] Never updating software versions is the one thing that I find does suck [23:43] (without upgrading the distro) [23:43] I prefer to never upgrade anything unless its broken [23:43] or if it sucks [23:43] Bilge: upstream packages produce patches (people who understand it) the patches are applied to the versions of software in the repositories and all regression tests are applied against them. Once all tests pass a deb is generated. Depending on if it would break dependencies they make a decision of which repository to put it into. [23:43] I prefer to * Added niceuser!*@* to ignore list [23:44] there are lots of repositories for backports and bleeding edge and all kinds of stuff, most of them exist in launchpad [23:44] Bilge: basically security will get patched in, new features you'll have to wait for an upgrade to ubuntu (or thats how it seems to be working on all my installs) [23:44] > upstream packages produce patches | what? [23:45] Yes that's right, you don't get new features [23:45] But this is what I don't understand [23:45] Usually when there is a bug in software, the authors of said software will release fixes forit [23:45] So it would simply be a case of compiling the new versions [23:45] Yet that never happens; we get security fixes but no new features [23:45] How is this even possible [23:46] source code management [23:46] see: SVN, GIT, Bazzar (sp?), CVS, generic diff [23:46] But who is it actually writing these fixes [23:46] If not the original software creators [23:46] package maintainers [23:46] and the original designer [23:46] So they actually familiarise themselves with the source code of every single bit of software (between them)? [23:47] it depends on the package [23:47] OpenSSH is something so important that they release patches to old versions of code that just fix the security hole without adding any of the new features. I believe they call those "backports" [23:48] except that's not how the OpenSSH maintainer does it [23:48] With a few exceptions like open SSH, it all seems like a lot of pain for next to no gain [23:48] I know that because I'm the OpenSSH maintainer ;-) [23:48] OpenSSH isn't significantly different from other packages here [23:48] cjwatson: sorry I was using generalized terms. I can only speak about mythtv which doesn't really sound awesome [23:48] we figure out what upstream changed to fix the problem, and we apply the same patch to whatever we're currently shipping [23:48] You'd be better off just compiling the newest versions of software and have not only bug fixes compiled in but also improvements along the way [23:48] if it doesn't apply cleanly, we fix it [23:49] Bilge: doesn't actually work in practice I'm afraid [23:49] Bilge: No. [23:49] Bilge: New versions mean new bugs and feature changes. [23:49] Bilge: Which goes entirely against was most server admins consider "stable". [23:49] the amount of integration required to do that and make it work well with people's expectations of stable releases is sufficiently hard that we only do that in development branches [23:49] cjwatson: sorry to step on toes. If I got anything wrong can you tell me please [23:49] Bilge: Stability isn't just about "bug-free", it's about interfaces not changing, not wondering why your random shell scripts stopped working, etc. [23:49] backporting security patches is work, I'll grant you, but it's not as hair-raising as all that [23:49] Well it's what I'm being forced to do myself, since my distro is now running software that was created at least 1 if not 2 years ago and doesn't support the stuff I want [23:50] achew22: you didn't step on toes, I was just supplying a factual correction [23:50] So now I'm compiling 50% of my services myself [23:50] thank you cjwatson :) [23:50] Bilge: Why do you actually require that, other than "yay, new and shiny"? [23:50] this is of course why things like hardy-backports exist [23:50] Obviously there is no generic answer to that, I do actually study what new features are available [23:50] Generally I find that they are required or highly desirable [23:50] people often have feature requirements of specific packages, but don't want the *rest* of their distribution to change just for security patches [23:51] so we try to support multiple streams [23:51] obviously we can't support everything that way, it's too much work, but it helps some people [23:52] I'm not sure I understood what you just said [23:52] http://help.ubuntu.com/community/UbuntuBackports [23:52] Why would the distribution change for security patches if someone had a feature requirement [23:52] Bilge: most upstreams release security fixes and new features all mixed up together [23:53] Bilge: what you were asking was why we didn't just build the new upstream releases [23:53] and it's for exactly that reason [23:53] I don't really understand what is meant by the term upstream [23:53] Are you talking about stuff that the Debian guys create [23:53] upstream => the people who wrote the software originally [23:54] OK [23:54] the metaphor is that software flows downstream from its creators [23:54] Yes I see that now [23:54] so Debian is (usually) upstream of us, but not normally *the* upstream [23:54] Not the ultimate source [23:54] in some cases of course it is, e.g. dpkg [23:55] Out of interest, what does Ubuntu server give me above and beyond what Debian server provides. Someone once told me that if I am going to run a distro based on Debian as a server, I may as well stop messing around and just use Debian itself [23:57] The reason I changed from Debian to Ubuntu was a defined release schedule. [23:58] Under Debian, it's released when it's ready, which is fine, but you cannot plan a company around that. With Ubuntu, I know when it's going to happen. I can tell clients about it, we can prepare budgets, etc.