826 lines
27 KiB
RPMSpec
826 lines
27 KiB
RPMSpec
%define udev_kernel_includes 2.6.6
|
|
|
|
%define debug false
|
|
|
|
Summary: A userspace implementation of devfs
|
|
Name: udev
|
|
Version: 077
|
|
Release: 2
|
|
License: GPL
|
|
Group: System Environment/Base
|
|
Provides: udev-persistent = 0:%{version}-%{release}
|
|
Obsoletes: udev-persistent < 0:030-5
|
|
Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
|
|
Source1: udev.rules
|
|
Source3: udev.conf
|
|
Source4: pam_console.dev
|
|
Source5: MAKEDEV.dev
|
|
|
|
Source10: hotplug.rules
|
|
|
|
Source17: check-cdrom.sh
|
|
Source18: ide-media.sh
|
|
Source19: dvb.sh
|
|
|
|
Source20: start_udev
|
|
Source21: udev.html
|
|
Source22: udev.nodes
|
|
|
|
Source23: udevpermconv.sh
|
|
|
|
Source24: path_id
|
|
|
|
Source30: firmware_helper.c
|
|
|
|
Patch2: udevstart2.patch
|
|
|
|
Patch3: udev-075-selinux.patch
|
|
|
|
ExclusiveOS: Linux
|
|
URL: http://kernel.org/pub/linux/utils/kernel/hotplug/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Prereq: /bin/sh fileutils hotplug
|
|
Prereq: MAKEDEV >= 0:3.11
|
|
BuildRequires: sed libselinux-devel >= 0:1.17.9-2 flex libsepol-devel
|
|
Requires: libselinux >= 0:1.17.9-2 MAKEDEV
|
|
Conflicts: kernel < 0:2.6 mkinitrd <= 0:4.1.11-1 initscripts < 7.84
|
|
Obsoletes: dev
|
|
Provides: dev = 0:3.12-1
|
|
|
|
BuildRequires: pam-devel glib2-devel bison
|
|
Requires: pam
|
|
|
|
%description
|
|
The udev package contains an implementation of devfs in
|
|
userspace using sysfs and netlink.
|
|
|
|
Requires: sed
|
|
|
|
%define add %{nil}
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch2 -p1 -b .udevstart2
|
|
%patch3 -p1 -b .selinux
|
|
|
|
cp %{SOURCE21} .
|
|
|
|
%build
|
|
|
|
# Do not USE_LOG in udev.static, cause it causes segfaults on openlog (bug 136005)
|
|
make \
|
|
USE_KLIBC=false \
|
|
USE_SELINUX=true \
|
|
USE_STATIC=true \
|
|
STRIP="/bin/true" \
|
|
udevdir="/dev" \
|
|
USE_LOG=false DEBUG=%{debug} \
|
|
EXTRAS=" \
|
|
extras/scsi_id \
|
|
extras/ata_id \
|
|
extras/usb_id \
|
|
extras/edd_id \
|
|
extras/volume_id \
|
|
%ifarch s390 s390x
|
|
extras/dasd_id \
|
|
%endif
|
|
" all
|
|
|
|
mv udev udev.static
|
|
mv udevd udevd.static
|
|
mv extras/scsi_id/scsi_id extras/scsi_id/scsi_id.static
|
|
mv extras/ata_id/ata_id extras/ata_id/ata_id.static
|
|
mv extras/edd_id/edd_id extras/edd_id/edd_id.static
|
|
%ifarch s390 s390x
|
|
mv extras/dasd_id/dasd_id extras/dasd_id/dasd_id.static
|
|
%endif
|
|
mv extras/usb_id/usb_id extras/usb_id/usb_id.static
|
|
mv extras/volume_id/vol_id extras/volume_id/vol_id.static
|
|
make clean
|
|
|
|
make CC="gcc $RPM_OPT_FLAGS -fpie -pie" LDFLAGS="-pie" \
|
|
USE_KLIBC=false \
|
|
USE_SELINUX=true \
|
|
udevdir="/dev" \
|
|
USE_LOG=true \
|
|
DEBUG=%{debug} \
|
|
STRIP="/bin/true" \
|
|
EXTRAS=" \
|
|
extras/scsi_id \
|
|
extras/ata_id \
|
|
extras/usb_id \
|
|
extras/edd_id \
|
|
extras/volume_id \
|
|
%ifarch s390 s390x
|
|
extras/dasd_id \
|
|
%endif
|
|
extras/run_directory \
|
|
"
|
|
#extras/volume_id
|
|
|
|
%{__cc} %{optflags} -o firmware_helper %{SOURCE30}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
mv extras/scsi_id/scsi_id.static extras/scsi_id/scsi_id
|
|
mv extras/ata_id/ata_id.static extras/ata_id/ata_id
|
|
mv extras/edd_id/edd_id.static extras/edd_id/edd_id
|
|
%ifarch s390 s390x
|
|
mv extras/dasd_id/dasd_id.static extras/dasd_id/dasd_id
|
|
%endif
|
|
mv extras/usb_id/usb_id.static extras/usb_id/usb_id
|
|
mv extras/volume_id/vol_id.static extras/volume_id/vol_id
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install \
|
|
EXTRAS=" \
|
|
extras/scsi_id \
|
|
extras/ata_id \
|
|
extras/usb_id \
|
|
extras/edd_id \
|
|
extras/volume_id \
|
|
%ifarch s390 s390x
|
|
extras/dasd_id \
|
|
%endif
|
|
extras/run_directory \
|
|
"
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.rules
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init.d/udev
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/{rules.d,makedev.d,scripts,devices}
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/{default,block}
|
|
|
|
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/50-udev.rules
|
|
# Backwards compat
|
|
install -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/51-hotplug.rules
|
|
|
|
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.conf
|
|
|
|
install -m 0755 udev.static $RPM_BUILD_ROOT/sbin/udev.static
|
|
install -m 0755 udevd.static $RPM_BUILD_ROOT/sbin/udevd.static
|
|
#install -m 0755 extras/scsi_id/scsi_id.static $RPM_BUILD_ROOT/sbin/scsi_id.static
|
|
#install -m 0755 extras/ata_id/ata_id.static $RPM_BUILD_ROOT/sbin/ata_id.static
|
|
#install -m 0755 extras/edd_id/edd_id.static $RPM_BUILD_ROOT/sbin/edd_id.static
|
|
#install -m 0755 extras/dasd_id/dasd_id.static $RPM_BUILD_ROOT/sbin/dasd_id.static
|
|
|
|
|
|
ln -s ../../udev/scripts/pam_console.dev $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/default/05-pam_console.dev
|
|
|
|
|
|
%define udev_scriptdir /lib/udev
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{udev_scriptdir}/{,devices}
|
|
install -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
install -m 0755 %{SOURCE17} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
install -m 0755 %{SOURCE18} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
install -m 0755 %{SOURCE19} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
install -m 0755 %{SOURCE23} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{udev_scriptdir}
|
|
|
|
install -m 0755 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/udev/makedev.d/50-udev.nodes
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/udev
|
|
install -m 0644 %{SOURCE20} $RPM_BUILD_ROOT/sbin/start_udev
|
|
install -m 0644 %{SOURCE24} $RPM_BUILD_ROOT/sbin/path_id
|
|
|
|
# floppy madness
|
|
for i in 0 1 2 3;do
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/fd$i
|
|
ln -s %{udev_scriptdir}/MAKEDEV.dev $RPM_BUILD_ROOT%{_sysconfdir}/dev.d/fd$i/10-MAKEDEV.dev
|
|
done
|
|
|
|
install -m 0755 firmware_helper $RPM_BUILD_ROOT/sbin
|
|
|
|
mkdir -p -m 0755 $RPM_BUILD_ROOT/lib/firmware
|
|
|
|
%preun
|
|
if [ $1 = 0 -a -f %{_initrddir}/udev ]; then
|
|
/sbin/chkconfig --del udev
|
|
fi
|
|
exit 0
|
|
|
|
%post
|
|
if [ "$1" -ge "1" -a -x /sbin/pidof ]; then
|
|
pid=`/sbin/pidof -x udevd`
|
|
[ -n "$pid" ] && kill $pid
|
|
fi
|
|
exit 0
|
|
|
|
%triggerpostun -- dev <= 0:3.12-1
|
|
if [ $2 = 0 ]; then
|
|
if [ -x /sbin/MAKEDEV ]; then
|
|
/sbin/MAKEDEV null
|
|
else
|
|
/bin/mknod /dev/null c 1 3
|
|
fi
|
|
/sbin/start_udev >/dev/null 2>&1
|
|
if [ -e /dev/mapper/control -a -x /sbin/lvm ]; then
|
|
/sbin/lvm vgmknodes >/dev/null 2>&1
|
|
fi
|
|
fi
|
|
exit 0
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README TODO ChangeLog RELEASE-NOTES docs/* udev.html
|
|
%doc etc/udev/redhat/udev.rules
|
|
%attr(0755,root,root) /sbin/udev
|
|
%attr(0755,root,root) /sbin/udev.static
|
|
%attr(0755,root,root) /sbin/udevd.static
|
|
%attr(0755,root,root) /sbin/udevcontrol
|
|
%attr(0755,root,root) /sbin/udevsend
|
|
%attr(0755,root,root) /sbin/udevd
|
|
%attr(0755,root,root) /sbin/udevstart
|
|
%attr(0755,root,root) /sbin/start_udev
|
|
#%attr(755,root,root) /sbin/udev_volume_id
|
|
%attr(0755,root,root) %{udev_scriptdir}/udev_run_devd
|
|
%attr(0755,root,root) %{udev_scriptdir}/udev_run_hotplugd
|
|
%attr(755,root,root) /sbin/scsi_id
|
|
%attr(755,root,root) /sbin/ata_id
|
|
%attr(755,root,root) /sbin/edd_id
|
|
%attr(755,root,root) /sbin/usb_id
|
|
%attr(755,root,root) /sbin/vol_id
|
|
%attr(755,root,root) /sbin/path_id
|
|
%ifarch s390 s390x
|
|
%attr(755,root,root) /sbin/dasd_id
|
|
%attr(0644,root,root) %{_mandir}/man8/dasd_id*.8*
|
|
%endif
|
|
%attr(755,root,root) /sbin/firmware_helper
|
|
|
|
%attr(0755,root,root) %{_bindir}/udevtest
|
|
%attr(0755,root,root) %{_bindir}/udevinfo
|
|
|
|
%attr(0755,root,root) %{_sbindir}/udevmonitor
|
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/rules.d/
|
|
%attr(0755,root,root) %dir %{udev_scriptdir}/
|
|
%attr(0755,root,root) %dir %{udev_scriptdir}/devices/
|
|
%ghost %dir %{_sysconfdir}/udev/scripts/
|
|
%ghost %dir %{_sysconfdir}/udev/devices/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/udev/makedev.d/
|
|
%attr(0755,root,root) %{udev_scriptdir}/pam_console.dev
|
|
%config(missingok) %{_sysconfdir}/dev.d/default/05-pam_console.dev
|
|
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/default
|
|
|
|
# floppy madness
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd0
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd1
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd2
|
|
%attr(0755,root,root) %dir %{_sysconfdir}/dev.d/fd3
|
|
%config(missingok) %{_sysconfdir}/dev.d/fd?/*
|
|
%attr(0755,root,root) %{udev_scriptdir}/MAKEDEV.dev
|
|
%attr(0755,root,root) %{udev_scriptdir}/check-cdrom.sh
|
|
%attr(0755,root,root) %{udev_scriptdir}/ide-media.sh
|
|
%attr(0755,root,root) %{udev_scriptdir}/dvb.sh
|
|
%attr(0755,root,root) %{udev_scriptdir}/udevpermconv.sh
|
|
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/udev.conf
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/rules.d/50-udev.rules
|
|
%config %attr(0644,root,root) %{_sysconfdir}/udev/rules.d/51-hotplug.rules
|
|
%config %attr(0644,root,root) %dir %{_sysconfdir}/udev/makedev.d/50-udev.nodes
|
|
|
|
#%config(missingok) %{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/scsi_id.config
|
|
|
|
%dir %attr(0755,root,root) /lib/firmware
|
|
%attr(0644,root,root) %{_mandir}/man8/udev*.8*
|
|
%attr(0644,root,root) %{_mandir}/man8/scsi_id*.8*
|
|
%attr(0644,root,root) %{_mandir}/man8/ata_id*.8*
|
|
%attr(0644,root,root) %{_mandir}/man8/edd_id*.8*
|
|
%attr(0644,root,root) %{_mandir}/man8/vol_id*.8*
|
|
|
|
%changelog
|
|
* Thu Dec 15 2005 Harald Hoyer <harald@redhat.com> - 077-2
|
|
- switched back to udevstart and use active /dev/.udev/queue waiting
|
|
in start_udev
|
|
- removed support for old kernels
|
|
- refined some udev.rules
|
|
|
|
* Mon Dec 13 2005 Harald Hoyer <harald@redhat.com> - 077-1
|
|
- version 077
|
|
- patch to include udevstart2 in udevd and delay daemonize until queue is empty
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Dec 06 2005 Harald Hoyer <harald@redhat.com> - 076-1
|
|
- speedup udevd with selinux by calling matchpathcon_init_prefix()
|
|
- version 076
|
|
|
|
* Mon Nov 21 2005 Harald Hoyer <harald@redhat.com> - 075-4
|
|
- speedup udev event replay with udevstart2
|
|
|
|
* Fri Nov 18 2005 Harald Hoyer <harald@redhat.com> - 075-3
|
|
- refined start_udev for old kernels
|
|
|
|
* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 075-2
|
|
- moved /etc/udev/scripts to /lib/udev
|
|
- moved /etc/udev/devices to /lib/udev/devices
|
|
- added new event replay for kernel >= 2.6.15
|
|
- added usb devices
|
|
- renamed cpu device to cpuid (bug #161538)
|
|
- changed vendor string "Onstream" to "On[sS]tream" (bug #173043)
|
|
- compiled all *_id programs statically
|
|
|
|
* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 075-1
|
|
- version 075
|
|
|
|
* Tue Oct 25 2005 Harald Hoyer <harald@redhat.com> - 071-1
|
|
- version 071
|
|
|
|
* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-10
|
|
- removed group usb
|
|
|
|
* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-9
|
|
- added libsepol-devel BuildReq
|
|
- refined persistent rules
|
|
|
|
* Mon Oct 10 2005 Harald Hoyer <harald@redhat.com> - 069-8
|
|
- corrected c&p edd_id rule, symlink for js devices
|
|
- added -lsepol
|
|
|
|
* Thu Oct 06 2005 Harald Hoyer <harald@redhat.com> - 069-7
|
|
- added edd_id
|
|
|
|
* Fri Sep 30 2005 Harald Hoyer <harald@redhat.com> - 069-6
|
|
- special handling of IEEE1394 firewire devices (bug #168093)
|
|
|
|
* Fri Sep 23 2005 Harald Hoyer <harald@redhat.com> - 069-5
|
|
- added missing path_id
|
|
|
|
* Wed Sep 21 2005 Harald Hoyer <harald@redhat.com> - 069-4
|
|
- readded volume_id now known as vol_id, bug #168883
|
|
|
|
* Thu Sep 15 2005 Bill Nottingham <notting@redhat.com> - 069-3
|
|
- fix firmware loading
|
|
|
|
* Wed Sep 14 2005 Bill Nottingham <notting@redhat.com> - 069-2
|
|
- own /lib/firmware (#167016)
|
|
|
|
* Wed Sep 14 2005 Harald Hoyer <harald@redhat.com> - 069-1
|
|
- version 069
|
|
|
|
* Thu Aug 04 2005 Harald Hoyer <harald@redhat.com> - 063-6
|
|
- compile with pie .. again... (#158935)
|
|
- fixed typo in echo (#138509)
|
|
|
|
* Tue Aug 02 2005 Harald Hoyer <harald@redhat.com> - 063-5
|
|
- fixed scsi hotplug replay
|
|
|
|
* Tue Aug 02 2005 Bill Nottingham <notting@redhat.com> - 063-5
|
|
- add rule to allow function id matching for pcmcia after loading
|
|
modules (#164665)
|
|
|
|
* Tue Aug 02 2005 Harald Hoyer <harald@redhat.com> - 063-4
|
|
- fixed typo for tape devices and changed mode to 0660
|
|
|
|
* Thu Jul 28 2005 Harald Hoyer <harald@redhat.com> - 063-3
|
|
- changed "SYMLINK=" to "SYMLINK+="
|
|
|
|
* Sun Jul 24 2005 Bill Nottingham <notting@redhat.com> - 063-2
|
|
- don't set SEQNUM for scsi replay events (#163729)
|
|
|
|
* Tue Jul 19 2005 Bill Nottingham <notting@redhat.com> - 063-1
|
|
- update to 063
|
|
- handle the hotplug events for ieee1394, scsi, firmware
|
|
|
|
* Fri Jul 08 2005 Bill Nottingham <notting@redhat.com> - 062-2
|
|
- update to 062
|
|
- use included ata_id, build usb_id
|
|
- load modules for pci, usb, pcmcia
|
|
- ship RELEASE-NOTES in %%doc
|
|
|
|
* Thu Jul 07 2005 Harald Hoyer <harald@redhat.com> - 058-2
|
|
- compile with pie
|
|
|
|
* Fri May 20 2005 Bill Nottingham <notting@redhat.com> - 058-1
|
|
- update to 058, fixes conflict with newer kernels (#158371)
|
|
|
|
* Thu May 12 2005 Harald Hoyer <harald@redhat.com> - 057-6
|
|
- polished persistent scripts
|
|
|
|
* Thu May 5 2005 Bill Nottingham <notting@redhat.com> - 057-5
|
|
- rebuild
|
|
|
|
* Thu May 5 2005 Bill Nottingham <notting@redhat.com> - 057-4
|
|
- better check for mounted tmpfs on /dev (#156862)
|
|
|
|
* Wed Apr 27 2005 Peter Jones <pjones@redhat.com> - 057-3
|
|
- use udevstart rather than udev for udevstart.static
|
|
|
|
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 057-2
|
|
- added Inifiniband devices (bug #147035)
|
|
- fixed pam_console.dev (bug #153250)
|
|
|
|
* Mon Apr 18 2005 Harald Hoyer <harald@redhat.com> - 057-1
|
|
- version 057
|
|
|
|
* Fri Apr 15 2005 Dan Walsh <dwalsh@redhat.com> - 056-2
|
|
- Fix SELinux during creation of Symlinks
|
|
|
|
* Mon Apr 11 2005 Harald Hoyer <harald@redhat.com> - 056-1
|
|
- updated to version 056
|
|
- merged permissions in the rules file
|
|
- added udevpermconv.sh to convert old permission files
|
|
|
|
* Mon Mar 28 2005 Warren Togami <wtogami@redhat.com> - 050-10
|
|
- own default and net dirs (#151368 Hans de Goede)
|
|
|
|
* Mon Mar 07 2005 Warren Togami <wtogami@redhat.com> - 050-9
|
|
- fixed rh#150462 (udev DRI permissions)
|
|
|
|
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 050-8
|
|
- fixed rh#144598
|
|
|
|
* Fri Feb 18 2005 Harald Hoyer <harald@redhat.com> - 050-6
|
|
- introducing /etc/udev/makedev.d/50-udev.nodes
|
|
- glibcstatic patch modified to let gcc4 compile udev
|
|
|
|
* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-5
|
|
- doh, reverted the start_udev devel version, which slipped in
|
|
|
|
* Thu Feb 10 2005 Harald Hoyer <harald@redhat.com> - 050-3
|
|
- fixed forgotten " in udev.rules
|
|
|
|
* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-2
|
|
- removed /dev/microcode, /dev/cpu/microcode is now the real node
|
|
- cleaned up start_udev
|
|
|
|
* Tue Jan 11 2005 Harald Hoyer <harald@redhat.com> - 050-1
|
|
- version 050
|
|
- /dev/cpu/0/microcode -> /dev/cpu/microcode
|
|
|
|
* Tue Dec 21 2004 Dan Walsh <dwalsh@redhat.com> - 048-4
|
|
- Call selinux_restore to fix labeling problem in selinux
|
|
- Fixes rh#142817
|
|
|
|
* Tue Dec 21 2004 Harald Hoyer <harald@redhat.com> - 048-3
|
|
- maybe fixed bug rh#143367
|
|
|
|
* Thu Dec 16 2004 Harald Hoyer <harald@redhat.com> - 048-2
|
|
- fixed a case where reading /proc/ide/hd?/media returns EIO
|
|
(bug rh#142713)
|
|
- changed all device node permissions of group "disk" to 0640
|
|
(bug rh#110197)
|
|
- remove $udev_db with -fr in case of a directory (bug rh#142962)
|
|
|
|
* Mon Dec 13 2004 Harald Hoyer <harald@redhat.com> - 048-1
|
|
- version 048
|
|
- major specfile cleanup
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 042-1
|
|
- version 042
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-10
|
|
- speed improvement, scripts in rules are now executed only once,
|
|
instead of four times
|
|
|
|
* Thu Nov 04 2004 Harald Hoyer <harald@redhat.com> - 039-9
|
|
- removed wrong SIG_IGN for SIGCHLD
|
|
- moved ide media check to script to wait for the procfs
|
|
|
|
* Wed Nov 3 2004 Jeremy Katz <katzj@redhat.com> - 039-8.FC3
|
|
- recreate lvm device nodes if needed in the trigger (#137807)
|
|
|
|
* Wed Nov 03 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.2
|
|
- replace udev.conf by default
|
|
- LANG=C for fgrep in start_udev; turn grep into fgrep
|
|
|
|
* Tue Nov 02 2004 Harald Hoyer <harald@redhat.com> - 039-6.FC3.1
|
|
- speed up pam_console.dev
|
|
- mount pts and shm, in case of the dev trigger
|
|
- increased timeout for udevstart
|
|
- removed syslog() from signal handler (caused vmware locks)
|
|
- turned off logging, which speeds up the boot process
|
|
|
|
* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-6
|
|
- fixed typo
|
|
|
|
* Thu Oct 21 2004 Harald Hoyer <harald@redhat.com> - 039-5
|
|
- added udev-039-norm.patch, which prevents removal of hd* devices,
|
|
because the kernel sends remove/add events, if an IDE removable device
|
|
is close(2)ed. mke2fs, e.g. would fail in this case.
|
|
|
|
* Wed Oct 20 2004 Harald Hoyer <harald@redhat.com> - 039-4
|
|
- do not call dev.d scripts, if network interface hasn't changed
|
|
the name
|
|
- correct wait for dummy network devices
|
|
- removed NONBLOCK from volume-id
|
|
- do not log in udev.static, which should fix bug 136005
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-3
|
|
- refined wait_for_sysfs for udev.static
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-2
|
|
- improved wait_for_sysfs for virtual consoles with Kay Siever's patch
|
|
- wait for ppp class
|
|
- wait for LVM dm- devices
|
|
- integrate wait_for_sys in udev.static for the initrd
|
|
|
|
* Mon Oct 18 2004 Harald Hoyer <harald@redhat.com> - 039-1
|
|
- version 039, fixes also manpage bug 135996
|
|
- fixed glibc issue for static version (getgrnam, getpwnam) (bug 136005)
|
|
- close the syslog in every app
|
|
|
|
* Fri Oct 15 2004 Harald Hoyer <harald@redhat.com> - 038-2
|
|
- par[0-9] is now a symlink to lp
|
|
- MAKEDEV the parport devices
|
|
- now conflicts with older initscripts
|
|
|
|
* Thu Oct 14 2004 Harald Hoyer <harald@redhat.com> - 038-1
|
|
- raw device nodes are now created in directory raw
|
|
- version 038
|
|
|
|
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 036-1
|
|
- better wait_for_sysfs warning messages
|
|
|
|
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 035-2
|
|
- fixed double bug in start_udev (bug 135405)
|
|
|
|
* Tue Oct 12 2004 Harald Hoyer <harald@redhat.com> - 035-1
|
|
- version 035, which only improves wait_for_sysfs
|
|
- load ide modules in start_udev, until a hotplug script is available
|
|
(bug 135260)
|
|
|
|
* Mon Oct 11 2004 Harald Hoyer <harald@redhat.com> - 034-3
|
|
- removed scary error messages from wait_for_sysfs
|
|
- symlink from nst? -> tape?
|
|
- kill udevd on update
|
|
|
|
* Fri Oct 8 2004 Harald Hoyer <harald@redhat.com> - 034-2
|
|
- check for /proc/sys/dev/cdrom/info existence in check-cdrom.sh
|
|
|
|
* Fri Oct 8 2004 Harald Hoyer <harald@redhat.com> - 034-1
|
|
- new version udev-034
|
|
- removed patches, which went upstream
|
|
- pam_console.dev link renamed to 05-pam_console.dev
|
|
- MAKEDEV.dev links renamed to 10-MAKEDEV.dev
|
|
|
|
* Thu Oct 07 2004 Harald Hoyer <harald@redhat.com> - 032-10
|
|
- added floppy madness (bug 134830)
|
|
- replay scsi events in start_udev for the devices on the adapter (bug 130746)
|
|
|
|
* Wed Oct 06 2004 Harald Hoyer <harald@redhat.com> - 032-9
|
|
- obsoleted $UDEV_LOG, use udev_log
|
|
- correct SYMLINK handling in pam_console.dev
|
|
- specfile cleanup
|
|
- added check-cdrom.sh for nice cdrom symlinks
|
|
|
|
* Mon Oct 04 2004 Harald Hoyer <harald@redhat.com> - 032-8
|
|
- added patches from Féliciano Matias for multiple symlinks (bug 134477 and 134478)
|
|
- corrected some permissions with a missing leading 0
|
|
- added z90crypt to the permissions file (bug 134448)
|
|
- corrected requires and conflicts tags
|
|
- removed /dev/log from MAKEDEV creation
|
|
|
|
* Fri Oct 01 2004 Harald Hoyer <harald@redhat.com> - 032-7
|
|
- more device nodes for those without initrd
|
|
|
|
* Thu Sep 30 2004 Harald Hoyer <harald@redhat.com> - 032-6
|
|
- prevent error message from device copying
|
|
- use already translated starting strings
|
|
|
|
* Wed Sep 29 2004 Harald Hoyer <harald@redhat.com> - 032-5
|
|
- add "fi" to start_udev
|
|
- do not create floppy devices manually (bug 133838)
|
|
|
|
* Tue Sep 28 2004 Harald Hoyer <harald@redhat.com> - 032-4
|
|
- made /etc/udev/devices/ for manual device nodes
|
|
- refined SELINUX check, if /dev is not yet mounted in start_dev
|
|
|
|
* Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 032-3
|
|
- corrected permissions for /dev/rtc (bug 133636)
|
|
- renamed device-mapper to mapper/control (bug 133688)
|
|
|
|
* Wed Sep 22 2004 Harald Hoyer <harald@redhat.com> - 032-2
|
|
- removed option to turn off udev
|
|
- udevstart.static now symling to udev.static
|
|
|
|
* Tue Sep 21 2004 Harald Hoyer <harald@redhat.com> - 032-1
|
|
- version 032
|
|
|
|
* Mon Sep 20 2004 Harald Hoyer <harald@redhat.com> - 030-27
|
|
- simplified udev.conf
|
|
- refined close_on_exec patch
|
|
- added pam_console supply for symlinks, now gives correct permissions,
|
|
for e.g. later plugged in cdroms
|
|
- renamed sr? to scd? (see devices.txt; k3b likes that :)
|
|
|
|
* Mon Sep 13 2004 Jeremy Katz <katzj@redhat.com> - 030-26
|
|
- require a 2.6 kernel
|
|
- prereq instead of requires MAKEDEV
|
|
- obsolete and provide dev
|
|
- add a trigger for the removal of /dev so that we set things up
|
|
|
|
* Fri Sep 10 2004 Dan Walsh <dwalsh@redhat.com> - 030-25
|
|
- Use matchmediacon
|
|
|
|
* Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 030-24
|
|
- check if SELINUX is not disabled before executing setfiles (bug 132099)
|
|
|
|
* Wed Sep 8 2004 Harald Hoyer <harald@redhat.com> - 030-23
|
|
- mount tmpfs with mode 0755 in start_udev
|
|
|
|
* Tue Sep 7 2004 Harald Hoyer <harald@redhat.com> - 030-22
|
|
- applied rules from David Zeuthen which read /proc directly without
|
|
shellscript
|
|
|
|
* Tue Sep 7 2004 Harald Hoyer <harald@redhat.com> - 030-21
|
|
- applied enumeration patch from David Zeuthen for cdrom symlinks (bug 131532)
|
|
- create /dev/ppp in start_udev (bug 131114)
|
|
- removed nvidia devices from start_udev
|
|
- check for restorecon presence in start_udev (bug 131904)
|
|
|
|
* Fri Sep 3 2004 Harald Hoyer <harald@redhat.com> - 030-20
|
|
- due to -x added to MAKEDEV specify the par and lp numbers
|
|
|
|
* Fri Sep 3 2004 Harald Hoyer <harald@redhat.com> - 030-19
|
|
- added udev-030-rhsec.patch (bug 130351)
|
|
|
|
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 030-18
|
|
- make the exact device in start_udev (and thus, require new MAKEDEV)
|
|
|
|
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 030-17
|
|
- make sure file contexts of everything in the tmpfs /dev are set right
|
|
when start_udev runs
|
|
|
|
* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-16
|
|
- moved %{_sysconfdir}/hotplug.d/default/udev.hotplug to %{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
|
|
* Thu Sep 02 2004 Harald Hoyer <harald@redhat.com> - 030-15
|
|
- added nvidia devices to start_udev
|
|
- added UDEV_RAMFS for backwards compat to udev.conf
|
|
- changed Group (bug 131488)
|
|
- added libselinux-devel to build requirements
|
|
|
|
* Wed Sep 1 2004 Jeremy Katz <katzj@redhat.com> - 030-14
|
|
- require MAKEDEV
|
|
|
|
* Wed Sep 1 2004 Dan Walsh <dwalsh@redhat.com> - 030-13
|
|
- Change to setfilecon if directory exists.
|
|
|
|
* Wed Sep 01 2004 Harald Hoyer <harald@redhat.com> - 030-12
|
|
- fixed start_udev
|
|
|
|
* Tue Aug 31 2004 Jeremy Katz <katzj@redhat.com> - 030-11
|
|
- use tmpfs instead of ramfs (it has xattr support now)
|
|
- change variables appropriately to TMPFS intead of RAMFS in udev.conf
|
|
- create loopN, not just loop in start_udev
|
|
|
|
* Fri Aug 27 2004 Dan Walsh <dwalsh@redhat.com> - 030-10
|
|
- Fix Patch
|
|
|
|
* Thu Aug 26 2004 Dan Walsh <dwalsh@redhat.com> - 030-9
|
|
- Cleaned up selinux patch
|
|
|
|
* Tue Aug 24 2004 Harald Hoyer <harald@redhat.com> - 030-8
|
|
- changed defaults not to remove device nodes
|
|
- added rule for net/tun
|
|
- extended start_udev to create devices, which can trigger module autoloading
|
|
- refined cloexec patch, to redirect stdin,out,err of /dev.d execed apps to /dev/null
|
|
|
|
* Mon Aug 23 2004 Harald Hoyer <harald@redhat.com> - 030-7
|
|
- removed usage of /usr/bin/seq in start_udev
|
|
- set correct permissions in start_udev
|
|
- extended the cloexec patch
|
|
- removed udev-persistent package (define with_persistent==0)
|
|
- check for /var/run/console/console.lock before calling /sbin/pam_console_setowner
|
|
- linked pam_console_setowner statically against libglib-2.0.a
|
|
|
|
* Fri Aug 20 2004 Harald Hoyer <harald@redhat.com> - 030-5
|
|
- use correct console.lock file now in pam_console_setowner
|
|
|
|
* Wed Aug 18 2004 Harald Hoyer <harald@redhat.com> - 030-4
|
|
- added the selinux patch
|
|
|
|
* Fri Jul 23 2004 Harald Hoyer <harald@redhat.com> - 030-3
|
|
- extended the cloexec patch
|
|
|
|
* Wed Jul 21 2004 Dan Walsh <dwalsh@redhat.com> - 030-2
|
|
- Close Database fd in exec processes using FD_CLOSEXEC
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 030-1
|
|
- version 030
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-4
|
|
- added udevstart.static
|
|
|
|
* Wed Jul 14 2004 Harald Hoyer <harald@redhat.com> - 029-3
|
|
- put /etc/sysconfig/udev in /etc/udev/udev.conf and removed it
|
|
- made only udev.static static
|
|
- make our defaults the default values
|
|
- removed /udev
|
|
|
|
* Tue Jul 6 2004 Harald Hoyer <harald@redhat.com> - 029-1
|
|
- version 029, added udev_remove and udev_owner to udev.conf
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Jun 8 2004 Harald Hoyer <harald@redhat.com> - 026-3
|
|
- fixed UDEV_REMOVE=no
|
|
|
|
* Tue Jun 8 2004 Harald Hoyer <harald@redhat.com> - 026-2
|
|
- udev-026
|
|
- preserve ownership of device nodes, which already exist
|
|
- do not remove device nodes if UDEV_REMOVE="no"
|
|
- added volume_id
|
|
- build with klibc
|
|
|
|
* Wed May 26 2004 Harald Hoyer <harald@redhat.com> - 025-1
|
|
- udev-025
|
|
- added ata_identify
|
|
- build nearly all with dietlibc
|
|
|
|
* Mon May 10 2004 Elliot Lee <sopwith@redhat.com> 024-6
|
|
- Turn off udevd by default for FC2
|
|
|
|
* Tue Apr 20 2004 Harald Hoyer <harald@redhat.com> - 024-5
|
|
- fixed permission for /dev/tty (FC2)
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-4
|
|
- moved the 00- files to 50-, to let the use place his files in front
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-3
|
|
- set UDEV_SELINUX to yes
|
|
- added UDEV_LOG
|
|
|
|
* Thu Apr 15 2004 Harald Hoyer <harald@redhat.com> - 024-2
|
|
- added /udev to filelist
|
|
|
|
* Wed Apr 14 2004 Harald Hoyer <harald@redhat.com> - 024-1
|
|
- update to 024
|
|
- added /etc/sysconfig/udev
|
|
- added selinux, pam_console, dbus support
|
|
|
|
* Fri Mar 26 2004 Harald Hoyer <harald@redhat.com> - 023-1
|
|
- update to 023
|
|
|
|
* Wed Mar 24 2004 Bill Nottingham <notting@redhat.com> 022-1
|
|
- update to 022
|
|
|
|
* Sun Mar 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
- really move initscript
|
|
|
|
* Sun Feb 29 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
- move chkconv to preun
|
|
- nicer url
|
|
|
|
* Wed Feb 25 2004 Harald Hoyer <harald@redhat.com> - 018-1
|
|
- changes permissions and rules
|
|
|
|
* Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com>
|
|
- Add selinux support
|
|
|
|
* Thu Feb 19 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add some more files to the documentation directory
|
|
- add ability to build scsi_id and make it the default
|
|
|
|
* Mon Feb 16 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- fix up udevd build, as it's no longer needed to be build seperatly
|
|
- add udevtest to list of files
|
|
- more Red Hat sync ups.
|
|
|
|
* Thu Feb 12 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add some changes from the latest Fedora udev release.
|
|
|
|
* Mon Feb 2 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- add udevsend, and udevd to the files
|
|
- add ability to build udevd with glibc after the rest is build with klibc
|
|
|
|
* Mon Jan 26 2004 Greg Kroah-Hartman <greg@kroah.com>
|
|
- added udevinfo to rpm
|
|
- added URL to spec file
|
|
- added udevinfo's man page
|
|
|
|
* Mon Jan 05 2004 Rolf Eike Beer <eike-hotplug@sf-tec.de>
|
|
- add defines to choose the init script (Redhat or LSB)
|
|
|
|
* Tue Dec 16 2003 Robert Love <rml@ximian.com>
|
|
- install the initscript and run chkconfig on it
|
|
|
|
* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
|
|
- changes due to config file name changes
|
|
|
|
* Fri Oct 17 2003 Robert Love <rml@tech9.net>
|
|
- Make work without a build root
|
|
- Correctly install the right files
|
|
- Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
|
|
- Put some prereqs in
|
|
- Install the hotplug symlink to udev
|
|
|
|
* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
|
|
- Initial spec file for udev-0.2.
|