Hi team, I have made the switch to use su instead of sudo [0]. Please upload gnuhealth 2.4.1-2 to unstable.
On 02/24/2014 01:57 PM, Andreas Tille wrote: >> I am also open to use su instead of sudo. That's even what I first >> did, but (for some reason I can't remember) didn't get the command to >> run succesfully using su, so I switched to sudo. > > Ahh, may be you might be able to roll back and we might have a look at > this problem? I was able to reproduce my issue with su: since the user being a system user, she didn't have a shell (default shell for new system users is /bin/false). Running the commands as su --shell /bin/sh -c <COMMAND> <USERNAME> works as expected. >> Regardless of what comes out of the investigation and on the mentors >> ML, I will try to make it work using su, and figure if I can reproduce >> my issue with it. > > :-) Done ;) >> I look at this as a good learning moment. > > As every day if you open your eyes in the morning :-) Yes, definitely a good learning opportunity. One argument that we hadn't discussed yet, was that I would have needed not just to Depend on sudo, but Pre-Depend on it (as it's needed in the preinst maintainer script [even if it's just at upgrade moment]). Thanks for helping me in my learning experience. +Emilien [0] http://anonscm.debian.org/viewvc/debian-med?view=revision&revision=16361
signature.asc
Description: OpenPGP digital signature