/srv/irclogs.ubuntu.com/2009/07/16/#ubuntu-server.txt

infinityausimage: That's going to need a lot more context, some sort of error output, something.00:04
ausimageinfinity....00:04
infinityausimage: 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:05
ausimagethe project is apt-zeroconf and I have apt-zeroconf loading it daemon module in the main script...00:06
KillMeNowi've run Python scripts as Daemons as well, and never have they broken my dpkg00:06
ausimageBUT when dpkg is involved it cannot find the daemon module00:07
ausimagefrom aptzeroconf.daemon import Daemon00:07
KillMeNowdayo, it means that your apache may not be properly patched or someone is trying to execute command line over http00:07
ausimageImportError: No module named aptzeroconf.daemon00:07
ausimageis the gist of it...00:08
ausimagelp:apt-zerconf/r0.500:08
KillMeNowis there a aptzeroconf.daemon on the system?00:08
ausimageapt-zeroconf00:08
ajmitchausimage: how does that relate to dpkg?00:08
ausimageI believe so00:08
ausimageit only happens when dpkg configures it00:09
KillMeNowsounds like he's trying to use dpkg to get a new module00:09
ausimageno it is in the lib in 0.5.100:09
ajmitchso you mean that the maintainer scripts break on the package?00:09
ausimageyeah... essentially...00:10
ajmitchthen the package needs fixed, I can only see it in PPAs, so you need to talk to whoever was creating that00:11
ausimageI did change its original daemon code to a new daemon class... which required a little munging of the maintainer scripts :/00:11
ausimageajmitch We are the maintainer AFAIK00:11
ausimageapt-zeroconf team00:12
ajmitchok, then it's something to take to #ubuntu-motu or similar for packaging help00:12
ausimageand me as a active member00:12
ausimageoh thought you knowledge of daemons might be more helpful :/00:12
ausimagebut I can ask there too :S00:12
ajmitchno, sounds like a standard python packaging problem00:13
ausimagek...00:13
=== antdedyet_ is now known as antdedyet
storrgieI just installed ubuntu server on a rig and I want to use mpd to play sound01:38
storrgiewhat should I install to get sound working....01:38
storrgievia ssh01:38
storrgiestorrgie@MUSIC:~$ alsamixer01:41
storrgiealsamixer: function snd_ctl_open failed for default: No such file or directory01:41
JordiGHWhat webserver for load balancing do you recommend? We're using pound, but it's starting to feel ghetto.02:19
ballNever heard of pound02:25
JordiGHSee? Ghetto.02:26
JordiGHnginx instead, perhaps?02:26
twbThose are the two I know of02:26
JordiGHApache's httpd can also be a load balancer, right?02:27
* ball shrugs02:29
balldoesn't sound like a job for the httpd anyway.02:29
JordiGHball: what do you use?02:32
ballJordiGH: thttpd02:32
ballJordiGH: oh, you mean for load balancing?  I don't.02:32
ball...but if I did, I might expect to do it in the router.02:33
* ball shrugs02:33
ball...or in the OS, depending on the platform02:33
JordiGHRouter?02:36
JordiGHUbuntu is my router.02:36
ballThat's an interesting choice.02:37
ballbrb02:38
twbball: be aware that thttpd is not really maintained, and there are known security patches that are sitting in the mailing list, unapplied.02:45
balltwb: thanks for the heads-up.02:47
twbA few years ago I spent some time overhauling the package in Debian, but I gave up and switched to vsftpd02:47
twbAnd then I got rid of my server, so now my couple-of-meg worth of text files are served by busybox's httpd :-)02:48
qman__a typical http load balancing approach is multiple web servers with round robin DNS03:59
howieIm 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:19
andresmujicahowie: you'll need ncurses-devel04:27
howiewell i aptitude install. ncurses-devel but it still says the same thing04:27
andresmujicasudo apt-get install ncurses-dev04:27
andresmujicajust dev04:28
howieNote, selecting libncurses5-dev instead of ncurses-dev04:29
karmstHello04:30
karmstis anyone available?04:31
howiejust ask your question and someone will respond if they know the answer04:32
howiepeople multitask..04:32
karmstI'm looking for a samba guru04:32
karmstI'm having an issue to where I can connect the Ubuntu server to windows shares04:33
howiejust ask what you need and wait a while :P04:33
karmstbut I can't get to the samba shares from windows clients04:33
karmstit is a 2008 DC04:33
karmstand the domain is native 200804:33
karmstAnyone know the secret to connecting to ubuntu from windows through samba?04:34
karmstor is there a better, more secure way?04:34
karmsthmmm04:37
karmstwell...It might help it I already had winbind installed04:37
karmsthar har04:37
karmstAnyone familiar with likewise-open?04:41
MrGlasshi, im trying to get ftp access on my ubuntu server08:01
MrGlassbut i keep getting connection refused errors08:02
_rubeninstall your favorite ftp server software, configure it, start it, profit08:02
MrGlassindeed08:03
MrGlassso i installed proftpd08:04
MrGlassand its configured08:04
MrGlassbut my server keeps refusing connections on port 2108:04
_rubendoes netstat -lnt show port 21 ?08:05
MrGlassah, no08:05
MrGlasswhat went wrong here08:06
_rubentry (re)starting proftpd, and then look at the logs if it still dont work08:07
MrGlasshmm08:18
MrGlassaccording to log08:18
MrGlass" <NobleArc> ah, that sounds nice.08:18
MrGlass[03:17:17] <Nob08:18
MrGlassno08:18
MrGlassaccording to log:  Failed binding to ::, port 21: Address already in use08:18
_rubenthat 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 well08:24
MrGlasssystem reboot worked08:24
_rubenthe microsoft approach :)08:25
MrGlasslol08:25
MrGlasswell, there is no proftpd restart08:26
MrGlassand it was clear that it had failed to bind on boot08:26
MrGlasswanted to see if i could duplicate the error08:26
MrGlassand... ok, fine, im an XP guy08:27
MrGlasssue me :P08:27
_rubenheheh ;)08:28
_rubenim a windows desktop guy and ubuntu server guy ;)08:29
MrGlassyeah, well, i do like ubuntu, im just so used to fixing xp08:29
MrGlassto gaint hat kind of knowledge of ubuntu would take a years work08:29
MrGlassugh08:32
MrGlassnow proftpd is telling me direcotry doesnt exist08:32
MrGlassdespite it listing it and the directory existing08:32
MrGlassmeh, bedtime08:32
MrGlassthanks _ruben08:33
_rubeng'nite08:34
illumin8Reguarding 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:46
_rubena simple php script would do just fine08:50
_rubenor perl, or whatever it is you're familiar with08:50
illumin8actually im not with any but that answer gives the direction i need to find out :) Thank you08:51
dayoKillMeNow: 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:51
dayoKillMeNow: u said my apache is not properly patched or someone's trying to exec cli over http? what does that mean?08:52
tweaker25[03:35] <tweaker25> 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
tweaker25[03:35] <tweaker25> http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p280846208:52
tweaker25[03:35] <tweaker25> 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
tweaker25[03:35] <tweaker25> http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p280846208:52
tweaker25[03:35] <tweaker25> 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
tweaker25[03:35] <tweaker25> http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p280846208:52
illumin8ouch.08:52
SkaagI just finished setting up a kerberos realm + managed to kinit from a second linux machine to that realm08:53
Skaagand I ran auth-client-config -a -p kerberos_example08:54
illumin8_ruben, Thanks I found a page with the info I needed. :)08:55
modder25[03:35] <tweaker25> 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
modder25[03:35] <tweaker25> http://forum.ubuntu-fr.org/viewtopic.php?pid=2808462#p280846208:56
Skaaganyway my question now is, how do users login to the client machine? :-)08:57
Skaagwithout running kinit user/instance08:57
backenfutterHi, 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 chan09:27
backenfutterhere comes an example string09:27
backenfutter'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
backenfutterthe last few char always end up as09:27
backenfutter[...]3099\r\n 05'09:28
backenfutterwhich is actually looks like this09:28
backenfutter309909:28
backenfutter 05'09:28
backenfutterHi, 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 when09:29
backenfutter arriving - this leads o a parsing error in the application and I have no clue how to evten start. Is there09:29
backenfutter                      actually a chance on fixing this without having to rewrite code?09:29
backenfutteroops09:30
backenfuttersry09:30
jorgenptHiya, 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
geniibackenfutter: If you have a file smtp.cf   find in it the variable smtp_line_length_limit and set it higher09:34
jorgenpt/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
jorgenptI added the ARRAY entry to /dev/mdadm/mdadm.conf, should that be enough?09:34
backenfuttergenii: what if I don't have such file? create it? where?09:49
geniibackenfutter: Did you look in /etc/postfix ?09:51
backenfutteryeah09:51
owhWhat seems to be the problem?09:53
geniiowh: He seems to be affected by this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=52067409:54
uvirtbotDebian bug 520674 in postfix "splitting long lines in email messages, postfix + amavisd-new" [Normal,Open]09:54
owhDoes the suggested solution not work?09:57
geniiowh: I found the bug report just now. Other searching earlier indicated smtp.cf as the location of the setting.09:58
geniibackenfutter: Suggested in the report is to adjust the lmtp_line_length_limit setting09:59
backenfuttergenii, owh: So I do what? postconf smtp_line_lenght=2048 ?10:01
backenfutter # /usr/sbin/postconf  | grep line_10:02
backenfutterline_length_limit = 204810:02
backenfuttersmtp_line_length_limit = 99010:02
backenfutterthat's the current settings10:02
owhbackenfutter: Is that where it's wrapping?10:02
backenfutter990 yeah10:03
owhSounds like the go then.10:03
backenfutter# /usr/sbin/postconf smtp_line_length_limit=204810:05
backenfutter/usr/sbin/postconf: warning: smtp_line_length_limit=2048: unknown parameter10:05
backenfutter? o010:05
backenfuttertime for some coffee d'oh -.-10:07
geniiYou might want -e or such10:08
Gorlistive put a entry into my crontab -e to run a rkhunter scan, then to send a email10:09
Gorlisthowever 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:09
* backenfutter thanks genii and owh for the great support10:26
backenfuttereverything is working now10:26
backenfutterand I almost thought, I'd have to go into code... :)10:26
* owh can take no credit for this :)10:28
owhBut thanks for the sentiment :)10:28
MT-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 -f10:31
MT-apache obviously - beyond that, I don't know10:33
owhNot sure what you're asking MT.10:36
MT-owh: Every once in a while I get a random batch of these in my logs and I'm not sure why10:37
owhMT-: What is the server running?10:39
MT-9.0410:39
owhMT-: No, I mean, what is it doing?10:39
MT-lamp10:40
owhphp or perl?10:40
MT-php10:40
MT-I forgot lamp can mean perl :P10:40
owhIs the PHP code you own, or a packaged application?10:40
owhs/you/your/10:41
MT-packaged10:41
owhUbuntu packaged?10:41
MT-they have repo packages but I run them from tarballs10:42
owhIs it up to date?10:42
MT-ya10:42
MT-Drupal, Mantis, DokuWiki10:43
owhAre there "custom" scripts lying around?10:43
_rubenwhy run sendmail? *shiver*10:44
owh_ruben: No, to me that looks like a php call to mail().10:44
_rubento me it looks like a log from sendmail :)10:44
owhIt might not be, but we don't know yet :)10:44
owhMT-: The log entry is in your apache log right?10:45
MT-syslog10:45
owhCrap10:46
owhWhat else is happening on the system at the time of the log entry.10:46
MT-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
MT-that's teh only thing coming up10:47
owhIs it possible that there is a crontab lying around doing this?10:48
owhThings 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:48
owhDo they come in groups, or at weird times? Do they repeat? What patterns are there?10:49
owhAt 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:49
MT-groups10:50
owhWhen did this first start happening? Was there a special event like an upgrade.10:50
MT-they happen about every one or two days. They've been happening since I installed logwatch which is what brought it to my attention10:50
owhDoes locate smmsp return any results?10:50
owhDitto for cron-msp10:51
MT-hrm - nope for both10:52
MT-uid=108(smmsp) gid=110(smmsp) groups=110(smmsp)10:53
owhDoes apropos return anything?10:53
owhHmm, a google showed that that is a sendmail user. Have a look through your dpkg and apt logs10:54
owh_ruben: You da man :)10:54
MT-nope10:55
_rubendoes sudo netstat -lntp | grep 25 show anything ?10:55
owhWas sendmail installed? Is it currently installed?10:55
MT-it is, but not for long10:56
owhHold on, something might depend on it.10:56
MT-it shows sendmail10:56
owhJust because it's there doesn't mean it's malicious.10:56
MT-tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      8727/sendmail: MTA:10:56
owhAre you the only administrator?10:57
MT-I was going to drop it and use exim instead10:57
MT-ya10:57
_rubeni'd preplace sendmail with something like postfix .. unless you're a sendmail expert10:57
owhDid you install sendmail?10:57
_rubenor exim if you prefer that :)10:57
_rubensendmail is a bitch (to configure)10:57
owh_ruben: No, it's very friendly, just picky on who it's friendly with :)10:57
MT-I did install it once - but that was for some scripts I made once that I no longer use10:57
_rubenowh: if i want a bloated mailserver i'd use exchange :)10:58
owhDoes you lamp server send out any emails?10:58
owh_ruben: tsk, tsk :)10:58
* owh agrees with _ruben :)10:58
MT-it does10:58
owhWell at present it's likely using sendmail.10:58
_rubensure, sendmail's powerful and feature rich .. but postfix still is way better imho ;)10:58
* _ruben is currently in the process of migrating a handful of qmail servers to postfix10:59
owhMT-: 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.10:59
MT-doesn't sendmail need either exim or postfix?11:00
owhSo, back to my original questions. The email addresses, are they from normal users, or are they like spam?11:00
owhMT-: No.11:00
_rubenpostfix doesnt log similar stuff i think11:00
MT-they don't look like spam11:00
owhWell, the addresses, are they in you user database?11:00
MT-ya11:01
owhAre they legitimate users?11:01
_rubenwell .. there's the command (/usr/sbin/sendmail), and there's the mail server (package) sendmail .. exim and postfix both ship wrapper for the sendmail command11:01
_rubenthe 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 happen11:02
MT-ya know.. a pastebin is worth a billion words11:02
_rubencan be ;)11:02
owhMT-: 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
owhLater11:03
MT-http://pastebin.ubuntu.com/219652/11:04
MT-owh: ttyl, thanks11:04
MT-better yet :P - http://pastebin.ubuntu.com/219652/plain/11:04
loolScottK: hola11:06
loolScottK: libcompress-raw-zlib-perl has ben unupgradable for me since some days11:06
loolScottK: This is because libio-compress-zlib-perl depends on libcompress-raw-zlib-perl (< 2.015.~)11:06
loollibio-compress-zlib-perl is pulled by libcompress-zlib-perl which is pulled by plenty of packages11:07
uvirtbotNew bug: #394891 in samba (main) "Samba hangs on startup" [Undecided,Incomplete] https://launchpad.net/bugs/39489111:07
loolScottK: It looks like either libio-compress-zlib-perl needs an update, or we need a conflicts/replace in the new libcompress-raw-zlib-perl11:08
Skaaghow does a user login to a computer with his kerberos credentials?11:45
_rubenSkaag: by entering his credentials at the login prompt ? :p11:55
Skaagin what format?12:03
SkaagI just tried that12:03
Skaagdoes the user have to exist as a regular unix user first?12:04
Skaagbasically, 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 login12:04
_rubenusername@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 setup12:15
SkaagIs there a guide for this? to setup shared home directories?12:48
SkaagI don't want it to talk to my active directory, I want it to be independent12:49
acalvoHi!13:10
ScottKlool: That seems somewhat odd of  libio-compress-zlib-perl.13:19
ScottKlool: I can take a look at it, but it probably won't be until late tonight or tomorrow.13:19
heath|workFor 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:44
heath|workGoogling has gotten me no where, I have tried several things like rmmod fuse, modprobe fuse13:45
heath|workFor 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:52
axisyshow do I install jaunty ubuntu server on a x2100 thru console and network13:53
axisysusing PXE13:53
axisys?13:53
loolScottK: 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 uninstallable13:57
=== Guest71824 is now known as mp-^
=== whaletales is now known as aptanet
uvirtbotNew bug: #399954 in dhcp3 (main) "Karmic Boot hangs at "Configuring network interfaces"" [Medium,Triaged] https://launchpad.net/bugs/39995415:22
Steve[mbp]Morning Everyone!15:28
MrGlassmorning15:28
MrGlassanyone have experience with proftpd?15:28
MrGlasswhen i try to access folders15:28
MrGlassits giving me error 55015:28
MrGlasswhich my client says is file/folder doesnt exist15:29
=== frederick is now known as FlipStonE
teddy_if my motherboard only goes to 4GB max..and I have a 64-bit processor...any reasons to use the 64-bit version ?16:24
=== Enk is now known as Enkz
to_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:11
pmatulisto_: i guess you don't have a default nameserver set up18:12
pmatulisto_: pastebin the contents of /etc/resolv.conf18:13
to_http://pastie.org/private/agguor5bdxflzua9am8jww18:14
teddy_if my motherboard only goes to 4GB max..and I have a 64-bit processor...any reasons to use the 64-bit version ?18:15
to_pmatulis: what should I add to resolv.conf?18:16
teddy_nameserver dns_ip <Most use 1 or 2 dns servers18:17
pmatulisto_: use those nameservers with your dig command18:17
=== Enkz is now known as EnkAway
uvirtbotNew bug: #385994 in dhcp3 (main) "Jaunty - get no dhcp lease, till i call dhclient manually" [Undecided,New] https://launchpad.net/bugs/38599418:23
uvirtbotNew bug: #354471 in dhcp3 (main) "Jaunty - Can't get dhcp IP address" [Undecided,New] https://launchpad.net/bugs/35447118:25
uvirtbotNew bug: #327962 in dhcp3 (main) "dhclient ignores additional parameters to the domain-search directive" [Undecided,New] https://launchpad.net/bugs/32796218:26
uvirtbotNew bug: #275288 in dhcp3 (main) "search options in resolv.conf are separated by \032 instead of a blank" [Undecided,New] https://launchpad.net/bugs/27528818:30
axisyshow 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 that18:33
uvirtbotNew bug: #318723 in dhcp3 (main) "problem gateway set on ppp0 and nat eth0" [Undecided,New] https://launchpad.net/bugs/31872318:37
to_pmatulis: I have just added the line: "nameserver 94.23.46.45" but the `dig pnumb.com` command always doesn't return answer...18:37
to_may have I to reboot or relaunch network service?18:38
pmatulisto_: no18:39
pmatulisto_: pastebin the contents of resolv.conf again18:40
to_pmatulis: http://pastie.org/private/dd8ircx9cbfxzsyjgcwjkq18:42
to_pmatulis: http://pastie.org/private/mgdwyvmnaxj5rtbqourseg here is my whole config for pnumb domain18:49
uvirtbotNew bug: #400349 in dhcp3 (main) "dhclient-script fails with apparmor" [Undecided,New] https://launchpad.net/bugs/40034918:57
uvirtbotNew bug: #289236 in dhcp3 (main) "Connection to the network fails" [Undecided,Incomplete] https://launchpad.net/bugs/28923619:28
uvirtbotNew bug: #285897 in dhcp3 (main) "prepend domain-name-servers does not allow other addresses" [Undecided,New] https://launchpad.net/bugs/28589719:29
uvirtbotNew bug: #270010 in dhcp3 (main) "dhclient 3.0.6 refuses valid offer" [Undecided,New] https://launchpad.net/bugs/27001019:31
uvirtbotNew bug: #290489 in dhcp3 (main) "[intrepid, hardy] Can't get DHCP offer without rebooting the OS" [Undecided,New] https://launchpad.net/bugs/29048919:36
rtg_kirkland, I anyone dkms'ing the iscsitarget package?19:39
rtg_s/I/Is/19:39
=== pace_t_zulu is now known as pace_t_zulu|afk
cudevCan someone help get my devices to come up at boot time? if-up is throwing errors.20:12
kirklandrtg_: not that i know of20:13
kirklandrtg_: if so, i'd like to get away from it :-)20:13
rtg_cudev, its likely bug #39995420:13
uvirtbotLaunchpad bug 399954 in sysvinit "Karmic Boot hangs at "Configuring network interfaces"" [Medium,Fix released] https://launchpad.net/bugs/39995420:13
rtg_kirkland, huh? I thought the decision was to keep iscsi app and driver in sync in one package20:14
kirklandrtg_: oh, hmm, well, I have turned iscsi over to the foundations team20:14
kirklandrtg_: so I yield to whatever they say20:14
cudevrtg_: 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
kirklandrtg_: slangasek touched it last20:14
rtg_kirkland, ah, which is why cjwatson was asking me questions20:15
kirklandrtg_: yeah, dendrobates asked foundations to take it over20:15
kirklandrtg_: as sort of common, bringup type functionality20:15
cjwatson... does that mean the dkms source package becomes our problem too?20:15
cjwatsonfor the kernel module?20:15
cjwatsonbtw I don't mean iscsi itself (initiator), I mean iscsitarget20:16
rtg_cjwatson, thats my understanding20:16
cjwatsonbummer.20:16
kirklandcjwatson: rtg_: what's the motivation for a dkms iscsi module?20:16
cjwatsonkirkland: iscsi*target*, which isn't in the kernel proper20:16
cjwatsonso kernel team doesn't want to maintain the patch aiui20:16
kirklandrtg_: we have been carrying it in our kernel, up until now, right?20:17
rtg_kirkland, I thought it was because app space needs to stay in close sync with the iscsitarget driver20:17
cjwatsonok, well if it's my problem so be it, as long as I know it's my problem20:17
kirklandrtg_: is this part of the non-upstream-cruft-cleaning exercise?20:17
rtg_kirkland, not really. I'm happy to carry it as long as upstream is active20:17
cjwatsonI didn't really mean to dredge up an old debate, just wanted to know who was dealing with it :-)20:17
kirklandcjwatson: i'd be inclined to let rtg_ have it, if i were you ;-)20:17
cjwatsonthe compile errors didn't look *that* bad ...20:18
cjwatsonsomething in proc_dir_entry I think20:18
cjwatsonI'm happy for us to keep it20:18
kirklandrtg_: it's my understanding that upstream for iscsi exists, but isn't active; bug-fix only mode20:18
rtg_cjwatson, there is an iscsitarget driver enabled in Karmic20:18
cjwatsonthere wasn't when I tried today20:19
cjwatsonfwiw20:19
rtg_cjwatson, CONFIG_SCSI_ISCSITARGET=m, its got to be building.20:19
cjwatsonblink20:19
kirklandrtg_: are the bits in the tree?20:19
* cjwatson looks20:20
rtg_cjwatson, huh, could be that its not.20:20
rtg_looks like its not getting compiled at all. damn20:20
cjwatson$ find /lib/modules/2.6.31-3-generic -name \*iscsi\*target\*20:21
cjwatson$20:21
rtg_cjwatson, likely a makefile issue20:21
cjwatsonit was listed in the upstream-code spec (whatever it was called) as "manjo is working on getting this back in" or something20:21
cjwatsonit was formerly in ubuntu/iscsitarget/20:21
rtg_it still is20:21
cjwatsonwhich is why I came to you guys first20:21
manjoyah and its turned off in the makefile20:22
cjwatsonhuh, yeah, so it is20:22
rtg_ok, it all makes sense now :)20:22
cjwatson#obj-$(CONFIG_SCSI_ISCSITARGET) += iscsitarget/20:22
* cjwatson catches up20:22
rtg_doh20:22
rtg_manjo, so are you working on that?20:22
manjortg_, I yeah I am looking at the arm stuff still... so I wont be getting to it until next week realistically20:23
cjwatsonso to complete the picture, there's also an iscsitarget source package in universe right now20:23
cjwatsonit generates an iscsitarget-source binary package already, set up to build with module-assistant20:23
cjwatsonbut it evidently needs forward-porting to a current kernel20:23
cjwatsonso any dkms work would want to start with that20:23
manjocjwatson, yes I saw that20:23
axisysATZ20:24
cjwatsonNO CARRIER20:24
manjocjwatson, the version in /ubuntu is the same version they have on the webpage on the BOM file20:24
manjoI think 1.4 ... iirc20:24
axisyshow do I install grub on second disk20:24
cjwatsonthere are a few differences between the kernel's version and the one in the iscsitarget source package20:25
kirklandaxisys: http://manpages.ubuntu.com/manpages/jaunty/en/man8/grub-install.8.html20:25
cjwatsonalthough nothing in the source file that's breaking20:26
cjwatsonah, ubuntu/iscsitarget is on 0.4.17, source package is 0.4.1620:26
cjwatsonor rather 0.4.16+svn16220:27
manjoyeah 4.17 is what is on the website that is mentioned in the bom file20:27
rtg_cjwatson, so, the kernel version is a bit more current?20:27
manjortg_, yeah20:27
cjwatsonmarginally, yeah20:27
manjothe /ubuntu version is current afaik20:27
cjwatsonaha, there's a fix for the compile error in svn20:27
axisyskirkland: 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/sda20:28
rtg_cjwatson, are there commits beyon 4.17? I haven't checked since last December.20:28
manjocjwatson, i hit the compile issue when i was working on it... an then quit to work on arm20:28
cjwatsonrtg_: yeah, including the addition of DKMS support ;-)20:28
axisyskirkland: so now that i grub-install /dev/sdb .. it should fix it .. correct ?20:29
cjwatsona dkms.conf anyway20:29
kirklandaxisys: that will definitely put a bootloader on /dev/sdb20:29
axisyskirkland: thanks20:29
rtg_cjwatson, so the question is, do the server folks want a DKMS package, or would they rather get the iscsitarget module from the kernel package20:29
kirklandaxisys: which might solve your issue; i'd need to know more before I could guarantee that would solve your problem entirely20:29
cjwatsonso I think upstream just need to pull their fingers out and do a release20:29
manjocjwatson, so I need to get he new version and debianize it20:29
cjwatsonmanjo: I can do it if you like20:30
manjocjwatson, cool...20:30
manjocjwatson, I have not done ... so I will have to learn :)20:30
* manjo willilng to learn 20:30
cjwatsonrtg_: 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 convenient20:30
cjwatsonI don't know what the user/kernel sync constraints here are20:30
rtg_cjwatson, I just have vague memories of folks complaining that they got out of sync.20:31
=== pace_t_zulu|afk is now known as pace_t_zulu
cjwatsonmanjo: (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523374)20:41
uvirtbotDebian bug 523374 in iscsitarget-source "iscsitarget-source: FTBFS with 2.6.29" [Serious,Open]20:41
manjocjwatson, ack.. thanks for the patch20:42
cjwatsonso 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 later20:43
=== hggdh_ is now known as hggdh
cjwatsonheh, that's only up to 29, 30 needs one more. but easy to get from svn20:45
manjocjwatson, looks like non of that is upstream ?20:48
cjwatsonthat's all upstream20:48
* manjo does a git pull20:48
cjwatsonerr, I meant iscsitarget upstream. no idea about the kernel.20:49
manjoah20:49
manjok20:49
manjortg_, shall I submit patches to karmic to get the iscisi target to build ? pulled from upstream (iscsi) ?20:50
rtg_manjo, yep20:50
manjok20:50
rtg_I'll deal with them in the AM unless Andy gets to it first20:50
manjocjwatson, I see 2 patches in the link you posted (last comment) .. good deal will try to integrate to karmic and submit patch20:51
manjopatches look relatively small ..20:52
cjwatsonmanjo: best to get them from svn://svn.berlios.de/iscsitarget/trunk20:52
cjwatsonI think you'll need r214 from there too20:52
cjwatsonI don't know whether it would be a good idea to just update the kernel wholesale from there20:53
manjotrunk/patches/compat-2.6.28.patch is already in karmic source21:03
rsrhello21:08
rsrhow do I check what time cron is doing a logrotate?21:08
rsrand maybe change it21:09
axisyskirkland: i were able to swap the disk to the other slot of x2100 and still booted fine.. so the grub-install worked21:10
alexmrsr: i think that logrotate is run through anacron and /etc/cron.d/anacron says that it starts at 7:3021:15
kirklandaxisys: cheers21:16
axisyskirkland: now if i can get all the boot messages in the console i will be happy ..21:18
axisysttyS0 that is21:18
rsrok21:19
rsrI dont have /etc/cron.d/anacron21:19
alexmrsr: well, if you installed ubuntu server anacron maybe doesn't make sense, let me see on a server21:21
rsrI installed ubuntu server21:21
rsrdefault 9.04 install21:21
rsrthen installed squid and sarg21:21
rsrI think squid is rotating the logs before sarg gets a chance to create the access report21:22
alexmrsr: in /etc/cronttab you can see when crontab.daily is run21:23
alexmand logrotate is performed in crontab.daily21:23
alexmat 6:25 in my case21:24
Falcback21:24
rsrI 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 anything21:25
rsrI meant +x21:25
alexmno /etc/cronttab then? which ubuntu version?21:26
alexmbtw, the server uses anacron too21:27
rsrI think it is 9.04 how can I check21:27
alexmlsb_release -a21:27
rsryup 9.0421:28
alexmanyway, you must have a /etc/crontab unless cron is not installed21:28
rsralexm: how can I check if cron is working correctly?21:29
alexmdpkg -l cron should tell you if it is installed21:30
rsrgo it21:32
rsrthanks21:32
BilgeI have found a bug21:47
BilgeSettings RS doesn't work in mawk21:47
Bilge# for ((i = 1; i <= 10; ++i)); do echo -ne "$i\0"; done | awk 'BEGIN {RS = "\0"}; END {print NR}'21:47
BilgeThis gives 121:47
BilgeIt should give 1021:47
firecrotchBilge:  I get 1021:49
BilgeAs well you should21:49
BilgeI don't, though21:49
BilgeI'm running Ubuntu 8.04 (server)21:49
BilgeRunning awk, which is symlinked to mawk as per default21:50
firecrotchI'll try it on my 8.04 server21:50
firecrotchInteresting21:51
alexmBilge: it works for gawk21:51
alexmdid you install mawk by choice?21:52
Bilge> Running awk, which is symlinked to mawk as per default21:52
Bilge> default21:52
BilgeI haven't touched it, it's as it came with the system21:52
BilgeNow I must rage because RS is readonly on my system leaving me screwed21:53
uvirtbotNew 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/40040721:56
alexmBilge: if you don't particularly need mawk, just install gawk instead ;)21:56
BilgeI think I should file for divorce21:57
BilgeAnd a bug report21:58
BilgeHow has this gone unnoticed for so long21:58
alexmif it's well documented it may be considered a feature21:58
BilgeWhat may be considered a feature21:59
alexmnot working as expected ;)21:59
alexmnow seriously, if you want to report a bug please go ahead22:00
alexmgood night all22:03
uvirtbotNew 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/39956922:06
qman__I'm having a problem trying to configure a dialup connection with wvdial and pppd22:08
qman__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/pppd22:08
qman__the permissions on /usr/sbin/pppd are -rwsr-xr-- root dip22:08
qman__I looked at the apparmor profiles and I don't think there is one of pppd22:09
qman__so I'm a bit stumped as to why I'm getting denied22:09
sbeattieqman__: is there anything in dmesg?22:10
qman__no, I don't see anything relevant22:11
qman__this is on 9.04 x64, in case that's important22:12
qman__oh wow, that was simple22:19
qman__had to log out and log back in22:19
achew22if 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?22:41
niceuserWhere can I download ubuntu server ?23:38
achew22niceuser: http://www.ubuntu.com/getubuntu/download-server23:39
niceuserdoes it suck ?23:39
achew22suck is a very subjective term23:40
BilgeOh lawd23:40
BilgeI have a query23:40
achew22whats your query?23:41
BilgeI'm typing it23:41
BilgeIt's long, give me a sec :P23:41
BilgeGiven that Ubuntu software packages are never updated by repackaging newer versions of said software, how are security updates created?23:41
BilgeDoes someone actually take the time to learn the software and write a manual patch?23:42
niceuserthat sounds like it might suck23:42
achew22niceuser: give a category and you might get a more specific answer23:42
BilgeNever updating software versions is the one thing that I find does suck23:42
Bilge(without upgrading the distro)23:43
niceuserI prefer to never upgrade anything unless its broken23:43
niceuseror if it sucks23:43
achew22Bilge: 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
BilgeI prefer to * Added niceuser!*@* to ignore list23:43
achew22there are lots of repositories for backports and bleeding edge and all kinds of stuff, most of them exist in launchpad23:44
achew22Bilge: 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
Bilge> upstream packages produce patches | what?23:44
BilgeYes that's right, you don't get new features23:45
BilgeBut this is what I don't understand23:45
BilgeUsually when there is a bug in software, the authors of said software will release fixes forit23:45
BilgeSo it would simply be a case of compiling the new versions23:45
BilgeYet that never happens; we get security fixes but no new features23:45
BilgeHow is this even possible23:45
achew22source code management23:46
achew22see: SVN, GIT, Bazzar (sp?), CVS, generic diff23:46
BilgeBut who is it actually writing these fixes23:46
BilgeIf not the original software creators23:46
achew22package maintainers23:46
achew22and the original designer23:46
BilgeSo they actually familiarise themselves with the source code of every single bit of software (between them)?23:46
achew22it depends on the package23:47
achew22OpenSSH 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:47
cjwatsonexcept that's not how the OpenSSH maintainer does it23:48
BilgeWith a few exceptions like open SSH, it all seems like a lot of pain for next to no gain23:48
cjwatsonI know that because I'm the OpenSSH maintainer ;-)23:48
cjwatsonOpenSSH isn't significantly different from other packages here23:48
achew22cjwatson: sorry I was using generalized terms. I can only speak about mythtv which doesn't really sound awesome23:48
cjwatsonwe figure out what upstream changed to fix the problem, and we apply the same patch to whatever we're currently shipping23:48
BilgeYou'd be better off just compiling the newest versions of software and have not only bug fixes compiled in but also improvements along the way23:48
cjwatsonif it doesn't apply cleanly, we fix it23:48
cjwatsonBilge: doesn't actually work in practice I'm afraid23:49
infinityBilge: No.23:49
infinityBilge: New versions mean new bugs and feature changes.23:49
infinityBilge: Which goes entirely against was most server admins consider "stable".23:49
cjwatsonthe 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 branches23:49
achew22cjwatson: sorry to step on toes. If I got anything wrong can you tell me please23:49
infinityBilge: 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
cjwatsonbackporting security patches is work, I'll grant you, but it's not as hair-raising as all that23:49
BilgeWell 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 want23:49
cjwatsonachew22: you didn't step on toes, I was just supplying a factual correction23:50
BilgeSo now I'm compiling 50% of my services myself23:50
achew22thank you cjwatson :)23:50
infinityBilge: Why do you actually require that, other than "yay, new and shiny"?23:50
cjwatsonthis is of course why things like hardy-backports exist23:50
BilgeObviously there is no generic answer to that, I do actually study what new features are available23:50
BilgeGenerally I find that they are required or highly desirable23:50
cjwatsonpeople often have feature requirements of specific packages, but don't want the *rest* of their distribution to change just for security patches23:50
cjwatsonso we try to support multiple streams23:51
cjwatsonobviously we can't support everything that way, it's too much work, but it helps some people23:51
BilgeI'm not sure I understood what you just said23:52
cjwatsonhttp://help.ubuntu.com/community/UbuntuBackports23:52
BilgeWhy would the distribution change for security patches if someone had a feature requirement23:52
cjwatsonBilge: most upstreams release security fixes and new features all mixed up together23:52
cjwatsonBilge: what you were asking was why we didn't just build the new upstream releases23:53
cjwatsonand it's for exactly that reason23:53
BilgeI don't really understand what is meant by the term upstream23:53
BilgeAre you talking about stuff that the Debian guys create23:53
cjwatsonupstream => the people who wrote the software originally23:53
BilgeOK23:54
cjwatsonthe metaphor is that software flows downstream from its creators23:54
BilgeYes I see that now23:54
cjwatsonso Debian is (usually) upstream of us, but not normally *the* upstream23:54
BilgeNot the ultimate source23:54
cjwatsonin some cases of course it is, e.g. dpkg23:54
BilgeOut 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 itself23:55
owhThe reason I changed from Debian to Ubuntu was a defined release schedule.23:57
owhUnder 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.23:58

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