Commit Graph

146 Commits

Author SHA256 Message Date
Andreas Jaeger
9f63bc92ec Accepting request 1132072 from home:kukuk:branches:Base:System
- Create systemd-tmpfile for /run (/run/lock missing bug report)

OBS-URL: https://build.opensuse.org/request/show/1132072
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=244
2023-12-08 14:02:31 +00:00
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
76999e4f73 - remove complex dependency on rpmlib(X-CheckUnifiedSystemdir),
there is nothing that ever provided it and it triggers
  a libsolv bug (in progress of being fixed)
- Added zh_Hans (simplified Chinese) and zh_Hant (traditional
  is fixed (bsc#1184786)
  unless they are already symlinks (bsc#1084119)
- drop /etc/xinetd.d (bsc#1084457)
- Exclude some directories from fs-var.conf which are already part
- Remove /var/adm/fillup-templates, already prohibited by rpmlint
  aaa_base-extras only.
- Create fs-var.conf for systemd-tmpfiles, which contains all
- add /usr/share/appdata (bnc#893441)
  actually replace directories with symlinks there (bnc#874748)
- add vscan user to ignore home list
- change /etc/cups to mode 0755 (bnc#871640) for new cups version
- change /sys to mode 0555 (bnc#871640)
- make /var/lock a symlink to /run/lock (bnc#867873)
- use lazy umount
  bnc#866964
- change pre to pretrans for directory/symlink conversion
- drop /var/lib/pam_devperm (bnc#866234)
- bnc#865893
- bump version to 13.2
- Drop /lib/systemd and /lib/systemd/system, everything is now in
- add /run directory (mode 0755,root,root)
- bump version to 11.5
- fix build whitelisting /lib/udev/devices
  they were done manually as ghosts in the specfile before
- minor change for sparc in specfile (bnc#558343)
- added en@shaw (bnc#559206)

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=240
2023-09-12 12:20:31 +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
4bb2fcde88 - Fixup previous change: X86_64 is not yet known to RPM, thus we
need to make sure to explicitly include x86_64.

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=232
2022-12-14 09:12:39 +00:00
54de76affc Accepting request 1042486 from home:dirkmueller:Factory
- add subdirectories for x86_64 hwcaps

OBS-URL: https://build.opensuse.org/request/show/1042486
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=231
2022-12-13 11:51:31 +00:00
63d9fda326 Accepting request 959370 from home:kukuk:tiu
- Create tmpfiles.d which creates /usr/local on the fly

OBS-URL: https://build.opensuse.org/request/show/959370
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=215
2022-03-07 09:11:51 +00:00
ea9b4c2ca9 Accepting request 918730 from home:lnussel:usrmove
- don't perform UsrMerge if ZYPP_SINGLE_RPMTRANS is set. Rely on
  file trigger compat mode in that case and do it posttrans
  (boo#1189788).
- generic %ghost handling instead of hardcoding

OBS-URL: https://build.opensuse.org/request/show/918730
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=214
2021-10-04 12:43:27 +00:00
1868e87b52 osc copypac from project:Base:System package:filesystem revision:211
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=213
2021-08-26 09:10:49 +00:00
0aa47add43 Accepting request 913756 from home:lnussel:usrmove
- use %ghost for /bin, /sbin, /lib and /lib64 to avoid file conflict
  with pre-usrmerge filesystem package (boo#1188847).

OBS-URL: https://build.opensuse.org/request/show/913756
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=212
2021-08-26 08:56:58 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Stephan Kulow
b5b1a06f8c Accepting request 231185 from home:oertel:branches:Base:System
- make /var/run and /var/lock just ghost entries and create them
  if they do not exist at all and rely on dracut hooks to
  actually replace directories with symlinks there (bnc#874748) 

- add vscan user to ignore home list

OBS-URL: https://build.opensuse.org/request/show/231185
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=125
2014-04-25 05:13:13 +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
286df5c888 Accepting request 224999 from home:oertel:branches:Base:System
- use lazy umount 

- use os.execute("umount ...") instead of posix.umount("...")
  bnc#866964

OBS-URL: https://build.opensuse.org/request/show/224999
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=122
2014-03-10 16:59:35 +00:00
2ca7667fab Accepting request 224408 from home:oertel:branches:Base:System
- change pre to pretrans for directory/symlink conversion

OBS-URL: https://build.opensuse.org/request/show/224408
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=121
2014-03-03 12:30:22 +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
91290fbc05 - bump version to 13.2
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=118
2014-01-06 13:00:08 +00:00
4d9b877ec0 Accepting request 209378 from openSUSE:Factory:PowerLE
add ppc64le definition

OBS-URL: https://build.opensuse.org/request/show/209378
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=114
2013-12-04 16:18:40 +00:00
d243c23861 - do not put dir modifiers on symlinks
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=110
2013-07-16 11:51:58 +00:00
da4d69a887 - change license to MIT as GPL doesn't make sense for a package that
only contains directories. Also include a LICENSE.txt with the
  sources (bnc#822602).

OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=108
2013-07-04 09:08:01 +00:00
c624d05ea5 - bump version to 13.1
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=107
2013-06-28 07:39:29 +00:00
Stephan Kulow
b02e506c42 - move sysctl directories here
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=101
2013-06-17 12:27:16 +00:00
55df61224a Accepting request 150582 from devel:ARM:AArch64:Factory
Add directory.list64 for aarch64

OBS-URL: https://build.opensuse.org/request/show/150582
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=100
2013-01-31 18:59:21 +00:00
Stephan Kulow
b7c2eb2c4b Accepting request 140356 from home:fcrozat:branches:Base:System
- Revert /var/run and /var/lock being symlinks for now.

OBS-URL: https://build.opensuse.org/request/show/140356
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=99
2012-11-06 15:34:44 +00:00
Stephan Kulow
962ba794d7 readd them here
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=95
2012-10-17 12:03:42 +00:00
OBS User buildservice-autocommit
d051b5120f Updating link to change in openSUSE:Factory/filesystem revision 104.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=dfae5d97e241f538f79a3105b32029f6
2012-10-17 08:45:58 +00:00
297b649004 Accepting request 138171 from home:a_jaeger:FactoryFix
Follow aaa_base change: Remove /usr/lib/tmpfiles.d again.

OBS-URL: https://build.opensuse.org/request/show/138171
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=94
2012-10-15 13:16:06 +00:00
Stephan Kulow
af860344ab fix spec file
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=91
2012-10-06 13:14:58 +00:00
Cristian Rodríguez
f852003cf0 Accepting request 135978 from home:a_jaeger:FactoryFix
remove /sbin/conf.d/ as SuSEconfig directory

OBS-URL: https://build.opensuse.org/request/show/135978
OBS-URL: https://build.opensuse.org/package/show/Base:System/filesystem?expand=0&rev=90
2012-09-26 04:56:17 +00:00