Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-24 Thread Juha Heinanen
Alexander Wirt writes:

  $ more /etc/cron.daily/amavisd-new
  #!/bin/sh
  #
  #  Daily maintenance for amavisd-new
  #  $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
  # 
  test -e /usr/sbin/amavisd-new-cronjob  exec /usr/sbin/amavisd-new-cronjob 
  sa-c
  lean
  exit 0
  
  should i really go and delete the latter?
  
  in any case this is very confusing to a non-expert debian user.
 Yes, thats written down in NEWS.Debian.

as i mentioned, i didn't find anything about /etc/cron.daily/amavisd-new
file in README.Debian:

$ egrep -i cron /usr/share/doc/amavisd-new/README.Debian 
includes cron jobs that take care of syncing and expiring the token database

-- juha


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-24 Thread Alexander Wirt
On Fri, 24 May 2013, Juha Heinanen wrote:

 Alexander Wirt writes:
 
   $ more /etc/cron.daily/amavisd-new
   #!/bin/sh
   #
   #  Daily maintenance for amavisd-new
   #  $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
   # 
   test -e /usr/sbin/amavisd-new-cronjob  exec 
   /usr/sbin/amavisd-new-cronjob sa-c
   lean
   exit 0
   
   should i really go and delete the latter?
   
   in any case this is very confusing to a non-expert debian user.
  Yes, thats written down in NEWS.Debian.
   ^^^
 
 as i mentioned, i didn't find anything about /etc/cron.daily/amavisd-new
 file in README.Debian:
 
 $ egrep -i cron /usr/share/doc/amavisd-new/README.Debian 
 includes cron jobs that take care of syncing and expiring the token database
Its NEWS.Debian, because its a change in packaging and therefore unimportant
for new installations.

Alex


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-24 Thread Juha Heinanen
Alexander Wirt writes:

 Its NEWS.Debian, because its a change in packaging and therefore unimportant
 for new installations.

same result:

$ sudo gunzip /usr/share/doc/amavisd-new/NEWS.Debian.gz
$ egrep -i cron /usr/share/doc/amavisd-new/NEWS.Debian
$ 

-- juha


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-24 Thread Alexander Wirt
On Fri, 24 May 2013, Juha Heinanen wrote:

 Alexander Wirt writes:
 
  Its NEWS.Debian, because its a change in packaging and therefore unimportant
  for new installations.
 
 same result:
 
 $ sudo gunzip /usr/share/doc/amavisd-new/NEWS.Debian.gz
 $ egrep -i cron /usr/share/doc/amavisd-new/NEWS.Debian
 $ 
argh, indeed I fucked up the filename of the NEWS file. 

Sorry, that was my fault. The NEWS entry should have been there (in fact it
is in the source package, just not in the binary).

Alex


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-23 Thread Juha Heinanen
i just ungraded from squeeze to wheezy and still got the email warning:

/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

i didn't find anything about cron in amavisd-new/NEWS.Debian.

amavisd-new package contains these two cron files:

$ more /etc/cron.d/amavisd-new
#
#  SpamAssassin maintenance for amavisd-new
#
# m h dom mon dow user  command
18 */3  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  /usr/sbin/amavi
sd-new-cronjob sa-sync
24 1  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  /usr/sbin/amavisd
-new-cronjob sa-clean

$ more /etc/cron.daily/amavisd-new
#!/bin/sh
#
#  Daily maintenance for amavisd-new
#  $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
# 
test -e /usr/sbin/amavisd-new-cronjob  exec /usr/sbin/amavisd-new-cronjob sa-c
lean
exit 0

should i really go and delete the latter?

in any case this is very confusing to a non-expert debian user.

-- juha


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2013-05-23 Thread Alexander Wirt
On Fri, 24 May 2013, Juha Heinanen wrote:

 i just ungraded from squeeze to wheezy and still got the email warning:
 
 /etc/cron.daily/amavisd-new:
 Please run this cronjob as user amavis
 run-parts: /etc/cron.daily/amavisd-new exited with return code 1
 
 i didn't find anything about cron in amavisd-new/NEWS.Debian.
 
 amavisd-new package contains these two cron files:
 
 $ more /etc/cron.d/amavisd-new
 #
 #  SpamAssassin maintenance for amavisd-new
 #
 # m h dom mon dow user  command
 18 */3* * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  
 /usr/sbin/amavi
 sd-new-cronjob sa-sync
 24 1  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  
 /usr/sbin/amavisd
 -new-cronjob sa-clean
 
 $ more /etc/cron.daily/amavisd-new
 #!/bin/sh
 #
 #  Daily maintenance for amavisd-new
 #  $Id: amavisd-new.cron.daily 930 2006-08-10 13:38:45Z hmh $
 # 
 test -e /usr/sbin/amavisd-new-cronjob  exec /usr/sbin/amavisd-new-cronjob 
 sa-c
 lean
 exit 0
 
 should i really go and delete the latter?
 
 in any case this is very confusing to a non-expert debian user.
Yes, thats written down in NEWS.Debian.

Alex


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-06-28 Thread Laurent Bigonville
Hi,

I can understand that you don't want to kick out of the system conffile
that the user has modified, but here it's the responsibility of the
package to remove that cron script.

Why not use dpkg-maintscript-helper? This is especially made for this.
Delete the conffile if it has not been modified, otherwise rename it
with a .dpkg-old suffix.

Cheers

Laurent Bigonville



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-05-04 Thread Werner Detter
Package: amavisd-new
Version: 1:2.7.0-2
Severity: normal

Dear Maintainer,

after the latest upgrade the cronjob /etc/cron.d/amavisd-new generates the 
following 
warning: 

/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

So something is weired - if I do execute the cronjobs directly as user amavis, 
there 
is no error or warning: 

amavis@mailgw:~$ test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
amavis@mailgw:~$ test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-clean
amavis@mailgw:~$

I only get a warning if this the cronjob is triggered via crond

Best,
Wayne

amavis@mailgw:~$ cat /etc/cron.d/amavisd-new
#
#  SpamAssassin maintenance for amavisd-new
#
# m h dom mon dow user  command
18 */3  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
24 1  * * *   amavis  test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-clean




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amavisd-new depends on:
ii  adduser 3.113+nmu1
ii  debconf [debconf-2.0]   1.5.42
ii  file5.11-1
ii  libarchive-zip-perl 1.30-6
ii  libberkeleydb-perl  0.49-1
ii  libcompress-raw-zlib-perl   2.048-1
ii  libconvert-tnef-perl0.17-11
ii  libconvert-uulib-perl   1:1.4~dfsg-1+b1
ii  libdigest-md5-perl  none
ii  libio-stringy-perl  2.110-5
ii  libmail-dkim-perl   0.39-1
ii  libmailtools-perl   2.08-1
ii  libmime-base64-perl none
ii  libmime-tools-perl  5.502-1
ii  libnet-server-perl  0.99-4
ii  libunix-syslog-perl 1.1-2+b2
ii  pax 1:20120216-2
ii  perl [libtime-hires-perl]   5.14.2-9
ii  perl-modules [libarchive-tar-perl]  5.14.2-9

Versions of packages amavisd-new recommends:
ii  altermime  none
ii  libnet-patricial-perl  none
ii  ripole 0.2.0+20081101.0215-1

Versions of packages amavisd-new suggests:
ii  apt-listchanges  2.85.9
ii  arj  3.10.22-10
ii  cabextract   1.4-2
ii  clamav   0.97.3+dfsg-2.1
ii  clamav-daemon0.97.3+dfsg-2.1
ii  cpio 2.11-7
ii  dspamnone
ii  lha  none
ii  libauthen-sasl-perl  none
ii  libdbi-perl  1.618-1
ii  libmail-dkim-perl0.39-1
ii  libnet-ldap-perl none
ii  libsnmp-perl none
ii  lzop 1.03-3
ii  nomarch  none
ii  p7zip9.20.1~dfsg.1-4
ii  rpm  none
ii  spamassassin 3.3.2-2
ii  unrarnone
ii  unrar-free   1:0.0.1+cvs20071127-1
ii  zoo  2.10-26

-- Configuration Files:
/etc/amavis/conf.d/50-user changed [not included]

-- debconf information:
  amavisd-new/outdated_config_style_warning:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-05-04 Thread Alexander Wirt
Werner Detter schrieb am Freitag, den 04. Mai 2012:

 Package: amavisd-new
 Version: 1:2.7.0-2
 Severity: normal
 
 Dear Maintainer,
 
 after the latest upgrade the cronjob /etc/cron.d/amavisd-new generates the 
 following 
 warning: 
 
 /etc/cron.daily/amavisd-new:
 Please run this cronjob as user amavis
 run-parts: /etc/cron.daily/amavisd-new exited with return code 1
 
 So something is weired - if I do execute the cronjobs directly as user 
 amavis, there 
 is no error or warning: 
 
 amavis@mailgw:~$ test -e /usr/sbin/amavisd-new-cronjob  
 /usr/sbin/amavisd-new-cronjob sa-sync
 amavis@mailgw:~$ test -e /usr/sbin/amavisd-new-cronjob  
 /usr/sbin/amavisd-new-cronjob sa-clean
 amavis@mailgw:~$
 
 I only get a warning if this the cronjob is triggered via crond
Are you sure there is no old /etc/cron.daily/amavisd-new left?

Alex
-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-05-04 Thread Alexander Wirt
Werner Detter schrieb am Freitag, den 04. Mai 2012:

 Hi Alex,
 
  Are you sure there is no old /etc/cron.daily/amavisd-new left?
 
 Just checked - /etc/cron.daily/amavisd-new still persists, I've deleted the 
 file manually
 now. Shoudn't the latest amavisd-new package/update taking care of removing 
 the file?
it is a configfile and I usually dislike kicking configfiles. But maybe I'll
add a debconf question. 

Alex

P.S. I mentioned it in the NEWS file :)
-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-05-04 Thread Werner Detter
Hi Alex,

 Are you sure there is no old /etc/cron.daily/amavisd-new left?

Just checked - /etc/cron.daily/amavisd-new still persists, I've deleted the 
file manually
now. Shoudn't the latest amavisd-new package/update taking care of removing the 
file?

thanks,
Werner



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671450: amavisd-new: /etc/cron.d/amavisd-new please run this cronjob as user amavis

2012-05-04 Thread Werner Detter
Hi Alex,

 Just checked - /etc/cron.daily/amavisd-new still persists, I've deleted the 
 file manually
 now. Shoudn't the latest amavisd-new package/update taking care of removing 
 the file?
 it is a configfile and I usually dislike kicking configfiles. But maybe I'll
 add a debconf question. 

Wouldn't be a bad idea IMHO :)

 P.S. I mentioned it in the NEWS file :)

Which I did not read after the upgrade, my bad.

Cheers,
Werner



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org