in eshell (and TRAMP), "sudo service" doesn't work

Bug #1035790 reported by Ivan Zakharyaschev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Emacs
New
Undecided
Unassigned
emacs23 (Ubuntu)
New
Undecided
Unassigned

Bug Description

In eshell (M-x eshell), "sudo service" doesn't work. (It must be an implementation of sudo from TRAMP.)

~ $ sudo service nmbd status
/bin/sh: 0: Can't open /sudo:root@localhost:/usr/sbin/service
~ $ ls -l /usr/sbin/service
-rwxr-xr-x 1 root root 4768 июля 12 16:47 /usr/sbin/service
~ $ file /usr/sbin/service
/usr/sbin/service: POSIX shell script, ASCII text executable
~ $

Although sudo with other programs from /usr/sbin/ does work, e.g.:

~ $ sudo tcpdump -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 65535 bytes

....

24 packets captured
28 packets received by filter
0 packets dropped by kernel
~ $ which tcpdump
/usr/sbin/tcpdump
~ $

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: emacs 23.3+1-1ubuntu9
Uname: Linux 3.0.27-1-ac100 armv7l
ApportVersion: 2.0.1-0ubuntu11
Architecture: armhf
Date: Sun Aug 12 15:20:18 2012
PackageArchitecture: all
SourcePackage: emacs23
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ivan Zakharyaschev (imz) wrote :
tags: added: 12.04 bash eshell sudo tramp
Ivan Zakharyaschev (imz)
summary: - in eshell, "sudo service" doesn't work
+ in eshell (and TRAMP), "sudo service" doesn't work
Revision history for this message
Ivan Zakharyaschev (imz) wrote :
Revision history for this message
Ivan Zakharyaschev (imz) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.