Bug#884955: tuptime: Files to install

2017-12-24 Thread Ricardo Fraile
Hi Terry, Thank you for the detailed report, it helps me to figure it out where was the issue plus the help of the service "https://codesearch.debian.net";. As you correctly said, when the "su -" is executed, the scripts located in the directory /etc/profile.d/ are executed too because it creat

Bug#884955: tuptime: Files to install

2017-12-23 Thread Terry Roy
I had some comments from the other bug reports I file which led me to do some more testing. Here's what I found. I've had three packages with this issue - spamassassin, sa-compile and tuptime. The user for spamassassin and sa-compile is debian-spamd whose shell is set to /bin/sh. The user fo

Bug#884955: tuptime: Files to install

2017-12-23 Thread Terry Roy
Hi Ricardo, Thanks for your quick response. For clarification, lcx_all_users_aliases.sh, is a custom file we use and not associated with any package. The contents of the file are two aliases and one function: # Drupal root alias drush7='sudo -u drupal drush --root=/var/www/drupal/drupal7' al

Bug#884955: tuptime: Files to install

2017-12-23 Thread Ricardo Fraile
Hi Terry, I think that the problem is because the user tuptime have the shell "/bin/sh" and the script spect an execution from "/bin/bash". Using "su -" prevent any herietage from the execution user, in this case "root", and normally, this user have the bash shell assigned. I tried to find

Bug#884955: tuptime: Files to install

2017-12-21 Thread Terry Roy
Package: tuptime Version: 3.3.1 Severity: important Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? The install fails due to the inclusion of '-' in the postinst file. Specifically, line 30 reads "su - tuptime