[Bug 1799185] Re: spamd running with virtual-config-dir mkdir error

2019-11-07 Thread Andreas Hasenack
This is the debian bug report: https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=454595

** Bug watch added: Debian Bug tracker #454595
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454595

** Also affects: spamassassin (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454595
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1799185

Title:
  spamd running with virtual-config-dir mkdir error

To manage notifications about this bug go to:
https://bugs.launchpad.net/spamassassin/+bug/1799185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1799185] Re: spamd running with virtual-config-dir mkdir error

2019-05-07 Thread Andreas Hasenack
No activity upstream yet, in the bug or in the svn repo.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1799185

Title:
  spamd running with virtual-config-dir mkdir error

To manage notifications about this bug go to:
https://bugs.launchpad.net/spamassassin/+bug/1799185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1799185] Re: spamd running with virtual-config-dir mkdir error

2018-10-23 Thread Andreas Hasenack
Confirmed.

Steps to reproduce it, for others who, like me, are not familiar with
spamassassin:

Start the daemon as root, with the given options plus debug:
spamd -d --pidfile=/var/run/spamd.pid -c -x 
--virtual-config-dir=/var/lib/spamassassin/vconfig/%u/ --allow-tell -u 
debian-spamd -g debian-spamd --max-children=5 --min-children=3 --max-spare=3 -D

Get some spam message from your spam folder. The raw message (in gmail,
select "show original"). Copy it into a file, say spam.txt.

Run "tail -f /var/log/mail.log" in one terminal

Run spamc on that file as a regular user in another terminal:

spamc < spam.txt

Watch the log file and look for the error:
Oct 23 14:41:45 cosmic-spamassassin spamd[10067]: config: using 
"/var/lib/spamassassin/vconfig/ubuntu/" for user state dir
Oct 23 14:41:45 cosmic-spamassassin spamd[10067]: config: mkdir 
/var/lib/spamassassin/vconfig/ubuntu/ failed: Insecure dependency in mkdir 
while running with -T switch at /usr/share/perl/5.26/File/Path.pm line 1
77,  line 2.

Also note that /var/lib/spamassassin/vconfig/ubuntu isn't created.


Edit /usr/sbin/spamd and remove "-T" from the shebang. Repeat the above steps. 
No error, and the directory will be created this time.

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1799185

Title:
  spamd running with virtual-config-dir mkdir error

To manage notifications about this bug go to:
https://bugs.launchpad.net/spamassassin/+bug/1799185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1799185] Re: spamd running with virtual-config-dir mkdir error

2018-10-23 Thread Andreas Hasenack
This is confirmed for cosmic, btw, and the upcoming DD one too.

** Changed in: spamassassin (Ubuntu)
   Status: New => Triaged

** Changed in: spamassassin (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1799185

Title:
  spamd running with virtual-config-dir mkdir error

To manage notifications about this bug go to:
https://bugs.launchpad.net/spamassassin/+bug/1799185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1799185] Re: spamd running with virtual-config-dir mkdir error

2018-10-23 Thread Andreas Hasenack
** Bug watch added: bz.apache.org/SpamAssassin/ #7646
   https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646

** Also affects: spamassassin via
   https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7646
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1799185

Title:
  spamd running with virtual-config-dir mkdir error

To manage notifications about this bug go to:
https://bugs.launchpad.net/spamassassin/+bug/1799185/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs