You are not logged in.

#1 2009-12-17 07:55:54

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

[Solved] group.pacnew and fstab.pacnew

The perennial newbie here...

I notice that a few groups I am using are no longer listed in the latest group.pacnew, i.e.

dbus:x:81:my_user_name
hal:x:82:my_user_name
avahi:x:84:
ntp:x:87:
mysql:x:89:

What is the correct procedure here? Can I just edit the group file, or should I use the groupdel command for each entry? And can I really safely remove all of these entries? I have read the Wiki file on Groups...

In my fstab I have these devices commented, thusly:

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

The fstab.pacnew lists them uncommented. Should I uncomment them?

Last edited by whaler (2009-12-20 11:34:11)

Offline

#2 2009-12-17 09:00:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] group.pacnew and fstab.pacnew

> are no longer listed in the latest group.pacnew
You can just edit the file as needed.

> The fstab.pacnew lists them uncommented. Should I uncomment them?
That's up to you. The new file provides sane defaults: many people want to access their CD/DVD or floppy that way.

http://wiki.archlinux.org/index.php/Pac … save_Files
Sometimes there are introduced some changes in the way the config files work, but often you can keep the old ones w/o making any changes. It's best to deal with .pacnew /.pacsave files on a case-by-case basis.

Please familiarize yourself with the wiki and welcome to Arch.

Offline

#3 2009-12-17 09:04:27

aheaume
Member
Registered: 2009-12-09
Posts: 10

Re: [Solved] group.pacnew and fstab.pacnew

The dbus, hal, etc. groups you have are here because you installed packages that require them to work, I wouldn't delete them.

You can also see this : http://bbs.archlinux.org/viewtopic.php?pid=673227 and this : http://bbs.archlinux.org/viewtopic.php?id=86914

Offline

#4 2009-12-17 10:42:37

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: [Solved] group.pacnew and fstab.pacnew

Thanks for the replies and links.

Well, if I should keep the dbus, hal etc. groups, I really don't see the reason for issuing a new group file, as those are the only differences I could find.

Last edited by whaler (2009-12-17 10:43:06)

Offline

#5 2009-12-17 14:24:41

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Solved] group.pacnew and fstab.pacnew

whaler wrote:

I notice that a few groups I am using are no longer listed in the latest group.pacnew, i.e.

Don't remove any grups or users from passwd or groups. The .pacnew is a default template, it is NOT customized for your system. Only add in new grups from the pacnew.

whaler wrote:

In my fstab I have these devices commented, thusly:

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

The fstab.pacnew lists them uncommented. Should I uncomment them?

You probably want to keep them commented. Uncommenting them can break automounting.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2009-12-18 20:56:39

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

Re: [Solved] group.pacnew and fstab.pacnew

whaler wrote:

Thanks for the replies and links.

Well, if I should keep the dbus, hal etc. groups, I really don't see the reason for issuing a new group file, as those are the only differences I could find.

I had some additional x:es in the pacnew file. Try

vimdiff /etc/group /etc/group.pacnew

if you know how to handle vim.

Offline

#7 2009-12-20 11:33:35

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 323

Re: [Solved] group.pacnew and fstab.pacnew

Thanks for the additional good advice! Much appreciated!!

I keep a special cheat sheet for Vim, so that I can exit from the thing when I'm forced to use it...

Season's Greetings to all fellow Archers!

Offline

#8 2009-12-20 12:54:39

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [Solved] group.pacnew and fstab.pacnew

whaler wrote:

Thanks for the additional good advice! Much appreciated!!

I keep a special cheat sheet for Vim, so that I can exit from the thing when I'm forced to use it...

Season's Greetings to all fellow Archers!

You are never forced to use it. You can set VISUAL and/or EDITOR to whatever you want.

But learning vim is never a bad idea smile


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB