Server IP : 127.0.0.2 / Your IP : 3.15.158.134 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh -e # adapted from postinst chrooted() { if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then return 1 fi return 0 } check_kernel_features() { # skip the check if udev is not already active [ -d /run/udev/ ] || return 0 if [ -e /proc/kallsyms ]; then local needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create' for symbol in $needed_symbols; do if ! egrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms; then cat <<END Since release 198, udev requires support for the following features in the running kernel: - inotify(2) (CONFIG_INOTIFY_USER) - signalfd(2) (CONFIG_SIGNALFD) - accept4(2) - open_by_handle_at(2) (CONFIG_FHANDLE) - timerfd_create(2) (CONFIG_TIMERFD) - epoll_create(2) (CONFIG_EPOLL) END exit 1 fi done fi if ! grep -q '[[:space:]]devtmpfs$' /proc/filesystems; then cat <<END Since release 176, udev requires support for the following features in the running kernel: - devtmpfs (CONFIG_DEVTMPFS) END exit 1 fi if [ -d /sys/class/mem/null -a ! -L /sys/class/mem/null ] || [ -e /sys/block -a ! -e /sys/class/block ]; then cat <<END The currently running kernel has the CONFIG_SYSFS_DEPRECATED option enabled, which is incompatible with udev. END exit 1 fi } check_version() { # $2 is non-empty when installing from the "config-files" state [ -n "$2" ] || return 0 if dpkg --compare-versions $2 lt 204-4; then # these must be checked first to allow aborting before changing anything if chrooted; then echo 'Running in a chroot, skipping the kernel versions checks!' else check_kernel_features # suppress errors when the new rules files contain options not supported by # the old daemon udevadm control --log-priority=0 || true fi fi # 204-4 } case "$1" in install|upgrade|abort-upgrade) check_version "$@" ;; esac # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/init.d/udev-mtab 204-1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/udev/links.conf 204-9~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/init.d/udev-finish 226-1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/init/udev-finish.conf 226-1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/init/udev-fallback-graphics.conf 226-1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper symlink_to_dir /usr/share/doc/udev libudev1 221-2~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/udev/rules.d/README 215-5ubuntu1~ -- "$@" # End automatically added section # Automatically added by dh_installdeb dpkg-maintscript-helper rm_conffile /etc/init.d/lvm2 228-2ubuntu2~ -- "$@" # End automatically added section