Commit Graph

186 Commits

Author SHA256 Message Date
2897da1e48 Accepting request 909203 from home:lnussel:usrmove
- implement mkdir_p for ghost files as components may not exist
- move usrmerge conversion to %pre instead of %pretrans (boo#1188847)
- get rid of usrmerged macro usage, usrmerge is on in Factory always

OBS-URL: https://build.opensuse.org/request/show/909203
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=210
2021-07-30 07:45:30 +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
7c98b207bb Accepting request 898021 from home:lnussel:usrmove
- Set package version number for Tumbleweed to TW

OBS-URL: https://build.opensuse.org/request/show/898021
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=206
2021-06-08 14:34:09 +00:00
Thorsten Kukuk
6495957ced Accepting request 896469 from home:susnux:branches:Base:System
match up all currently supported languages by man-db

OBS-URL: https://build.opensuse.org/request/show/896469
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=205
2021-06-04 07:26:38 +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
ac40f66aa3 Accepting request 870972 from home:1Antoine1:branches:Base:System
- Add Ukrainian to the list of localized man directories.

OBS-URL: https://build.opensuse.org/request/show/870972
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=195
2021-02-15 15:19:39 +00:00
4557c9e142 Accepting request 868378 from home:dimstar:Factory
- add /usr/etc/skel/.cache with perm 0700 (boo#1181011)
  rootless container environments (rh#1548403) (boo#1146705)

OBS-URL: https://build.opensuse.org/request/show/868378
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=193
2021-02-01 17:24:55 +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
d65cac60ae fix
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=191
2021-01-29 13:31:58 +00:00
d263274c55 - Fix mode of /proc and /sys, must be 0555 to match kernel
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=190
2021-01-29 13:30:22 +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
91b411966c Accepting request 705685 from home:kukuk:branches:Base:System
- Re-add /var/cache and /var/log (revert [bsc#1078466] because of
  [bsc#1078466])
- Fix permission of fs-var.conf

OBS-URL: https://build.opensuse.org/request/show/705685
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=170
2019-06-06 18:19:29 +00:00
347c51254e Accepting request 610105 from home:oertel:branches:Base:System
- pretrans lua script: try to move away /var/run and /var/lock
  unless they are already symlinks (bsc#1084119)

OBS-URL: https://build.opensuse.org/request/show/610105
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=168
2018-05-18 19:12:14 +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
4e1bbd5731 Accepting request 581958 from home:dimstar:Factory
Handle aaa_base moving the license from %doc to %license

OBS-URL: https://build.opensuse.org/request/show/581958
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=162
2018-03-05 07:40:00 +00:00
f51043c7a6 Accepting request 576489 from openSUSE:Factory:RISCV
- Use lib64 filelist on riscv64

OBS-URL: https://build.opensuse.org/request/show/576489
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=160
2018-02-15 11:51:23 +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
537756af03 Accepting request 544369 from home:kukuk:branches:Base:System
- Fix incomplete /usr/X11R6 drop from 2013

- Create fs-var.conf for systemd-tmpfiles, which contains all 
  directories and links below /var. This is needed for systems,
  which use transactional update, read-only root filesystem, or
  other things, where either /var is not available during upgrade
  or does not survive a reboot. So that systemd-tmpfiles could
  create them at next boot.
- Drop deprecated /usr/tmp compat link

OBS-URL: https://build.opensuse.org/request/show/544369
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=154
2017-11-28 07:14:44 +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