ntdp im lxc

Discussion in 'Proxmox VE (Deutsch)' started by jms1000, Feb 9, 2018.

Tags:
  1. jms1000

    jms1000 Member
    Proxmox Subscriber

    Joined:
    Oct 25, 2016
    Messages:
    117
    Likes Received:
    2
    Ich habe in einem LXC mit debian einem ntpd am laufen. Seit einem der letzten Updates mag der ntpd aber nicht mehr, Fehlermeldung im Syslog:

    adj_systime: Operation not permitted
    oder
    local_clock: ntp_loopfilter.c line 818: ntp_adjtime: Operation not permitted



    Vor langer Zeit konnte man da mal sowas wie vzctl set sys_time:eek:n machen. Wie funktioniert das jetzt mit den lxc's ?
     
  2. fireon

    fireon Well-Known Member
    Proxmox Subscriber

    Joined:
    Oct 25, 2010
    Messages:
    2,964
    Likes Received:
    175
    Poste doch bitte mal deine Config:
    Code:
    pct config <id>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jms1000

    jms1000 Member
    Proxmox Subscriber

    Joined:
    Oct 25, 2016
    Messages:
    117
    Likes Received:
    2
    Bittesch├Ân:

    pct config 20111
    arch: amd64
    cpulimit: 1
    hostname: xxxx
    memory: 2048
    mp0: /mnt/pve/data-bak/20111,mp=/mnt/pve/data-bak,shared=1
    net0: bridge=vmbr0,gw=x.x.x.x,hwaddr=62:63:66:34:61:61,ip=x.x.x.x/24,name=eth0,type=veth
    onboot: 1
    ostype: debian
    rootfs: data-prx:20111/vm-20111-disk-1.raw,size=2G
    swap: 2048
     
  4. fireon

    fireon Well-Known Member
    Proxmox Subscriber

    Joined:
    Oct 25, 2010
    Messages:
    2,964
    Likes Received:
    175
    Die Konfig schaut gut aus. Habs hier auf Centos7 getestet. Gleiches Problem. Habs auch noch mit "unprivileged" getestet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 fireon, Feb 14, 2018
    Last edited: Feb 14, 2018
  5. jms1000

    jms1000 Member
    Proxmox Subscriber

    Joined:
    Oct 25, 2016
    Messages:
    117
    Likes Received:
    2
    Der Wechsel zu unprivileged geht ja soweit ich weis nur ├╝ber restore ... restore bringt aber nur fehlermeldungen:

    pvedaemon[29612]: <root@pam> end task UPID:prx2:00003640:02A832D3:5A7D8240:vzrestore:20123:root@pam: command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf /proc/self/fd/12 --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/20123/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
     
  6. admoin

    admoin New Member

    Joined:
    May 6, 2019
    Messages:
    1
    Likes Received:
    0
    Hello!!
    MEIN ERSTER "BEITRAG" JEAH!

    Gibt es hier irgendwelche workarounds?

    freeipa Installation in einem centos-CT.

    im Sekundentakt:
    Code:
    Jun 12 09:45:16 ipa ntpd[3701]: adj_systime: Operation not permitted
    Jun 12 09:45:17 ipa ntpd[3701]: adj_systime: Operation not permitted
    Jun 12 09:45:18 ipa ntpd[3701]: adj_systime: Operation not permitted
    Jun 12 09:45:19 ipa ntpd[3701]: adj_systime: Operation not permitted
    Jun 12 09:45:20 ipa ntpd[3701]: adj_systime: Operation not permitted
    Jun 12 09:45:21 ipa ntpd[3701]: adj_systime: Operation not permitted
    VG aus HH
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice