On Tue, 2006-07-18 at 19:39 -0500, Eric Schnoebelen wrote: > "Bradford R. Bowman" writes: > - I am writing an init script for PyAIMt, and having a difficult > - time getting it to run as user jabber. The process is readily > - started when owned by root, however. Is there a preference? Am > - I opening myself up to trouble if I run that process as root? > > What sort of errors are you getting when you try running > as the jabber user? > > Does the jabber user own the spool directory? > > The configuration files? > > Running as root gives the program far too many > priviledges, and you're giving the software an extreme amount of > trust. > > I am successfully running PyAIMt as the jabberd user on > my servers, so there's nothing in the software that's causing > the problem. > > -- > Eric Schnoebelen
Thanks for the quick responses. I am not getting any useful error messages from the start stop daemon, so I will run it directly on the command line using su - jabber to see what comes up. Jabber owns the spool file, the python scripts themselves, and those config files that aren't world readable. I take your point certainly about not allowing the process to run as root. -- Bradford R. Bowman <[EMAIL PROTECTED]> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://modevia.com/pipermail/py-transports/attachments/20060718/8955015d/attachment-0001.pgp From [EMAIL PROTECTED] Wed Jul 19 01:58:23 2006 From: [EMAIL PROTECTED] (Bradford R. Bowman) Date: Wed Jul 19 01:44:33 2006 Subject: [py-transports] Who should own the Py{AIM,ICQ}t process In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Tue, 2006-07-18 at 19:39 -0500, Eric Schnoebelen wrote: > "Bradford R. Bowman" writes: > - I am writing an init script for PyAIMt, and having a difficult > - time getting it to run as user jabber. The process is readily > - started when owned by root, however. Is there a preference? Am > - I opening myself up to trouble if I run that process as root? > > What sort of errors are you getting when you try running > as the jabber user? > > Does the jabber user own the spool directory? Thanks for your help. The problem was that jabber needed to own the directory where the pid file was being created. -- Bradford R. Bowman <[EMAIL PROTECTED]> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://modevia.com/pipermail/py-transports/attachments/20060718/d7c241f6/attachment.pgp From [EMAIL PROTECTED] Wed Jul 19 08:32:39 2006 From: [EMAIL PROTECTED] (David E Freitas) Date: Wed Jul 19 08:32:42 2006 Subject: [py-transports] The return of: 'NoneType' object has no attribute 'ident' Message-ID: <[EMAIL PROTECTED]> Hi Python 2.4 PyMSNt 0.11 Rev 186 Twisted 1.3 ---- [2006-07-17 14:57:47] Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line 178, in doKEvent log.callWithLogger(selectable, _drdw, selectable, fd, filter) File "/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line 43, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line 183, in _doWriteOrRead why = selectable.doRead() File "/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 255, in doRead return self.protocol.dataReceived(data) File "/usr/local/lib/python2.4/site-packages/twisted/protocols/basic.py", line 223, in dataReceived why = self.lineReceived(line) File "/usr/local/pymsnt-20060717/src/tlib/msn/msn.py", line 828, in lineReceived try: handler(params.split(' ')) File "/usr/local/pymsnt-20060717/src/tlib/msn/msn.py", line 1191, in handle_NLN self.contactStatusChanged(params[1], params[0], unquote(params[2])) File "/usr/local/pymsnt-20060717/src/tlib/msn/msnw.py", line 442, in contactStatusChanged LogEvent(INFO, self.factory.msncon.ident) exceptions.AttributeError: 'NoneType' object has no attribute 'ident' ---------- BTW, Thanks for Rev 201, I'll get it up today. Sincerely, David From [EMAIL PROTECTED] Wed Jul 19 08:36:10 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Wed Jul 19 08:36:16 2006 Subject: [py-transports] Problems with current directory hashing method In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 7/14/06, James Bunton <[EMAIL PROTECTED]> wrote: > I've tested this upgrade procedure a couple of times, and the worst > it can do is move your files into bad places. I'd appreciate people > trying it out though. I upgraded to r199 yesterday and it was pretty seamless. Everything happened as it should have. -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Jul 19 08:39:43 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Wed Jul 19 08:39:47 2006 Subject: [py-transports] Re: MSN will soon allow to add yahoo! contacts In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 7/19/06, James Bunton <[EMAIL PROTECTED]> wrote: > Yeah, I plan to implement MSNP14, got a few other things to do first > though. I assume that Yahoo! continue to use their existing protocol. I really don't have time to add MSN contact functionality, but if anyone else wants to have a look at doing it, and sends me a patch I will happily add it to mainline. Potentially I'd be watching what code the gaim (or curphoo) developers add to support the new functionality. I have this half imagined idea that just supporting % for @ in addresses might make it work out-of-the-box, but I'm sure it's more complex than that. -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Jul 19 08:42:40 2006 From: [EMAIL PROTECTED] (Yves Goergen) Date: Wed Jul 19 08:42:38 2006 Subject: [py-transports] Cannot start PyMSNt and PyICQt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Are the Py transports specifically incompatible with the Linux kernel 2.6.17.6 (which is the only one anybody should use today)? It worked before and after this single change, it doesn't anymore. I'd really like to use the transports again sometime... -- Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]> http://beta.unclassified.de ? My web laboratory. From [EMAIL PROTECTED] Wed Jul 19 10:14:51 2006 From: [EMAIL PROTECTED] (Daniel Henninger) Date: Wed Jul 19 10:15:16 2006 Subject: [py-transports] Cannot start PyMSNt and PyICQt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> *raise eyebrow* I certainly hope that isn't the case. I don't have a good way to test that myself. Anyone else? What kinds of problems are you seeing? Daniel On Jul 19, 2006, at 4:42 AM, Yves Goergen wrote: > Are the Py transports specifically incompatible with the Linux kernel > 2.6.17.6 (which is the only one anybody should use today)? It worked > before and after this single change, it doesn't anymore. I'd really > like > to use the transports again sometime... > > -- > Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]> > http://beta.unclassified.de ? My web laboratory. > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
