caste spustanie fsck

Sekcia: Aplikácie & Desktop 04.12.2009 | 14:43
jano   Návštevník
Zdravím,

Už počas inštalácie Fedora 12 som mal problémy s pevnými diskami - t.j. neustále to chcelo formátovať disky a nedovolilo toto nastavenie vypnúť, alebo ak som ho vypol vlastným rozdelením tak počas proces inštalácie zlyhal v niektorej časti ku koncu.

Teraz to pri každom spustení robí fsck a dnes to dokonca trvalo viac ako 4 hodiny - neviem zistiť dôvod, a pevné disky sú už preverené - jednoducho ako môžem toto zakázať, inak sa stroj stáva nepoužiteľným a musím vybrať iný systém
    • Re: caste spustanie fsck 04.12.2009 | 18:35
      WlaSaTy   Návštevník
      Skus opisat ako mas tie disky naformatovane a ako ich pripajas vo vsetkych tebou pouzitych OS a ci nahodou nehybernujes windows ktore ma pripojene Linuxove disky na zapis.
      • Re: caste spustanie fsck 05.12.2009 | 15:52
        jano   Návštevník
        1. dual - win/fedora - hibernacia nie je ani u jedneho ntfs/ext4
        2. len data v suborovom systeme /home/disk ext3
        3. sifrovany - berie ma zlost ked na zaciatku spustania si pyta heslo - nemal by byt pripojeny, ale je v koreni
        • Re: caste spustanie fsck 05.12.2009 | 20:05
          WlaSaTy   Návštevník
          Ako sifrovany a ake su jeho zariadenia (pred sifrovanim a po sifrovani)?


          • Re: caste spustanie fsck 06.12.2009 | 23:51
            jano   Návštevník
            Prepáč, trochu odbočím, ale bojujem aj s tymito hláseniami a fakt neviem čo s tým:

            Summary:

            SELinux is preventing /bin/bash "write" access to /var/lib/misc/prelink.quick.

            Detailed Description:

            [prelink has a permissive type (prelink_cron_system_t). This access was not
            denied.]

            SELinux denied access requested by prelink. /var/lib/misc/prelink.quick may be a
            mislabeled. /var/lib/misc/prelink.quick default SELinux type is
            prelink_var_lib_t, but its current type is cron_var_lib_t. Changing this file
            back to the default type, may fix your problem.

            File contexts can be assigned to a file in the following ways.

            * Files created in a directory receive the file context of the parent
            directory by default.
            * The SELinux policy might override the default label inherited from the
            parent directory by specifying a process running in context A which creates
            a file in a directory labeled B will instead create the file with label C.
            An example of this would be the dhcp client running with the dhclient_t type
            and creating a file in the directory /etc. This file would normally receive
            the etc_t type due to parental inheritance but instead the file is labeled
            with the net_conf_t type because the SELinux policy specifies this.
            * Users can change the file context on a file using tools such as chcon, or
            restorecon.

            This file could have been mislabeled either by user error, or if an normally
            confined application was run under the wrong domain.

            However, this might also indicate a bug in SELinux because the file should not
            have been labeled with this type.

            If you believe this is a bug, please file a bug report against this package.

            Allowing Access:

            You can restore the default system context to this file by executing the
            restorecon command. restorecon '/var/lib/misc/prelink.quick', if this file is a
            directory, you can recursively restore using restorecon -R
            '/var/lib/misc/prelink.quick'.

            Fix Command:

            /sbin/restorecon '/var/lib/misc/prelink.quick'

            Additional Information:

            Source Context system_u:system_r:prelink_cron_system_t:s0-s0:c0.c
            1023
            Target Context system_u:object_r:cron_var_lib_t:s0
            Target Objects /var/lib/misc/prelink.quick [ file ]
            Source prelink
            Source Path /bin/bash
            Port <Unknown>
            Host tomy.linuxcity
            Source RPM Packages bash-4.0.33-1.fc12
            Target RPM Packages prelink-0.4.2-4.fc12
            Policy RPM selinux-policy-3.6.32-49.fc12
            Selinux Enabled True
            Policy Type targeted
            Enforcing Mode Enforcing
            Plugin Name restorecon
            Host Name tomy.linuxcity
            Platform Linux tomy.linuxcity 2.6.31.6-145.fc12.i686.PAE #1
            SMP Sat Nov 21 16:12:37 EST 2009 i686 i686
            Alert Count 4
            First Seen Pi  4. december 2009, 09:48:18 CET
            Last Seen So  5. december 2009, 03:50:14 CET
            Local ID 4086a9fb-07be-4b35-a159-a553c2456fdc
            Line Numbers

            Raw Audit Messages

            node=tomy.linuxcity type=AVC msg=audit(1259981414.703:40): avc: denied { write } for pid=2761 comm="prelink" name="prelink.quick" dev=dm-1 ino=131471 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file

            node=tomy.linuxcity type=AVC msg=audit(1259981414.703:40): avc: denied { open } for pid=2761 comm="prelink" name="prelink.quick" dev=dm-1 ino=131471 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_var_lib_t:s0 tclass=file

            node=tomy.linuxcity type=SYSCALL msg=audit(1259981414.703:40): arch=40000003 syscall=5 success=yes exit=4 a0=8ac00e8 a1=8241 a2=1b6 a3=241 items=0 ppid=2751 pid=2761 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=5 comm="prelink" exe="/bin/bash" subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null)


            • Re: caste spustanie fsck 06.12.2009 | 23:54
              Avatar borg Fedora  Administrátor
              vypni SELinux alebo si uprav policy. jednoduchsie to bude vypnut
              • Re: caste spustanie fsck 07.12.2009 | 11:39
                jano   Návštevník
                Asi mi nič iné neostáva
                príliš mnoho je tých nedostatkov