• Bug#265735: snort-pgsql: debconf problems when creating the new Postgre

    From Christoph Haas@1:229/2 to All on Sat Aug 14 19:40:14 2004
    From: [email protected]

    Package: snort-pgsql
    Version: 2.1.2-2
    Severity: normal

    When installing 'snort-pgsql' the user gets asked this:

    =====
    Snort needs a configured database to log to.
    Please create the database structure now, using the following
    command:
    cd /usr/share/doc/snort-pgsql/contrib
    zcat create_pgsql.gz | psql -U <user> -h <host> -W <databasename>
    Fill in the correct values for the user, host, and database names.
    PostgreSQL will prompt you for the password.
    After you created the database structure, press 'ok' to continue.
    =====

    Two problems:

    (a) The time this gets displayed the directory
    /usr/share/doc/snort-pgsql does not yet exist.
    (b) The file is called create_postgresql.gz instead of create_pgsql.gz.

    Wishlist: create the database for the user automatically. :)

    -- System Information:
    Debian Release: testing/unstable
    APT prefers testing
    APT policy: (900, 'testing'), (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.25
    Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

    Versions of packages snort-pgsql depends on:
    ii adduser 3.52 Add and remove users and groups
    ii debconf 1.4.25 Debian configuration management sy ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an ii libnet0 1.0.2a-5 library for the construction and h ii libpcap0.7 0.7.2-5 System interface for user-level pa ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi ii libpq3 7.4.2-4 Shared library libpq.so.3 for Post ii logrotate 3.6.5-2 Log rotation utility
    ii snort-common 2.1.2-2 Flexible Network Intrusion Detecti ii snort-rules-default 2.1.2-2 Flexible Network Intrusion Detecti ii sysklogd [system-log-daemon 1.4.1-10 System Logging Daemon

    -- debconf information:
    * snort-pgsql/db_database: snort_log
    * snort-pgsql/db_user: admin
    * snort-pgsql/db_host: localhost
    * snort-pgsql/address_range: ...
    * snort-pgsql/stats_rcpt: root
    * snort-pgsql/disable_promiscuous: false
    * snort-pgsql/wait_for_db_config:
    * snort-pgsql/reverse_order: false
    * snort-pgsql/stats_treshold: 1
    * snort-pgsql/options:
    snort-pgsql/please_restart_manually:
    * snort-pgsql/startup: boot
    * snort-pgsql/interface: ...
    * snort-pgsql/configure_db: true


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)