WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: missing debian standard groups  (Read 4940 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
missing debian standard groups
« on: November 01, 2013, 02:13:50 AM »
hi friends,

my dCore-environment reports after loading udevadm some error messages from udevd that some "specifed groups" are unknown.

I tried to correct this in /opt/bootlocal.sh with the common debian-group-ids

sudo groupadd --gid 5 tty
sudo groupadd --gid 6 disk
sudo groupadd --gid 15 kmem
sudo groupadd --gid 20 dialout
sudo groupadd --gid 24 cdrom
sudo groupadd --gid 25 floppy
sudo groupadd --gid 26 tape
sudo groupadd --gid 24 cdrom
sudo groupadd --gid 29 audio
sudo groupadd --gid 44 video
sudo usermod -G staff,dialout tc

probably that should be solved at other places.

i tried to sync my palm with jpilot and the most common mistake is that the user is not in the dialout group.
although i successfully added the user tc to the group dialout the communication works only as root :(
i guess it has something to do with the group-initialisation, perhaps with udevd.

but udev cannot be restarted:

sudo /etc/init.d/udev restart
/etc/init.d/udev: line 119: grep: not found
udev requires tmpfs support, not started ... failed!

although my fstab offers tmpfs
# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devpts          /dev/pts     devpts  defaults          0       0
tmpfs           /dev/shm     tmpfs   defaults          0       0
/dev/zram0  swap         swap    defaults,noauto   0       0
...

do you have any hints or ideas?
thank you for all responses.
« Last Edit: November 01, 2013, 02:20:00 AM by netnomad »

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: missing debian standard groups
« Reply #1 on: November 01, 2013, 06:13:25 AM »
I can restart udev with no issues when my desktop is loaded.  But I too see those missing groups, they vary as different packages are installed since the package postinst scripts add the users.  I will look and try to see which scripts are needing to add users/groups. 

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: missing debian standard groups
« Reply #2 on: November 01, 2013, 07:15:56 AM »
Quote
sudo /etc/init.d/udev restart
/etc/init.d/udev: line 119: grep: not found
udev requires tmpfs support, not started ... failed!

hi jason w,

is there a problem with my grep-command?
there is grep on my system, but probably the init.d-script cannot find it!?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: missing debian standard groups
« Reply #3 on: November 01, 2013, 07:32:06 AM »
Oh, I overlooked that, it needs the grep package installed since busybox grep does not work with some of these scripts.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: missing debian standard groups
« Reply #4 on: November 01, 2013, 08:24:34 AM »
hi jason w,

you are right, after installing grep from debian the restart of udev works flawless.

Are there other essential packages that you recommend?

thank you for your support and commitment.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: missing debian standard groups
« Reply #5 on: November 01, 2013, 09:34:09 AM »
I can't think of any, and I added grep to udev's list of depends.  Thanks for pointing this out.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: missing debian standard groups
« Reply #6 on: November 01, 2013, 12:26:02 PM »
hi jason w,

thank you for your fast feedback.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: missing debian standard groups
« Reply #7 on: November 04, 2013, 08:08:17 AM »
Updated base with standard Debian groups. Look for such in next cut.
10+ Years Contributing to Linux Open Source Projects.