/srv/irclogs.ubuntu.com/2007/01/15/#ubuntu-server.txt

=== kcorex [n=andrea@151.16.238.214] has joined #ubuntu-server
=== N6REJ [n=Treeturn@knvl-03-0151.dsl.iowatelecom.net] has left #ubuntu-server []
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has joined #ubuntu-server
=== crimsun [n=crimsun@pdpc/supporter/silver/crimsun] has left #ubuntu-server []
=== spasticteapot [n=spastict@24-240-39-177.dhcp.mdsn.wi.charter.com] has joined #ubuntu-server
spasticteapotAnyone here?05:20
spasticteapotEarth to Space Station Alpha. Earth to Space Station Alpha. Asking for report.05:25
=== ivoks [n=ivoks@32-182.dsl.iskon.hr] has joined #ubuntu-server
=== [miles] [n=miles@unaffiliated/miles/x-000000001] has joined #ubuntu-server
[miles] morning guys10:16
[miles] ok, I have a problem with Ubuntu Server 6.06LTS ... postfix and cyrus-sasl10:16
[miles] due to postfix being jailed, I have to place the sasl socket in:10:17
fabbione[miles] : there is an how to that explains that10:17
[miles] /var/spool/postfix/var/run/saslauthd/10:17
[miles] /var/spool/postfix/var/run/saslauthd/10:17
[miles] hi fabbione 10:17
[miles] well, I've got it running10:17
[miles] thats not the problem..10:17
fabbionecheck in /usr/share/doc/postfix and or /usr/share/doc/sasl2 something10:17
[miles] the problem is that init script10:17
[miles] I changed the /etc/defaults/saslauthd vars10:18
[miles] PIDFILE="/var/run/saslauthd/saslauthd.pid"10:18
[miles] PWDIR=/var/spool/postfix/var/run/saslauthd10:18
[miles] to override the vars used in the init script10:18
[miles] however, the daemon refuses to start10:18
[miles] I see that it's using start-stop-daemon10:19
[miles] I've checked as much as I can check, but it refuses to start if I declare the pid in the alternative directory10:19
fabbionecan the daemon write that in that dir?10:19
[miles] as my daemon starts (with the following in /etc/defaults/saslauthd) PARAMS="-O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd"10:20
[miles] the pid is forced to that base dir10:20
[miles] so when running /etc/init.d/saslauthd stop, it's looking for the pid in the wrong place10:20
[miles] fabbione, yeah, the daemon works fine10:20
fabbionestrace it10:20
fabbionecheck what's trying to open and where10:21
[miles] aye10:21
[miles] ok one sec10:21
[miles] ok.. right10:21
[miles] I set the /etc/defaults/saslauthd with the following two lines:10:21
[miles] PWDIR=/var/spool/postfix/var/run/saslauthd10:21
[miles] PIDFILE="/var/run/saslauthd/saslauthd.pid"10:21
[miles] to override yeah10:22
[miles] root@spamwall:/etc# /etc/init.d/saslauthd start10:22
[miles] root@spamwall:/etc# ps aux|grep sasl10:22
[miles] root      4220  0.0  0.0   1508   128 pts/0    R+   10:22   0:00 grep sasl10:22
[miles] root@spamwall:/etc# 10:22
fabbionei don't use that stuff.. i am jsut trying to show you a path to see what you are doing wrong10:22
[miles] it dont start10:22
[miles] but10:22
[miles] if I take those two out10:22
[miles] root@spamwall:/etc# /etc/init.d/saslauthd start10:23
[miles] Starting SASL Authentication Daemon: saslauthd.10:23
[miles] root@spamwall:/etc# ps aux|grep sasl10:23
[miles] root      4227  0.1  0.1   6020   988 ?        Ss   10:23   0:00 /usr/sbin/saslauthd -O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd -a ldap10:23
[miles] root      4228  0.0  0.1   6020   588 ?        S    10:23   0:00 /usr/sbin/saslauthd -O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd -a ldap10:23
[miles] root      4229  0.0  0.1   6020   536 ?        S    10:23   0:00 /usr/sbin/saslauthd -O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd -a ldap10:23
[miles] root      4230  0.0  0.1   6020   536 ?        S    10:23   0:00 /usr/sbin/saslauthd -O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd -a ldap10:23
[miles] root      4231  0.0  0.1   6020   536 ?        S    10:23   0:00 /usr/sbin/saslauthd -O /etc/saslauthd.conf -m /var/spool/postfix/var/run/saslauthd -a ldap10:23
[miles] root      4233  0.0  0.1   2880   800 pts/0    S+   10:23   0:00 grep sasl10:23
[miles] root@spamwall:/etc# 10:23
[miles] disco10:23
[miles] alive10:23
[miles] but as u can see, the socket is in /var/spool/postfix/var/run/saslauthd10:23
[miles] root@spamwall:/etc# ls -l /var/spool/postfix/var/run/saslauthd/saslauthd.pid 10:23
[miles] -rw------- 1 root root 5 2007-01-15 10:23 /var/spool/postfix/var/run/saslauthd/saslauthd.pid10:23
[miles] root@spamwall:/etc# 10:23
[miles] and the pid is there10:23
[miles] now10:24
[miles] I can't stop the daemon10:24
[miles] cos it looks in /var/run/saslauthd10:24
[miles] lol10:24
[miles] I'm buggered10:24
[miles] LOL10:24
[miles] I don't want to physically alter the init script, due to package breakage10:24
[miles] root@spamwall:/etc# /etc/init.d/saslauthd stop10:25
[miles] Stopping SASL Authentication Daemon: (not running).10:25
[miles] root@spamwall:/etc# 10:25
[miles] and of course, it says it's not running, cos it can't locate the pid10:25
[miles] :)10:25
[miles] great eh10:25
fabbione[miles] : if it's a bug in the init script, please file one in malone, It might be worth fixing it in dapper10:25
fabbioneadding a patch to make that generic will help too10:26
[miles] fabbione, aye10:26
[miles] fabbione, I'm a little lost as to why it's not working... weird10:26
[miles] cos to my logic, and after looking at the bash10:26
[miles] it loads the /etc/defaults/saslauthd file just after hard setting the vars in the init script10:27
[miles] and I echoed the values, and exited...10:27
[miles] and it shows the correct values10:27
[miles] but the daemon just don't start10:27
[miles] fabbione, you a Ubuntu developer btw?10:29
fabbioneyes i am10:30
fabbione[miles] : as i said.. it might be a bug in the script that needs to be addressed10:30
fabbionelike generic path to pid10:30
fabbionefile a bug in launchpad with everything you found10:30
[miles] fabbione, I've had a scout thru it10:30
[miles] fabbione, but don't see an error10:30
[miles] fabbione, I'll go again and check it tho10:30
[miles] fabbione, a question..10:30
[miles] fabbione, on Ubuntu Server, the updates to problems and vuns' and timely?10:31
[miles] fabbione, this is my first time in a production enviroment with UBS LTS10:31
fabbione[miles] : updates for security are done regularlyt10:31
fabbionealso for critical bugs10:31
[miles] fabbione, as good as the likes of RHEL and SLES10:31
[miles] ?10:31
fabbionetiming is usual as fast as possible10:31
fabbionewe are usually faster then them10:31
[miles] fabbione, my background is with SLES10:31
fabbioneit really depends on the issue10:31
[miles] fabbione, but I'm pretty into UBS10:32
[miles] ok10:32
fabbionesome security issues are classified10:32
fabbioneand released by vendor at the same time10:32
[miles] I'll check the script now, be back in a min yeah10:32
fabbioneso you don't see much of a diff there10:32
fabbionebut when a security issue is public10:32
fabbionewe are usually faster10:32
fabbionei need to get back to work10:32
fabbioneplease as i said .. file a bug10:32
[miles] fabbione, ok10:32
[miles] fabbione, thank you kindly for the help yeah10:33
[miles] fabbione, yeah, found the problem part10:59
[miles] but it's using some commands of Ubuntu/debian, that im not familar with10:59
[miles] but I know exactly where the problem lies now11:00
[miles]         dir=`dpkg-statoverride --list $PWDIR`11:00
[miles]         test -z "$dir" || createdir $dir11:00
[miles] those two lines11:00
fabbione[miles] : add it the bug report please and explain why11:01
fabbionethe more you add the faster the fix can be done11:01
[miles] fabbione, yeah, I'm just trying to work out how to properly fix it11:02
[miles] I see there are missing parms' on the createdir $dir11:02
[miles] fabbione, dpkg-statoverride --list /var/spool/postfix/var/run/saslauthd11:06
[miles] fabbione, does that make much sense to you?11:06
[miles] fabbione, I can understand obviously checking if the dir exists, and if not, create it11:07
[miles] but using that?11:07
[miles] it always returns an empty string11:07
[miles] ok, I've written a fix11:15
[miles]         test -d $PWDIR || createdir root sasl 710 $PWDIR11:15
[miles] now just gotta find where the fuck to submit it11:15
[miles] fabbione, where do I file my report?11:16
[miles] bollox the bug reporting is down lol11:18
fabbionelaunchpad.net11:20
[miles] yeah11:21
[miles] there now11:21
[miles] fabbione, just gonna try file one11:21
[miles] u think my fix is ok?11:21
fabbionei dunno.. as i said i don't use that piece of software11:22
[miles] ah ok11:22
fabbionesomebody that knows about it, will look into it and check11:22
[miles] well, to me, it does exactly what the coder of the script ment it to do11:22
fabbioneBUT if you don't file a bug, it will be lost here on IRC11:22
[miles] lol11:23
[miles] yeah11:23
[miles] im doing it11:23
[miles] fabbione, Bug #7937111:34
[miles] that ok?11:34
fabbionechecking...11:34
[miles] thank you11:35
fabbionelooks ok... thanks11:35
[miles] np11:35
[miles] I tested my fix... works11:35
[miles] I spose I could add a couple of lines at the top just to check a sasl group exists11:36
[miles] fabbione, who sets the priorty on my report please?11:36
fabbionei will once i get it assigned to somebody11:36
[miles] ah ok11:36
[miles] fabbione, I'm happy I can contribute something, be it so little, back to the distro11:38
fabbione[miles] : thanks for the report.. 11:39
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
[miles] morning ivoks 11:41
ivokshi11:42
ivokshow are you?11:43
[miles] im good11:46
[miles] much better for smoking a ciggy and fixing the saslauthd init script :D11:46
[miles] anyone got knowledge of Kerberos11:51
[miles] never touched it, but I hear good of it11:52
ivokssame here11:52
[miles] ivoks, u ain't touched it no?11:53
ivoksnope11:53
[miles] I used ldap11:53
[miles] and it ties in nicely with that.. so I read11:53
ivokswell, that's not the same11:54
[miles] yeah, I know11:54
[miles] but for auth11:54
[miles] mmm is "universe/mail" in the support area of Ubuntu Server?11:56
[miles] I can't remember what repo's I changed11:56
[miles] mmm, ok no it's not11:57
[miles] :-|11:57
[miles] so MailScanner and amavisd-new are not in the default support list11:57
[miles] :-\\11:57
ivoksif you find a bug, let us know12:01
[miles] ivoks, ? 12:01
ivoksif it's security bug, i'm sure some one will work on it12:01
[miles] ivoks, no bug, .. it would just be good to see Ubuntu Server support one or the other12:02
ivoksit is... community supported12:02
[miles] but its they are part of universe12:02
ivoksjust as debian or fedora, except we don't have that much man power in universe (+ some maintainers are lazy, like me)12:02
[miles] lol12:03
[miles] :)12:03
ivoksamavisd-new would be much better option for postfix12:03
[miles] aye12:03
[miles] but the configuration of it is a joke12:04
[miles] messy as hell12:04
ivoksamavis?12:04
[miles] aye12:04
[miles] I don't like it at all12:04
fabbione[miles] : there are some reasons why we don't include that stuff12:04
[miles] the configuration I mean12:04
fabbionewe did discuss it extensively12:04
fabbioneand decided not to for now12:05
fabbionelet me find a referenve12:05
[miles] fabbione, ok... but u agree, they are critical elements more or less to a good mail server?12:05
fabbionecritical no.. i don't agree12:05
fabbionei agree that they are nice to have12:05
ivoksnot critical, but good stuff12:05
ivoksok, redundancy :)12:05
[miles] fabbione, ok, crtical maybe is an over statement12:06
[miles] but certainly they're of great use... 12:06
ivoksi would rather see postgrey in main12:06
ivoks(+ i would like too see mail server for ubuntu.com using it :)12:06
=== [miles] would not run a greylist on his servers
[miles] we'd have clients ringing up all the sodding time12:07
[miles] :==)12:07
ivoksmails only late for first mail12:07
ivoksnot every time12:07
fabbionehttps://wiki.ubuntu.com/PostfixCandy12:07
fabbione[miles] : ^^12:08
[miles] cheers fabbione 12:09
[miles] fabbione, u in france also?12:09
fabbionenope..12:09
fabbionei am in denmark12:09
ivoksheh, amavisd and postgrey do open ports, but only on loopback12:09
[miles] ah nice12:09
[miles] cold place I guess12:09
fabbioneivoks: they are still open ports12:09
ivoksfabbione: i agree12:10
ivokshm, maybe we could work on amavisd to support socket (if it doesn't already)12:10
[miles] it does12:11
[miles] but not with postfix12:11
[miles] exim is the doggies12:11
[miles] but12:11
[miles] postfix rules the roost, and its pretty sweet 12:12
ivoksnot with postfix?12:12
[miles] I've done more MTA stuff with Exim... im pretty fresh at Postfix12:12
[miles] ivoks, nah, u can't use the socket12:12
ivoksbut you can use procmail12:12
ivoksand with procmail...12:12
ivoksi think content-filter supports local12:13
[miles] # AMAVIS-CLIENT PROTOCOL INPUT SETTINGS (e.g. with sendmail milter)12:13
[miles] #   (used with amavis helper clients like amavis-milter.c and amavis.c,12:13
[miles] #   NOT needed for Postfix or Exim or dual-sendmail - keep it undefined.12:13
[miles] $unix_socketname = "$MYHOME/amavisd.sock"; # amavis helper protocol socket12:13
[miles] #$unix_socketname = undef;        # disable listening on a unix socket12:13
[miles]                                   # (default is undef, i.e. disabled)12:13
ivoksor pipe12:13
[miles]                                   # (usual setting is $MYHOME/amavisd.sock)12:13
ivoksi'll take a closer look on this12:15
[miles] I prefer unix sockets for stuff like this12:15
ivoksmaybe i could come up with something12:15
[miles] faster too12:15
ivoksok, i see.. performance impact12:32
fabbioneOut of Office AutoReply: [Bug 79371]  Re: saslauthd init script does not allow movement of PID12:51
fabbione[miles] : disable that stuff from mails coming from Launchpad pretty please now.12:51
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
[miles] fabbione, sorry?01:08
fabbione[miles] : isn't your name Martin, Jared ?01:09
[miles] no01:09
[miles] my name is Miles01:09
[miles] :)01:09
fabbionehmm01:10
fabbionesorry01:10
fabbionewrong person01:10
[miles] jeje01:10
[miles] np01:10
[miles] the guy who's got the bug is Martin01:10
[miles] it would appear01:10
[miles] https://launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/7937101:10
[miles] fabbione, personally, I would not class this as "low"01:11
[miles] fabbione, not on server distro01:11
fabbione[miles] : release managers decision. 01:11
fabbioneanyway somebody is looking at it01:12
fabbioneso don't worry01:12
[miles] ok01:12
[miles] it's a quick one to test and fix01:12
fabbioneit doesn't indicate the priority with which it will be fixed but the impact01:12
fabbionenot that many people use that setup01:12
fabbioneso it has a low impact01:13
fabbioneit will still take about 2 weeks to get it in dapper-updates01:13
fabbionethe process for QA is long01:13
[miles] :-O01:13
[miles] wooo ok01:14
=== somerville32 [n=somervil@ubuntu/member/somerville32] has joined #ubuntu-server
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
=== J_P [n=jp@200.146.37.219] has joined #ubuntu-server
J_Phi all04:38
[miles] yo J_P 04:48
J_P[miles] : haha yes!04:57
=== grazieno [n=ubuntu3@200.128.80.254] has joined #ubuntu-server
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server
=== kcorex [n=andrea@151.16.235.194] has joined #ubuntu-server
=== DJ_Mirage [n=sexybigg@biggetje.xs4all.nl] has joined #ubuntu-server
=== Jester45 [n=Jester45@dsl-194-104.jax.centurytel.net] has joined #ubuntu-server
=== Jester45 [n=Jester45@dsl-194-104.jax.centurytel.net] has left #ubuntu-server []
=== ||arifaX [n=||arifaX@p54B5A3D0.dip0.t-ipconnect.de] has joined #ubuntu-server
=== ivoks [n=ivoks@32-182.dsl.iskon.hr] has joined #ubuntu-server
=== okaratas [n=ozgurk@irssi/user/okaratas] has joined #ubuntu-server
=== besfred [n=besfred@p549C8F1E.dip0.t-ipconnect.de] has joined #ubuntu-server
=== besfred [n=besfred@p549C8F1E.dip0.t-ipconnect.de] has left #ubuntu-server ["and]
=== kcorex [n=andrea@151.16.239.73] has joined #ubuntu-server
=== grazieno [n=ubuntu3@200.128.80.254] has left #ubuntu-server []

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