IRC log of #zope3-dev for Tuesday, 2006-04-04

*** natea has joined #zope3-dev00:03
*** natea_ has joined #zope3-dev00:09
*** natea has quit IRC00:20
*** BjornT has quit IRC00:25
*** BjornT has joined #zope3-dev00:26
kamalgillguys, quick zope 3 config question here...looking at zope.conf, what's zope3's equivalent of zope2's effective-user directive?00:26
kamalgillbasically, how do i control what user zope runs as?00:27
*** srichter has quit IRC00:29
kamalgillbasically, i'd like to release a Zope 3 installer for Mac OS X, and I need to set the effective user in zope.conf00:30
kamalgillhowever, zope 3 doesn't appear to have an effective-user directive in zope.conf00:31
benjiI don't think there's a built-in way to do that in Z3, kamalgill00:31
*** zbir has quit IRC00:31
kamalgilldoes Zope 3 run as root?00:31
LucasMIWI would assume it run as whatever user starts it.00:32
benjinope, we normally run it as a normal user and use Apache or Squid, or something else that's actually bound to port 8000:32
benji"we" being "the people I know" :)00:32
kamalgillyikes. seems i bit unusual to run it as a privileged user, no?00:32
kamalgill*seems a bit unusual*00:33
LucasMIWIt does seem like a bit of a risk...00:33
benjiwe don't run it as root, I said "we normally run it as a normal user"00:34
kamalgillwell, if zope is compromised, the cracker would have access to whatever the user starting up the process has access to on the machine00:34
kamalgillseems a bit dangerous00:34
kamalgillany reason why the effective-user directive was never ported from Zope 2 to Z3?00:35
benjithe "normal user" doesn't have to have many privs, you can also run it in a chroot jail00:35
benjinoone's needed it enough, apparently00:36
kamalgillbenji: well, it really hampers my ability to release a proper installer for Zope 300:36
kamalgillin fact, i built an OS X installer at the snow sprint in Austria a couple months ago00:37
kamalgillbut i never released it due to this apparent security lapse00:37
kamalgillseems to me that point-n-click installers would help spread the adoption of Zope 300:38
benjicouldn't you use  su -u unpriv_user z3.py (or moral equiv)00:38
kamalgillhmm, would i modify zopectl in that case?00:39
benjiI don't think people would run production sites from a point-n-click installed server though, so I'd just make a security note in the distribution about setting it up properly to run a production server00:39
whitwell...people don't try to until there are point and click installers ;)00:41
LucasMIWI could see that being an issue with a startup item, however - needing a password each time. Are you intending to include a startup item?00:41
kamalgillgood suggestion, but i'd hate for Zope 3 to receive any negative publicity just because some fellow decided to use the installer on a production system and potentially compromised his setup.00:41
kamalgilli'd prefer *not* to include a separate startup item00:41
kamalgillwe should stick with zopectl00:41
kamalgillor zeoctl00:41
kamalgillbasically, stick to conventions00:41
LucasMIWJust mentioning it because I know the Plone Mac OS X install includes one.00:42
kamalgillto keep documentation and support easier00:42
kamalgillLucasMIW: true, but the separate startup script in the Plone OS X installer is going away ;)00:42
LucasMIWBut then, they do all sorts of crazy stuff.00:42
kamalgillyeah, all that crazy stuff will go away in the next OS X Plone installer00:43
LucasMIWO, happy day!00:43
kamalgilltrust me, it will (since I'm building it)00:43
kamalgillbut, back to the effective-user issue00:44
kamalgillhow difficult would it be to get that directive in Z3's zope.conf?00:44
*** kamalgill is now known as kamal-nearby00:48
LucasMIWActually, looking at the zdaemon code, it may still be in there...00:56
*** benji has quit IRC00:57
kamal-nearbyLucasMIW: really?  last time i tried to set effective-user in zope.conf, it wasn't recognized.01:00
LucasMIWI'm still trying to figure it out...01:01
kamal-nearbyok, thx for looking into it.01:01
*** natea_ has quit IRC01:01
LucasMIWIt seems that you may be able to use:01:01
LucasMIW<runner>01:01
LucasMIWuser your_username01:01
LucasMIW</runner>01:01
*** natea has joined #zope3-dev01:01
kamal-nearbyhmm, where is this documented?01:02
kamal-nearbyor, should i say, what code are you looking at?01:02
LucasMIWNot seeing docs for it, just reading from lib/python/zdaemon/zdrun.py and lib/python/zdaemon/sample.conf01:03
LucasMIWand  lib/python/zdaemon/schema.xml01:03
kamal-nearbyLucasMIW: ok, i'll give it a try.  thx.01:04
LucasMIWkamal-nearby: Let me know how it works. :)01:05
kamal-nearbywill do :)01:06
*** BjornT has quit IRC01:13
*** gumpa has left #zope3-dev01:46
*** RaFromBRC is now known as RaFromBRC|away01:47
*** natea has quit IRC02:00
*** natea has joined #zope3-dev02:00
*** jinty has quit IRC02:01
*** j1m has quit IRC02:01
*** TrevorP has quit IRC02:05
*** TrevorP has joined #zope3-dev02:05
*** RaFromBRC|away is now known as RaFromBRC02:06
*** kamal-nearby is now known as kamal-away02:13
*** niemeyer has quit IRC02:32
*** zbir has joined #zope3-dev02:41
*** RaFromBRC is now known as RaFromBRC|away03:09
*** natea has quit IRC03:28
*** natea has joined #zope3-dev03:29
*** RaFromBRC|away is now known as RaFromBRC03:29
*** stub has joined #zope3-dev03:54
*** kamal-away has left #zope3-dev04:07
*** d2m has quit IRC04:42
*** d2m_ has joined #zope3-dev04:43
*** mexiKON has joined #zope3-dev04:43
*** d2m_ is now known as d2m04:43
*** philiKON has quit IRC04:54
*** yota has quit IRC06:27
*** pcardune has quit IRC06:51
*** RaFromBRC has quit IRC07:49
*** pcardune has joined #zope3-dev07:52
*** eins has joined #zope3-dev08:07
einshi08:07
*** stub has quit IRC08:19
*** sashav has joined #zope3-dev08:33
*** dobee has joined #zope3-dev08:34
*** sashav has quit IRC08:43
*** zagy has joined #zope3-dev08:48
*** TrevorP has quit IRC08:56
*** TrevorP has joined #zope3-dev09:07
*** mexiKON is now known as philiKON09:07
*** hdima has joined #zope3-dev09:13
*** BjornT has joined #zope3-dev09:24
*** dunny has quit IRC09:27
*** dunny has joined #zope3-dev09:35
*** romanofski has joined #zope3-dev09:39
*** eins has quit IRC09:59
*** sashav_ has joined #zope3-dev09:59
romanofskimoin10:02
*** j-w has joined #zope3-dev10:04
*** MJ has quit IRC10:11
*** J1m has joined #zope3-dev10:25
*** ignas has joined #zope3-dev10:29
*** zagy_ has joined #zope3-dev10:38
*** srichter has joined #zope3-dev10:45
*** zagy has quit IRC10:46
*** MJ has joined #zope3-dev11:01
*** sm has quit IRC11:12
*** tiredbones has quit IRC11:20
*** romanofski has quit IRC11:21
*** alga has joined #zope3-dev11:22
*** tiredbones has joined #zope3-dev11:24
*** romanofski has joined #zope3-dev11:29
*** dobee has quit IRC11:32
*** dobee has joined #zope3-dev11:42
*** einheit_ is now known as SteveA11:59
*** zagy has joined #zope3-dev12:00
*** sashav_ has quit IRC12:06
*** zagy_ has quit IRC12:07
*** stub has joined #zope3-dev12:16
*** BjornT has quit IRC12:26
*** mkerrin has joined #zope3-dev12:26
*** sashav has joined #zope3-dev12:27
*** BjornT has joined #zope3-dev12:27
*** romanofski has quit IRC12:29
*** romanofski has joined #zope3-dev12:29
*** Aiste has quit IRC12:38
*** ChanServ sets mode: +o srichter12:44
*** jinty has joined #zope3-dev12:45
*** jhauser_ has joined #zope3-dev12:45
*** TrevorP has quit IRC12:47
*** TrevorP has joined #zope3-dev12:48
*** mgedmin has joined #zope3-dev12:49
*** jhauser has quit IRC12:58
*** Aiste has joined #zope3-dev13:01
*** b_52Free has joined #zope3-dev13:06
*** tonico has quit IRC13:07
b_52Freestupid noob question qre possible here ?13:10
*** tonico has joined #zope3-dev13:20
*** faassen has joined #zope3-dev13:26
*** dunny has quit IRC13:37
b_52Freeok i kniow the question is stupid bur is it possible to compile the ZServer alone ?  not alone i mean look in the source code and execute it ? to know how it work ?13:47
*** sashav has quit IRC14:10
*** sashav has joined #zope3-dev14:11
*** yota has joined #zope3-dev14:23
*** dobee has quit IRC14:33
*** baldtrol has joined #zope3-dev14:40
srichterb_52Free: yes, though I would not recommend it14:43
srichterZServer in Zope 3 is a WSGI server14:43
srichterZope 3 is now switching to Twsited, which also provides a WSGI web server14:43
srichter(though ZServer s faster)14:43
b_52Freesrichter, just to see how the stuff work14:44
b_52Freetwisted you're talking about the api ?14:44
srichterno, we are using the twsited Web and FTP server; the Web server is connected via WSGI14:44
b_52Freehm  http://www.python.org/dev/peps/pep-0333/14:45
b_52Free  but i think that zope is a hole and i want to be more than a simple user so i think  there is no way  i must start with ZSERVER :)14:48
*** J1m has quit IRC14:49
srichterb_52Free: if you really want to understand the innerworkings of Zope, you should start with the publisher14:50
srichterzope.publisher.publish14:50
b_52Freehm14:51
b_52Freeok14:51
*** zbir has quit IRC15:12
*** sashav has quit IRC15:13
*** sashav has joined #zope3-dev15:14
*** sashav has joined #zope3-dev15:16
baldtrolbefore i run off too far down this road, i'm curious...  it seems like coupling formlib with viewlets is a really potent way to create a page, but i admit, i haven't even close to mastered the complexities of either one yet.  am i looking at these correctly, that they can be used meaningfully together?15:23
baldtroljeff shell's discussion here http://mail.zope.org/pipermail/zope3-dev/2006-February/018273.html indicates i'm on the right track, but i'm notorious for reading things the way i want them to be, and not necessarily as they are ;)15:24
*** niemeyer has joined #zope3-dev15:32
*** zbir has joined #zope3-dev16:03
*** sawdog has joined #zope3-dev16:17
*** gumpa has joined #zope3-dev16:31
*** oferw has joined #zope3-dev16:31
*** sashav has quit IRC16:37
*** ignas has quit IRC16:50
*** alga has quit IRC16:55
*** mgedmin has quit IRC16:55
*** Aiste has quit IRC16:57
*** sawdog has quit IRC16:58
*** benji has joined #zope3-dev17:05
*** alga has joined #zope3-dev17:06
*** mgedmin has joined #zope3-dev17:06
*** Aiste has joined #zope3-dev17:08
*** natea has quit IRC17:09
*** ignas has joined #zope3-dev17:13
*** hdima has quit IRC17:16
*** sawdog has joined #zope3-dev17:19
*** natea has joined #zope3-dev17:23
*** stub has quit IRC17:30
*** ignas_ has joined #zope3-dev17:31
*** ignas has quit IRC17:31
*** ignas__ has joined #zope3-dev17:31
*** rockyburt has joined #zope3-dev17:36
*** BjornT_ has joined #zope3-dev17:36
*** BjornT has quit IRC17:37
*** BjornT_ is now known as BjornT17:38
*** ignas has joined #zope3-dev17:38
*** natea_ has joined #zope3-dev17:39
*** d2m has quit IRC17:39
*** _ignas has joined #zope3-dev17:43
*** ignas_ has quit IRC17:48
*** ignas__ has quit IRC17:53
*** ignas_ has joined #zope3-dev17:56
*** ignas has quit IRC17:57
*** ignas__ has joined #zope3-dev17:57
*** natea has quit IRC18:01
*** alga has quit IRC18:02
*** _ignas has quit IRC18:03
*** srichter has quit IRC18:08
*** ignas_ has quit IRC18:14
*** romanofski has quit IRC18:16
*** tonico has quit IRC18:22
*** j-w has quit IRC18:25
*** sm has joined #zope3-dev18:28
*** romanofski has joined #zope3-dev18:32
*** d2m has joined #zope3-dev18:44
*** mgedmin has quit IRC18:45
*** Aiste has quit IRC18:46
*** tonico has joined #zope3-dev18:52
*** ignas__ has quit IRC18:53
*** Aiste has joined #zope3-dev18:55
*** mgedmin has joined #zope3-dev18:56
*** MJ has quit IRC19:01
*** kamalgill has joined #zope3-dev19:01
*** natea_ has quit IRC19:02
*** HammerToe has joined #zope3-dev19:03
*** natea has joined #zope3-dev19:03
HammerToeanyone here know the whereabouts of a macos zope3 installer?  I'm sure I remember Stephan or someone at the snow sprint mentioning one19:03
whityou want to talk to kamalgill19:04
kamalgillsomebody mention my name?19:05
HammerToekamalgill: did you mention something about a z3 macos installler at the snowsprint?19:05
kamalgillyes, i built an OS X Zope 3 installer at the snow sprint19:05
HammerToeI can't get python 2.4.2 installed on here19:05
HammerToekamal: where is it?19:05
HammerToeoh, and is it tiger or jaguar? I'm still running jag19:06
kamalgillit's on tiger, but it should work on jaguar19:06
kamalgilli haven't officially released it since i had some questions about the effective-user directive19:06
HammerToekamal: ok well any place I can grab it from?19:07
kamalgilli was planning on building one for the latest 3.2.1 release19:07
kamalgilldo you need it asap?19:07
HammerToekamal: well only if you had it handy19:08
HammerToeit is mainly python 2.4.2 i can't get installed19:08
kamalgillHammerToe, well, if you just need Python, there's a new universal binary installer for 2.4.319:08
kamalgillhttp://www.python.org/download/releases/2.4.3/19:08
kamalgillor, do you absolutely need 2.4.2?19:08
HammerToeno 2.4.3 will do19:09
HammerToeall I can see in fink is 2.4.1 and that is wanting to compile x11 too19:09
*** oferw has quit IRC19:09
HammerToeI have to say, I think they've done a damn goood job on the python.org redesign19:10
kamalgillHammerToe: http://www.python.org/ftp/python/2.4.3/Universal-MacPython-2.4.3.dmg19:10
HammerToekamal: thanks, found it :)19:10
kamalgillnp19:10
philiKONHammerToe, darwinports is pretty good with up-to-date packages19:11
*** zagy has quit IRC19:17
*** romanofski is now known as rom|aw19:17
*** sm has quit IRC19:25
*** sm has joined #zope3-dev19:25
mgedminI'm a bit confused19:31
mgedminwhat does zope.i18n.translate do when the msgid is a tuple?19:31
mgedminor am I misreading the code of the SelectWidget?19:32
* mgedmin slaps his forehead19:32
mgedmin_("foo", "bar") is not a tuple, but a messageid, obviously19:33
*** HammerToe has quit IRC19:44
*** MJ has joined #zope3-dev19:50
*** kamalgill is now known as kamal19:51
*** kamal is now known as kamal-nearby19:51
*** zagy has joined #zope3-dev20:03
*** newpers has joined #zope3-dev20:17
*** newpers has left #zope3-dev20:17
*** mgedmin has quit IRC20:24
*** mgedmin has joined #zope3-dev20:24
*** kamal-nearby is now known as kamalgill20:25
*** baldtrol has quit IRC20:31
*** RaFromBRC has joined #zope3-dev20:43
*** jinty has quit IRC20:45
*** faassen has quit IRC20:48
*** alga has joined #zope3-dev20:48
*** jinty has joined #zope3-dev20:56
*** sashav has joined #zope3-dev20:58
*** Aiste has quit IRC21:03
*** mgedmin has quit IRC21:08
*** alga has quit IRC21:14
*** b_52Free has quit IRC21:14
*** b_52Free has joined #zope3-dev21:21
*** whit has quit IRC21:30
*** whit has joined #zope3-dev21:34
*** Aiste has joined #zope3-dev21:35
*** pcardune has quit IRC21:45
*** tonico has quit IRC21:47
*** dunny has joined #zope3-dev22:01
*** srichter has joined #zope3-dev22:16
*** mexiKON has joined #zope3-dev22:19
*** tonico has joined #zope3-dev22:25
*** whit is now known as whit|run22:32
*** BjornT has quit IRC22:32
*** jinty has quit IRC22:33
*** Aiste is now known as Aiste|away22:35
*** pcardune has joined #zope3-dev22:38
*** zbir has quit IRC22:38
*** zbir has joined #zope3-dev22:40
*** philiKON has quit IRC22:40
*** zagy has quit IRC23:00
*** BjornT has joined #zope3-dev23:03
*** zagy has joined #zope3-dev23:03
*** zagy has quit IRC23:11
*** ChanServ sets mode: +o srichter23:16
*** mkerrin has quit IRC23:33
*** srichter has quit IRC23:35
*** srichter has joined #zope3-dev23:40
*** sawdog has left #zope3-dev23:43

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