Public bug reported:

Description:    Ubuntu 14.04.1 LTS
Release:        14.04

dupload:
  Installed: 2.7.0ubuntu1

If sendmail not installed on machine, dupload should not trying to use
it to send mail.

But, dupload returns error:

 debrelease -c
 dupload warning: mail options disabled, can't run `/usr/sbin/sendmail': No 
such file or directory
 dupload note: no announcement will be sent.
 Checking signatures before upload......signatures are ok
 Uploading (scpb) to dist.local:/repo/branch/testing/mini-dinstall/incoming/
 [ job dupload-bug_9999-9-testing_amd64 from 
dupload-bug_9999-9-testing_amd64.changes
   announce (dupload-bug_9999-9-testing_amd64.changes) to  will be sent
  dupload-bug_9999-9-testing.tar.gz, size ok, md5sum ok, sha1sum ok, sha256sum 
ok
  dupload-bug_9999-9-testing_amd64.deb, size ok, md5sum ok, sha1sum ok, 
sha256sum ok
  dupload-bug_9999-9-testing.dsc, size ok, md5sum ok, sha1sum ok, sha256sum ok
  dupload-bug_9999-9-testing_amd64.changes ok ]
 Uploading (scp) to branch-testing (dist.local)
 [ Uploading job dupload-bug_9999-9-testing_amd64
  dupload-bug_9999-9-testing.tar.gz 1300.9 kB, ok
  dupload-bug_9999-9-testing_amd64.deb 67.7 kB, ok
  dupload-bug_9999-9-testing.dsc 1.3 kB, ok
  dupload-bug_9999-9-testing_amd64.changes 5.0 kB, ok
 Warning: Permanently added 'dist.local' to the list of known hosts.
 announcing to
 dupload fatal error: Can't pipe to /usr/sbin/sendmail No such file or directory
  at /usr/bin/dupload line 798

It seems error when "unless (-x $sendmail)", sets $nomail = 1, but after
it rewrites by "$nomail = $::opt_nomail || 0;"

See:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/dupload/trusty/view/head:/dupload#L91
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/dupload/trusty/view/head:/dupload#L123

** Affects: dupload (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  dupload trying to use sendmail if sendmail not exists

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dupload/+bug/1504088/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to