Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
InitNG Probleme mit LVM (Zu Blöd für?)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Tue May 23, 2006 3:56 am    Post subject: InitNG Probleme mit LVM (Zu Blöd für?) Reply with quote

Ich finde meine Workstation bootet zu lange.
Also habe ich schon vor länger Zeit mir mal InitNG angeguckt. Es war ein Reinfall, denn fast nichts hat bei mir funktioniert.
Also dachte ich mir: Bist zu doof für, warte ein paar Monate.
Jetzt habe ich wieder probiert. Wieder Reinfall.
Es erkennt meine LVM Partitionen nicht. Was sonst noch nicht geht interessiert mich in den Moment schon garnicht.

Bin ich nun zu doof oder ist InitNG wirklich nicht so weit als vollwertiger "Ersatz" zu gelten.

Wie schwierig ist es das in Gentoo zu integrieren?

Das Baselayout wird ja ständig weiterentwickelt, änderungen an den rc-* sind bei Gentoo an der Tagesordnung.
Läuft man bei diesen InitNg nicht Gefahr Vorteile dieser Entwicklung zu verlieren?

Ich habe mich nach diesen Anleitungen gehalten:
http://www.initng.org/wiki/Install_Gentoo (aktuelle Anleitung zum installieren, keine Infos zum einrichten auf Gentoo)
http://de.gentoo-wiki.com/InitNG (Alt)
http://gentoo-wiki.com/HOWTO_Initng (Alt, Skripte sehr nützlich)

und aus dem overlay installiert:
Code:
 # eix initng
* sys-apps/initng
     Available versions:  0.5.4 0.6.0 0.6.1[1]  0.6.2[1]  0.6.3[1]  0.6.4[1]  0.6.5[1]  0.6.6[1]  *9999 *9999[1]
     Installed:           0.6.6
     Homepage:            http://initng.thinktux.net/
     Description:         A next generation init replacement

* sys-apps/initng-ifiles [1]
     Available versions:  0.0.3 0.0.3.1 0.0.3.2 0.0.4 *9999
     Installed:           0.0.4
     Homepage:            http://initng.org/
     Description:         A next generation init replacement



Code:
 # ng-update s
/sbin/ng-update: line 182: export: `myscript_fake-default=test
up-fake': not a valid identifier
      NetworkManager |
 NetworkManagerDispa |
               acpid | default
              agetty |
              apache |
             apache2 |
            asterisk |
                 atd |
             athcool |
           automount |
        avahi-daemon |
      avahi-dnsconfd |
             cardmgr |
             chronyd |
               comar |
            cpufreqd |
  cups-config-daemon |
               cupsd | default
                dbus | default
               dcron |
           denyhosts |
              dhcdbd |
            dhclient |
              dhcpcd |
               dhcpd |
             distccd |
             dnsmasq |
             dovecot |
             eciadsl |
           entranced |
              esound |
          fakeidentd |
                famd |
               fcron |
           fetchmail |
              fgetty |
                 gdm |
               getty |
             gnump3d |
                 gpm | default
                gssd |
                hald | default
             hddtemp |
               hpiod |
               hpssd |
               httpd |
             icecast |
              idmapd |
             ifplugd | default
                init |
         instant-gdm |
               ivman |
               jackd |
                 kdm |
               klogd |
                 ldm |
            lighttpd |
       mDNSResponder |
               mdnsd |
             metalog |
            mingetty |
          mini_httpd |
     mit-krb5kadmind |
         mit-krb5kdc |
            mldonkey |
              mountd |
                 mpd |
               mysql |
              nagios |
               named |
           netdaemon |
                nfsd |
                nifd |
                nscd |
                ntpd |
          nvidia-glx |
             oidentd |
             openvpn |
             portmap | default
             postfix |
            postgres |
           powernowd |
          powersaved |
               pppoe |
           printconf |
             privoxy |
             proftpd |
                pump |
           pure-ftpd |
               qingy |
            rp-pppoe |
             rquotad |
              rsyncd |
               samba |
            sendmail |
           shorewall |
               slapd |
            slmodemd |
              smartd |
               snmpd |
               spamd |
       splash_update |
               squid |
                sshd | default
               statd |
             svcgssd |
              svdrpd |
            svnserve |
           syslog-ng | default
             syslogd |
            timidity |
              udhcpc |
               ulogd |
                 vdr |
           vdradmind |
          vixie-cron | default
              vmware |
                 wdm |
              webmin |
             wpa_cli |
      wpa_supplicant |
                 xdm |
                 xfs |
              xinetd |
              bridge |
                  ip |
            iwconfig |
                 net | default
       915resolution |
                acct |
           alsasound |
             anacron | default
              auditd |
               aumix |
            bootmisc | default
             checkfs | default
               clock | default
            coldplug | default
      console-screen |
         consolefont | default
            discover |
              dmraid |
          domainname | default
             faketty |
            fbsplash |
         firestarter |
            guarddog |
              hdparm | default
            hostname | default
            ifrename |
     ifupdown-debian |
             initial |
        initrd-tools |
            iptables |
               issue |
             keymaps | default
         laptop-mode |
          lm-sensors |
               local | default
             modules | default
             mountfs | default
           mountroot | default
            netmount | default
             ntpdate |
             numlock |
              pcmcia |
           readahead |
           rmnologin | default
             selinux |
              serial |
           speedstep |
             splashy |
               sraid |
                swap |
              sysctl |
                udev | default
             urandom | default
                 usb |
          wifi-radar |
            xorgconf |
                eth0 | default

Fehlt da etwas essentielles?
Ich habe es mit den Migrationskript bearbeitet und einige Sachen per Hand eingefügt (mountroot & mountfs) da ich gelesen hatte das es das Problem beseitigt (laut Projekt eigenem BugTracker).
Also ich bin mal wieder enttäuscht, bei allen anderen scheint es Problmlos zu klappen. :/
_________________
grüße
nico
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue May 23, 2006 4:53 am    Post subject: Reply with quote

LVM hat bei mir vor 2 Monaten auch richtig Probleme gemacht, seit dem nie wieder getestet...
Aber auf meinem Laptop läuft es super.

Hast du auch svn laufen?

emerge --config initng-ifiles gemacht?

Zu Not geh mal in den IRC, da sind die ganzen Entwickler versammelt.

Soweit ich weiß kannst du die auch auf Deutsch anreden, auch wenn ich immer auf Englisch mit ihnen rede, sind fast alles Deutsche.

powerj ist der Hauptentwickler.


Viel Erfolg, wenn LVM bei dir gut geht, werde ich es auch mal wieder testen ;)

TObi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Tue May 23, 2006 12:25 pm    Post subject: Reply with quote

Finswimmer wrote:
LVM hat bei mir vor 2 Monaten auch richtig Probleme gemacht, seit dem nie wieder getestet...
Aber auf meinem Laptop läuft es super.

Na Super, ich bin beruhig. Ich dachte wieder zu Blöd zu sein, dabei bin ich ja im Prominenten Kreis ;-)
Mein Problem ist das ich überall LVM habe.

Finswimmer wrote:
Hast du auch svn laufen?

jupp, laut der Anleitung. Direkt ihr aktuelles Overlay gezogen.

Finswimmer wrote:
emerge --config initng-ifiles gemacht?

Jupp, dabei ist mir aufgefallen das dieses Skript nicht wirklich viel macht bzw. auch nicht wirklich sauber Arbeitet. (Z.B. war acpid bei nicht im rc und es wurde trotzdem angelegt, viele andere Sachen gab es stattdessen gar nicht). Deshalb habe ich später noch mal dieses Migrationsskript aus dem Gentoo-Wiki rüberlaufen lassen. Das hat dann viele Sachen eingefügt.

Finswimmer wrote:
Zu Not geh mal in den IRC, da sind die ganzen Entwickler versammelt.

Danke, das ist ein Tipp. Denn das Forum ist ja nicht so Aktiv, war zumindest mein Eindruck.

Finswimmer wrote:
Viel Erfolg, wenn LVM bei dir gut geht, werde ich es auch mal wieder testen ;)

Kein Problem. Falls es geht werde ich es GROß ankündigen.
_________________
grüße
nico
Back to top
View user's profile Send private message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Thu May 25, 2006 4:17 pm    Post subject: Reply with quote

Also ich habe jetzt bisschen damit herumgespielt und einen Quick&Dirty(tm) Hack eingefügt der für mich funktioniert.

Code:
 ~ # cat /etc/initng/system/mountfs.i
#!/sbin/itype
# This is a i file, used by initng parsed by install_service

service system/mountfs {
        need = system/initial system/mountroot system/checkfs;
        use = system/sraid system/hdparm system/selinux/relabel;
        critical;
        script start = {
#### Das hier eingefuegt####
/sbin/vgchange -ay
                /bin/awk 'NF && $1!~/^#/ && $2!="/" && $3~/reiserfs|reiser4|ext2|ext3|xfs|jfs|vfat|ntfs|tmpfs|subfs|bind/ && $4!~/(^|,)noauto(,|$)/ {print $2}' /etc/fstab | /bin/sort | while read mp
                do
                        /bin/mount "${mp}" || echo "WARNING, failed to mount ${mp}"
                done
                exit 0
        };
        script stop = {
                /bin/awk 'NF && $1!~/^#/ && $2!~/^\/(|proc|sys|dev)$/ {print $2}' /etc/mtab | /bin/sort -r | while read mp
                do
                        /bin/umount "${mp}" || echo "WARNING, failed to mount ${mp}"
                done
#### Das hier eingefuegt####
 /sbin/vgchange -an
                exit 0
        };
}

Ich teste das jetzt mal bisschen. Ansonsten habe ich noch das hier gefunden, welcher leider nicht funktioniert. Es war ja auch gedacht für Debian, aber ich habe das Gefühl es wird gar nicht aufgerufen. Irgendwie verstehe ich das Prinzip von InitNG noch nicht.
_________________
grüße
nico
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum