Re: Heads Up: FESCo is considering to block packages providing sysvinit services without systemd unit

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

 



2011/11/9 "Jóhann B. Guðmundsson" <johannbg@xxxxxxxxx>:
> On 11/09/2011 05:49 AM, Ian Kent wrote:

> That only leaves this relevant sections from that quick look that needs
> some work and remains questionable if that should be handled in unit
> file et all...
>
>       # Check misc device
>         if [ -n "$USE_MISC_DEVICE" -a "x$USE_MISC_DEVICE" = "xyes" ]; then
>                 sleep 1
>                 if [ -e "/proc/misc" ]; then
>                         MINOR=`awk "/$DEVICE/ {print \\$1}" /proc/misc`
>                         if [ -n "$MINOR" -a ! -c "/dev/$DEVICE" ]; then
>                                 mknod -m 0600 /dev/$DEVICE c 10 $MINOR
>                         fi
>                 fi
>                 if [ -x /sbin/restorecon -a -c /dev/$DEVICE ]; then
>                         /sbin/restorecon /dev/$DEVICE
>                 fi
>         else
>                 if [ -c /dev/$DEVICE ]; then
>                         rm /dev/$DEVICE
>                 fi
>         fi
>

Just kill it. The kernel creates the device nodes today, nothing is
supposed to fiddle around like this in /dev in 2011.

We even support auto-loading of the kernel module these days, on
access of the device node which udev creates when the modul is
available (only needs to be available, not even loaded).

Kay
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux