Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-23 Thread Mark - Syminet
If patches for both wheezy and jessie would be helpful here - let me know . On Mon, 23 Mar 2015 23:37:04 -0600 Mark - Syminet wrote: > > I think the solution, is this: > > Modify /etc/cron.daily/spamassassin to reset the permissions - just before > the sleep stanza. > > It is a simple

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-23 Thread Mark - Syminet
I think the solution, is this: Modify /etc/cron.daily/spamassassin to reset the permissions - just before the sleep stanza. It is a simple task: chown -R debian-spamd:debian-spamd /var/lib/spamassassin; ...and that's it. People can now run sa-update as root, && "invoke-rc.d spamassassi

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-23 Thread Mark - Syminet
Willing to send diffs if that makes it easier (perhaps, considering the timing I should only send patches for jessie). Anyway, if required - let me know which (or both) you'd like. Best - Mark Symonds -- Syminet Internetworking Solutions https://secure.syminet.com/ 1-949-379-8472 ext.

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-23 Thread Mark - Syminet
Actually, even *that* line is bugged (how do these things happen?!): : chown -R debian-spamd:debian-spamd /var/lib/spamassassin; ..and I'm open to admit it. -- Best Mark On Mar 19, 2015, at 10:33 PM, Bob Proulx wrote: > Bob Proulx wrote: >> Mark - Syminet wrote: >>> Fixed with the

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-23 Thread Mark - Syminet
I think the solution, is this: Modify /etc/cron.daily to reset the permissions - just before the sleep stanza: chown -R debian-spamd:debian:spamd /var/lib/spamassassin; ...and that's it. People can now run sa-update as root, and "invoke-rc.d spamassassin" and it will work. That evening

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-19 Thread Bob Proulx
Bob Proulx wrote: > Mark - Syminet wrote: > > Fixed with the following commands: > > > > chown -R debian-spamd:debian-spamd /etc/spamassassin /var/lib/spamassassin > > Yes. Actually no. I neglected to see the /etc/spamassassin in there. Don't do that. That's bad. Those files should be owned

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-19 Thread Bob Proulx
Mark - Syminet wrote: > We too were bit by this bug today. I don't think this is a bug. I think this is a natural consequence of running the command as root. There are many things that people should never do as root because files owned by root are not manageable by non-root users afterward. Roo

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2015-03-19 Thread Mark - Syminet
We too were bit by this bug today. Fixed with the following commands: chown -R debian-spamd:debian-spamd /etc/spamassassin /var/lib/spamassassin su debian-spamd -c sa-update However, I'm confused because running the cronjob as the debian-spamd pseudo-user seems to have accomplished tw

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-06-19 Thread Klaipedaville on Google
Hello there, I have absolutely identical problem as if you copy-pasted it from my logs. Now I have simply manually changed this new directory 3.003002 to -- chown to debian-spamd.debian-spamd /var/lib/spamaassassin/3.003002 -- and I am done and it all flew back into life by running my daily c

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-04-08 Thread Camaleón
El 2014-04-08 a las 14:40 -0400, Noah Meyerhans escribió: > On Tue, Apr 08, 2014 at 05:50:57PM +0200, Camaleón wrote: > > > The moral of this, IMHO, is that sa-update should probably not be run > > > by root if you then expect it to work properly under cron. > > > > That moral is fine but when th

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-04-08 Thread Noah Meyerhans
On Tue, Apr 08, 2014 at 05:50:57PM +0200, Camaleón wrote: > > The moral of this, IMHO, is that sa-update should probably not be run > > by root if you then expect it to work properly under cron. > > That moral is fine but when the cron task fails one has to dig a bit > more on what have caused th

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-04-08 Thread Camaleón
El 2014-04-08 a las 17:25 +0200, Santiago Vila escribió: > On Mon, 7 Apr 2014, Camaleón wrote: > > > Package: spamassassin > > Version: 3.3.2-5 > > Severity: normal > > > > I enabled sa-update to be run by /etc/cron.daily routine but: > > > > 1/ It seems to fail when called from "spamd-debian"

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-04-08 Thread Santiago Vila
On Mon, 7 Apr 2014, Camaleón wrote: > Package: spamassassin > Version: 3.3.2-5 > Severity: normal > > I enabled sa-update to be run by /etc/cron.daily routine but: > > 1/ It seems to fail when called from "spamd-debian" user (see full report > below and sorry for the Spanish locale messages, an

Bug#743872: spamassassin: sa-update error when run by cron.daily task

2014-04-07 Thread Camaleón
Package: spamassassin Version: 3.3.2-5 Severity: normal I enabled sa-update to be run by /etc/cron.daily routine but: 1/ It seems to fail when called from "spamd-debian" user (see full report below and sorry for the Spanish locale messages, anyway I think it can be understood quite well) 2/ It