Remastersys and AVLinux Forum
May 19, 2013, 05:32:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: AV Linux depends on user donations to survive.
Please help us keep the AV Linux project alive.
http://www.bandshed.net/AVLinux.html
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: NetworkManager missing permissions on live and reinstall (sid, kde)  (Read 558 times)
0 Members and 1 Guest are viewing this topic.
nyx
Newbie
*
Offline Offline

Posts: 2


« on: March 03, 2012, 07:20:56 AM »

I wanted to make a live and preconfigured installation disk of debian unstable, so i grabed a copy of aptosid, added non-free firmwares, installed some custom debs.. and swiched from ceni to NetworkManager (KDE4.6)
On the real system everything runs perfectly fine.

Then i fired up the lastest debian version remastersys, left all settings on default, used the backup option.
On the live cd (usb drive actually -and also installations made from it) I cant choose wifi-networks anymore when on the user account. the network manager returns "insufficient privileges" whenever i want to configure it. it does automatically connect to networks i set up before remastering however. and the user i logged in is in the netdev group..
when I login as root, it works.. but not on the admin/sudoers/netdev account..

Any ideas for a workaround? i think maybe i need to edit polkit-1, but i have no idea what to put in there.
any suggestions very much appreciated.

Code:
Source directory entry dev already used! - trying dev_1
Source directory entry etc already used! - trying etc_1
Source directory entry media already used! - trying media_1
Source directory entry mnt already used! - trying mnt_1
Source directory entry proc already used! - trying proc_1
Source directory entry sys already used! - trying sys_1
Source directory entry tmp already used! - trying tmp_1
Source directory entry var already used! - trying var_1
------------------------------------------------------
Mount information
udev on /dev type devtmpfs (rw,relatime,size=1024752k,nr_inodes=217831,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=206524k,mode=755)
/dev/disk/by-uuid/e8d2ccbc-60b6-4d8d-b70f-d0f2ccf414a4 on / type ext2 (rw,relatime,errors=remount-ro,user_xattr,acl)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=413048k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=413048k)
/dev/sdb1 on /home type ext2 (rw,relatime,errors=remount-ro,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
------------------------------------------------------
df information
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  7.4G  3.7G  3.4G  53% /
udev                                                   1001M     0 1001M   0% /dev
tmpfs                                                   202M  596K  202M   1% /run
/dev/disk/by-uuid/e8d2ccbc-60b6-4d8d-b70f-d0f2ccf414a4  7.4G  3.7G  3.4G  53% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   404M   16K  404M   1% /tmp
tmpfs                                                   404M     0  404M   0% /run/shm
/dev/sdb1                                               7.4G  2.5G  4.5G  36% /home
------------------------------------------------------
/etc/remastersys.conf info
#Remastersys Global Configuration File


# This is the temporary working directory and won't be included on the cd/dvd
WORKDIR="/home/remastersys"


# Here you can add any other files or directories to be excluded from the live filesystem
# Separate each entry with a space
EXCLUDES=""


# Here you can change the livecd/dvd username
LIVEUSER="nyx"


# Here you can change the name of the livecd/dvd label
LIVECDLABEL="nyx"


# Here you can change the name of the ISO file that is created
CUSTOMISO="00.iso"

------------------------------------------------------
/etc/live/config.conf info
export LIVE_USERNAME="nyx"
export LIVE_USER_FULLNAME="Live session user"
export LIVE_HOSTNAME="nyx"
export LIVE_NOCONFIGS="002-user-setup,003-sudo,004-locales,005-tzdata,006-gdm,007-gdm3,008-kdm,009-lxdm,010-nodm,011-slim,015-keyboard-configuration,102-gnome-panel-data,103-gnome-power-manager,104-gnome-screensaver,107-kde-services,116-login"
------------------------------------------------------
/etc/passwd info
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
messagebus:x:101:109::/var/run/dbus:/bin/false
usbmux:x:102:46:usbmux daemon:/home/usbmux:/bin/false
sshd:x:103:65534::/var/run/sshd:/usr/sbin/nologin
saned:x:104:114::/home/saned:/bin/false
kdm:x:105:65534::/home/kdm:/bin/false
hplip:x:106:7:HPLIP system user:/var/run/hplip:/bin/false
nyx:x:1000:1000:vee:/home/vee:/bin/bash
avahi:x:107:117:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
avahi-autoipd:x:108:118:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
dnsmasq:x:109:65534:dnsmasq,,,:/var/lib/misc:/bin/false
------------------------------------------------------
/etc/group info
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:nyx
fax:x:21:
voice:x:22:
cdrom:x:24:nyx
floppy:x:25:nyx
tape:x:26:
sudo:*:27:nyx
audio:x:29:nyx
dip:x:30:nyx
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:nyx
sasl:x:45:
plugdev:x:46:nyx
staff:x:50:
games:x:60:
users:x:100:nyx
nogroup:x:65534:
libuuid:x:101:
fuse:x:102:nyx
crontab:x:103:
scanner:x:104:saned,nyx
kvm:x:105:nyx
mlocate:x:106:
ssh:x:107:
utempter:x:108:
messagebus:x:109:
bluetooth:x:110:
netdev:x:111:nyx
lpadmin:x:112:
ssl-cert:x:113:
saned:x:114:
vboxsf:x:115:
vee:x:1000:
vboxusers:x:116:
avahi:x:117:
avahi-autoipd:x:118:
------------------------------------------------------
Command-line options = backup
------------------------------------------------------

ps: i've done research on networkmanager and polkit-1 , but nothing that helped..
pps: i tried it with ceni, which promts for root password and therefore can connect to networks fine, but is 1: does not set the dns in resolv.conf and unless i edit it every time by hand i cant get any dns resolved and only get to connect to IPs directly and 2: does occasionally causes the pc to freeze caused by a python script it uses to take all system resources (i.e. cpu time). so i'd rather not use ceni.
« Last Edit: March 03, 2012, 09:00:29 AM by nyx » Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #1 on: March 03, 2012, 11:18:45 AM »

I only support the stable versions but you can check around the forum for a newer package for debian and see if it works better.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
nyx
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: March 03, 2012, 12:07:17 PM »

ok, thanks.
maybe that helps, someone later:
ck-list-sessions shows me on a REMOTE session
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #3 on: March 03, 2012, 12:32:14 PM »

Most polkit auths have no permissions for remote users.  This is why I wait until they release stable before I make changes to remastersys for it.  So much changes along the way and things get very broken until they stabilize.

They appear to be making changes to the live system as well.  I can't imagine this is the way it will stay.  This sounds like an oversight on their part since remote sessions are never trusted on a normal system.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #4 on: March 03, 2012, 12:35:13 PM »

Network Manager polkit settings are in /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy

Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!