Commit Graph

91 Commits

Author SHA256 Message Date
f2284bde47 Accepting request 1113407 from home:lnussel:branches:Base:System
- Add /run/lock (boo#1212926)
- Remove /var/spool/mail (boo#1179574)
- Remove obsolete home dir check. The filesystem package is not
  meant to contain home directories of random system users anymore
- Create ghost symlinks also in pretrans, needed to get /var/run as
  link right away

OBS-URL: https://build.opensuse.org/request/show/1113407
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=242
2023-10-04 13:26:16 +00:00
Thorsten Kukuk
dac55fa46f Accepting request 1064298 from home:kukuk:branches:Base:System
- Remove /etc/sysconfig/network hierachy again, YaST got fixed

OBS-URL: https://build.opensuse.org/request/show/1064298
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=238
2023-02-10 16:11:09 +00:00
cc81e040f4 Fixup revert - revert only the chunk that is blocked by thebug
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=235
2023-01-12 14:30:14 +00:00
8cc8949d85 - Revert removal of /etc/sysconfig/scripts for now (bsc#1206723)
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=234
2023-01-12 11:43:59 +00:00
Thorsten Kukuk
46d3fb4103 Accepting request 1042278 from home:kukuk:cleanup
- Remove unused /etc/sysconfig/scripts
- Remove /etc/sysconfig/network hierachy, not used by default anymore

OBS-URL: https://build.opensuse.org/request/show/1042278
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=230
2022-12-12 08:21:55 +00:00
Ruediger Oertel
8ef54da316 Accepting request 1037889 from home:dancermak:branches:Base:System
- Add %_user_tmpfilesdir to the filesystem

OBS-URL: https://build.opensuse.org/request/show/1037889
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=228
2022-11-24 12:54:33 +00:00
8856753ab2 Accepting request 1006688 from home:gmbr3:Active
- Update /usr/etc/skel per XDG Directory Specification:
  * Add .local/bin to eventually replace bin for user executable
    files
  * Use .local/share/fonts instead of .fonts for user specific fonts
  * Add missing dirs: .local/share .local/state

OBS-URL: https://build.opensuse.org/request/show/1006688
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=225
2022-10-04 07:54:00 +00:00
Thorsten Kukuk
a54f7da43e Accepting request 1001577 from home:dimstar:Factory
- Add /usr/lib/environment.d: new base directory for
  XDG_CONFIG_DIRS (boo#1201802).

OBS-URL: https://build.opensuse.org/request/show/1001577
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=223
2022-09-07 06:55:36 +00:00
219de12db9 Accepting request 982764 from home:gmbr3:Active
- Add Serbian (sr) man pages directory
- Add /usr/etc/logrotate.d

OBS-URL: https://build.opensuse.org/request/show/982764
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=217
2022-06-16 07:54:56 +00:00
Dr. Werner Fink
c1bab9bb4d Accepting request 898848 from home:lnussel:usrmove
- Mark /boot, /home, /mnt, /opt, /srv and /usr/local as
  %ghost and create from lua in case mounted eg from a read-only fs
  such as NFS. Except for the latter also mark them as 0555 while we
  are at it (boo#1186894)

OBS-URL: https://build.opensuse.org/request/show/898848
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=209
2021-07-09 11:44:38 +00:00
Thorsten Kukuk
59b78daf64 Accepting request 898635 from home:kukuk:branches:Base:System
- Add /etc/motd.d and /usr/lib/motd.d [bsc#1185897]

OBS-URL: https://build.opensuse.org/request/show/898635
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=207
2021-06-09 06:21:55 +00:00
294d523ca1 - temporarily revert icon and fillup dir to 0755 until fallout
is fixed (bsc#1184786)

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=203
2021-05-15 19:27:40 +00:00
Thorsten Kukuk
d5f71f21a5 Accepting request 893064 from home:kukuk:branches:Base:System
- Remove /usr/share/java, as it was moved to
  javapackages-filesystem long ago

- temporarily mark appdata and applications 0755 again until fallout
  is fixed (bsc#1184786)

OBS-URL: https://build.opensuse.org/request/show/893064
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=202
2021-05-14 09:08:25 +00:00
15dd292af6 Accepting request 892136 from home:dirkmueller:Factory
- temporarily mark appdata and applications 0755 again until fallout is fixed (bsc#1184786)

- make restricteddir and datadir readonly (bsc#1184786)

- also make includedir, mandir, licensedir readonly (bsc#1184786)

- also fix /var/lib/empty to be readonly (bsc#1184786)
  runpath-to-writeable-directory warning (bsc#1184786)

OBS-URL: https://build.opensuse.org/request/show/892136
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=201
2021-05-11 08:56:01 +00:00
3e071e4b2e Accepting request 881493 from home:dirkmueller:Factory
- also fix /var/lib/empty to be readonly 

- make bindir/ _lib and _libdir readonly (mode 0555) to avoid
  runpath-to-writeable-directory warning

OBS-URL: https://build.opensuse.org/request/show/881493
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=199
2021-04-08 06:37:17 +00:00
Thorsten Kukuk
142e9566f2 Accepting request 875067 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961):
  * Decide at build time whether file lists for usrmerge or legacy
    should be created.
  * convert file system in %pre if needed

OBS-URL: https://build.opensuse.org/request/show/875067
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=197
2021-02-25 13:57:20 +00:00
Ruediger Oertel
03ffcc0cee - add /usr/etc/skel/.cache with perm 0700 (bug#1181011)
rootless container environments (rh#1548403) (bug#1146705)

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=192
2021-02-01 13:27:56 +00:00
Thorsten Kukuk
d77a09e5b5 Accepting request 848889 from home:lnussel:branches:Base:System
- /proc and /sys should be %ghost to allow filesystem package updates in
  rootless container environments (rh#1548403)

OBS-URL: https://build.opensuse.org/request/show/848889
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=188
2020-11-20 12:30:44 +00:00
11aece205d Accepting request 842579 from home:gmbr3:UsrEtc
- Add /usr/etc/skel (boo#1173321)
- Move additional /etc/skel directories to /usr/etc/skel

OBS-URL: https://build.opensuse.org/request/show/842579
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=186
2020-10-20 10:13:45 +00:00
Thorsten Kukuk
20b0a40848 Accepting request 839614 from home:gmbr3:Active
- Add /usr/etc/X11 (boo#1173049)
- Add /usr/etc/xdg (boo#1173316)
- Add /usr/etc/profile.d (boo#1173310)

OBS-URL: https://build.opensuse.org/request/show/839614
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=184
2020-10-08 11:37:43 +00:00
Thorsten Kukuk
f448812d9f Accepting request 832120 from home:kukuk:etc
- Split /var/tmp out of fs-var.conf, new file is fs-var-tmp.conf.
  Allows to override config to add cleanup options of /var/tmp
  [bsc#1078466]
- Create fs-tmp.conf to cleanup /tmp regular (required with tmpfs)
  [bsc#1175519]
- Fix bug about missing group in tmpfiles.d files
- Generic cleanup:
  - Remove /usr/local/games
  - /etc/java was moved to javapackages-filesystem long ago
  - Remove unused languages: en@IPA, it_CH, ja_JP.EUC, ja_JP.SJIS,
    ja_JP.eucJP, nds_DE
  - Remove %ghost entries for /tmp, /tmp is now tmpfs and the files
    are handled by systemd since a long time

OBS-URL: https://build.opensuse.org/request/show/832120
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=182
2020-09-04 14:01:00 +00:00
Thorsten Kukuk
9a3ff1faa2 Accepting request 831547 from home:sbrabec:branches:util-linux-multibuild
- Add /usr/etc/default.

OBS-URL: https://build.opensuse.org/request/show/831547
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=181
2020-09-03 08:49:55 +00:00
Ruediger Oertel
95d030e97e Accepting request 825381 from home:kukuk:etc
- Ignore init.d/*.local ghost files from aaa_base and remove
  /etc/init.d (it's part of insserv-compat since a long time)
  [jsc#SMO-14]

OBS-URL: https://build.opensuse.org/request/show/825381
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=179
2020-08-10 12:58:08 +00:00
fe4a10fa29 Accepting request 824717 from home:kukuk:etc
- Remove SuSEfirewall2 directories, it's gone

OBS-URL: https://build.opensuse.org/request/show/824717
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=178
2020-08-07 07:36:50 +00:00
e14d055d5b Accepting request 823086 from home:kukuk:etc
- Remove /selinux (obsoleted by /sys/fs/selinux)

OBS-URL: https://build.opensuse.org/request/show/823086
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=176
2020-07-28 09:52:58 +00:00
cdb9549a91 Accepting request 727786 from home:Pharaoh_Atem:libexecdir
- Add /usr/libexec and /usr/local/libexec

OBS-URL: https://build.opensuse.org/request/show/727786
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=174
2019-09-13 14:01:39 +00:00
a5b41ab934 Accepting request 724754 from home:kukuk:cron
- Move /etc.cron.* directories to cron package
- Add /usr/etc

OBS-URL: https://build.opensuse.org/request/show/724754
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=172
2019-08-20 12:13:49 +00:00
5a816bf9c4 Accepting request 591723 from home:michals
- Add /etc/modprobe.d and /usr/lib/modprobe.d (bsc#1082050).

OBS-URL: https://build.opensuse.org/request/show/591723
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=166
2018-04-05 10:05:31 +00:00
14497be908 Accepting request 587958 from home:oertel:branches:Base:System
- drop /etc/xinetd.d (bsc#1084457)

OBS-URL: https://build.opensuse.org/request/show/587958
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=164
2018-03-19 16:06:11 +00:00
854fabe0c7 Accepting request 574353 from home:kukuk:branches:Base:System
- Exclude some directories from fs-var.conf which are already part 
  of systemd [bsc#1078466].
- Remove obsolete, outdated or duplicate directories:
  /lib/YaST, /lib/lsb, /srv/ftp, /usr/lib/lsb, /usr/share/nls and
  /usr/share/tmac.

OBS-URL: https://build.opensuse.org/request/show/574353
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=158
2018-02-09 08:20:54 +00:00
Ruediger Oertel
40eed9e2a5 Accepting request 573226 from home:kukuk:branches:Base:System
- Adjust aaa_base test for latest aaa_base changes

- Remove /var/adm/fillup-templates, already prohibited by rpmlint 

- Remove /var/adm/backup/{rpmdb,sysconfig}, they belong to
  aaa_base-extras only.

OBS-URL: https://build.opensuse.org/request/show/573226
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=156
2018-02-06 12:34:42 +00:00
Ruediger Oertel
6241a2e8a7 Accepting request 540173 from home:RBrownSUSE:branches:Base:System
New location for fillup-templates, as discussed on https://lists.opensuse.org/opensuse-packaging/2017-11/msg00017.html

OBS-URL: https://build.opensuse.org/request/show/540173
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=152
2017-11-17 10:55:36 +00:00
a497060367 Accepting request 538081 from home:dimstar:Factory
- Add /usr/share/metainfo: this is the new location defined by
  AppStream to replace /usr/share/appdata.

OBS-URL: https://build.opensuse.org/request/show/538081
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=150
2017-11-06 12:37:44 +00:00
130ecc8f34 Accepting request 502571 from home:kukuk:sysusers
- Remove /etc/ppp and subdirectories, the current, full list of
  directories is part of the sysconfig package

- Require user root and group root

OBS-URL: https://build.opensuse.org/request/show/502571
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=148
2017-06-10 15:04:51 +00:00
971ae824a7 Accepting request 501915 from home:kukuk:branches:Base:System
- Remove /etc/susehelp.d and subdirectories, susehelp is gone
- Remove /etc/tmpdirs.d, support was removed 2011 and migrated
  to tmpfiles.d
- Remove /var/adm/perl-modules (support was removed with 11.4)

- Get ride of the last non-root group. /run/lock is created by
  systemd, not filesystem, so remove it from here.

- Change ownership of /etc/ppp, group dialout has meanwhile another
  meaning and there are no setgid dialout binaries who could need
  that.

OBS-URL: https://build.opensuse.org/request/show/501915
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=147
2017-06-09 08:36:25 +00:00
8a4e16b12f Accepting request 488959 from home:kukuk:sysusers
- Remove home directories for wwwrun, lp, mail and nobody.
  They are now part of the corresponding system-user-* RPMs.

OBS-URL: https://build.opensuse.org/request/show/488959
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=145
2017-04-19 14:31:16 +00:00
0b2808ac03 Accepting request 483432 from home:kukuk:branches:Base:System
- Move /etc/init.d hiearchy to insserv-compat
- Move /etc/cups to cups-libs [bsc#1025689]

OBS-URL: https://build.opensuse.org/request/show/483432
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=143
2017-03-30 05:05:02 +00:00
68412da2ee Accepting request 477074 from home:kukuk:sysusers
- Remove /*/news, now part of system-user-news
- Remove /var/cache/man, now part of system-user-man
- Remove /var/games, now part of system-user-games
- Add /usr/lib/sysusers.d
- Remove uucp directories, moved to system-user-uucp

OBS-URL: https://build.opensuse.org/request/show/477074
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=141
2017-03-09 08:40:27 +00:00
78b9e6b01f Accepting request 456139 from home:kukuk:branches:Base:System
After four years, finally the last remaining four packages are
adjusted to install into /usr/bin, too.

- Remove /usr/games (finally everything is moved to /usr/bin)

OBS-URL: https://build.opensuse.org/request/show/456139
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=139
2017-02-13 12:40:47 +00:00
82f1176451 - change /etc/cups to mode 0755 by cherry-picking SLE change
- change /etc/cups to mode 0755 (bnc#871640) for new cups version

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=137
2016-12-05 13:35:33 +00:00
441b921861 - own /usr/share/licenses to support %license tags in rpm, see
http://rpm.org/wiki/Releases/4.11.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=133
2015-11-25 16:11:51 +00:00
53b1c82028 Accepting request 321036 from home:dimstar:Factory
- Add /usr/lib/udev/rules.d: packages installing rules don't really
  have to build depend on udev, it only increases their build time.

Fixes build issues like: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:A:DVD/i4l-base/standard/x86_64

OBS-URL: https://build.opensuse.org/request/show/321036
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=132
2015-08-10 12:57:15 +00:00
67765a139f Accepting request 314785 from home:jengelh:branches:Base:System
- Add some systemd directories so that uuidd does not have to own
  them and still succeeds building in a systemd-less root.

OBS-URL: https://build.opensuse.org/request/show/314785
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=131
2015-07-20 06:53:13 +00:00
7769e18e2e Accepting request 309143 from home:dimstar:Factory
Onw /usr/lib/tmpfiles.d

OBS-URL: https://build.opensuse.org/request/show/309143
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=130
2015-05-29 11:05:53 +00:00
8f631efd4e Accepting request 248572 from home:oertel:branches:Base:System
- add /usr/share/appdata (bnc#893441)

OBS-URL: https://build.opensuse.org/request/show/248572
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=129
2014-09-11 14:04:43 +00:00
4bacdde3ee Accepting request 247422 from home:oertel:branches:Base:System
- drop /media directory (bnc#890198)

OBS-URL: https://build.opensuse.org/request/show/247422
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=128
2014-09-04 07:57:45 +00:00
901bbeb97c - make /run/lock %ghost to fix build failure
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=127
2014-08-29 07:11:07 +00:00
Ruediger Oertel
f23065b2e0 - change /sys to mode 0555 (bnc#871640)
- make /var/lock a symlink to /run/lock (bnc#867873)

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=123
2014-04-11 12:13:18 +00:00
889539e943 Accepting request 224224 from home:oertel:branches:Base:System
- drop /var/lib/pam_devperm (bnc#866234) 

- replace /var/run by symlink to /run
- try to handle case where /var/run is a bind-mount
- extend lua script in preinstall to handle this transition
- bnc#865893

OBS-URL: https://build.opensuse.org/request/show/224224
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=120
2014-03-03 08:58:35 +00:00
Andreas Jaeger
2ab35c34d8 Accepting request 209914 from home:saschpe:branches:Base:System
- Drop /usr/X11R6, /usr/X11R6/bin, /usr/X11R6/lib, /var/X11R6

OBS-URL: https://build.opensuse.org/request/show/209914
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=116
2013-12-10 07:56:47 +00:00