Public bug reported:

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)

** Affects: emacs
     Importance: Undecided
         Status: New

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


** Tags: 12.04 apport-bug armhf bash eshell precise sudo tramp

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

Title:
  in eshell, "sudo service" doesn't work

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to