[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-05-26 Thread abrahamcovelo
I have solved the problem in eeepc with Jaunty. And I think is the same
problem found with other PCs. Specific permissions per program in
/etc/apparmor.d/sbin.dhclient3 prevent dhcp3 to be execve'd. As a
workaround I move this file out and restarted apparmor (so far I have
info about the syntax of this configuration file to solve the issue
properly):

/etc/init.d/apparmor restart

The problem is fixed now

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-03-16 Thread Alejandro Bonilla
Im having this issue with Jaunty with the eeepc kernel. I opened bug
343898. Please fix! :)

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-03-11 Thread Matteo Settenvini
Seems to have been recently fixed in Jaunty PPC. Don't know exactly with
which package, but now it works.

** Changed in: dhcp3 (Ubuntu)
   Status: New = Fix Released

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-25 Thread Matteo Settenvini
Now version 3.1.1-5ubuntu6 is installed. Same problem.

mat...@dahlia:~$ ls -R /etc/apparmor.d
/etc/apparmor.d:
abstractionsgdm-guest-session  usr.sbin.cupsd
disable sbin.dhclient3 usr.sbin.mysqld
force-complain  tunables   usr.sbin.tcpdump

/etc/apparmor.d/abstractions:
aspell  freedesktop.org  nis  ssl_certs web-data
audio   gnomenvidia   ssl_keys  winbind
authentication  gnupgorbit2   svn-repositories  wutmp
basekde  perl user-download X
bashkerberosclient   php5 user-mail xad
consoleslikewise python   user-manpages
cups-client mdns ruby user-tmp
dbusmysqlsambauser-write
fonts   nameservice  smbpass  video

/etc/apparmor.d/disable:

/etc/apparmor.d/force-complain:

/etc/apparmor.d/tunables:
global  home  ntpd  proc


** Changed in: dhcp3 (Ubuntu)
   Status: Incomplete = New

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-24 Thread Jamie Strandboge
Can you list the contents of the /etc/apparmor.d directory?

** Changed in: dhcp3 (Ubuntu)
   Status: New = Incomplete

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-23 Thread Matteo Settenvini
My dmesg shows up the problem: dhclient-script profile doesn't allow for
accessing some files.

** Attachment added: dmesg.log
   http://launchpadlibrarian.net/23006347/dmesg.log

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-23 Thread Jamie Strandboge
I cannot reproduce this. /sbin/dhclient and /sbin/dhclient-script work
just fine under apparmor. What version of dhcp3-client do you have? Can
you post your /etc/apparmor.d/sbin.dhclient file as well as the output
of 'sudo aa-status'?

** Changed in: dhcp3 (Ubuntu)
 Assignee: (unassigned) = Jamie Strandboge (jdstrand)
   Status: New = Incomplete

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-23 Thread Matteo Settenvini
dpkg -l dhcp3-client
dhcp3-client   3.1.1-5ubuntu5 DHCP client

mat...@dahlia:~$ sudo aa-status
[sudo] password for matteo: 
apparmor module is loaded.
8 profiles are loaded.
8 profiles are in enforce mode.
   /usr/share/gdm/guest-session/Xsession
   /usr/sbin/tcpdump
   /usr/lib/cups/backend/cups-pdf
   /usr/sbin/mysqld
   /sbin/dhclient3
   /usr/sbin/cupsd
   /sbin/dhclient-script
   /usr/lib/NetworkManager/nm-dhcp-client.action
0 profiles are in complain mode.
2 processes have profiles defined.
2 processes are in enforce mode :
   /usr/sbin/cupsd (4598) 
   /usr/sbin/mysqld (4483) 
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

** Attachment added: sbin.dhclient3
   http://launchpadlibrarian.net/23019376/sbin.dhclient3

** Changed in: dhcp3 (Ubuntu)
   Status: Incomplete = New

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 332521] Re: [jaunty] no internet connection: dhclient-script cannot be execve'd

2009-02-23 Thread Matteo Settenvini
r...@dahlia:/home/matteo# strace dhclient-script
execve(/sbin/dhclient-script, [dhclient-script], [/* 25 vars */]) = -1 
EACCES (Permission denied)
dup(2)  = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf7ffb000
_llseek(3, 0, 0xff8af298, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, strace: exec: Permission denied\n..., 32strace: exec: Permission 
denied
) = 32
close(3)= 0
munmap(0xf7ffb000, 4096)= 0
exit_group(1)

-- 
[jaunty] no internet connection: dhclient-script cannot be execve'd
https://bugs.launchpad.net/bugs/332521
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs