Re: /etc/fstab.d yes or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Mon, 23 Jan 2012 14:37:22 +0100, Kay Sievers <kay.sievers@xxxxxxxx> wrote
>> What I want is packaging the system mounts.
>> Consider setting up multiple hosts which mount the same nfs filesystem
>> to the same mount point. It the mount point is in a rpm package, it
>> can be used both in kickstart file and from yum command line. In
>> addition yum update can be used when the name or ip of nfs server is
>> changed; Just create the new release of the rpm package which holds
>> new mount point deification. In stead of nfs, you can consider smb or
>> iso images as examples.
> That sounds very wrong to do. This is admin territory and not package
> management. 

I'm thiking about the admin manages packages which are installed to 
the host.

> There are tools sync and deploy /etc setting per-machine
> across big networks, and RPM is surely not the right thing to use
> here.

(RPM works fine daily "yum update" done by users on the world.)
Of course I'm thinking about the admin runs her/his own yum repository.

> RPM is for the operating system, not for host configuration. Most
> stuff in /etc is marked as config for that exact reason. First, static
> system-config does not belong in /etc, second non-admin editable files
> just do not belong in /etc. It's all wrong, just as the misguided
> entire fstab.d/ feature to start with.

It is not so simple.

$ rpm -qf /etc/yum.repos.d/fedora.repo 

Admin can edit fedora.repo, but generally it is assumed as static

$ rpm -q --queryformat "%{NAME}: %{FILEFLAGS:fflags}\n" -f /etc/udev/rules.d/*.rules
hal: c
libdrm: c
gpsd: cn

Some are marked as config as you said. The other are not. I think the packages
may think their rules files as static data.

Masatake YAMATO
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Site Home]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux